BAPI/FM create warehouse task in EWM

HI all,
i need to create Warehouse Task in EWM system, i find a FM: /SCWM/TO_CREATE, there are so many fileds need to be filled, and i tried to test these FM so many times, but i still can not create WT. please give me a sample to show me which fields need to be filled to create a WT successfully by this FM.
or any other FM/BAPI.
Thanks a lot.

Sample:
* Create warehouse task
  clear st_create. refresh it_create.
  move: v_procty        to st_create-procty,
        p_cs_admin-rsrc to st_create-prsrc,
        p_cs_ptwy-matid to st_create-matid,
        1               to st_create-anfme,
        p_cs_ptwy-altme to st_create-altme,
        p_cs_ptwy-vlpla to st_create-vlpla,
        v_owner         to st_create-owner,
        'BP'            to st_create-owner_role,
        v_entitled      to st_create-entitled,
        'BP'            to st_create-entitled_role,
        abap_true       to st_create-single_to,
        v_cat           to st_create-cat.
  append st_create to it_create.
  CALL FUNCTION '/SCWM/TO_CREATE'
    EXPORTING
      IV_LGNUM   = p_cs_admin-lgnum
      IT_CREATE  = it_create
    IMPORTING
      EV_TANUM   = v_tanum
      ET_LTAP_VB = it_ltap_vb
      ET_BAPIRET = it_bapiret.
Cheers,
Koen

