on 07-18-2007 4:42 AM
Hi,
I have the following code in one window of my SAP Script
/: ADDRESS
/: NAME &SHIPINV-S2NAME1&, &SHIPINV-S2NAME2&, &SHIPINV-S2NAME3&
-
All other address nodes
-
/: ENDADDRESS
All the 3 names are printed successfully.
Now i want to add &SHIPINV-S2NAME4& to NAME node of ADDRESS. Since the length of the line in editor window is occupied by first 3 name fields I had to put my 4th field in next line.
/: ADDRESS
/: NAME &SHIPINV-S2NAME1&, &SHIPINV-S2NAME2&, &SHIPINV-S2NAME3&
<b>/: &SHIPINV-S2NAME4&</b> <i>is this correct ??</i>
-
All other address nodes
-
/: ENDADDRESS
But its not at all printing the 4th value (In debugger i checked the value s available in &SHIPINV-S2NAME4&). I am not sure about the syntax for next line in NAME node & also notation to use like /: or /( or space, or /= and so on. I tried many combinations but cudn't get thru it. So i am confused with NAME node of ADDRESS...ENDADDRESS
Please help me out in this case.
Thanks,
Sail
You can still add it on the same line by RIGHT CLICK on the line, selecting page LEFT/ RIGHT(SHIFT+F8). and continues to the current line will come.
OR
Use
/: NAME <call standard text> or Use BLANK for continuous fields.
Reward points if useful.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello if things don't work as suggested.
Try this simple solution:
/: DEFINE &NAME1& = &SHIPINV-S2NAME1&
/: DEFINE &NAME2& = &SHIPINV-S2NAME2&
/: DEFINE &NAME3& = &SHIPINV-S2NAME3&
/: DEFINE &NAME4& = &SHIPINV-S2NAME4&
/: ADDRESS
/: NAME &NAME1& &NAME2& &NAME3& &NAME4&
By the way Have you tried with this also:
/: NAME &SHIPINV-S2NAME1& &SHIPINV-S2NAME2& ....S2NAME3& = &SHIPINV-S2NAME4&
Enjoy !!
Message was edited by:
Amarjit Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use below as like :
/: ADDRESS
/: NAME &SHIPINV-S2NAME1&, &SHIPINV-S2NAME2&, &SHIPINV-S2NAME3&
/: <b>NAME</b> &SHIPINV-S2NAME4&
/: ENDADDRESS
Now it should print.
Thanks
Seshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.