Skip to Content
avatar image
Former Member

Programatically delete/cancel SRM confirmation document

Hi Experts,

I have a requirement to delete/cancel confirmation on the basis of an incoming interface. I have the confirmation number with me.

Is there any BAPI or a statndard FM which delete confirmation document and give us the reverse document number ?

Thanks in advance,

Yashika

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 07, 2016 at 09:39 AM

    Hi,

    please use class /SAPSRM/CL_PDO_BO_CONF and method /SAPSRM/IF_PDO_BO_CONF~DELETE_DOCUMENT.

    Regards,

    Robin

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 10, 2016 at 02:53 AM

    Hi

    Can you try to use the BAPI BAPI_GOODSMVT_CANCEL'or the MS_DELETE_SERVICE_ENTRY_MULTI

    refer this link it has a lot of other technical objects name which can be used.

    https://wiki.scn.sap.com/wiki/display/SRM/4+-+Return+Delivery+-+Cancellation

    /SAPSRM/CL_PDO_BO_CONF -> … RETURN_DELIVERY

    /SAPSRM/CL_PDO_BO_CONF -> CREATE_RETURN_DOCUMENT

    SAPSRM/CL_PDO_BO_CONF -> DELETE_DOCUMENT

    Other FM META_ENTRYSHEET_CANCEL

    B46C_ENTRYSHEET_CANCEL

    BBP_ENTRYSHEET_CANCEL (ERP)

    Regards

    Vinita

    Add comment
    10|10000 characters needed characters exceeded