BAPI to cancel Transfer order

Hi All,
Is there is any BAPI to cancel Transfer Order (using T-Code LT15) already created?
Regards,
Raghu

Try this:
I am not sure
Try using FM WS_LM_TRANSFER_ORDER_DELETE
Reward Points if found helpfull..
Cheers,
Chandra Sekhar.

Similar Messages

  • FM/BAPI to create Transfer Order(TO) with reference to TR or Material Doc.

    Hi,
    I am in need of Function module or BAPI to Create Transfer Order(TO) with reference to Transfer Requirement(TR) or Material Document.

    Hi,
    Please try any of the below,
    1.Look at function group L03B (Transfer order processing)
    2.Use L_TO_CREATE_TR
    3.BAPI_GOODSMVT_CREATE set:
    GOODSMVT_ITEM-STGE_TYPE_PC = destination storage type or GOODSMVT_ITEM-STGE_TYPE_ST = destination storage type
    4.Look at fm L_TB_VERAENDERN. This isn't RFC, but you might copy fm into ZL_TB_VERAENDERN and set RFC on.
    Hope this helps.
    Thanks,
    Harini

  • How to cancel Transfer order

    Hi Every body
    Can you please tell me how to cancel Transfer order process

    Hi Varaprasad,
    You can't cancel the TRANSFER ORDER which was already confirmed using LT15
    LT15 can be used for non-confirmed Transfer orders
    Goto Transaction code LT01 and manally transfer the stock from Specified Bin  to Required Bin
    Or you can use LT0G to cancell the TRANSFER ORDER which was already confirmed.
    Please check and revert if you need further details.
    regards,
    santosh

  • Cancelling Transfer Orders

    Hi
    Can any one tell me how to cancel the Tansfer oder
    brief:-
    I had created sales order, delivery(picked and packed and PGI ) and done invoice also.
    Now the user wants to cancell the every thing as he has delivered some wrong parts
    waiting for ur valuable answers
    Regards
    sk

    Dear ,
    For the first need to cancel Invoice Use TCODE-VF11 and
    To revese PGI Use Tcode-VL09 and for cancel transfer order
    Use  Tcode- LT15  for non confirm Transfer order.
    Use  Tcode-LT0G  for confirm transfer order.
    delete Delivery document use Tcode-VL02  and click on tab OUTBOUND  DELIVERY --DELETE before doing the same u need to unpick the material in delivery document.
    If ur problem is resolved kindly close the thread.
    Regards
    AJIT K SINGH
    HAPPY TO HELP U
    Edited by: AJIT K SINGH on Dec 30, 2009 3:52 PM

  • Error :-Cancel transfer order for item

    Hi,
    The material has batch split and we are facing an error while cancelling transfer order for one item.Now here 4 items are there out of which item 1 is batch split i am able to cancel transfer order for 2,3 and 4 item whereas in item 1,sub category 10 (pick quantity is grade out) can you suggest why i am not able to cancel it.
    Thanks,
    Dharmesh

    Hello,
    Since item 10 is covered via WM hence the picking qty is grayed out.
    You can go the document flow and find out for item 10 what is the TO no and also if its  completed ( confirmed) or not. If its confirmed, then you cant cancel the TO.
    If its no you can cancel the TO via LT15.
    Thanks,

  • Missing entries for cancelled transfer order

    Hi friends,
    I created two transfer orders for a delivery document(stock is available in storage bins), but I cancelled two transfer orders.But I couldn't able to see entries in those cancelled transfer orders(cancelled transfer orders are blank at item level).I checked in LTAP table, there also entries are missing at item level.
    Can someone please advice me?
    regards,
    Seetaram

    Hi,
    Check out this link Particularly  last replay
    [http://www.sapfans.com/forums/viewtopic.php?f=6&t=341743&start=0&st=0&sk=t&sd=a]
    Thanks,
    Anmol.

  • Cancel Transfer Order

    Hi,
    I am looking a way to cancel the two step confirmation TO.
    I have completed one step, ie. pick confirmation is done, but now I want to cancel the TO, while cancelling TO through LT15, system is saying that it is already confirmed or cancelled.
    Is there any way to cancel the pick confirmation and process further.
    Very urgent
    Thanks in advance
    Deejay

    Hi, All
    Sorry to involve in this issue.  Because similar problem am facing at my client place.
    My transfer order status is completed and it is required to cancel the delivery (no PGI done).
    As per the expert below suggestion :-
    `Since step 1 is already confirmed, you canot reverse it. You will have to move the material back with LT01 movement 999.`
    Created transfer order using LT01 and movemente 999, but no luck and i am not ablve to delete the delivery items.  If am trying to remove batch qty in the delivery for deleting, SAP says that `Picked quantity is larger than the quantity to be delivered`
    Hi Deejay
    If you able to resolve this issue please let me know and help me to reslove it.
    Regards
    Srini

  • BAPI for MIGO Transfer Order Posting and STO

    Hi
    I am trying to post a transfer order thru MIGO using BAPI_GOODSMVT_CREATE. But could not able to identify the following fields :
    1) Material Slip or Material Document number
    2) Final Plant and storage location
    3) Destination plant and storage location
    4) Movement Type
    Also I am trying to create a STO using BAPI_PO_CREATE1 but could not able to identify "Your Reference and Our Reference fields.
    Please share your thoughts.

    Hi  Bakshi ,
    see the sample code to pass the material plant storage location nad Movement type..
      t_goodsmvt_item-material   = t_zciotr-matnr.          "Materail
      t_goodsmvt_item-plant      = w_werks.                  "Plant
      t_goodsmvt_item-stge_loc   = w_lgort.                  "Storage Location
      t_goodsmvt_item-move_type  = w_bwart.               "movement type
      t_goodsmvt_item-entry_qnt  = t_zciotr-wmeng.
      t_goodsmvt_item-orderid    = t_zciotr-aufnr.
      t_goodsmvt_item-mvt_ind    = 'F'.
      APPEND t_goodsmvt_item.
      t_goodsmvt_slno-matdoc_itm = 1.
      t_goodsmvt_slno-serialno   = t_zciotr-serialno.
      APPEND t_goodsmvt_slno.
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header       = t_goodsmvt_header
          goodsmvt_code         = t_goodsmvt_code
        IMPORTING
          goodsmvt_headret      = w_docret
          materialdocument      = w_docno
        TABLES
          goodsmvt_item         = t_goodsmvt_item
          goodsmvt_serialnumber = t_goodsmvt_slno
          return                = t_goodsmvt_ret.
    Regards,
    Prabhudas

  • Cancel transfer order user exit

    Hello,
    Is there any user exit in transaction LT01 (create transfer orders)  for check data fields entry and trigger an error message if the data is not ok.
    Thank.

    Hello Carlos,
    When you do the transaction LT01 at that time the system will automatically check the input data and if find any inconsistancy it will throw error / warning message. This is std functionality.
    Where you want to use user-exit i.e. which data you want to check during TO creation.
    Hope this helps.
    Regards
    Arif Mansuri

  • [SAP WM] Cancel Transfer Order after Technical complete of prodution order

    Hi gurus,
    i have this problem.
    In my SAP WM implementation, i have customizing the PP-WM interface to create automatically the TO from central warehouse to Production supply aera after releasing of production order. The steps are:
    - Release production order
    - Creation of TR  - automatically
    - Ceration of TO to be confirmed (red light) from central warehouse (001) to production supply area (100) - automatically
    Now i would that after technical complete of production order, automatically the TO to be confirmed is cancelled. There is a way to do it?
    thanks and regards.

    Allesio
    I am confused as to why you would want to CANCEL the TO. Surely if the order is complete (technically or otherwise) then the stock has been moved from its source to the order and therefore you would want to CONFIRM it and not CANCEL it.
    As I said if the TO is to take 100 of material A from bin 1111111111 to prod order 9999999999 and you cancel the TO the stock will stay in 1111111111 when in fact it has gone to 9999999999 .
    If your order is to say create 100 pieces of Z and to do this you need 100 pieces of A then you want to CONSUME 100 pieces of A  and GR 100 pieces of Z.
    If you cancel the TO the consumption will fail as the stock is not in 9999999999 but has gone back to 1111111111.
    The other problem is that you will be showing 100 pieces of A in bin 1111111111 which is NOT THERE as the order has used it.
    I hope that this helps
    Frenchy.

  • BAPI to create Transfer order(WMS) from Material document

    Dears,
           We have activited WMS and we have not found any BAPI to generate TO in WMS from Material document to post GR to a specific bin. Is there any BAPI available for particular operation?
    Can anyone tell me about name of BAPI?
    Regards,
            FR

    Try with Function Module  L_TO_CREATE_TR
    also try
    Use this function module to create TO (transaction LT01) L_TO_CREATE_SINGLE
    CALL FUNCTION 'L_TO_CREATE_SINGLE'
    EXPORTING
    i_lgnum = ti_lqua-lgnum
    i_bwlvs = l_bwlvs
    i_matnr = zwwmugeori-matnr
    i_werks = ti_lqua-werks
    i_lgort = ti_lqua-lgort
    i_bestq = l_bestq
    i_letyp = l_letyp
    i_anfme = l_anfme
    i_altme = l_altme
    i_vlpla = l_vlpla
    i_vlenr = l_vlenr
    i_nlpla = l_nlpla
    i_nlenr = l_nlenr
    i_commit_work = space
    IMPORTING
    e_tanum = l_tanum.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Feb 13, 2008 11:33 AM

  • Cancel Transfer Order - Delivery is not updated

    Hello,
    I'm using the FM L_TO_CANCEL to cancel a TO item.
    The problem i'm facing is that in the delivery, the picked quantity does not increase after canceling the TO.
    The TO status shows as completed and canceled
    Hence if I try to create another TO, it says that items are already picked
    It works fine while executing standard tcode LT15.
    Is there any other way to cancel a TO item or a workaround while using L_TO_CANCEL?

    Solved it using a dirty method.
    By debugging, I noticed that the FM L_TO_CANCEL itself sets a lock and then checks  the same lock before dequeuing the item.
    This caused the update on the delivery to fail.
    I was able to see that there was an error in the delivery update at the item level detail display of the TO
    I was then able to find the  error message using transaction LX47.
    LX47 allows the user to rerun the delivery update.
    Debugging it, I found the function module L_RESTART_QUEUE is used.
    Hence, in my code, I did a commit work and dequeue and then called the above function module.

  • IDOC for transfer order for delivery note LT03

    Hi All,
    I need to generate an outbound IDOC upon transfer order creation in Tcode LT03.
    I found there are two types of IDOC discussed in this forum before. One is the Canceling Transfer Order IDOC and another one is the Confirmation Transfer Order IDOC.
    I'm not sure whether these relevant to what I need or not.
    Can i know what FM, message type and basic type should I use for this situation?
    (generate an outbound IDOC upon transfer order creation in Tcode LT03)
    Please advice.
    Thanks.
    Best Regards,
    JL
    Message was edited by:
            KAR SENG LAW

    I found something here,
    Someone is using FM: L_IDOC_INPUT_WMTORD, message type WMTORD and basic type WMTOID01 in doing this when trying to send an Idoc to an external system when a transfer order for a delivery note is created (LT03). Is it OK ?
    need advice.
    Thanks again.

  • How to create Transfer order from material document   uFF08Move type is 101uFF09

    Hi all,
    is there any function module, BAPI to create transfer order from a material document number?
    I want to use FM L_TO_CREATE_SINGLE,but the result is "Movement type 101 for manual transfer orders does not exist".
    Is the parameters error?
    Thank you in advance
    Regards

    The error message you get is number 196 from message class L3, do a where-used on it from transaction SE91 and then put a break-point on each line result.  Afterwards, re-execute your function call and see which break-point is hit and investigate from there.
    With that said, you really should be using Bapi BAPI_GOODSMVT_CREATE for all goods movement operations.  It shares code with MIGO and executes the same Badi's and user-exits, so data integrity is not broken.  Don't forget Bapi BAPI_TRANSACTION_COMMIT to commit changes in the database after a successful call.
    cheers

  • How to create Transfer order from material document

    Hi gurus,
         is there any function module, BAPI to create transfer order from a material document number.
    waiting for positive reply.
    thanks
    vinod

    Hi,
    The FM L_TO_CREATE_SINGLE or L_TO_CREATE_MULTIPLE could solve your problem.
    Hope it helps.
    Chang

Maybe you are looking for

  • Rating widget with data table

    I am using rating widgets with php generated tables... but I like the spry data regions better (for sorting). is it possible to dynamically create rating widgets in a spry data region? I tried doing it by applying the information from "Using HTML Fra

  • Archived log to standby server stopped

    Hi, I configured dataguard standby server few weeks ago, I set log_archive_dest_2='SERVICE=JHRD0107_OFS1 OPTIONAL' and log_archive_dest_state=ENABLE in primary server, and very go fine until yesterday, I shutdown my standby server and set the log_arc

  • Creating junit test cases using the reflection API

    In order to use the reflection API to get information about a *.java file's class name and methods, I need to compile the *.java file first, and then get info through the *.class file. Am I right? Eclipse, the Java IDE, can create junit test cases fo

  • Need a sanity check please

    Could I have someone double-check my simple design here attached you will find a drawing. Here is a description - Currently have: 1 Pix 515e 2 3550 24 SMI conneted via 2 sx GBICs and fiber patch. 1 1121 WAP Adding: 2 3550 24 SMI 1 3550 48 SMI 1 3550

  • Idocs are not equal to XML message generated

    hi ,         i am facing problem when i using XI.its not generated idocs equal to XML message generated.