Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IMG

Former Member
0 Likes
636

Hi all,

We have created our own IMG structure now my question is how to use that IMG.Just like SPRO t-code can we create our own T-code to run our customizing IMG.We dont want to run IMG through SIMGH so we need some standard way to run customizing IMG.

Regards,

Nidhi

Moderator message: please use a more descriptive subject line next time.

Edited by: Thomas Zloch on Apr 13, 2010 11:23 AM

1 ACCEPTED SOLUTION
Read only

StMou
Active Participant
0 Likes
572

Hi,

Create a report and call this FM STREE_EXTERNAL_DISPLAY with your own STRUCTURE_ID

You can find your STRUCTURE_ID in table TTREET base on description.



REPORT  Z_CUSTO                             .
*

DATA: BEGIN OF it_dba_sellist OCCURS 1.
        INCLUDE STRUCTURE vimsellist.
DATA: END OF it_dba_sellist.

PERFORM CALL_IMG. 



FORM CALL_IMG .

*DATA TYPE HIER_TREEG
  CALL FUNCTION 'STREE_EXTERNAL_DISPLAY'
    EXPORTING
      STRUCTURE_ID                = '4A8346B46BFB68F5E10000000A4C00BD'
      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                     =
*     TOGGLE                      =
*   TABLES
*     USER_PARAMETERS             =
*     POSITION_HIERARCHY          =
    .


ENDFORM.                    " CALL_IMG

Rgds

Hi all,

We have created our own IMG structure now my question is how to use that IMG.Just like SPRO t-code can we create our own T-code to run our customizing IMG.We dont want to run IMG through SIMGH so we need some standard way to run customizing IMG.

Regards,

Nidhi

Moderator message: please use a more descriptive subject line next time.

Edited by: Thomas Zloch on Apr 13, 2010 11:23 AM

2 REPLIES 2
Read only

StMou
Active Participant
0 Likes
573

Hi,

Create a report and call this FM STREE_EXTERNAL_DISPLAY with your own STRUCTURE_ID

You can find your STRUCTURE_ID in table TTREET base on description.



REPORT  Z_CUSTO                             .
*

DATA: BEGIN OF it_dba_sellist OCCURS 1.
        INCLUDE STRUCTURE vimsellist.
DATA: END OF it_dba_sellist.

PERFORM CALL_IMG. 



FORM CALL_IMG .

*DATA TYPE HIER_TREEG
  CALL FUNCTION 'STREE_EXTERNAL_DISPLAY'
    EXPORTING
      STRUCTURE_ID                = '4A8346B46BFB68F5E10000000A4C00BD'
      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                     =
*     TOGGLE                      =
*   TABLES
*     USER_PARAMETERS             =
*     POSITION_HIERARCHY          =
    .


ENDFORM.                    " CALL_IMG

Rgds

Read only

Former Member
0 Likes
572

HI Stéphane,

Thanks for your reply.

Its working

Regards

Nidhi

Edited by: Nidhi Sharma on Apr 13, 2010 12:12 PM