on 07-08-2016 2:45 PM
Hi, everybody!
Help, please, with a problem.
After creation of the order in transactions of VA01, the order it is blocked because of a crediting limit.
But after unblocking in transaction of VKM1, in certain cases, positions from the order are removed. Only those materials which have a podstanovochny code (transaction of VB11-13) are removed, usual materials aren't removed. Removal of a position happens only because of VKM1.
In test system it is impossible to reproduce a problem because I don't know what to repeat that the position was removed.
Colleagues, help please why so occurs?
You can find the changes in sales order by running the program RVSCD100.
also you track the users doing these alterations.
You can either remove the deletion option for such users with variants(Tcode SHD0)
or make the original sales order into a custom table line item wise and restrict the changes through VA02 in exit MV45AFZZ..(USEREXIT_SAVE_DOCUMENT)
Just small query what you mean by **Only those materials which have a podstanovochny code (transaction of VB11-13) are removed, usual materials aren't remove**
Phanikumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
**Only those materials which have a podstanovochny code (transaction of VB11-13) are removed, usual materials aren't remove**
The remote line item was considered as a subline item.
In case of substitutions 2 lines are created:
Example:
A5776928 – YAX
A5776928 – YAPS
Under a line item of YAPS can be as the main, and the alternative code, everything depends on an inventory in a warehouse, but it is already visible in delivery.
All shipment goes on a code with the YAPS type.
The subline item is removed.
The materials YAX and YAPS, in principle, shall not live independently, these are the interconnected parts.
And it has turned out so that YAX remained in the order, and YAPS was removed.
Code, in case of sales substitutions, always identical in both lines.
I have a question to you:
RVSCD100 program. It can be started in productive system and it will remove nothing, and will just show the report?
What needs to be made by means of MV45AFZZ. (USEREXIT_SAVE_DOCUMENT)? I have not understood what you mean.
Prompt, please.
Hope your YAX,YAPS are the copy of standard item categories TAX & TAPS..
My suggestion on reading RVSCD100 program is with this you can find the user wise issue of changing such documents..if needed you can check AUT10 too..later controlling with deletion option for such users with variants..
In the mentioned user exit you can validate the XVBAP structure..
In short-if Y material is need to be always with material X-then take these SOs first into this structure and validate this in VA01/VA02.
we have the same scenario in our client (but we are dealing with free goods but not with material substitution).In seeds industry- Refugea is free for every cotton material.(it is the legal requirement too)
We configured this with free goods with method EXCLUSIVE.
If user intentionally tries to remove the free line item at sales order level & attempt to save-then system will throw an error like below-we done this in Exit as mentioned earlier..
Phanikumar
Have a look at OSS note 381954 whether it is related to your issue in which case, you need to carry out coding corrections.
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.