Skip to Content

Linking Sales order and a credit memo Request

Hello All,

I am creating a credit memo request using the function module SD_SALESDOCUMENT_CREATE.

I want to link the sales order to the newly created credit memo request.

Is it the right way to use BINARY_RELATION_CREATE for it or is there any other method for it.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 03, 2017 at 05:02 PM

    Use BAPIs, not FM.

    What are you trying to achieve exactly? Credit memo request is usually created with reference to a billing document. The referenced document # can be passed to BAPI. This is standard functionality.

    The users can navigate to the sales order referenced by the billing document through the standard document flow. Or you could use a document flow BADI (SAP note 2449464) and add other items to the document flow, as needed. It'd seem redundant to me in this case though.

    Add comment
    10|10000 characters needed characters exceeded

    • Please request an SD consultant to clarify the specification for you. BINARY... FM has nothing to do with creating documents with reference. And creating credit memos with reference to a sales document (either order or contract) would be a very odd process. I suspect there was some misunderstanding of the requirements.