10-28-2015 5:07 PM
Hi,
I am trying to call the FM BAPI_SALESORDER_CHANGE in my SAP ECC RFC. I am giving the sales order# to t'he FM BAPI_SALESORDER_CHANGE but it still
gets back with the error message V1045 - Enter the document number'.
I applied the following note:
- 1232196 - Inexplicable error in BAPI
- 393728 - SD sales document cannot be read
None of them worked.
Thanks in advance,
Karuna
10-28-2015 5:14 PM
Did you try to debug? It should be easy to find it out.
I did a quick where used on the message and the message is raised if you miss the Item number also.
So check the input to the BAPI and see if you forget to pass any item number in the Item tables.
10-28-2015 5:14 PM
Did you try to debug? It should be easy to find it out.
I did a quick where used on the message and the message is raised if you miss the Item number also.
So check the input to the BAPI and see if you forget to pass any item number in the Item tables.
10-28-2015 5:26 PM
Thank you for the quick reply Roy. I did debug. I went from FM SD_SALESDOCUMENT_CHANGE
to FM SD_SALES_DOCUMENT_READ. As I read in other posts VBAK-VBELN was clearing out. So I implemented the note '393728 - SD sales document cannot be read' with the correction instructions.
Thanks,
Karuna
10-30-2015 6:22 PM
Hi All,
I was able to resolve the issue. The issue was with the extension_in. Once I commented the data for extension_in i was able to add the line items.
Thanks all,
Karuna