on 07-09-2008 2:04 PM
Hi,
Is any chance to make sorting order positions in SapScript, I know that I can call function PEFROM .. IN PROGRAM ..., but how send a table form SapScript, and then receive her from program to SapScript... ?
Thanks a lot.
DAD
Hi,
try this:
Filling the Internal Sort Fields
To fill the ten internal sort fields in the sort record, use the SAPscript statement PERFORM. Make sure to place the statement into the default text element of the main window before outputting any text. Only very few statements such as DEFINE may precede the PERFORM statement.
Pass the up to ten sort fields as USING parameters to the subroutine RDI_FILL_INTERNAL_SORTFIELDS in program RSTXSORT.
Example:
/: DEFINE &SORT01& = u2018SAPu2019
/: DEFINE &SORT02& = u2018FIu2019
/: PERFORM RDI_FILL_INTERNAL_SORTFIELDS IN PROGRAM RSTXSORT
/: USING &SORT01&
/: USING &SORT02&
/: ENDPERFORM
This program fragment enters the values u2018SAPu2019 and u2018FIu2019 into the sort fields SORT01 and SORT02. Each sort field can be up to 32 characters long.
It was taken from :
http://help.sap.com/saphelp_40b/helpdata/en/d2/cb3df6455611d189710000e8322d00/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.