HOw to Call Subroutine in
Sap Script?
Answer Posted / k.nagalakshmi
The example defines a subroutine FORM CALLED_FROM_SAPSCRIPT
in the ABAP ZDEMO_SAPSCRIPT_PERFORM . This subroutine is
called from the SapScript form when the respective element
/E PERFORM_ABAP
is executed. The syntax of the call is like
/: PERFORM CALLED_FROM_SAPSCRIPT IN PROGRAM zsapscriptexits
/: USING &invar1&
/: USING &invar2&
...
/: CHANGING &outvar1&
/: CHANGING &outvar2&
...
/: ENDPERFORM
The subroutine must be defined in the ABAP/4 report as
follows:
FORM form TABLES IN_TAB STRUCTURE ITCSY
OUT_TAB STRUCTURE ITCSY.
...
ENDFORM.
| Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
HELLO ALL...HOW CAN WE CORRECT AN ERROR IN PRODUCTION...?
What is the use of rswbo052 program?
You want to backup sapscript layoutsets. How will you do it? Can you perform the download and upload function here? How?
i want default printer name in sap-scripts? please help me how to handle this one.
How many interactive reports did you write ?
What are the different types of symbols?
How many styles for there in script?
What does the smartforms development class start with ?
Difference between ABAB Memory and SAP Memory ?
What is sapscript? What is its purpose?
In what format does sap script store text ?
How many main windows can be created for a script?
What is the use of rstxscrp program?
What are the modules in FI that you have worked on ?
What is sap script? What is the purpose of sap script?