I've got another request which I hope will be easy to implement. Copying all attachments from a service ticket to a follow up document. Hint: CL_CRM_DOCUMENTS.
To get all attachments:
CL_CRM_DOCUMENTS=>GET_INFO
Supply BUSINESS_OBJECT (instid = order's GUID, typeid = order's object_type, catid = 'BO'
To copy to another business object:
CL_CRM_DOCUMENTS=>COPY
Supply BUSINESS_OBJECT & NEW_BUSINESS_OBJECT
It seems that we don't need to use GET_INFO to be able to use the COPY function to copy all documents from the original service ticket to the follow up document. This has yet to be proven by me.. I'll implement it tomorrow and update this blog again.
Update 1: The COPY method is spot on! No further processing needs to be done.
Subscribe to:
Post Comments (Atom)
Consuming EUDR Webservices from SAP ECC
There are number of us who're still stuck in the old SAP ECC or S/4 Hana on Premise and yet to move into Private or Public Cloud. A rece...
-
I've come across many posting on the Internet (via google search), people asking on how to debug a DMEE for payment program. One of the ...
-
Was looking for the best AC wifi router to replace my Buffalo WHR-G300NH and found that TP-Link has just released an Archer C7 V2 which has ...
-
I've just subscribed to Astrill vpn service with a thought that they've openwrt scripting works as per the old twitter post that say...
No comments:
Post a Comment