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
When we should use ABAP Memory and SAP Memory ?
What are the modules in FI that you have worked on ?
What is difference between window & a page window?
How do I create boxes in sapscript?
Where are the sapscript form names?
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?
What is t.code for script styles?
Explain the variable in sapscript
In BDC having 99 fields in a screen But the flat file having 150 fields.what is the solution.
How can I transfer sapscript from one client to another?
what is maximum columns number in SAPScripts and Smartforms. If How can we move to next page for print.?
How can I print logos in sapscripts?
How can I set the header and footer in the main window?
What is sap script? What is the purpose of sap script? Difference between sap script and report?
You want to display top 5 records from an internal table. How will you do that?