Hi all,
I'm try to fil the user field VBRP-ISHPRICE1 using the USEREXIT_FILL_VBRK_VBRP.
The information comes from TKOMP-ISHUSERPRICE1, i mean, the user exit code is very simple:
CHECK NOT vbrk-ishkostr IS INITIAL. PERFORM call_badi_pricing_fields(sapln60a) USING vbrk-ishkostr vbap-vbeln vbrp-ishbegdt vbrk-vbtyp CHANGING tkomk tkomp. vbrp-ISHUSERPRICE1 = tkomp-ISHUSERPRICE1. ENDIF.
But i found a strange behavior, the sequential number is VBRP always is 1 more than sequential number in TKOMP, then the user-exit works, but the information is saved in the following service.
any ideas why is happening this??
thanks in advanced.
P.D. maybe i have to post in SD forum, what do you think??
EDIT: the same behavior with/without the badi call. the badi implementation doesn't have code for now, because we fill the KOMP-ISHUSERPRICE in a pricing routine.
Edited by: felix gomez on May 19, 2010 1:49 PM