Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

user exits

Former Member
0 Kudos

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!!

4 REPLIES 4

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

can u pls help me wid the code how to go abt the validations??