on 11-23-2011 6:50 AM
Hi SD Experts,
I have assigned Number ranges to my Sales document. I raised a sales order & save it.Ex-Sales Order no 12345.Due to some reasons the customer had rejected that order.So i deleted that order in VA02.Now I want to use this no 12345 for other order.
Actually In SAP Standard it is not possible.Just want to know if their is any another way to achieve this.
Looking for your valuable suggestions
Regards
Pradeep
Edited by: Lakshmipathi on Nov 23, 2011 8:16 PM Thread Locked - Reason Duplicate Post
Hi Pradeed,
One idea, but I'm not sure that it will work.
Set an external range number. Use the FM NUMBER_GET_NEXT (as SAP does in MV45AF0B_BELEG_SICHERN). Remeber to use NUMBER_CHECK to check if you are using the ID for the invoice.
After, when you delete a SO, use USEREXIT_DELETE_DOCUMENT in MV45AFZZ. Write the value of VBELN in a customer table (Z-TABLE). Before to use NUMBER_GET_NEXT, try with the first value in this Z-table, run NUMBER_CHECK and avoid the use of NUMBER_GET_NEXT. Delete the record in the Z-table if it works right.
I hope this helps you
Regards
Eduardo
Edited by: E_Hinojosa on Nov 23, 2011 11:40 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
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.