Application Development and Automation 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: 
Read only

IDOC Creation

Former Member
0 Likes
421

Hi ,

I have a BADI which can be used to modify the data before creating the IDOC.. Based on some condition sometimes these IDOC's should not be created. How can i do this? If I use 'EXIT', the control still goes to the next step to create the IDOC... and this happens in a standard include..Is there anyway that i can pass a value in the EDIDC or EDIDD, so that the IDOC is not created and it just runs as test...

regds,

M..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
396

Hi,

U can refer following link:

[http://help.sap.com/erp2005_ehp_03/helpdata/EN/ec/f23442d692ad04e10000000a1550b0/frameset.htm]

Regards,

Anurodh

3 REPLIES 3
Read only

Former Member
0 Likes
397

Hi,

U can refer following link:

[http://help.sap.com/erp2005_ehp_03/helpdata/EN/ec/f23442d692ad04e10000000a1550b0/frameset.htm]

Regards,

Anurodh

Read only

Former Member
0 Likes
396

Hello,

Better u use LEAVE TO SCREEN 0 instead of using exit.

Just try this if it works or not.

Read only

Former Member
0 Likes
396

Hi,

Through an error message if ur condition fails.

Rhea.