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 blocking

Former Member
0 Likes
640

hi every one

as per my requirement i have to check for certain conditions

if those conditions are valid i have to send the idoc if not i have to block the idoc

how to code this sending and blocking.

3 REPLIES 3
Read only

Former Member
0 Likes
525

Hi

Before you call the Idoc Function Module which will create the Idoc

Check the conditions if success call the function module .

If fails don't call the Function Module .

So in this case Idoc will not be created .

My question is you want create the Idoc and then block Please explain me .Because in the above solution it will not create the idoc if conditions fails .

Please reward if useful.

Read only

Former Member
0 Likes
525

thanks for ur answer

Read only

Former Member
0 Likes
525

Hi Vamsi,

Set the filter criteris in Distribution model (BD64) for the message type - fields based on the condition. this may solve your problem..

Regards

KER