‎2007 Sep 16 7:35 PM
Hi Guru's,
I am using a function module to create a sales order. But i'm getting an error which says: For object RV_BELEG , number range interval does not exist.
How to rectify this?
Below is the code :
CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'
EXPORTING
SYNCHRON = SPACE
STATUS_BUFFER_REFRESH = SPACE
REQUISITION_BUFFER_REFRESH = SPACE
REFERENCED_PM_ORDER = CAUFVD_IMP-AUFNR
IMPORTING
EVBAK = VBAK_LOC.
Please help.
Thanks,
Das
‎2007 Sep 16 10:44 PM
Number range objects are maintained in transaction SNUM, but before you rush off to that transaction you should check what happens in the standard Sales Order create - i.e. do you get the same message in VA01? It could be you have wrong values in your SD_SALES_DOCUMENT_SAVE setup.
Jonathan