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

how to call one program to another program

Former Member
0 Likes
493

Hi all

This is krishna, how to call one program to another program.In program i have selection-screen, i am using same selection screen but it's not visbule.all reedy i tried submit ,in submit i have using variant in that variant problem, include is ok.any other method.

Regards,

Kk .

3 REPLIES 3
Read only

Former Member
0 Likes
447

Have a look at below link. May be helpful to you.

http://www.sap-img.com/abap/how-to-call-one-report-to-another.htm

Best Regards,

Vibha

*Please mark all the helpful answers

Read only

Former Member
0 Likes
447

Check below...

REPORT ZREP1.

parameter : paramet(18) type c.

write : paramet.

-


REPORT ZREP2 NO STANDARD PAGE HEADING.

tables: qals.

RANGES seltab for qals-prueflos.

WRITE: 'Select a Selection!',

/ '----


'.

SKIP.

FORMAT HOTSPOT COLOR 5 INVERSE ON.

WRITE: 'Selection 1',

/ 'Selection 2'.

AT LINE-SELECTION.

CASE SY-LILLI.

WHEN 4.

SUBMIT zrep1 VIA SELECTION-SCREEN

WITH PARAMET EQ 'Selection 1'

WITH SELECTO IN SELTAB

WITH SELECTO NE 3

AND RETURN.

WHEN 5.

SUBMIT zrep1 VIA SELECTION-SCREEN

WITH PARAMET EQ 'Selection 1'

AND RETURN.

ENDCASE.

Read only

Former Member
0 Likes
447

Hi Krishna,

I hope this link will be helpful for you to understand the in and out of SUBMIT statement used to call executable programs from another programs.

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9dd035c111d1829f0000e829fbfe/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9dd035c111d1829f0000e829fbfe/frameset.htm</a>

If you still have issues revert else close the thread with appropriate reward points.

Thanks

Mayank