‎2011 Oct 20 4:27 PM
hi experts,
i need to implement my display like that of SPRO(implementation guide).
pls give a sap built-in program.
thanks in advance.
‎2011 Oct 21 6:02 AM
Hi,
You can try executing this
DATA:id TYPE ttree-id,
msg TYPE hier_mess,
uparam TYPE TABLE OF streeprop,
wuparam TYPE streeprop,
hier TYPE TABLE OF hier_iface.
CALL FUNCTION 'S_CUS_IMG_GET_REFERENCE_IMG_ID'
IMPORTING
reference_img_id = id.
wuparam-name = 'CONTROL_ENABLED'.
wuparam-value = 'X'.
APPEND wuparam TO uparam.
wuparam-name = 'APPLICATION'.
wuparam-value = 'CU'.
APPEND wuparam TO uparam.
wuparam-name = 'PROJECT'.
wuparam-value = ' '.
APPEND wuparam TO uparam.
wuparam-name = DYNPRO_TITLE'.
wuparam-value = 'Project/View '.
APPEND wuparam TO uparam.
CALL FUNCTION 'STREE_EXTERNAL_DISPLAY'
EXPORTING
structure_id = id
language = sy-langu
display_structure = 'X'
no_commit_work = 'X'
use_remote_connection = ' '
rfc_destination = 'NONE'
position_on_node = ' '
* position_on_nodes = ' '
id_for_use_as_filter = ' '
IMPORTING
message = msg
* TOGGLE =
TABLES
user_parameters = uparam
position_hierarchy = hier
‎2011 Oct 20 6:43 PM
Hi,
Well, this is a very simple tree so I would have a look to SIMPLE_TREE* or BCALVTREE programs...
Kr,
Manu.
‎2011 Oct 21 5:21 AM
hi manu,
thanks but i needed exact spro like structure giving sap program.do u knw more of them.
regards,
charu
‎2011 Oct 21 6:02 AM
Hi,
You can try executing this
DATA:id TYPE ttree-id,
msg TYPE hier_mess,
uparam TYPE TABLE OF streeprop,
wuparam TYPE streeprop,
hier TYPE TABLE OF hier_iface.
CALL FUNCTION 'S_CUS_IMG_GET_REFERENCE_IMG_ID'
IMPORTING
reference_img_id = id.
wuparam-name = 'CONTROL_ENABLED'.
wuparam-value = 'X'.
APPEND wuparam TO uparam.
wuparam-name = 'APPLICATION'.
wuparam-value = 'CU'.
APPEND wuparam TO uparam.
wuparam-name = 'PROJECT'.
wuparam-value = ' '.
APPEND wuparam TO uparam.
wuparam-name = DYNPRO_TITLE'.
wuparam-value = 'Project/View '.
APPEND wuparam TO uparam.
CALL FUNCTION 'STREE_EXTERNAL_DISPLAY'
EXPORTING
structure_id = id
language = sy-langu
display_structure = 'X'
no_commit_work = 'X'
use_remote_connection = ' '
rfc_destination = 'NONE'
position_on_node = ' '
* position_on_nodes = ' '
id_for_use_as_filter = ' '
IMPORTING
message = msg
* TOGGLE =
TABLES
user_parameters = uparam
position_hierarchy = hier
‎2011 Nov 01 3:14 AM
‎2015 Sep 29 2:08 PM
Hi Kesavadas,
As i have also the same scenorio, so could you please let me know, How i can customize the program you have posted above, i dont want all the option in that i want to modify as per my requirement.
Thanks
IK