on 08-20-2015 9:17 AM
Hey guys,
I got the requirement to display the Change Document of a Change Request (With old an new values). I could't find an appropriate method in the Convenience and Governance API.
After searching a while, I found out that there is a class CL_USMD_MDF_CHANGE_DOCUMENT. This class has the method Read_document_lines. Am I on the right track? When calling this method I have to pass a model as parameter and i don't know how get this.
Can anyone please put some light on this ;-).
Thanks and regards
Chris
Hi Chris
Why you are not using side panel funcationality for this? Please refer below and activate side panel
Business Context Viewer in Single Processing - SAP Master Data Governance - SAP Library
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chiris
Do you want in Fiori apps (Request or Approval). Also pleas check
We are implementing an approval app (Approve Request/ My Inbox App) for Fiori, there is no SAP Standard for this at the moment, so this document is not helpful for me.
The important question is, how can I get the change document of a change request with abap code? Someone here with expierence in that field?
Hi Christoph,
To get a model instance use the following class
* "Create Instance of the Model
CALL METHOD CL_USMD_MODEl=>GET_INSTANCE
EXPORTING
I_USMD_MODEL = (Data model name)
IMPORTING
EO_INSTANCE = LO_MODEL
ET_MESSAGE = LT_MESSAGE.
You are using the right class , first determine the header details using READ_DOCUMENT_HEADER and then use read_document_lines
Regards
Raghu
Thanks guys, its working now -> see solution of Raghu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.