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

Problem with Call Program / transaktion an submit

Former Member
0 Likes
566

Hello all

there is a smal problem.

I want to call a Programm / transaktion and submit the selection-screen to an other report.

does anybody have a short example??

Thanks for your help .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
493

hi christi,

in case of calling a program or a transaction u can use call statement,but

in case u have to submit that u have to use the SUBMIT statement.

for eg:

SUBMIT....VIA SELECTION-SCREEN

Effect

The selection screen is displayed. In this case, the selection screen is displayed again after the report list has been displayed. The values entered by the user remain displayed.

... AND RETURN

Effect

Returns to the calling transaction or program after the called program has been executed. SUBMIT ... AND RETURN creates a new internal session.

u can use this . if u have further doubts about this u can get from f1 help request.

with regards,

magesh.

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
493

Use the SUBMIT statement.

REgards,

Rich Heilman

Read only

Former Member
0 Likes
493

Plenty of examples in the forums

And the syntax in the help

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/content.htm

Regards,

Ravi

Note - Please mark all the helpful answers

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
493

Hi,

You need to pass the data to the program to which you are submitting using WITH addition. Check the documentation for SUBMIT WITH. Also check out the option of passing the data to the program using BDCDATA.

Regards,

Sesh

Read only

Former Member
0 Likes
494

hi christi,

in case of calling a program or a transaction u can use call statement,but

in case u have to submit that u have to use the SUBMIT statement.

for eg:

SUBMIT....VIA SELECTION-SCREEN

Effect

The selection screen is displayed. In this case, the selection screen is displayed again after the report list has been displayed. The values entered by the user remain displayed.

... AND RETURN

Effect

Returns to the calling transaction or program after the called program has been executed. SUBMIT ... AND RETURN creates a new internal session.

u can use this . if u have further doubts about this u can get from f1 help request.

with regards,

magesh.