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.

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.

Similar Messages

  • Automatic and Immediate TO after delivery is created

    Hi All,
    Thanks in advance for help.
    We have requirement for creation of Automatic TO after Delivery.
    We have activated Warehouse Management and Handling Unit Management both at one storage location. Further now requirement is to create TO as soon as delivery is created : Automatically and Immediately.
    Please let me know config steps for the same.
    Best regards,
    Ravi Davda

    Hi,
    Check on the following to configure automatic generation of TO wrt a outbound delivery.
    To create transfer orders directly or automatically for outbound deliveries, you trigger the
    message type WMTA using the SD message control. Only WM-relevant delivery items are processed. Different forms of processing result, depending on the processing time of the message type WMTA:
    Processing time 1, 2 and 3 (processing later)
    In this case, the message is processed either via a program in the background
    (processing times 1 and 2) or manually via the transaction Messages for delivery
    (processing time 3).
    If the automatic TO creation indicator is set for the reference documents and a report is
    carried out regularly, this is known as automatic transfer order creation.
    _ Processing time 4 (processing immediately)
    Here message processing is initiated immediately after the delivery has been created.
    Therefore, we call this immediate transfer order creation.
    If you want the system to generate transfer orders in the background without any additional
    activity necessary by the user, we recommend that you use processing times 1 or 2. You can
    then plan to periodically execute the report RSNAST00 (Selection Program for Issuing Output)
    with a corresponding repetition time for the message type WMTA.
    During creation of transfer orders we recommend that you process later, in order to
    improve performance for processing time 4. If you choose an appropriately small
    repetition time period when you set up the system to use report RSNAST00, the time
    required to create transfer orders is nearly the same as when using time period "4"
    for immediate transfer order generation.
    For further information on how you set up message determination for deliveries see the
    implementation guide (IMG) for Shipping under
    Basics >Message Control> MessageDetermination>Maintaining Message Determination for Output Deliveries> Maintaining Condition Tables [Ext.].
    For the creation of u201Cbatch-neutralu201D delivery items, via the WM transfer order, the
    system searches for specific batches in WM and updates the delivery.
    If you create transfer orders for u201Cbatch-neutralu201D deliveries in the background,
    depending on the batch determination strategy, the system automatically selects the
    oldest batches in the warehouse first. If you prefer to do so, it is still possible to
    select specific batches in WM when you create transfer orders in the foreground.
    If you create a transfer order for outbound deliveries for materials subject to valuation
    and materials to be handled in batches, a valuation type that is predefined in the
    outbound delivery can only be taken into consideration if you use General batch
    determination.

  • Difference between Automatic TO and Immediate TO

    Hi Gurus,
    Can somebody give me the exact difference between Automatic TO and Immediate TO in WM.
    When we use Automatics TO?
    When we use Immediate TO?
    And difference between these two?
    Regards,
    YHKK

    Automatic TO Creation for Transfer Requirements
    You can set up the Warehouse Management system to create transfer orders automatically as a background process. You set up the system to carry out this process by setting an indicator in each movement type separately. When you create a transfer requirement, the system copies this indicator into the transfer requirement header.
    To activate the automatic creation of transfer orders for these transfer requirements you must start the report RLAUTA10 as a batch job. For this process you define a variant for each different indicator. This makes it possible for you to define different starting times and time spans to repeat each task periodically.
    To create transfer orders automatically, three processes are available:
    The system creates a transfer order for each transfer requirement
    The system creates transfer orders only for transfer requirements that meet certain criteria (for example, date or time). You enter these criteria individually into a user exit.
    Using criteria as described in point 2, you can also set up the system to assign a reference number to combine the transfer requirements for multiple processing. The assignment of the reference number can take place separately in a user exit.
    For the interface between SD shipping and WM, you can also set up immediate or automatic transfer order creation for deliveries.
    This process is controlled by the message control function in the SD Shipping component. The condition technique can be used to initiate message type "WMTA" when the delivery is created. The prerequisite for this is that at least one item of the delivery is relevant to WM. The combination "Shipping point / Delivery type" is used to determine the message type.
    I hope this is sufficient ..
    Rgds
    Madhu

  • Immediate TO creation and confirmation during MB1B

    Hi
    In one of our client scenario  , we need to create a immediate TO creation and confirmation with respect to PCN created during stock transfer from one storage location to another storage location with in a same plant .
    I have done the neccesay setting in  Tcode OMLR ,  but  the system is not been able to create the immidiate TO perhaps system doesn't know from which storage type it sohuld select the material.
    Can anybody hleps me how  to configure this . Do i need to customise storage location control .if yes then what are  steps in details  ?
    Thanks
    RAJK
    Edited by: RAJ  K on May 3, 2010 10:37 PM

    Please refer the following thread: -
    TO not created from TR
    Thanks
    Swagat

  • TRM task creation not possible

    Hi All,
       I am trying to make configuration for TRM. I have made all assighment in TRM & wm assighnment  & checked for consitancy .
    I have made the contol data customisation,
    In this , I am not getting why in defining Manditory Rout the "Via Zone"  is required to mention.
    So for this i have made the putaway in 2 step.But even though Task is not getting created.
    But no task is getting creating after creation of TO & executing the Task creation i   TRM monitor.
    or
    Pls send me the link for the configuration of TRM.
    Edited by: dev .. on Jul 29, 2009 7:33 AM

    Hi Vinod ,
      Thanks for Reply.
    Its not showing TO in TRM Monitor. With every creation of new TO its adding following error,
    In T code LTRMS : I RIGHT CLICK ON SITE & selected Application Log,.
    No relevant requests for global scheduling were found
    Technical Data
    Message type__________ W (Warning)
    Message class_________ LTRQ (Request messages)
    Message number________ 015
    Message Attributes
    Problem class_________ 3 (medium)                              
    I have gone through one of your post showing : Check the entries in the table(3tables) ....I have checked.... its showing values.
    Few thing I doubt about configution ,
    In Log Monitor LTRL  If i click on      ALERT     tab Shows error,
    "Alert Monitor cannot start: root alert class is not defined"
    Where to define this ?
    Is this things matters at  the time of Task creation?
    Edited by: dev .. on Aug 10, 2009 8:03 AM

  • Automatic assoc between task metadata and the taskflow app url is missing

    We have a BPEL human task. Created a taskflow based on this human task.
    We have one Admin server and one managed server(SOA).
    Deployed the human task on managed server and then deployed the taskflow on Admin server. Didn't see any errors in both deployments.
    We are not able to see the 'automatic association is created between the task metadata and the task flow application URL' which will be created as per the point 29.8.6, http://docs.oracle.com/cd/E17904_01/integration.1111/e10224/bp_designtf.htm#BDCDBJBD.
    Please give some pointers.
    Thanks,
    Mahesh
    Edited by: user773275 on Apr 11, 2012 12:43 AM

    Hi,
    Open the TASKFLOW_PROJ_DIR\adfmsrc\hwtaskflow.xml file.
    For each additional human task, add the following element inside the file (at the bottom just before </hwTaskFlows>):
    <hwTaskFlow>
    <WorkflowName>$TASK_NAME</WorkflowName>
    <TaskDefinitionNamespace>$TASK_NAMESPACE</TaskDefinitionNamespace>
    <TaskFlowId>$TASK_FLOW_NAME</TaskFlowId>
    <TaskFlowFileName>$TASK_FLOW_FILENAME</TaskFlowFileName>
    </hwTaskFlow
    where:
    $TASK_NAME is replaced with the name of the human task inside the .task file (value of the <name> element).
    $TASK_NAMESPACE is replaced with the namespace of the human task inside the .task file (value of the attribute targetNameSpace of element <taskDefinition>).
    $TASK_FLOW_NAME is copied from the existing <hwTaskFlow>/<TaskFlowId> element.
    $TASK_FLOW_FILENAME is copied from the existing <hwTaskFlow>/<TaskFlowFileName> element.
    Redeploy the project.
    In the above we attach the Task located on your composite to the application form
    Arik

  • Immediate TO creation

    Dear WM gurus.
    We are trying to create immediate TO for a GR for a purchase order.We have maintained the setting of immediate TO creation in config in LE-WM in movement types .
    when we do the GR we see that only TR is created and TO is not created.
    Kindly help in this regard.
    Ram

    Hi,
    The immediate TO creation setup should be in Interfaces -> Inventory Management -> Define Movement Types -> LE-WM Interface inventory management. The setting in movement type configruation is for automatic TO creation (rather than immediate TO creation).
    Beside the configuration setting, certain requirements must also be met for immediate TO creation as well. Please check this link for detail: http://help.sap.com/saphelp_47x200/helpdata/en/c6/f83f154afa11d182b90000e829fbfe/content.htm
    Also, don't forget to setup mail control for immediate TO creation in case the TO creation is failed you will get a error message sent to your inbox.
    Hope it helps

  • Difference between Auto TO creation & Immediate TO creation

    Dear all,
    What is difference betwenn Auto TO creation & Immediate TO creation ?
    Please provide your answers..
    Regards,
    Rocky

    For any automatic triggering of any evenet/transaction in SAP...one has to schedule a report/program to run in regular intervals....although some these regular intervals will be suggested by SAP...but you/your business can take deceision of scheduling the run.
    If you want ur TO to be triggered immediately without aggregating the other TOs and without holding the time frame then go for immediate and on the other  side..if you want to trigger  after aggregating bunch of TOs within a time frame set by business then go for scheduling the report/program.
    Hope this clears...
    BR,
    Krishna

  • Automatic storage location view creation in maintenace order (IW31)

    Hello,
    Seems like I need some help.
    Have configured automatic storage location view creation for GR and reservation. Configured movement types are 101, 201, 261. While creating reservations (201, 261 mvmnt. types) with mb21 the sloc view is automatically created in material master, and everything seems fine.
    But in iw31 when I specify material number and sloc in a Components tab, I get an error message CO312: "The storage location data is not created". Automatic reservation is not created, and maintenance order can not be saved. Movement type 261 is used for automatic reservations for the maintenance order.
    If I configure message CO312 as a (W)arning  message, then it allows me to save the order and reservation, but sloc view in material master still is not created. Think that's not good and may lead to MRP issues.
    How can I configure automatic sloc view creation in iw31? Is that possible?
    Edited by: Konstantin Dudura on Nov 17, 2009 8:11 PM

    Hi,
    The customization required for Automatic Storage location creation at reservation are:
    Goto : SPRO -> MM -> inventory Management and physical inventory -> Goods issue/ Transfer posting -> Create storage location automatically
    first of all go to Plant and tick the automatic Storage location creation for the Plant. After that goto Movement type and tick the automatic Storage location for movement type 261.
    Regards

  • Multiple Convert/Dump and Load tasks in a single SSIS package?

    I'd appreciate some input. We have a single data file that has about 1,000,000 rows of data spanning 28 time periods in the columns across each row. The file is too large to import at one time, and so we have created 9 different transformation files to pull subsets of the timeperiods using MVAL. The end user does not want to have to break apart the file and/or schedule 9 separate imports to bring this file in each time. So, I've attempted to create a single SSIS package that runs each of the 9 required component imports, but I'm running into the following error any time that I try to run more than one import at once:
    An error occurred while running a packageException of type 'System.OutOfMemoryException' was thrown.
    I've tried using a ForEach loop to simply loop through each of the transformation files and run an import for each transformation file it finds. But, I understand that SSIS doesn't release memory until the end of the ForEach loop, which would explain an out of memory issue. I then broke it out and specified 9 distinct Convert task and 9 distinct Dump and Load tasks in the package with an order of Convert 1 --> Dump and Load 1 --> Convert 2 --> Dump and Load 2, etc. This results in the same out of memory issue any time I enable it to run more than 1 convert/dump & load task in the package - they are not running simultaneously, but rather sequentially. I don't understand this. In looking at the logs, it looks like it's creating the temp files for the first import and adding them into BPC, and then creating the temp files for the second import but then fails prior to the second load. This will work for a smaller data file, but shouldn't the memory be released after the task and allow subsequent tasks to complete? Any recommendations on how to address this and automate this load?

    Quick update - I created unique ssis packages for the distinct imports and called those packages from within the initial package that is kicked off through Data Manager, and I ran into the same out of memory issue. Any ideas, suggestions, or help would be greatly appreciated.
    Thanks!
    Josh

  • BI Applications 7.9.6.1 - Few SIL and PLP Tasks stopped in Full data load

    Hi All,
    I have run full data load for Projects analytics. I have 23 tasks with status "stopped". These are SIL and PLP tasks for Project Facts load. It also contains tasks related to employee dimension and user dimension SCD update
    I have checked the staging tables for many of the Facts/Dimensions corresponding to the stopped tasks and they have data.
    All my other dimensions have loaded successfully and am able to query them from Answers using the BIA subject areas.
    Could any one suggest possible reason for the tasks to be stopped.
    Any pointers will be great at this point in time.
    Many Thanks,
    Kiran
    Edited by: Kiran Kudumbur on Nov 30, 2009 4:25 PM

    Thanks for that pointer!
    Yes I had overlooked one failed task. It was a group task on employee dimension (Index creation on DS table had an error). Fixed that error and ran the failed and stopped tasks again. All working fine now.
    Facts have been loaded and dashboards are working pretty fine.
    Thanks,
    Kiran
    Edited by: Kiran Kudumbur on Dec 1, 2009 12:54 PM

  • Automatic serial number&equipment creation in goods receipt

    Dear gurus,
    We use to automatic serial number&equipment creation in goods receipt. While serial number master datas and equipment master datas were creating in goods receipt, how can we fill some fields for serial number and equipment master datas? (Instead of to use IQ02 and IE02 after every goods receipts for some default enteries) Any user exit or BADI?
    Thank you.

    Use user exits EXIT_SAPLIE01_005 and EXIT_SAPLIE01_007 in customer exit IQSM0005.
    Regards,
    Lakshman

  • How can I get iCloud on my PC to 1) update my new e-mail automatically and 2) alert me to new e-mails?

    I've started using iCloud on my PC to manage my e-mail / calendar / reminders, because Outlook stopped syncing correctly with my iPhone.  However, it seems like to the only way I can get iCloud on my PC to update my e-mail is to select the Get Mail icon at the bottom left of the email screen. 
    How can I get iCloud to 1) update my e-mail automatically and 2) alert me to the arrival of the new e-mail?

    The issue here is an expectation the program will or can do something when it is not running. (At least I think that is what your saying.
    I leave Thunderbird running for days at a time, as it does not clof up my task bar, simply leaving a rectangle around it's icon on the task bar.
    while running like this is puts up new mail notifications a small box in the bottom right of the screen and places an icon in the notification area on the task bar.
    What happens to this options I have no idea in Windows 8. I bought it but never installed it because it would not boot to the desktop. But as Windows 8 still has a taskbar, I assume they all do exactly the same things.

  • Blocking a particular customer for immediate delivery creation

    Hi All,
    I have the following requirement
    Right now whenever the sales orders comes from the customers through EDI, the deliveries were created immediately. This was set up through the sales document. This is being used for the document KE.
    Now we need to stop this immediate delivery creation for a particular customer when orders come through EDI.
    We can not do this by blocking the customer for deliveries(VD05) because this will block all the sales documents for deliveries. We need this to happen only for KE.
    We cannot remove the immediate delivery creation set up from the sales document(KE) because this will affect all the customers(for other customers this should create immediate delivery).
    I feel this has to be controlled through a user exit.
    In that case what should be the logic used?
    What should be checked before blocking the delivery for a particular customer?
    Please advise on this.
    Thanks in advance for your help.

    Harini,
    I am sure you do not want to take the route of achieving this by u2018Userexitu2019
    Here is the alternate solution by simple customizing.
    You need to do it in two steps:
    Step 1:  Define reasons for Blocking the delivery
    IMG > Logistics Execution > Shipping > Deliveries > Define Reasons for Blocking in Shipping
    Select :  Deliveries: Blocking Reasons/Criteria 
    u2022  Define a blocking reason : say  ZZ u2013 delivery Hold.
    u2022  Check  the Order check box
    u2022  Save
    Select:  Delivery Blocks
    u2022   Assign  SO to Delivery ( I guess KE to whatever delivery type you have configured)
    STEP 2:
    Go to Customer Master record for whom you want to block them for normal process:
    XD02 > enter customer master in change mode.
    Select u2018Extrasu2019 tab in main menu
    You see u201C sales and Distribution blocksu201D
    Under this click on  delivery block ( for  All sales areas or desired sales area)
    You will find the reason for blocking (ZZ)  you created in STEP 1
    Assignu2019 ZZu2019  to this customer and save.
    Thatu2019s itu2026u2026 !!!!!
    When  a sales order received with this customer through your EDI, the order will be blocked for delivery.
    One need to release the order manually by releasing this block
    VA02 >  sales tab : remove the block from the delivery block
    Hope this helps.

  • Events and Jeopardies problems in manual and automated task

    Hi all,
    I have an automated task that has an event in receive state and an internal Xquery automator. The event takes information from de order and send it to a specific queue, then the automator updates the orders to indicate that the information was sent.
    I have noticed that sometimes the update automator is executed first that the event so when the event executes can not find information to send to the queue.
    If a the event is in receive state, why the automator is running first? what type of automator are accepted for each task state?
    Another problem is with Jeopardies in a manual task. In it i have an automator that complete the task to a specific state. The Jeopardy is executed but the task is not completed by the state defined?
    are there any restrictions to Jeopardies in manual tasks?
    Thanks for the help.

    Hi,
    I am not sure whether I understood completely. Lemme try to answer your 2 questions.
    *1) If a the event is in receive state, why the automator is running first? what type of automator are accepted for each task state? So you are saying you have* defined an event when the automated task goes to Receive state ?
    Ans : As you have defined the event on the "Receive" state of an automation task, it will be the event gets executed first. Basically during execution of any order, when you hit submit in the CreationTask, automatically next task will be loaded and its task state will be in Recieve state irrespective of Task type like Automated or Manual. That is why when loading the next task, the task will be in received state and the automator runs first.
    If you want fire the event on different task state like "Accepted" or "Completed" you might have to change the event type.
    *2) i have an automator that complete the task to a specific state. The Jeopardy is executed but the task is not completed by the state defined? Are there any restrictions to Jeopardies in manual tasks?*
    Ans: As you said, Jeopardy is getting executed in the manual task correctly. Also you are expecting that the task should be completed along with jeopardy. But as the task type itself is a Manual Task, one has to manually open the order in worklist and make it proceed to next task. No plugins will make a Manual task to complete. Automation Plugins can be completed using the plugins.
    Thanks
    Naveen Jabade

Maybe you are looking for