2006 Jul 17 7:42 PM
Hi Guys,
Can anyone let me know how to write a perform statement in Sap Script.
Thanks,
Ramesh
Hi Guys,
Can anyone let me know how to write a perform statement in Sap Script.
Thanks,
Ramesh
2006 Jul 17 7:54 PM
check this link
http://www.sap-basis-abap.com//abap/how-to-call-a-subroutine-form-sapscripts.htm
Thanks,
Rajesh.
2006 Jul 17 7:55 PM
I just took this example from SAP Help
=======================================
Syntax in a form window:
/: PERFORM <form> IN PROGRAM <prog>
/: USING &INVAR1&
/: USING &INVAR2&
......
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
......
/: ENDPERFORM
INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
FORM <form> TABLES IN_TAB STRUCTURE ITCSY
OUT_TAB STRUCTURE ITCSY.
...
ENDFORM.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |