on 09-18-2015 9:57 PM
Hi Experts,
I am trying to find a way to extract report which shows link between Incident-->Request for Change --> Normal change, Urgent change etc.
After reading this thread, I tried to execute the function module but I am not able to get the document numbers after inserting GUID number in the input screen of this FM.. Can anyone please advise how should I get the output like Incident-->Request for Change --> Normal change, Urgent change etc. by running this function module or do I need to do some perquisite steps before executing this FM ?
Regards,
Salman
Hi Salman,
I build my own report to show the linked documents in an ALV based on FM /TMWFLOW/REP_BUILD_CHAIN. Following an extract of my report to select the linked documents:
.......
DATA:
lt_ordh TYPE TABLE OF crmd_orderadm_h,
lt_ordh2 TYPE TABLE OF crmd_orderadm_h,
ls_ordh TYPE crmd_orderadm_h,
ls_ordh2 TYPE crmd_orderadm_h,
lt_guid TYPE /tmwflow/rep2_guid_parent_tt,
ls_guid TYPE /tmwflow/rep2_guid_parent,
........
SELECT * FROM crmd_orderadm_h INTO TABLE lt_ordh
WHERE object_id IN so_id "Transaction ID
AND posting_date IN so_pdate "Posting date
AND process_type IN so_ptype. "Transaction type
LOOP AT lt_ordh INTO ls_ordh.
* Read the linked transactions (guid)
CALL FUNCTION '/TMWFLOW/REP_BUILD_CHAIN'
EXPORTING
im_guid = ls_ordh-guid
IMPORTING
ex_guids_relation = lt_guid.
* Select header data of the linked transactions
SELECT * FROM crmd_orderadm_h INTO TABLE lt_ordh2
FOR ALL ENTRIES IN lt_guid
WHERE guid = lt_guid-guid.
.....
ENDLOOP.
lt_ordh2 contains one entry per linked document.
Regarding your second question: how do you link the incidents to the RfC? With the FM /TMWFLOW/REP_BUILD_CHAIN you might get only the incident where you used the 'Create follow-up' button.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have another question: We have multiple incidents connected to a Request for change but I can't find a table which provides all those incidents connected to that request for change.
I can see only one incident in the report but not all of them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can anyone please help ?
or is there any way we can pull up list of link between Incident --> change request --> urgent change etc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Salman,
Goto se38--> CRM_ORDER_READ , select the Transaction no, goto ET_DOC_FLOW , which will lsit out all the related doc guids. out of which one of them should be ur Incident no.
Internally this report calls FM SE37-->CRM_ORDER_READ, with the same above structure, so u can call this FM in your report.
Thanks
Jignesh
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.