2007 Jun 04 6:26 PM
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
2007 Jun 04 6:38 PM
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
2007 Jun 04 6:38 PM
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
2007 Jun 04 6:43 PM
Use a statement like this:
SUBMIT zprog_name USING SELECTION-SET variant_name
AND RETURN.
- April King
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |