cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically delete/cancel SRM confirmation document

Former Member
0 Kudos
613

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

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

Regards,

Robin