‎2008 Nov 18 2:16 PM
Hi,
I am trying to debug a piece of code to find out why a GUID that have a conversion exits on it is not bringing back any value at all.
The GUID is RAW16.
When I debug it it shows the value as '3F54918C41034ED5E10000000A0A4502' which is 32 long.
I then call the conversion exit CONVERSION_EXIT_CGPLP_OUTPUT but this returns nothing in the return field. I'd expect 'C.08/SJ/GEN-EXC-006' to be returned
How can I get the converted value?
Many thanks
David
‎2008 Nov 18 2:23 PM
Corresponding GUID should exists in database, then only this Conversion Exit will return the value.
Regards,
Mohaiyuddin
‎2008 Nov 18 2:30 PM
‎2008 Nov 18 2:31 PM
Hi,
Check this one. It worked for my case but not sure about your case.
DATA: LS_QUESTION_UI TYPE PLMT_QUEST_RES_UI,
LV_EXTERNAL_ID TYPE CGPL_EXTID.
LS_QUESTION_UI-guid = 'F54918C41034ED5E10000000A0A4502'.
CALL METHOD CL_PLM_AUDIT_CONVERT_SERVICES=>CONVERSION_OUTPUT
EXPORTING
IV_INPUT = LS_QUESTION_UI-GUID
RECEIVING
RV_OUTPUT = LV_EXTERNAL_ID.
lv_external_id contains the required value. Hope thsi will help you.
Regards,
Swarna Munukoti
‎2008 Nov 18 3:28 PM