on 11-15-2007 5:59 PM
Hi everyone, i have a simple problem than any one of u can solve.
I have a variable - KNB1-CESSION_KZ, and i created a table of mine that as the same key CESSION_KZ but with another data that i need to put in a SapScript.
1º. When i put &KNB1-CESSION_KZ& in the SapScript the value appears.
2º I need the value to make a SELECT so i can select the data from my table (ZCESSION).
3º I already know that i have to make a perform (possibility).
Imagine this example: I want to make Zcession-Bank happear in the SapScript for that KNB1-CESSION_KZ value.
Thx in advance.!! Regards to all
Hi,
You have two options, you can either change your print program to read this data or you can call an ABAP subroutine from your SAPscript.
Be aware that you will have to call the subroutine once for each record in KNB1, as you can not hold and loop at the internal table in your SAPscript.
The syntax of the SAPscript PERFORM is well documented in the SAP help, and also in this forum.
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.