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

REg. Calling report

Former Member
0 Likes
430

I wrote a custom Z report that creates a smart form. Now I want to call this custom report from another custom program of mine and validate if the smart form creation is succesful or not.

How can I do that (to call another program from a program)? Ccan you please help me with a sample code?

Thanks a lot

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
413

Hi Krishen,

You can use SUBMIT statement to call another program.

Please check this link for sample codes.

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

Regards,

Ferry Lianto

I wrote a custom Z report that creates a smart form. Now I want to call this custom report from another custom program of mine and validate if the smart form creation is succesful or not.

How can I do that (to call another program from a program)? Ccan you please help me with a sample code?

Thanks a lot

2 REPLIES 2
Read only

Former Member
0 Likes
414

Hi Krishen,

You can use SUBMIT statement to call another program.

Please check this link for sample codes.

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

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
413

Use a statement like this:

SUBMIT zprog_name USING SELECTION-SET variant_name

AND RETURN.

- April King