This link gives you a simple example.
http://help.sap.com/saphelp_47x200/helpdata/en/d1/803279454211d189710000e8322d00/frameset.htm
Hope this is helpfull.
Hi Deepthi,
The syntax of Perform statement is
/: PERFORM <form_name> in PROGRAM <program_name>
/: USING &INVAR1&
/: USING &INVAR2&
.
..
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
.
..
/: ENDPERFORM.
In the program <program_name> , you can write the form <form_name> as:
FORM <form_name> TABLES INTTAB STRUCTURE ITCSY
OUTTAB STRUCTURE ITCSY.
endform.
INTTAB will contain all the input parameters like INVAR1, INVAR2 etc and OUTTAB will contain all the output parameters like OUTVAR1, OUTVAR2 etc.
You can download a nice document on SAPScript from this link , but within 1 day.
https://www7.sendthisfile.com/d.jsp?t=asglGjpv25aba8T8sp2G1zyd
Regards,
Amit.
HI,
1) See the below link for the External perform which we
use in SCRIPTS,
2) you only see the standard text in SO10, if you want to see the text which you mention, just go to the BOM transaction code, there you will find the text to that BOM, that will have the name, OBJECT and ID, the same we will write in the Script, so that the text will be called in Scripts ...
Thanks
Sudheer
Hi deepthi,
Standard texts are maintained in transaction SO10.
Example 1:
You have created a standard text in SO10 Named MYTEXT and with Text Id ST
/: INCLUDE MYTEXT OBJECT text ID st
Example 2:
You can also use a dynamic name so that you can retreive a ext depeding of the name variable:
/: INCLUDE &SCUSTOM-NAME& text ID st.
Depending on the name in the variable &SCUSTOM-NAME& different texts will be shown. Note that a text with the name in the variable &SCUSTOM-NAME& name must be created in SO10
regards,
keerthi.
Add a comment