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
What is the work you have done in the MM module and what programs did you use for creating views in MM ?
How can I get the landscape format in sapscript?
What does read_text?
What is the work you have done in the MM module and what programs did you use for creating views in MM ?
Hello.. i have a question. which signature digital or signature logo we use in smartforms & scripts...? if we use digital sign what are those steps to use it...?
I want to take the back up of my script layout into my hard disk to be loaded later. What should I do?
I want to display quantity & Price based on Particular Language and Country in SAP Script , How we can do that ? One particular statement is there for that, What is that ?
What are the modules in FI that you have worked on ?
Different types of ABAP memory ?
How can I debug my sapscript?
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 can I transfer sapscript from one client to another?
What does the smartforms development class start with ?
What is sap script? What is the purpose of sap script?
How to download/upload image sapscripts from & to your pc?