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
Explain the main in sapscript
How many main windows are allowed for sapscript?
What the conditional statements used in sapscripts?
How can I trigger new page in sapscripts?
I create a box in sap script for the amount in bill,i want to add Rs. word over box,it is possible?
What are the components/elements/layout sets in sap script ?
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...?
HELLO ALL...HOW CAN WE CORRECT AN ERROR IN PRODUCTION...?
what is maximum columns number in SAPScripts and Smartforms. If How can we move to next page for print.?
What is the client concept in SAP? What is the meaning of client independent ?
What are the different types of windows in sapscripts?
What is the difference between EHP 4.0 and ECC 6.0 .Is there any different settings to be done in the system for functional modules?I have done ECC 6.0 version. Please tell me the answer of the question as soon as possible?
What does read_text?
How to find the driver program for the given sapscript?
How many main windows can we create in one script?