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

User-exit that is triggered when a user changes/add a partner function VA02

Former Member
0 Likes
2,735

I have been trying to find a user exit that is triggered when a user changes or add a partner function in a sales order. It is not the sold-to or ship-to partner, so I am finding the standard user exits are not triggered when they are changed in VA02. I have tried the following user-exit :-

USEREXIT_CHECK_VBAP --> MV45AFZB

USEREXIT_CHECK_VBAK --> MV45AFZB

USEREXIT_MOVE_FIELD_TO_VBAP --> MV45AFZZ

USEREXIT_MOVE_FIELD_TO_VBAK --> MV45AFZZ

EXIT_SAPLEINM_002

EXIT_SAPLV09A_002

EXIT_SAPLV09A_004

EXIT_SAPLV09A_001

But no luck. Does anyone know of any other exit that I can use?

I have been trying to find a user exit that is triggered when a user changes or add a partner function in a sales order. It is not the sold-to or ship-to partner, so I am finding the standard user exits are not triggered when they are changed in VA02. I have tried the following user-exit :-

USEREXIT_CHECK_VBAP --> MV45AFZB

USEREXIT_CHECK_VBAK --> MV45AFZB

USEREXIT_MOVE_FIELD_TO_VBAP --> MV45AFZZ

USEREXIT_MOVE_FIELD_TO_VBAK --> MV45AFZZ

EXIT_SAPLEINM_002

EXIT_SAPLV09A_002

EXIT_SAPLV09A_004

EXIT_SAPLV09A_001

But no luck. Does anyone know of any other exit that I can use?

10 REPLIES 10
Read only

Harsh_Bansal
Contributor
0 Likes
1,940

Hi,

Did you try USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ ?

Regards,

Harsh Bansal

Read only

eduardo_hinojosa
Active Contributor
0 Likes
1,940

Hi

Try with enhancement V09A0003

Regards

Eduardo

Read only

Former Member
0 Likes
1,940

Hello,

The enhancment V09A0003 uses the FM EXIT_SAPLV09A_003 and it is not triggered. The user-exit save works, but then users will have to save the document before they see the result.

I am looking for a user exit that it triggered when the partner is changed.

Read only

Former Member
0 Likes
1,940

Hi,

Please go through the below link. This might surely help you.

[http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm]

Regards,

Danish.

Read only

Former Member
0 Likes
1,940

Hi Abdul,

Did you find any good solution to this?

Ive got similar problem but have not found a good way to solve it

Best regards,

Martin

Read only

gurunathkumar_dadamu
Active Contributor
0 Likes
1,940

Hi abdul,

please try the below include.

  /SAPHT/SW_PARTNER_TRANSFERE---> in this check 132 line.

*-----Insert/Change new partners

     READ TABLE XVBAP INDEX SVBAP-TABIX.

     PERFORM VBAP_PARTNERDATEN_AENDERN(SAPFV45P) USING C_SPACE.

   ENDIF.

Regards,

Gurunath Kumar

Read only

0 Likes
1,940

Hi Gurunath Kumar,

That does not seem to be acitve/in use in my system.

Any more suggestions on how to achieve the requirement?

Best regards,

Martin

Read only

Former Member
0 Likes
1,940

Hi Guys,

we have similar situation in our project. Did anyone used any user exit/BADI/Implict which gets triggered when you add/change/delete partners at line item in Sales order?

Regards,

Suman

Read only

0 Likes
1,940

Hi Suman,

Put a breakpoint at function group V09C, subroutine ON_REQUEST_1000.

//Martin

Read only

former_member1716
Active Contributor
0 Likes
1,940

Hi all,

Please use the USEREXIT_SAVE_DOCUMENT_PREPARE or USEREXIT_MOVE_FIELD_TO_VBKD in include MV45AFZZ.

Please get back in case of any clarifications.

Thanks and Regards,

Satish