Skip to Content
0

Programatically delete/cancel SRM confirmation document

Oct 25, 2016 at 08:58 AM

98

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Robin Janke Nov 07, 2016 at 09:39 AM
0

Hi,

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

Regards,

Robin

Share
10 |10000 characters needed characters left characters exceeded
Vinita Kasliwal Nov 10, 2016 at 02:53 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded