on 04-05-2013 11:15 AM
Hi Experts,
We have to copy certain Sales order from one sales organisation to another sales organisation. Old sales org is xxx and new sales org is yyy. We have maintained customer data to yyy, dist channel, division and also extended all material codes to new plant in sales org xxx.
But from VA01, I am not able to copy this we can not copy sales order from different sales org.
Please help me how to achieve it.
Regards
Rajeev Gupta
Hi,
Take a look at this thread: http://scn.sap.com/thread/3314466
In copy control routine (t-code VTAA) you have to make adjustments. Take a look at copying rule LV45C002:
IF NOT HVBAK-VKORG IS INITIAL AND
NOT HVBAK-VTWEG IS INITIAL AND
NOT HVBAK-SPART IS INITIAL.
* Is the sales org. the same in both reference and target?
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.
ENDIF.
By deleting those, you can meet your requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi T W,
It inddeed is the copying requirement from sales order to sales order (where you assign at VTAA header, field copying requirements).
If one comments the following lines;
* Is the sales org. the same in both reference and target?
IF HVBAK-VKORG NE VBAK-VKORG.
MESSAGE E007 WITH HVBAK-VKORG VBAK-VKORG.
ENDIF.
This would mean that target sales document's sales org will not have to be the same as the source document's sales org.
Kivanc, Rajeev,
Thank you for your post!
Please comment on my below remarks:
1. T-code VTAA, Field DataT - When I see F1 Help for this field, I see that there a check of certain requirements, before (if) the transfer of information. Could you tell me, if there is a check for Sales organization in this field (routine) too?
2. T-code VTAA, field "Copy requirements" is not mandatory, simply keeping this field blank would also suffice the requirement.
With this option, there would be no need for any extra coding!
Note: Rajeev check how it would impact the other processes (if any)
3. The error message
MESSAGE E007 WITH HVBAK-VKORG VBAK-VKORG.
Can be converted in to a warning message?
The user would be able to copy a sales order, in order to create a new sales order, with different Sales organization. The system would prompt a warning message, the user can still go ahead and create the new sales order.
But this probably the requirement can be fulfilled.
1. T-code VTAA, Field DataT - When I see F1 Help for this field, I see that there a check of certain requirements, before (if) the transfer of information. Could you tell me, if there is a check for Sales organization in this field (routine) too?
There is no check about sales organization in Standard Data Transfer Routine 051.
2. T-code VTAA, field "Copy requirements" is not mandatory, simply keeping this field blank would also suffice the requirement.
With this option, there would be no need for any extra coding!
You are right, but this routine (002) controls a lot of requirements too (like sold-to party, validity period vs)
Note: Rajeev check how it would impact the other processes (if any)
3. The error message
MESSAGE E007 WITH HVBAK-VKORG VBAK-VKORG.
Can be converted in to a warning message?
The user would be able to copy a sales order, in order to create a new sales order, with different Sales organization. The system would prompt a warning message, the user can still go ahead and create the new sales order.
But this probably the requirement can be fulfilled.
Yes the message can be converted to a warning by simply changing E007 with W007.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.