Hi SAP Experts,
I try to using function /DBM/ORD_RFC_CREATE' to create data. But whenI develop the upload program there is error when i try to upload more than one data, upon checking the error message I got below message.
1 | E | VPD | 006 | You cannot change the entry in partner function SP | 000000 | SP | |
2 | E | /DBM/OE | 008 | Error while executing action ORD_NEW | 000000 | ORD_NEW |
Further debugging, its collect error when running this event 'ITEM_AVAIL_CHECK'.
There is no error when i just upload one data to the system. Please advice. Thanks
CALL FUNCTION '/DBM/ORD_RFC_CREATE'
EXPORTING
is_vbak_rfc = t_bapi_ordheader
* iv_testrun = p_test
IMPORTING
ev_vbeln = lv_vbeln
TABLES
it_job_rfc = t_bapi_jobrfc
it_task_rfc = t_bapi_taskrfc
it_tasksch_rfc = t_bapi_taskschrfc
it_splhdr_rfc = t_bapi_splhdrrfc
it_ltext_rfc = t_bapi_ltextrfc
it_vbap_rfc = t_bapi_vbaprfc
et_return = t_bapireturn.