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

Callling an standard program and return back

Former Member
0 Likes
865

Hi all,

I am coding an Zprogram in that i have to call an Standard Program ( ex:- SAPMF02K) and after executing that standard program again i have to come back and execute my remaining Zprogram .

How can i do this.

Regards

Ajay

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
814

Hi,

Use SUBMIT AND RETURN

That is , u can do...

SUBMIT SAPMF02K AND RETURN.

Chk the following link.....

http://www.sapdevelopment.co.uk/reporting/rep_submit.htm

Regards.

Edited by: Iyswarya Godi on Jul 9, 2008 7:16 AM

Edited by: Iyswarya Godi on Jul 9, 2008 7:16 AM

Hi all,

I am coding an Zprogram in that i have to call an Standard Program ( ex:- SAPMF02K) and after executing that standard program again i have to come back and execute my remaining Zprogram .

How can i do this.

Regards

Ajay

5 REPLIES 5
Read only

Former Member
0 Likes
815

Hi,

Use SUBMIT AND RETURN

That is , u can do...

SUBMIT SAPMF02K AND RETURN.

Chk the following link.....

http://www.sapdevelopment.co.uk/reporting/rep_submit.htm

Regards.

Edited by: Iyswarya Godi on Jul 9, 2008 7:16 AM

Edited by: Iyswarya Godi on Jul 9, 2008 7:16 AM

Read only

Former Member
0 Likes
814

Hi,

You have to use SUBMIT command. Please refer the syntax of it in abapdocu tcode. Pass the input parameters of your standard program in your Z program and tehn use SUBMIT command to go to that standard program and again you have to use IMPORT statement to return.

Read only

uwe_schieferstein
Active Contributor
0 Likes
814

Hello Babu

Use

SUBMIT <report> 
...
  AND RETURN.

Regards

Uwe

Read only

Former Member
0 Likes
814

HI

Use Submit report-name and retrurn.

Regards

Aditya

Read only

Former Member
0 Likes
814

Hi Ajay,

Use SUBMIT <program> AND RETURN.

ex.

Report z_test1.

-


---

---

SUBMIT SAPMF02K AND RETURN.

Regards,

kv.