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

Copy Control for Billing Header Partner.

Former Member
0 Likes
2,018

Hi All,

Need advice and guidance from all. As below are the explanation of the future and current scenario. I also have did some research on my own. Please advice and thanks in advance.

Future Scenario:

A new partner determination is necessary during the creation of the debit note or credit note memo request with reference to the billing document by using transaction to VA01.

Current Scenario:

While creating a credit or debit memo request with reference to the billing document the header partner is copied from the reference billing document. But if there is an update in customer master data (VD03) for partner function before creation of credit or debit memo request, the partner function will not be updated in the VBPA table of this routine (FV45C003)

Steps did by me:

1) Copied routine 003 (FV45C003) to a new routine.

2) Manage to find the required table such as KNVP and KNA1 which stores the latest customer master data.

Question:

1) Is there any function module that i can overwrite the CVBPA table in the subroutine (FV45C003)?

Regards

Shawn

1 ACCEPTED SOLUTION
Read only

brad_bohn
Active Contributor
0 Likes
1,280

You don't need to overwrite the CVBPA table. CVBPA is for the copied document and you don't change that. You need to populate the XVBPA table with the partners that should go into the new document.

Hi All,

Need advice and guidance from all. As below are the explanation of the future and current scenario. I also have did some research on my own. Please advice and thanks in advance.

Future Scenario:

A new partner determination is necessary during the creation of the debit note or credit note memo request with reference to the billing document by using transaction to VA01.

Current Scenario:

While creating a credit or debit memo request with reference to the billing document the header partner is copied from the reference billing document. But if there is an update in customer master data (VD03) for partner function before creation of credit or debit memo request, the partner function will not be updated in the VBPA table of this routine (FV45C003)

Steps did by me:

1) Copied routine 003 (FV45C003) to a new routine.

2) Manage to find the required table such as KNVP and KNA1 which stores the latest customer master data.

Question:

1) Is there any function module that i can overwrite the CVBPA table in the subroutine (FV45C003)?

Regards

Shawn

2 REPLIES 2
Read only

brad_bohn
Active Contributor
0 Likes
1,281

You don't need to overwrite the CVBPA table. CVBPA is for the copied document and you don't change that. You need to populate the XVBPA table with the partners that should go into the new document.

Read only

Former Member
0 Likes
1,280

HI Brad Bohn,

Thanks for the helpful advice. Appreciate it very much and my apology for the late reply. Have a great day ahead...:)

Regards

Shawn