Application Development 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: 

VA41 Create Contract with reference - Change VBPA

ans1
Explorer
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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.

0 Kudos

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