IMG tree
Hi,
Is there a function module(s) which will return the SAP Reference IMG (SPRO > F5) into an internal table? I can get it displayed, but I need all the nodes, sub-nodes etc. in a table. Thx.
Try Function Module - STREE_MANUAL_SELECTION.
Pass the structure id from Function Module S_CUS_IMG_GET_REFERENCE_IMG_ID to the above mentioned function module along with some description. Also pass space to NODE_SELECTION_ONLY and MARK_NODE_WITH_SUBNODES.
Regards
TandT
Hi,
Is there a function module(s) which will return the SAP Reference IMG (SPRO > F5) into an internal table? I can get it displayed, but I need all the nodes, sub-nodes etc. in a table. Thx.
That's super, thanks. Do you know how to get (in ABAP) the transaction codes of the nodes? When executing a node, you can only see SPRO in the attributes. TIA again!
Try these tables CUS_ACTOBJ, CUS_ACTOBT, CUS_IMGACH & CUS_IMGACT.
By passing IMG TEXT (Displayed on IMG Screen) to table CUS_ACTOBT, you will get ACT_ID. Pass this ACT_ID to table CUS_ACTOBJ to get the transaction code which IMG internally calls. In some cases you need to get ACTIVITY from CUS_IMGACT by passing the IMG TEXT and then pass this ACTIVITY to CUS_ACTOBJ to get the transaction code.
Regards
TandT
That's super, thanks. Do you know how to get (in ABAP) the transaction codes of the nodes? When executing a node, you can only see SPRO in the attributes. TIA again!