Skip to Content
author's profile photo Former Member
Former Member

Rejected lines handling within SAP SNC 5.1


we are currently connecting SAP SNC 5.1 with SAP SD system and we have a new requirement from SAP SD to get handle rejected lines within SNC - RR.

We are using standard ROC interface to get confirmation form SAP SD.

Would you have any idea what needs to be setup there in SNC in order to accept reject lines fro SAP SD system?

Thank you!

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2010 at 06:18 AM

    Hi MuteSAP

    I think this can be achieved

    As a first step, trigger idoc ORDRSP.ORDERS05 from ERP/ECC as output type for your SO header. (Reject SO)

    In Partner Profile maintain process code SD10 for your application V1.......This would inturn gets converted into ROC xml using PI/XI system.

    Incase if you are not able to accomplish.

    I suggest take help of ABAPER, Compare the below two FM




    USED BY ORDR_SUS PROCESS CODE, which can handle PO rejections

    from SNC to ECC.

    and try to figure, something has to be enhanced !!!!

    There is also FM IDOC_OUTPUT_STORD_ORDRSP, not sure whether this can be used for rejection of SO, incase if it is relevant

    Create Outbound Process code eg SDXX with the above FM and maintain message type ORDRSP for all functions and variants

    Hope, I am showing right direction

    Best Regards


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Dear All,

      I have found the solution.

      The ReplenishmentOrderConfirmation XML message contains a corresponding AcceptanceStatusCode responsible for order/item rejection or confirmation.

      Fyi: There is SAP Standard mapping for Rejection handling.

      Pls. see also notes: 962849, 962849.

      King regards,