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
Different types of ABAP memory ?
You want to backup sapscript layoutsets. How will you do it? Can you perform the download and upload function here? How?
What is the work you have done in the MM module and what programs did you use for creating views in MM ?
what is the use of outline option?
What is the work you have done in the MM module and what programs did you use for creating views in MM ?
Differentiate between protect and end protect.
How do I create standard texts for the sapscripts?
When we should use ABAP Memory and SAP Memory ?
You want to backup sapscript layoutsets. How will you do it?
I want few sample tech spec's in ABAP
Why the Main window Triggers first in Scripts ?
You want to import graphics into sapscript. How will you do that?
How can i read the data in bar code form directly into sap i.e. without being uploading it to TXT file and then uploading to SAP.
Can we add new records to the already displayed ALV list.
How to check the changes made in the standard layout set , other than using Utilities--- -> Print preveiw ? can u explain the different other ways to check it?