IMG tree

Question:
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.
Answer:
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.
Answer:
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!
Answer:
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!

More Articles:

Problem with a report - Newbie?
link betwn FI and SD?
Where are the Fields of ALV Display Variant Stored?
Getting radio button activated.?
uploading excel into intrenal tanle?
WS_DOWNLOAD root directory problem?