on 10-02-2013 5:07 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.