Skip to Content
0
Former Member
Sep 16, 2007 at 06:35 PM

Sales document creation error.

90 Views

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