Skip to Content
avatar image
Former Member

Error: Material numbers provided in equivalent fields differ in BAPI_SALESORDER_CREATEFROMDAT2.

Dear SAP Experts,

I am trying create sales order using

BAPI_SALESORDER_CREATEFROMDAT2 (Inside the ZPROGRAM).

and in alternative call for the bapi i am getting Error : "Material numbers provided in equivalent fields differ".

ie, 1)First sales order is creating and for second one its triggering this error.

2) Single sales order with multiple line item(different material) is creating without any error

I am clearing all tables in the end of the loop and also using clearing BAPI memory using Function Call

'ISSR_BAPI_BUFFER_REFRESH_ALL'.

We are using S/4 HANA(1511), Same code is working in ECC without any error, and in HANA 1610 it is woking without error but always picking same material(First material).


Please help me to resolve this issue.

Thanks in Advance.

Regards,

Sachy.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 23 at 10:21 AM

    Hi All,

    Issue Resolved.

    Need to pass value to the field 'material_long'(order_items) in SAP HANA.

    (Note: ECC it will create multiple sales order without this field)

    Thanks to Mr Praveen Dinesan ( @praveendine600 )

    who found the solution for this issue.

    Thanks & Regrds,

    Sachin M

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 12 at 04:48 PM

    Please search SAP notes and, if none answers your question, open an incident with SAP Support.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 13 at 03:13 PM
    We already raised this issue with SAP

    What is the priority of this OSS message. Is should have been "High"

    No Positive reply from SAP Team

    Contact the local SAP Customer Care Center and ask them to speed up the process and ensure that your call is recorded in the OSS message you raised.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Got Reply from SAP for other two BAPIs

      (BAPI_SALESORDER_CREATEFROMDATA,BAPI_SALESORDER_CREATEFROMDAT1)

      Please follow the note :

      note "2249880- Dump SYSTEM_ABAP_ACCESS_DENIED caused through Blacklist Monitor in SAP S/4HANA on premise".

      for the reason why object have been blacklisted and on how you can reactivate them if needed.

      But no solution for BAPI_SALESORDER_CREATEFROMDAT2 error.

      Dear Experts,

      Please look into this issue and share your valuable suggetions .

      Thanks & Regards,

      Sachy.