on 09-02-2015 7:45 AM
Hi Experts,
I am using a lookup function in my script logic. The code is written below.
*LOOKUP Sales_Main//the real name of model 2
*DIM SALES_ACCOUNT ="QTY"
*DIM PRODUCT = "0100100101"
*DIM AP:CATEGORY="Annual_Plan" //variable AP
*DIM LP:CATEGORY="Long_Plan" //variable LP
*ENDLOOKUP
When I use these results in *REC statement, this only writes a record with variable LP (The last variable written in the lookup) and not with AP.
Now when i change the sequence of variable lines in my lookup function like this
*LOOKUP Sales_Main//the real name of model 2
*DIM SALES_ACCOUNT ="QTY"
*DIM PRODUCT = "0100100101"
*DIM LP:CATEGORY="Long_Plan" | //variable LP |
*DIM AP:CATEGORY="Annual_Plan" //variable AP
*ENDLOOKUP
this only writes a record with variable AP (The last variable written in the lookup function ) and not with LP.
Am I making some mistake or is this a bug? Can I use 2 variables for 2 different category?
Quick response is requested .
Thanks alot
BPC & BW version and SP! Please!!!!
It was a bug at some SP...
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you have to upgrade to SP06 or implement the note: http://service.sap.com/sap/support/notes/2136166
Vadim
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.