cancel
Showing results for 
Search instead for 
Did you mean: 

GOS object list and display

Former Member
0 Kudos

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



Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I found the problem  This issue was caused by a condition within get_content method whereby all non hex input should have import param 'RAW' given, despite the difference in the objecttype being retrieved from the previousl class method cl_fitv_gos=>get_links. 

So no need to reply.

Thanks,

Kevin

Answers (0)