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

call transaction

Former Member
0 Likes
784

how to call more than 1 call transaction method in 1 Bdc program.

vamsi.

Excuse me vamsi challa, the link is:

<a href="https://forums.sdn.sap.com/click.jspa?searchID=6931591&messageID=2982057">https://forums.sdn.sap.com/click.jspa?searchID=6931591&messageID=2982057</a>

cordial greetings

7 REPLIES 7
Read only

Former Member
0 Likes
746

More than 1 call transaction??? hmmn...

Do u want to call the same transaction again and again ...

pls elaborate ur issue..

Read only

Former Member
0 Likes
746

do this way..

CALL FUNCTION 'COPF_CALL_TRANSACTION'
  EXPORTING
    TCODE             = 'MIGO'
   NEW_SESSION       = 'X'          .
 
CALL FUNCTION 'COPF_CALL_TRANSACTION'
  EXPORTING
    TCODE             = 'MIRO'
   NEW_SESSION       = 'X'.

Read only

Former Member
0 Likes
746

hi

try using the flag and sy-subrc values.

call transaction tcode using itab mode A updata S messages into messtab.

if sy-subrc = 0.

then call another transaction..

form a chain carefully.

regards,

shamim

Read only

Former Member
0 Likes
746

or you can do this way too..

call function 'ABAP4_CALL_TRANSACTION'
 starting new task 'TASK_MIGO'
  exporting
    tcode                         = 'MIGO'.
 
 
 
call function 'ABAP4_CALL_TRANSACTION'
 starting new task 'TASK_MIRO'
  exporting
    tcode                         = 'MIRO'.
 

Read only

Former Member
0 Likes
746

Hi Vamshi,

I am sorry to say that, Please go through the SAP basics once and put the questions in the forum.

Don't ask simple questions which can be available in the basic Documentation..

Regards,

Anji

Read only

Former Member
0 Likes
746

Hi yamsi challa,

see the next thread:

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/forums">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/forums</a>

cordial greetings.

Read only

Former Member
0 Likes
746

Excuse me vamsi challa, the link is:

<a href="https://forums.sdn.sap.com/click.jspa?searchID=6931591&messageID=2982057">https://forums.sdn.sap.com/click.jspa?searchID=6931591&messageID=2982057</a>

cordial greetings