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

VA41 Create Contract with reference - Change VBPA

ans1
Explorer
0 Likes
729

Hi,

i search and try a lot but without result.

I want to create a contract with reference (VA41). The reference is a quotation and contains one-way-customers (CPD).

At the moment I use the copy routine (991[original:001]/992[original:002]) to make a popup where the user can choose a new customer for each CPD customer.

My problem is that the address data for the customer are still copied from the manually entered data in the quotatation. But I need to get the data from the customer master instead.

I tried the user-exits in include MV45AFZZ. Propably I forgot an update indicator or something else? In my case the update indicator is set to I (Insert).

I tried to change the adressnumber ADRNR too.

I don't want to do a manually select and fill the addional date (street, name,...) by hand. I want to get the additional data from the customer master automatically.

Thanks for help,

Andrea

3 REPLIES 3
Read only

Former Member
0 Likes
567

Do you want to copy address CPD customer to new customer while creating contract?

Read only

0 Likes
567

No.

I want to replace the CPD customer with a normal customer. Then I want to get the address data for the new customer from the customer master.

Read only

0 Likes
567

Hi,

I solved the problem.

I use the ehancement-section FV45CF0V_VORLAGE_KOPIEREN_33 (spots ES_SAPFV45C) in include FV45CF0V_VORLAGE_KOPIEREN.

Here i change the following attributes of CVBPA[]

- kunnr

- adrnr

- adrda ('D' = "ADRC address from master data")

- updkz ('U')

All works fine.

Kind regards

Edited by: Andrea Salzwedel on Feb 15, 2010 8:27 AM