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: 

Want to trigegr an idoc only if done manual intervention and not automatic

Former Member
0 Kudos

We have a requirement where the idoc needs to be generated only if a user creates the it, and not through automated process.

The particular idoc is the delivery idoc.We can manually create delivery, then only the delivery idoc should be created,else it should not be created.We have process in place by which you can automate the creation of delivery by inbound processes.We do not use any workflow in oursystem.

Any Help would be greatly appreciated.

2 REPLIES 2

Former Member
0 Kudos

Hi,

Firstly i didnt get the diff b/w manual and automatic.

If automatic does mean Background job running, check the field BATCH in the structure SYST.

IF sy-batch IS INITIAL. " This is foreground.

check for the other variables in the structure syst and find the diff b/w these fields in manual and automatic modes; and use IF conditions appropriately.

reward if helpful,

regards,

teja.

former_member195698
Active Contributor
0 Kudos

I think for Automatic processing.. you would be using a separate dedicated User-ID.

If yes, then you can go by the user-id or change the auto processing to be triggered through a Dedicated user-id always.