04-18-2007 6:04 AM
hi iam using the user exit userexit_move_field_to_vbak.
in this i need to check for the items with header billing plan as well as items with biling plan at item level. aand then i need to do validatios for like reference billing plan no is valid or not 2) billing rule in the processing document line item and in the reference biiling plan no line item should be same and billing percentage value in the processing doc line item and in the reference billing plan no line item should be same!!! can u guys plss help me with the code.
POINTS PROMISED!!
04-18-2007 6:17 AM
did u check the subroutine <b>USEREXIT_CHECK_VBKD</b> in the include program <b>MV45AFZB</b>, the table <b>VBKD</b> has fields relevant to billing plan, for ex check the fields, VBKD-FPLNR,
VBKD-DPBP_REF_FPLNR,
VBKD-DPBP_REF_FPLTR
04-18-2007 6:29 AM
i have been asked to use that exit so ia am doin dat!!! can u plss help me wid the code!! i need it very badlyy
04-18-2007 6:32 AM
hi
check this
The program for transaction VA01 Create salesorder is SAPMV45A
If you search for CALL CUSTOMER-FUNCTION i program
SAPMV45A you will find ( Among other user exits):
CALL CUSTOMER-FUNCTION '003'
exporting
xvbak = vbak
xvbuk = vbuk
xkomk = tkomk
importing
lvf_subrc = lvf_subrc
tables
xvbfa = xvbfa
xvbap = xvbap
xvbup = xvbup.
The exit calls function module EXIT_SAPMV45A_003
praveen
04-18-2007 6:56 AM