2013 May 20 10:16 AM
Hi experts,
I have an issue related to third-party sales order and purchase requistion.
When the user creates a third-party sales order (item type ZTAB or ZTAS) a purchase requisition is automatically created. Then the user creates a new purchase order using this purchase requisition.
The problem is when they modify or delete items in the sales order, i.e, the user changes ZTAB item to ZTAS and saves again the sales order. In that case, in the purchase requisition, the first position 10 is deleted (marked as deleted) and there is a new position 20 for the ZTAS sales order item. When the user creates de purchase order whith this purchase requisition, the first position is not 10 but 20. And the consultan wants the position to be 10.
I think this is SAP standard behaviour and it' s not possible to be changed, but i may be wrong..
Any idea ?
Thanks in advance !!
María
2013 May 20 10:43 AM
It is a part of key field and surely it is standard behaviour cannot be modified.....
Hi experts,
I have an issue related to third-party sales order and purchase requistion.
When the user creates a third-party sales order (item type ZTAB or ZTAS) a purchase requisition is automatically created. Then the user creates a new purchase order using this purchase requisition.
The problem is when they modify or delete items in the sales order, i.e, the user changes ZTAB item to ZTAS and saves again the sales order. In that case, in the purchase requisition, the first position 10 is deleted (marked as deleted) and there is a new position 20 for the ZTAS sales order item. When the user creates de purchase order whith this purchase requisition, the first position is not 10 but 20. And the consultan wants the position to be 10.
I think this is SAP standard behaviour and it' s not possible to be changed, but i may be wrong..
Any idea ?
Thanks in advance !!
María
2013 May 20 10:43 AM
It is a part of key field and surely it is standard behaviour cannot be modified.....
2013 May 20 11:03 AM
In other client (I can't connect to it so I can't see how it is configured) it works as they want, if a sales order position is modified, then in the purchase requisition the item is deleted and the new position has the correct number. But I don't know how can I do that..
2013 May 20 11:16 AM
As I told... its a key field... if the insert happens first then the delete happens then it will come as 20 .. but if delete happens first then insert it will come as 10.
2013 May 20 11:24 AM
and it's not possible to delete this purchase requisition and create a new one whenever there is a change ?
2013 May 20 11:38 AM
As you mentioned it is marked for deletion.... if you want to show the functional take a marked entry and try to insert with the same line item outside in a dummy program.... as per my understanding this entry needs to be deleted and not marked for deletion.
In that case it will give item 10 for the new item.
So I recommend you to check with user exit EXIT_SAPFV45E_002 in Include LXVVAU16 (program SAPLXVVA).
It can help you.
2013 May 20 11:53 AM
Thanks a lot. I took a look to that user exit before posting here but I don't know what should I do there. I don't find anything related to it in the forums so I'm quite lost...
2013 May 20 1:52 PM
2013 May 20 2:24 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |