on 09-02-2008 8:59 AM
Hi All,
I have Created a Picing routine 901 in VOFM ->Requirements ->Pricing.
in the Form KOBED off the routine 901 can we access the Item Level Data of Sales Order?
One way is in the User Exit MV45AFZZ in Fom USEREXIT_PRICING_PREPARE_TKOMP
Export VBAP line item into the memory and then when the picing routine is triggered
Import it from the Memory and use it.
Any other efficient way/ or easeir way? Please Reply....
Edited by: Mohammed Iqbal on Sep 2, 2008 10:39 AM
Hi Mohammed,
did you check if xvbap is flowing there
ithink it should
xvbak xvbap and xkonv should serve your purpose
if not put a debug point and then when it comes there activate the new debugger and then go to Global parameters, here you will get a list of all the global tables flowing into the pricing routine.
Regards,
ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can access xvbap table using field symbols.
Try below mentioned code in routing:
constants: c_xvbap TYPE char30 VALUE '(SAPMV45A)XVBAP[]' .
FIELD-SYMBOLS: <fs_xvbap> TYPE ANY TABLE.
data: wa_xvbap TYPE vbapvb.
DATA: it_xvbap TYPE TABLE OF vbapvb.
ASSIGN (c_xvbap) TO <fs_xvbap>.
"xvbap
LOOP AT <fs_xvbap> INTO wa_xvbap.
APPEND wa_xvbap TO it_xvbap.
ENDLOOP.
Then later you can use internal table it_xvbap. Hope this will work for you.
Sumit
Hi Mohammed,
did you check if xvbap is flowing there
ithink it should
xvbak xvbap and xkonv should serve your purpose
if not put a debug point and then when it comes there activate the new debugger and then go to Global parameters, here you will get a list of all the global tables flowing into the pricing routine.
Regards,
ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.