Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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.

Former Member
Former Member replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question