2006 Jul 28 9:44 PM
Hi guys,
can any body tell me how to use<b> perform</b> in scripts.
and how to include these statement it doesn't look like standard text
/: INCLUDE &ZTXTNAME& OBJECT BOM ID MZU
have a nice weekend
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.
2006 Jul 28 9:58 PM
hi,
In the script u can write :
perform subroutine-name in Program using var1 changing var3.
in the driver program:
form subroutine using var1 changing var3.
endform.
2006 Jul 28 9:59 PM
in the driver program it is as below:
FORM <form> TABLES IN_TAB STRUCTURE ITCSY
OUT_TAB STRUCTURE ITCSY.
...
ENDFORM.
2006 Jul 28 10:03 PM
This link gives you a simple example.
http://help.sap.com/saphelp_47x200/helpdata/en/d1/803279454211d189710000e8322d00/frameset.htm
Hope this is helpfull.
2006 Jul 29 6:04 AM
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.
2006 Aug 01 6:30 PM
Hi
ANyone tell me ,where should i check for this text.
It has been used in SCRIPTS,i tried in so10 but i doesn't look like standard text.
Pls do let me if any one has an idea
/: INCLUDE &ZTXTNAME& OBJECT BOM ID MZU
thanks
2006 Aug 01 6:43 PM
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
2006 Aug 01 7:26 PM
for this statement
/: INCLUDE &ZTXTNAME& OBJECT BOM ID MZU
You said to check BOM t-code ,i see so many BOM t-code,can you pls tell which transaction i need to check.
Thanks in advance
2006 Aug 02 10:01 PM
INCLUDE &ZTXTNAME& OBJECT BOM ID MZU
You said to check BOM t-code ,i see so many BOM t-code,can you pls tell which transaction i need to check.
Thanks in advance
2006 Aug 01 6:44 PM
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.
2006 Aug 02 10:13 PM
Use the transaction SE78. Under Stored as Text find MZU and select it. You will get a screen on the right side with name and language. In name press F4.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |