‎2007 Nov 12 9:28 AM
Hi Gurus,
Can anyone please let me know difference for the three given below :
1) CALL FUNCTION 'EXIT_SAPMV45A_001'
EXPORTING
IVBAK = VBAK
IVBAP = VBAP
IVBKD = VBKD
ITVAK = TVAK
ITVAP = TVAP
CHANGING
BILLINGPLANTYPE = CH_FPART.
2 ) PERFORM USEREXIT_MOVE_FIELD_TO_TVCOM_H(SAPMV45A).
3) CALL CUSTOMER-FUNCTION '002'
EXPORTING
I_TVAK = TVAK
I_TVTA = TVTA
I_VKGRP = DEFAULT_VKGRP
I_VKBUR = DEFAULT_VKBUR
IMPORTING
E_KUNNR = KUAGV-KUNNR.
Please let me know is there anyother stuffs available for calling EXITS in the program.
Thanks
Ashok ...
‎2007 Nov 12 11:28 AM
‎2007 Nov 12 11:32 AM
Hi,
2) this means that you are going to call the sub routine USEREXIT_MOVE_FIELD_TO_TVCOM_H in the program SAPMV45A.
This will be used where all the sub routine will be created and placed in a sub routine pool program. you can pass the parameters and get the output done.
3) this is for calling the user exit. this will call an FM. this FM will have the include name which can be modified for additional requirements
reward points if useful
Regards,
Niyaz
‎2007 Nov 12 11:36 AM
Hi ,
Please find below the difference
a) 1 and 3 are the customer exit
1. This is a <b>normal function module</b> call.If there is any code in the include specified in the function module , the same will get executed.
3. This is the <b>customer exit</b> , once you activate the project which has this enhancement ,then this function module will be called.
b) 2 is the user exit .
SAP provides u a place and include program to implement your own code with the help of <b>ACCESS KEY.</b>
Regards
Meikandan