Skip to Content
0
Former Member
Sep 24, 2010 at 06:44 AM

Transport entries without asking the standard popup

50 Views

Hi,

ls_ko200-pgmid = 'R3TR'.

ls_ko200-object = 'TABU'.

ls_ko200-obj_name = 'TABLE1'.

ls_ko200-objfunc = 'K'.

ls_ko200-trkorr = 'ABC'.

ls_tabkey-mig_name = ls_mig_report-mig_name.

ls_tabkey-mdav = ls_mig_report-mdav_name.

ls_e071k-pgmid = 'R3TR'.

ls_e071k-object = 'TABU'.

ls_e071k-objname = 'TABLE1'.

ls_e071k-mastertype = 'TABU'.

ls_e071k-mastername = 'TABLE1'.

ls_e071k-tabkey = ls_tabkey.

APPEND ls_e071k TO lt_e071k.

CALL FUNCTION 'TR_OBJECT_CHECK'

EXPORTING

wi_ko200 = ls_ko200

iv_no_standard_editor = 'X'

IMPORTING

we_order = lv_order

we_task = lv_task

we_ko200 = ls_ko200

we_object_appendable = lv_object_appendable

es_tadir = lv_tadir

EXCEPTIONS

OTHERS = 1.

IF sy-subrc = 1.

EXIT.

ENDIF.

IF lv_object_appendable = 'X'. "is relevant

CALL FUNCTION 'TR_OBJECT_INSERT'

EXPORTING

wi_ko200 = ls_ko200

iv_no_standard_editor = 'X'

TABLES

wt_e071k = lt_e071k

EXCEPTIONS

OTHERS = 1.

endif.

This program adds in to the transport request and working fine.

Problem here i, its showing the popup to chose the transport request ,even though I have specificed the transport request number.

I dont want to show the popup...Means, I dont want to allow the user to choose the transport request number/create.

It has to be always stored in the Hardcoded tr number.

Can anyone help me on this....