Application Development and Automation 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: 
Read only

Exits

Former Member
0 Likes
651

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

3 REPLIES 3
Read only

Former Member
0 Likes
509

anyone Please do rply me ...

Read only

Former Member
0 Likes
509

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

Read only

meikandan_krishnan2
Participant
0 Likes
509

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