Hi,
I am trying to write code for a dependant BDC session( for XK01) . i.e., I wrote a program that already creates a session in SM35 and on execution i will get ALV list of all the records that have been put in this session.Now the requirment is i am adding code at the end of the program to create second session ( this time for XK02) to change some data for the above created vendors.this second session should be processed only if the first session is created or processed succesfully.can anyone provide me some idea on how i can include the entire logic in same program.i was thinking of checking some tables that store data related to batch input sessions to see if first session is correctly processed or (atleast created or not. Any suggestions on this will be highly appreciated.
Thanks in Advance.
Amar