10-26-2012 2:25 PM
Hi Experts,
i have enable KOSTL field on sales order Item level for input in the exit MV45AFZB in Form USEREXIT_COBL_SEND_ITEM
with this code
int_coblf-fdnam = 'KOSTL'.
int_coblf-output = '1'.
int_coblf-input = '1'.
int_coblf-REQUIRED = '2'.
INT_COBLF-ACTIVE = '1'.
APPEND int_coblf.
But i am successful in enabling the cost center field in item screen as visible and allows us to key in the cost center value,
but the problem is after giving the value and clicking on enter the value get disappeared and the value is not even passing to VBAP.
i need to read the value and store it in VBAP
request your help
Thanks
Vamsee
10-26-2012 2:40 PM
10-26-2012 2:40 PM
10-27-2012 12:48 PM
10-29-2012 7:14 AM
10-29-2012 10:22 AM
Hi Amol Thanks but thats not the solution
I have resolved it explained below :
Solution : i have enable the cost center filed in USEREXIT_COBL_SEND_ITEM as i explained in my fist query
but to read the values after user input i have implimented MV45AFZB in Form
FORM USEREXIT_COBL_RECEIVE_VBAP.
VBAP-KOSTL = COBL-KOSTL.
endform.
also it will only up to Sales order but we have to pass the values to Sales invoice too so again implimented user exit for Sales in voice in include RV60AFZC in
FORM USEREXIT_FILL_VBRK_VBRP.
VBRP-KOSTL = VBAP-KOSTL.
endform.
Hope this will useful for others \
Thanks ,
Vamsee