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

Calling another program with in a program

Former Member
0 Likes
903

Hi experts,

i want to call a program (second) from the first program. The problem is that the first program is called during the update task. so i think we cant use the submit statement.

Thnak you in advance.

Arul

Edited by: arul m on May 6, 2009 12:36 PM

8 REPLIES 8
Read only

Former Member
0 Likes
880

Hi Arul,

Try submit statement and see if it works.

Regards,

Ravi

Read only

0 Likes
880

Hi Ravi,

Thanks for the response. but submit statement will not work during update task.

Read only

Former Member
0 Likes
880

Hi,

Try to create a RFC FM or Update FM. In that new FM submit the 2nd program.

Call this FM in your program with option starting new task.

Try if this works.

Regards,

Ankur Parab

Read only

0 Likes
880

HI,

I tried that way also, its not working.

Read only

0 Likes
880

Arul,

If you 2nd report has transaction code attached to it, you can use CALL TRANSACTION statement.

You might have to use parameter ID for the input filed or can use CALL TRANSACTION AND SKIP FIRST SCREEN.

Regards,

ARS

Read only

0 Likes
880

Hi,

During Update task, the following statements will not be allowed

CALL TRANSACTION

CALL SCREEN

CALL DIALOG

SUBMIT

is there any other way to do that?

Thanks

Arul

Read only

0 Likes
880

Hi Arul,

Try your luck by creating subroutine pool and create one subroutine with the code which you have in the second program. Now you call external subroutine into your first program.

Regards,

Kumar.

Read only

Former Member
0 Likes
880