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
Differentiate between window and page window.
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?
How do u configure the script?
You want to display top 5 records from an internal table. How will you do that?
How to convert a sapscript to smart form?
I create a box in sap script for the amount in bill,i want to add Rs. word over box,it is possible?
What does read_text?
How does check, continue and exit commands work in loop and end Loop.
What is sap script?
What is sap script? Difference between sap script and report?
In sap scripts, how will u link form with the event driven?
How to create standard text in sapscripts?
How can I prevent page-break in the message that is to be displayed?
Explain the constant in sapscript
What are the advantages and disadvantages of ABAP/4 query tool ?