Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

GUID Problems

Former Member
0 Likes
673

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

4 REPLIES 4
Read only

Former Member
0 Likes
607

Corresponding GUID should exists in database, then only this Conversion Exit will return the value.

Regards,

Mohaiyuddin

Read only

0 Likes
607

It does exist in the database.

Read only

former_member217544
Active Contributor
0 Likes
607

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

Read only

Former Member
0 Likes
607

Thanks Swarna.