on 07-14-2011 6:04 AM
Dear Gurus,
I am creating a sale order WRT to another sale order for my client's business process. In the Target sale order, I am able to change the qty more than the reference document, this should not allow. I have tried with VOV7 completion rule with combination of VTAA copy control settings for Sale documents. But still it is allowing to increase the qty.
Do we have any standard solution or do we need to go for User Exit.
Regards
Praveen...
Dear Praveen,
If you are copying from Item category A to B , then maintain completion rule 'b' for A
The in VTAA, item level put the qty as +ve.
When you do the cycle you are sure to get a message that the target qty has been fully reference.
Now, with the help of ABAPer, make this message 'E'.
Thanks & Regards,
Hegal K Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Praveen,
Please check the following thread.
My suggestion is , please use a copying requirement for your scenario.
Copy the copying requirement which is assigned now in VTAA, item level.
Add the following logic.
If VBUK-RFSTK of the referenced order = C , do not allow copying.
But you also have to maintain the other settings , ie, completion rule for item category as B .
Also understand that , this setting will not be applicable for the documents already created.
Thanks & Regards,
Hegal K Charles
Dear Lakshmipathi,
I would like to share with you a scenario where i had to do a Sales order to Sales Order copying.
My client have a warranty Process for which we have a sales order (ZXXX) and there is no delivery, but we pass credit memo when such a claim is processed (warranty order is created).
Now some time back business decided that they will not be giving credit memo for all the warranties , but for some materials they will be supplying the materials ( instead of giving the credit )for which we will have to bill .
ZXXX will be having both non-warranty materials and warranty materials.
ZXXX order is having Order based billing .
Hence we had to make another sales order ZYYY for this process.
we configured a copy control from ZXXX to ZYYY and wrote a check such that only those materials for which the business has not maintained in a Z-Tables as non-warranty material will be copied to the NEW ORDER TYPE.
This order type ZYYY is a delivery based billing and so we do the delivery and then invoice.
The other process will happen parallel (i.e, materials having warranty will be having ZXXX and Credit memo.
Materials without warranty will be having ZYYY-Delivery-invoice.
Thanks & Regards,
Hegal K Charles
For the copy control you donot need a user exit but a VOFM routine (see transaction VOFM). Most likely you will need the Data Transfer menu. The routine must be assigned to the copy control in configuration. Do a search, these routines have already been discussed here before.
Make sure to check the OSS notes
If you still feel you need a user exit, the full list is here:
[http://wiki.sdn.sap.com/wiki/display/ERPLO/SDUserexits]
Regards,
Anbu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you set a '+' sign under Pos/neg quantity field of item copy control section? Pl try and revert, if not.
Regards,
P Gomatheeswaran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Enter 'B' in the completion rule for the item category. Are the order types same? if the order types you are referencing are different, then check the completion rule for both item categories.
Regards
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
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.