‎2008 Oct 31 9:03 AM
Hi,
Had some questions, would appreciate if somebody could help answer.
1) If I want to do a BDC on TCode T1 and if BDC is successful on T1 then do a BDC on Tcode T2 (all in the same program), Can we do a BDC using session method on multiple transactions in one session?
2) Can you call a screen from a function pool?
Thanks in advance.
Mick
‎2008 Oct 31 9:12 AM
Hi
1. Yes
2. Yes screen can be called from a FM.eg : call_screen_0104.
regards,
Ramya
‎2008 Oct 31 9:18 AM
Thanks Ramya.
Just to clarify, do you mean that in one session I can do a BDC on TCode T1 and if successful do a BDC ion TCode T2 in the same session? If yes how do I accomplish this programmatically?
Edited by: Mick James on Oct 31, 2008 10:18 AM
‎2008 Oct 31 9:19 AM
Hi Mick,
Interesting issue, why you want to carry the BDC one after the other Txcode just want to know for my knowledge.
To my knowledge we cannot do have never tried but basically according to the concept when all the records are uploaded then immediately my program should terminate rather how can it call another transaction. Even that may bring you lot of issues in future.
Anyhow i am waiting for the various views on your thread.
If i am correct me.
Cheers!!
VEnk@
‎2008 Oct 31 9:42 AM
Hi Venkat,
I do not have a real life scenario, but this question came to mind when I was trying something.
But hypothetically consider a scenario where I create Purchase Orders using BDC and then if the BDC is successful then immediately do another BDC for Goods Receipt. This could also be part of some cleanup exercise where I want to do BDC's on 2 TCodes, the 2nd one only if the 1st one is successful.
Regards,
Mick