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

BDC and Function Pool

Former Member
0 Likes
594

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

4 REPLIES 4
Read only

Former Member
0 Likes
563

Hi

1. Yes

2. Yes screen can be called from a FM.eg : call_screen_0104.

regards,

Ramya

Read only

0 Likes
563

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

Read only

Former Member
0 Likes
563

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@

Read only

0 Likes
563

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