Skip to Content
0
Former Member
Oct 02, 2013 at 04:07 PM

GOS object list and display

202 Views

Hi, in WDA ECC6.0 EHP5 I have a button on a view called 'Attachments'. When pressed this button should show all GOS objects attached to the item.

Here is are the highlights of the logic I created to do this, both these methods are currently working fine:

call method cl_fitv_gos=>get_links

exporting

is_lporb = ls_sibflporb

importing

et_items = gt_atta.

call method cl_fitv_gos=>get_content

exporting

iv_atta_id = ls_atta_id

iv_objtp = ls_objtp

importing

ev_content = lv_content

ev_content_hex = lv_content_hex.

So I now have XString values in lv_content_hex. Great. Now how do I display the object? I can't believe trying to display a simple GOS object in WDA is such a pain in the...neck.

P.S please don't send me links to some of the other blogs. They all stop short of describing what happens after cl_fitv_gos=>get_content. If you know how to do it please describe it here.

Thanks,

Kevin