Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How can you copy forms from one client to other?

979


How to transfer the objects? Have you transferred any objects ?

2833


How does check, continue and exit commands work in loop and end Loop.

2057


What is the use of rstbserv program?

1101


What is layout set? What is it used for?

1088


I have created a sapscript in language de. Now I need to translate it to en. How could I do this?

985


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?

10998


How can I change the page size of the layout?

908


How many interactive reports did you write ?

1967


If the second page is not triggering what is the problem?

905


How to find the driver program for the given sapscript?

929


How did you test the form u developed? How did you taken printout ?

1839


How do you test the script?

987


Explain the page windows

945


What are the types of windows?

1071