Similar Messages

  • BAPI/FM to create Warehouse Task in EWM

    HI  all,
    i need to create Warehouse Task in EWM system, i find a FM: /SCWM/TO_CREATE, there are so many fileds need to be filled, and i tried to test these FM so many times, but i still can not create WT. please give me a sample to show me which fields need to be filled to create a WT successfully by this FM.
    or any other FM/BAPI.
    Thanks a lot.

    Sample:
    * Create warehouse task
      clear st_create. refresh it_create.
      move: v_procty        to st_create-procty,
            p_cs_admin-rsrc to st_create-prsrc,
            p_cs_ptwy-matid to st_create-matid,
            1               to st_create-anfme,
            p_cs_ptwy-altme to st_create-altme,
            p_cs_ptwy-vlpla to st_create-vlpla,
            v_owner         to st_create-owner,
            'BP'            to st_create-owner_role,
            v_entitled      to st_create-entitled,
            'BP'            to st_create-entitled_role,
            abap_true       to st_create-single_to,
            v_cat           to st_create-cat.
      append st_create to it_create.
      CALL FUNCTION '/SCWM/TO_CREATE'
        EXPORTING
          IV_LGNUM   = p_cs_admin-lgnum
          IT_CREATE  = it_create
        IMPORTING
          EV_TANUM   = v_tanum
          ET_LTAP_VB = it_ltap_vb
          ET_BAPIRET = it_bapiret.
    Cheers,
    Koen

  • Unable to create Warehouse Task from Warehouse Request in EWM

    Hi All,
    I have created Inbound Delivery in ERP system which created Inbound Delivery Notification in EWM and then converted to Inbound Delivery (Warehouse Request).
    In Warehouse Request screen, using follow on functions --> Warehouse Task, I have been trying to create Warehouse Task but I am facing the below error.
    There are no unpacked or packed warehouse request items for processing
    Message no. /SCWM/UI_TODLV002
    Diagnosis
    For the transmitted search criteria, the system could not find any warehouse request items or handling units for which a warehouse task can be created.
    The system can only find a warehouse request or handling unit if the following conditions are fulfilled:
    The correct process was selected according to the document searched for:
    Putaway for inbound delivery
    Stock removal for outbound delivery request
    Posting change for posting change
    Stock transfer for internal stock transfer
    The warehouse number entered matches the warehouse number in the warehouse request.
    The warehouse process type is set in the warehouse request.
    Movement control confirms that the delivery is relevant for picking.
    No warehouse requests have yet been created for all of the requested quantity.
      System Response  
    The system does not propose any warehouse request items or handling units for processing.
    The above settings already in place for me, but still I am facing the error,
    Request your help in resolving this issue.

    Hi Juergen/Sandip,
    We have material number and quantity in Warehouse Request.
    But Warehouse Request has 'Locked" indicator and PPF actions tab at item details has no details and "Validations" tab shows
    I have created "Packaging Specification" for this material but didn't pack. Do I need to pack it?
    Please suggest.

  • Automatic Creation and Confirmation of Warehouse Task in EWM 5.1

    Hello,
    We want an automatic creation and confirmation of the warehouse task in EWM 5.1 on the based of a delivery type and warehouse number.
    The scenario goes in this way... As soon as the inbound delivery is created/replicated in EWM, the creation and confimartion of warehouse request, warehouse task and warehouse order (all the transactions) should be called automatically. And the goods receipt should be posted.
    Can someone throw more light on the customizing/BADI/enhancements etc required??
    Thanks and Regards..

    Hi koen,
    I tried with the FM that you suggested...
    But somehow with the process type 'stock removal' gives an error...
    Is that that this FM will help to create a pick task for a particular outbound delivery--Tcode:/SCWM/TODLV_TO.
    how will this FM take the outbound delivery as an input?or it will be on the corresponding sales order number and item number as input?
    Being new EWM i require help on this..about how to go about creating the pick task for an outbound delivery which wil be equal to the warehouse request.
    Thanks in advance,
    Rashmi.

  • Error message When creating Warehuse Task in EWM

    Hi,
    I am working in the SCM EWM system .When I am creating the Warehouse task in EWM for the Warehouse Request.I am getting the error message "HU type check (storage type 2001): HU type is initial".
    System is not alowing to create the Warehouse task.
    Regards
    Govind

    Hello Peter,
    I set the my personalized view back to standard, and created personalized it once more - now its working!
    Thank you very much for your support! 100 times faster than the SAP support!
    Regards
    Andreas

  • How to create a warehouse task in EWM

    Hi Experts,
    In Extended Ware house management(EWM), how to create a Warehouse Task against inbound delivery order,
    if there any standard method's is available, if not any custom methods, plz let me know.
    my issue :
    am retrieving a Productid, batch, location from various tables.
    now along with this i have to find the inbound delivery order,
    for this inbound delivery order , i need to create a warehouse task.
    please let me share.
    Regards,
    Nag.

    from PFTC itself. Same.

  • Error while creating warehouse task

    Hello,
    While creating a Warehouse Task, i am getting following errors. Kindly suggest what settings need to be done to successfully create a warehouse Task.
    First Error:
    Could not determine ERP stock data for: AYYB 0000000101 F1
    Message no. /SCWM/ERPINTEGRATION105
    Diagnosis
    The transaction you executed causes a stock posting in the ERP system. For this, the system must determine the stock data for the ERP system (such as material, plant, storage location) from the EWM data (such as material, party entitled to dispose, stock type).
    For the following field, the system could not determine any ERP data: AYYB 0000000101 F1
    Second Error
    System could not determine source storage bin
    Message no. /SCWM/L3008
    Diagnosis
    The system was not able to determine a source storage bin for this product.
    This problem can be caused for several reasons:
    1. The product no longer exists in your warehouse.
    2. The product is in your warehouse, but currently cannot be reached by the system (for example, the product is just being transferred by one of the conveyor machines).
    3. The product is in your warehouse, but not in the storage type and storage areas that are defined in your system for the product search.
    Procedure
    Check to see if the product really exists in your warehouse.
    If the reason for the error is the third one mentioned above, contact your system administrator.
    Regards,
    Raju
    Edited by: Jonnakuti Raju on Apr 27, 2011 5:49 PM

    verify the following settings:
    1. mapping of ECC plant and storage location and logical system number with the appropriate availability group code since this links the stock types in EWM to ECC org elements (SPRO -> EWM -> Interfaces -> ERP Integration -> Goods movement)
    2. ensure the availability group configuration is correct (SPRO -> EWM -> GR Process -> Configure availability group for putaway) - check all applicable nodes in this configuration since the availability group code is assigned in the pertinent storage types

  • Two step confirmation for warehouse tasks in EWM

    Hello everybody,
    I am working on an internal prototyp to evaluate SAP EWM. Therefore it is essential that we use "two step confirmation" for warehouse tasks. Step one: confirm pick up of a pallet; Step two: confirm transportation of a pallet. Like it is used in SAP WM (Parameter I_QUKNZ in function module L_TO_CONFIRM and in standard SAP).
    I haven't found anything similar to that in EWM so far. I searched in the official EWM SAP Press book and also in google. But right no I don't have any idea.
    Do you guys have any hints on how to achieve two step confirmation somehow?
    Many thanks in advance!
    Stef

    Hi Jürgen.
    Thanks for your input! You are right, it works with RF!
    But it works kind of strange. Deleting source storage bin, creating another position etc.
    I will have a look how to adapt this.
    Thanks!

  • Multiple UOM for Warehouse Tasks

    Experts,
    I need to create warehouse tasks in round UOMs - in example, 10 crates, 1 unit, etc. I have a "0WHT" type  packspec determining the following:
    Material 10000:
      1st level: 1 EACH
       2nd level: 1 CRATE = 10 EACHES
        3rd level: 1 PALLET = 160 CRATES (this one creates a Handling Unit)
    When I need to move 8 eaches (less than one crate), system creates WT in "EACH" UOM (and this is correct). When I need to move 10 or 20 eaches, system creates WT in "CRATES". The problem is when I need to move 15 eaches - it should (or I would like to) create two WTs, one for 1 crate, another for 5 eaches.
    It is actually creating a single WT with 1,5 (one and a half) crate.
    Is there any way to do this work properly?
    Thanks in advance!
    Tramontano.

    Hi,
      In the Storage Type settings: Set the field 'Round Whole Units' to '2' ( Round down to a single Unit) and set the Quantity Classifer as  per se '1'.
    In the packspec: On the 2nd level set 'Crate' as Operative UOM. and Quantity classifier as '1'.
    You can define Quantity Classifiers under the following Path:
    Extended Warehouse Management->Cross-Process Settings->Warehouse Task->Define Quantity Classifications
    Here is further documentation on Quantity Classifiers:
    Quantity Classification in Warehouse
    Definition
    Describes in which packaging unit a product is stored in the warehouse.
    Use
    The storage type determination pick uses quantity classification to determine the storage type in which the product is stored in the optimal packaging unit.  Quantity classification arises from the packing instruction, according to each quantity required.
    The operative unit of measure also arises from the packing instruction, by means of quantity classification. Here, the system determines the quantity classification based on the customizing settings in the storage type, or in the product master on storage type level.  The operative unit of measure is displayed when executing the transaction. If the setting round is set in the warehouse storage type, the system rounds the stock removal quantity based on the operative unit of measure.
    Example
    The following quantity classifications are defined for a warehouse:
    1 = loose (individual components)
    2 = cartons
    3 = tiers
    4 = pallets
    Hope that helps
    Thanks
    Vinod Madhanu.

  • Warehouse task not being created : Handling unit was not locked

    Hi,
    I am trying to create a warehouse task w.r.t to an o/b delivery in EWM. While doing so when I try and create the Warehouse task from the Warehouse Req an error comes up : Warehouse Task cannot be created. Handling unit was not locked.
    What is the resolution for this? is there some way we can lock the individual handling units?
    Arup

    Hi,
    I am not using HUM at the warehouse level. The storage type used is 0010 (High Rack Storage) and it is defined to behave as a standard storage type.
    Arup

  • EWM : Confirmation of Warehouse task for a handling unit

    Hi experts,
    In EWM ,we have a requirement of confirming the open warehouse tasks in the backgound for a handling unit.
    Is there a function module that can update the confirmation of the Warehouse task and change the status from open to comfirmed.
    Kindly help us on this.
    Thanks in advance.
    Rashmi.

    Hi koen,
    I tried with the FM that you suggested...
    But somehow with the process type 'stock removal' gives an error...
    Is that that this FM will help to create a pick task for a particular outbound delivery--Tcode:/SCWM/TODLV_TO.
    how will this FM take the outbound delivery as an input?or it will be on the corresponding sales order number and item number as input?
    Being new EWM i require help on this..about how to go about creating the pick task for an outbound delivery which wil be equal to the warehouse request.
    Thanks in advance,
    Rashmi.

  • BAPI to create a PM notification with a task list (as in IW21)

    Hi to all,
    my question is: is there a bapi to create a PM notification in which I can add a task list? A bapi with which I can simulate the transaction IW21.
    Thank you very much,
    Antonio

    Hi,
    Try using the Bapi.
    BAPI_ALM_NOTIF_CREATE
    Also use this BAPI_ALM_NOTIF_TASK_COMPLETE  to complete the task.(if the task is not getting updated)
    Then use  BAPI_TRANSACTION_COMMIT.
    Regards,
    Raj.

  • EWM Mass Create Warehouse Products

    Hello
    I am prototyping an EWM system and have transferred master data over from the linked ERP system via the CIF. All is fine except that this only created products and I have to manually create warehouse products afterwards.
    Is there no standard method to automate or mass create these warehouse products? With 10 products it is fine but what about when thousands are needed for a live system?

    Hi have searched everywhere to see if any SAP notes/tips from the users to create this Warehouse product view automatically from the CIF.  I couldn't find anything yet.
    For EWM, we need the warehouse view for maintaining Removal/Putaway strategies.
    We are creating it manually with /SCWM/MAT1.  If nothing available, maybe we just write a program to check the /SAPAPO/MATKEY and the /SAPAPO/MATLWH and then call the transaction to create it?

  • Ewm Deconsolidation Warehouse tasks

    Hello all,
    I try to customize goods-receipt with the help of process-oriented storage control.
    The three steps are: unloading, deconsolidation, putaway.
    Everything is working fine, but after creating the putaway HU`s only one of them has got a putaway warehouse task.
    I have to divide the HU`s so that the putaway HU`s include only one Product per HU.
    For Example:
    ProductA: 200
    ProductB: 200
    100/per Putaway HU
    They arrive in an Container HU and putaway HU`s should be created for the putaway in the High Rack.
    In the deconsolidation I create the first putaway HU with 100 piece of ProductA, I do the same for the rest of ProductA and also for ProductB.
    So for my process I need 4 HU`s and each of them needs a warehouse task for putaway.
    In my process I have 4 HU`s and only one of each Product has got the warehouse task.
    I hope I could explain my problem although I have some wording problem with warehouse vocabulary.
    Thank you

    Hi,
    the condition type coming from the BC set supposedly is 0PAL, important is also if the proper determination procedure for the palletization procedure is assigned to the warehouse (in which this condition type is included then).
    When the putaway whse tasks are created, is depending on what you base the requirement for deconsolidation on. But if you just have these three steps as described, I believe you have to have them in the first step done.
    Best regards
    Juergen

  • Warehouse Task NOT Getting Saved, getting dump "Posting_illegal_statement"

    HI All,
    While trying to "create + save" warehouse task for the inbound delivery (in EWM 9.1) , warehouse task numbers are getting generated but not saved. I am getting an update error saying "update was terminated for author ___" . On checking the dump in ST22, it mentions the error as "POSTING_ILLEGAL_STATEMENT"  ,ABAP Program "SAPLSYDB" and application component "BC-DB-DBI".
    Please help.

    Hi Jayson,
    The error is related to the ABAP coding of the particular program. The program related to sales and billing.
    The error you get must be the user own output screen.
    Please refer to the SAP Note for further analysis and solution.
    http://service.sap.com/sap/support/notes/1472777

Maybe you are looking for

  • Bookmarks in an exported pdf do not work

    I am writing a teacher guide in support of an activity using iBooks Author. I know that many of the users of this document will not have iPads/Macs, so I also want to export the document as a pdf. Within the document, I have several bookmarks, pointi

  • Help with Date/Time Field

    Hi, I'm very new at using Adobe LiveCycle Designer 7.0. For the past little while I've been using it to create a bunch of interactive forms. The only problem I've run into so far is a date and time stamp I've put in that is a Calculated - Read Only f

  • How to install Hotfix without the need to administrative rights

    Hello All, I have Hotfix in .msu format and want to install on clients without the need to admin privileges and silently using SCCM.  For that i have made the batch file to make it silent install, and created the package with batch file, but it promp

  • How many tables?

    Hello I would like to have some stats w.r.t. the number of tables and classes used in projects. Could you give me theses numbers, and eventually the scope of the projet? (ERP, bank, ...), approximatively the number of functionnality, ...? many thanks

  • Training Calendar in Training & Event Management.

    Hi Gurus, Do we have any option for Training Calendar in T&EM? Where can we create it? My client has a requirement that if he designs a training calendar for a year or a quarter, relevant employees at supervisory level has to get mail about the desig