Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

User Exit for Idoc Type ORDERS05

vinay_pasalkar
Participant
0 Kudos

Hello Experts,

My requirments is such that Idoc with Basic type ORDERS05 should be generated only when the field LGORT which is there in one of the segments of the IDOC is equal to 'XXXX'.

I created the filter on the Field-LGORT in BD64 as I want the Idoc of type ORDERS05 with Message type ORDERS to be sent only if LGORT value is 'XXXX'.

However the Idoc is still getting generated but only the Segment - E1EDP01 is being skipped.

I believe this is segment filtering which is being applied.

I also tried to use the User Exit- EXIT_SAPLMV01_002, In the User exit I read the value of LGORT field from Idoc_data table & refresh the table whenever the condition is not satisfied, However it is not working.

Could you please tell me how I can only create Idoc when the LGORT condition is satisfied & steps involved in it Or Can it be done with the help of the user exit.

Thanks

Vinay

1 ACCEPTED SOLUTION

vinay_pasalkar
Participant
0 Kudos

Hi All,

I did this using implementing BADI- IDOC_CREATION_CHECK.

Thanks

Vinay

1 REPLY 1

vinay_pasalkar
Participant
0 Kudos

Hi All,

I did this using implementing BADI- IDOC_CREATION_CHECK.

Thanks

Vinay