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
How can you copy forms from one client to other?
How to transfer the objects? Have you transferred any objects ?
How does check, continue and exit commands work in loop and end Loop.
What is the use of rstbserv program?
What is layout set? What is it used for?
I have created a sapscript in language de. Now I need to translate it to en. How could I do this?
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?
How can I change the page size of the layout?
How many interactive reports did you write ?
If the second page is not triggering what is the problem?
How to find the driver program for the given sapscript?
How did you test the form u developed? How did you taken printout ?
How do you test the script?
Explain the page windows
What are the types of windows?