cancel
Showing results for 
Search instead for 
Did you mean: 

LE-TRM: automatic and immediate TASK creation at TO creation

Former Member
0 Kudos

Hi guys,

Up to know, I succeed in creating TASK either manually in the TRM monitor or by running the report RLTRQSCHEDULER.

I'd like to know how to get the following behavior in SAP LE-TRM (Task and Resource Management) module : automatic and immediate task creation in TRM at TO (transfer order) creation in LE.

Does anyone know how to set this up?

Thx a lot in advance for your valuable inputs.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Activate this BADI and set up Request Scheduler program as a background Job.

method IF_EX_LTRM_RQST_GLOBL_SCAN~RQST_GLOBL_SCAN.

TYPE-POOLS: TRMGC.

DATA: lt_where_tab TYPE ltrqt_it_where,

lv_where_line TYPE ltrqt_where.

data: lv_pick(3).

clear: lv_where_line.

  • lv_where_line = 'rqact IN (trmgc_rqact_removal, trmgc_rqact_putaway, trmgc_rqact_replen, trmgc_rqact_move)'.

  • append lv_where_line to et_where_tab.

lv_where_line = 'rqact IN (trmgc_rqact_removal, trmgc_rqact_putaway,'.

append lv_where_line to et_where_tab.

clear: lv_where_line.

lv_where_line = 'trmgc_rqact_replen, trmgc_rqact_move)'.

append lv_where_line to et_where_tab.

endmethod.

Answers (0)