Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from soufiane669 on Dec 12 at 10:03 AM Thanks a lot guys for your inputs. I will create my own structure with all fields that a need for my query, and then une it through an abap program, i will do as you adviced me Louis, calculate first the quantity for each material in '911' and '912' per reservation store it in a hashed table that i will use in second time to catch my quantities for each line of my infoset. what do you think ? Soufiane
| | | ---------------Original Message--------------- From: soufiane669 Sent: Tuesday, December 11, 2012 10:06 AM Subject: Code at Infoset SQ02 - Use the Current Line When Processing Hello every one, I want to add some abap code in infoset SQ02 to calculate an additional field: In the infoset i'm joining the 2 tables RESB and MSEG and i want to calculate for each reservation of material => sum(reserved quantity) where movement type = 911 MINUS sum(reserved quantity) where movement type = 912 where the material = current line. That's why i want to use the value of the current line material otherwise the select will populate the additional field with the same result for all the records. Please to help me Regards, Soufiane | | Reply to this email to post your response. __.____._ | _.____.__ |