cancel
Showing results for 
Search instead for 
Did you mean: 

Change sales area while copying contract from another contract

Former Member
0 Kudos

Hello Gurus,

I am copying sales contract from another sales contract. I have maintained copy control accordingly.

Here i want to change sales area of being created sales area.

Ex.

Sales area

Reference contract 1000-10-10

New Contract 2000-10-10

How can i control this ??...Where and what change should i made in copy control to achieve this ?

Thanks in advance...

Regards,

Tarpan Vadaliya

Accepted Solutions (1)

Accepted Solutions (1)

jignesh_mehta3
Active Contributor
0 Kudos

Hello,

I believe this should be possible in SAP standard without any config changes.

Go to VA41.

Enter Contract Type & required Sales Area.

Then click on 'Create with Reference" & give the reference Contract Number.

If the Customer exists in both the Sales Areas there should not be any issue.

If your Customer does not exist in both the sales area, then go to T-Code - VTAA & select the Source & Target Contract Type (which would be same in your case).

He Header Copy Controls, under Copying Requirements, assign routine 002 - Header-diff.customer

Check & Revert.

Thanks,

Jignesh Mehta

Answers (3)

Answers (3)

Former Member
0 Kudos

problem is solved by changing the sales area using user exit MV45AFZZ (pass value to VBAK).

Former Member
0 Kudos

Thanks Kapil for your input.

But still my question is not answered completely.

My requirement in simple that i want to create a contract with reference to another contract but in different sales area. My customer will be remain same. So it does not relevant whether i use routine 001 or 002.

I had tried to create with both routine but i am not getting succeed. I had also removed below mention code from routine and tried but not succeed.

IF HVBAK-VKORG NE VBAK-VKORG.

MESSAGE E007 WITH HVBAK-VKORG VBAK-VKORG.

ENDIF.

  • Is the dist. channel the same in both reference and target?

IF HVBAK-VTWEG NE VBAK-VTWEG.

MESSAGE E011 WITH HVBAK-VTWEG VBAK-VTWEG.

ENDIF.

  • Is the division the same in both reference and target?

IF HVBAK-SPART NE VBAK-SPART.

MESSAGE E012 WITH HVBAK-SPART VBAK-SPART.

ENDIF.

Still waiting for helpful solution...

Tarpan

Former Member
0 Kudos

Thanks Jignesh,

I think you are no clear with my question.

I want to copy contract from one sales area to another sales area.

for example,

I had created contract 123456 in sales area 1000-01-01 and now i want to create another contract (copy of 123456) in sales area 200-01-01. Currently i am trying to create, by entering sales area 2000-01-01 in VA41 screen and than creating with reference to contract 123456. But system overwrites 2000-01-01 and creates new contract in sales area 1000-01-01 same as of contract 123456.

How can i overcome this problem.

Regards,

Tarpan

Former Member
0 Kudos

Hi,

Create with reference to is not for what you are trying to do

It is meant for example sales order to quotation

Still you want to use then as suggested in copy control header level assign COPY Requirement as 002

And when you coping from previous contract to new one then in new contract change sold to party

kapil