BAPI for creation Stock transfer oder

Hello Gurus
Is there a BAPI to create a Stock transfer order( UB - within the company code )?
regards
mohammed

Hi,
You Use this BAPI_OUTB_DELIVERY_CREATE_STO  and also check the BAPI_PO_CREATE1 with adding Logic check with your Abaper he may help you.

Similar Messages

  • T-code for negetive stock transfer

    Hi...
    Can you please tell me the t-code for negative stosk transfer in WM..
    Thanks
    Aravind

    Hi,
    Tcode for negative stock transfer is MB1B.
    Prerequiste for negative stock:
    1) Enable the 'Neg. stocks in plant' in Material Master - Plant Data / Stor 2
    2) Activate the negative stocks for the plant in IMG
        SPRO - Material Mgmt - Inventory Mgmt - Goods Issue - Allowed Neg Stock
    Thanks.

  • How to create an Internal Customer  for Ineterplant stock Transfer

    Daer Gurus,
    Please tell me how to create an Internal Customer for Interplant stock transfer.
    Actually I have three plants out of them two plants are providing goods to third plant. Also both the plants do the stock transfer in eachother.
    How to maintain the Two plants as supplier and third one as a receiver plant. 
    which account group I should use and what details I have to use for it ?  Do I need to maintain all three plants under same account group? I know the theoratical process only for stock transfer please guide me on this Internal customer issue.
    thanks in advance
    regards,
    Sanjay

    Hi,
    Take your three plants as AAAA, BBBB and CCCC.... and these 3 plants may be assigned to the Sales Area of AAA 10 10, BBB 10 10 and CCC 10 10.
    Your STO will have following 4 flows.
    1. AAAA - CCCC
    2. AAAA - BBBB
    3. BBBB- CCCC
    4. BBBB- AAAA
    you need to do the following settings...
    1. Assign the Sales Area for the Shipping Plants... for ex (AAAA - AAA 10 10 and BBBB - BBB 10 10)
    2. You need to Create a Internal Customer for every Rec. Plant and need to assign the same to the Rec Plant. And Also note that this customer needs to be created in the Sales Area which is assigned in the Shipping Plant.
    (Note that CCCC will be Rec Plant from Both AAAA and BBBB... So you need to extend that customer for both the Sales Area of the plants AAAA and BBBB)
    Following is the example settings required for our scenario 1.
    AAAA will be a supplying plant and CCCC will be rec. plant....  for this you need to create a internal Customer (for ex C1000) in Sales area AAA 10 10 (which is assigned to the plant AAAA) and assign the Customer number (C1000) to Plant CCCC.
    Now you created a plant CCCC as a customer in Sales Area AAA 10 10 (which is nothing but plant AAAA)...
    Also here you need assign the Sales Area AAA 10 10 to the Plant AAAA.
    Hope this will be useful to you.
    Thanks,
    Muthu

  • BAPI for Creation of inspection lot

    I have two scenario:-
    1.Can any body help to find BAPI for creation of Inspection lot for the material under PO envisaged for PDI.
    2. Can any body find me a BAPI or FM which can creates inspection lot in QALS table without inspection lot origin under 01 i.e. 0101 or Z01SI01.
    My objective is to creation inspection lot without assigning Inspection type of Z01SI01 or Z01SI02 and so on in the material code under a respective Plant 1004 or 1005 0r 1006 so on.
    In my Z Development for creation of inspection lot BDC is run for QA01 as this code created inspection lot on when material code has inspection type Z01SI01 i.e. location of source inspection and vendr code particular classification under 010 vendor class inspection type Z01SI01. System search both the inspection type for both material and vendor then create inspection lot in QALS table by assiging inspection matching inspection on the lot.
    I want to get rid of assignment of inspection on the materilal. If any BAPI or FM is avalable for creation of inspection without assigning inspection type on material code. I want to create inspection lot in which Inpsection type assignment can be done based on vendor class only.
    YPB

    2. Can any body find me a BAPI or FM which can creates inspection lot in QALS table without inspection lot origin under 01 i.e. 0101 or Z01SI01.
    I am very sure that this is not possible.You can not create inspection lot without inspection lot origin or inspection type.
    Regards
    Sujit

  • BAPI for creation of subcontract PO

    Hi all,
       Currently iam doing a BAPI for creation of subcontract Purchase Order using the BAPI_PO_CREATE1. But in this BAPI iam unable to find the table for entering Components.
    Regards,
    Sun.

    Hi,
    I wil give you how to fill the components of PO items, it is a sample code;
    *zPoHeader
      if kna1-kunnr eq 'BOR020'.
        zpoheader-comp_code   = '0040'.
      endif.
      if  kna1-kunnr eq 'BOR040'.
        zpoheader-comp_code   = '0048'.
      endif.
      zpoheader-doc_type    = 'ZSA'.
      zpoheader-doc_date    = mkpf-budat.
      zpoheader-vendor      = 'BOR050'. "şimdilik
      zpoheader-pmnttrms    = 'Z030'.
      zpoheader-purch_org   = '1100'.
      zpoheader-pur_group   = '101'. "malzeme ÜZERINDEKI marc-ekgrp
      zpoheader-currency    = zsaleshead-waers.
      zpoheader-item_intvl  = 10.
      zpoheaderx-comp_code  = 'X'.
      zpoheaderx-doc_type   = 'X'.
      zpoheaderx-vendor     = 'X'.
      zpoheaderx-purch_org  = 'X'.
      zpoheaderx-pur_group  = 'X'.
      zpoheaderx-currency   = 'X'.
      zpoheaderx-doc_date   = 'X'.
      zpoheaderx-pmnttrms   = 'X'.
      zpoheaderx-item_intvl = 'X'.
    *zPoitem
      loop at i_posnr.
        lv_ebelp = lv_ebelp + 10.
        zpoitem-po_item    =  lv_ebelp.
        zpoitem-material   = i_posnr-matnr.
        if kna1-kunnr eq 'BOR020'.
          zpoitem-plant      = '0040'.
          zpoitem-stge_loc   = '4001'.
        endif.
        if kna1-kunnr eq 'BOR040'.
          zpoitem-plant      = '0048'.
          zpoitem-stge_loc   = '4801'.
        endif.
        zpoitem-quantity   = i_posnr-menge.
        zpoitem-po_unit    = i_posnr-meins.
        zpoitem-net_price  = i_posnr-bfiyat.
        zpoitem-price_unit = 1.
        zpoitem-tax_code   = 'V0'.
        zpoitemx-po_item    = lv_ebelp.
        zpoitemx-po_itemx   = 'X'.
        zpoitemx-material   = 'X'.
        zpoitemx-plant      = 'X'.
        zpoitemx-stge_loc   = 'X'.
        zpoitemx-quantity   = 'X'.
        zpoitemx-po_unit    = 'X'.
        zpoitemx-net_price  = 'X'.
        zpoitemx-price_unit = 'X'.
        zpoitemx-tax_code   = 'X'.
        append: zpoitem, zpoitemx.
        clear : zpoitem, zpoitemx.
      endloop.
      call function 'BAPI_PO_CREATE1'
        exporting
        poheader                     = zpoheader
        poheaderx                    = zpoheaderx
    tables
       return                       = zreturn3
       poitem                       = zpoitem
       poitemx                      = zpoitemx.
    Send me your results,
    Kenan.

  • How to Track the valuation for IC Stock Transfer

    Hi Folk,
    I have a requirement for Intercompany Stock Transfer Where Plant "A" place PO to Plant "B" and Plant "B" does the Stock Transfer to Plant "A". Both the plant belongs to differnet company code. But both the company code share the same Chart of Account.
    The Issue here is how the Plant "B" maintain the valuation for the Stock Transfer as there is no invoicing generated for this.
    Should you need any further information / clarifiction pls feel free to let me know.
    Pls share your expertise with me.
    Looking forward to hear from you at the earliest.
    Thanks,
    Nihar

    In intercompany STO delivering plant should invoice to recieving plant and it will have the accounting entries as well.Keep in mind that both plants are related to different company codes.Accounting will be done as normal sales process in delivering plant.
    Regards
    Sunil

  • Planning release order for a Stock Transfer Requisition (PRqRel)

    Hello all,
    Is there a possibility to stop MRP/MPS from planning a 'Release order for a Stock Transfer Requisition (PRqRel)' ? I would want them planned after they are released (OrdDS).
    Please do help out.
    Regards,
    Rahul

    Hello again...
    The sample code provided on method CHANGE_MDPSX_MDUA of this BAdI should do the trick:
    method if_ex_md_change_mrp_data~change_mdpsx_mdua .
    *  Makes stock transport purchase requisitions not availability-relevant
    *--> substitutes part of the modification of note 190298.
    * For the other parts the same has to be made in methods:
    * CHANGE_MDPSX_MDUP for stock transport planned orders
    * CHANGE_MDPSX_MDUB for stock transport orders.
    *--> delete flag for availability
       clear ch_mdps-vrfkz.
    *--> set changing flag
       ch_changed = 'X'.
    endmethod. "IF_EX_MD_CHANGE_MRP_DATA~CHANGE_MDPSX_MDUA
    BR
    Caetano

  • Price condition for intercompany stock transfer

    Hi all
    I  have a intercompany flow between two company:  the flow cases are two :
    - when the product go directly to customer starting from the storage location company, we manage this with the standard intercompany sales
    - when the stock must be stored in the destination company, we use the standard cross-company stock transfer (PO-delivery-intercompany invoice)
    My question is about the intercompany price for both (PI01 condition). For the intercompany sales I used the sales price list standard for PI01, the same I will use for the intercompany invoice generated by the stock transfer PO. But theoretically for the PO of cross company, I must set specific inforecords for PI01 (a duplicate of SD price list used by intercompany sales).
    Exist a mode for make take to PI01 condition of PO the price list used by PI01 of intercompany invoice, without create double price lists (sales and purchase)?
    Thanks you
    Davide

    Hi Shailesh,
    For intercompany stock transfer shipping tab does not exist. Bcoz u r transferring material for two diferent legal entities. so that u can use doc. type NB. Check delivery type assignment for suppling plant. Check in material salesview(general sales/plant) transportation grp and availability check exist or not. Check shipping point assignment for plant.
    thanks and regards
    Kishor

  • Bapi for creation of a contract against services.

    Hi.
    i just want to know the correct bapi for creation of contracts against services..here i was tried with BAPI_CONTRACT_CREATE but the documentation says that it is not supported for exxternal or internal services.
    so iam not sure if this bapi is the one for contract creation for services.
    any way i was tried to test this function module but i havent got  Contract created.
    wil be waiting for an excellent answer.
    bye.
    reegards.
    seetaram.

    Hi Ram,
    Try the function module
    BAPI_CONTRACT_CREATEFROMDATA.
    Once you create the contract, update the technical objects for the contracts
    using two function modules called one after another.
    IWOL_WV_ADD_OBJECTS
    IWOL_WV_POST_OBJECT_LIST
    Regards,
    Chandra Sekhar

  • BAPI for Creation of Maintenance Plan (TCode - IP01)

    Hello
    Kindly help me with the BAPI for Creation of Maintenance Plan (TCode - IP01)
    Thanks and Regards
    Avishek

    Hi
       Check Tcode: IBIP. and LSMW method and below link it may be helpful.
    [link|Re: LSMW for uploading equipment.]
    Thanks,
    Asit Purbey.

  • BAPI for Creation of the Project in ECC using Standard Templates

    Hi,
    I want BAPI for Creation of the Project in ECC using project id and project standard template ID
    and BAPI for Updating of project and WBS element  using  project id and WBS element ID

    One idea is to write a wrapper FM that is remote enabled and internally call BBP_PD_CTR_CREATE for your own use.

  • Release order for a stock transfer order in Product view

    Hi Experts
    My question is that i cann't see Release order for a stock transfer order in Product view which are available in MD04 in R/3.
    I have checked all the settings for Strategy group 50-Planning without final assembly in R/3 and Requirement type in APO. In APO I have checked requirement type and category group and I can see that in category we have defined Stock Transport Requisition, Stock Transport order,  Sales Order, TLB:VMI sales order, Replenishment delivery and VMI delivery as category.
    One more thing i am not even selecting any selection profile for Product view.
    What i need to check, Kindly suggest.
    Regards
    G C

    Hi G.C
    Check whether you have maintained correct integration model. Create integration model for transactional data. Select the sales order and PO/PR option in CFM1. The reason you need to send the sales order first when you are working with stock transfer order/stock transfer scheduling agreements you first have to send the sales order and then PO/PR. Activate the integrtion model.
    First check in ECC for the Integration with Other mySAP.com Components==>Advanced Planning and Optimization==>Initial Data Transfer==>Change Transfer==>Change Transfer for Transaction Data==>Activate Online Transfer Using BTE==> here check (ND-APO, NDI options are have been checked)
    Also check for the Maintenance of distribution definiton under APO -SPRO==>Integration with SAP Components==>Basic settings for data transfer==>Publication==>Maintain distribution definiton==>Select the publication type(External procurement, Delivery,Shipment) and assign to all the plants you are working with for STO.
    Try the above steps and do let me know if it worked.
    Regards
    KRN

  • BAPI for Creation of Stock

    Hi Freinds,
    I need to trigger the creation of a stock from a BAPI.
    So in MIGO i am using movement type 501 and type as Others.
    I could see a bapi BAPI_GOODSMVT_CREATE for that .But in the checktable for the tcodes t158g , i could not find MIGO.So i doubt if i can use this BAPI for the creation of a stock.
    Please let me know if there is a BAPI for the creation of stocks.
    Thanks and Regards,
    Anoop

    Hello,
    Use the belwo bapi.
    BAPI_WHSE_TO_CREATE_STOCK
    Reward if helps.
    Thanks,
    Krishna

  • Program/BAPI for intercompany asset transfer

    Hello guys,
    I have to industrialize the company code fusion. One of the fusion step is the transfer of the asset from company A to company B.
    I am looking for a tool that will allow me to automate the asset transfer.
    Does any one of you know a batch program, BAPI...that will allow me to automate this porcess?
    I don't want to use the worklist logic because I need to update the target asset master data from the file content...
    Thank you in advance for your help
    regards
    Pascal

    Hi,
    I hope that you want to transfer assets from one company code to another...right?
    You need to use transaction ABT1N.
    But if you want to transfer multiple assets, then there is no SAP standard program or BAPi available to automate the process.
    But you can use either develop a program using BDC recording.
    Or
    Create 2 LSMW batch input recordings. (1 for creation of target asset master(as01) and 2nd for ABT1N)
    Hope this information would help you.
    Regards,
    Srinu

  • BAPI for creation of material documents/movements

    Hi Everebody:
    I need some help regarding to bapis for the creation of mateial documents and/or movements. I have been trying to implement bapi BAPI_GOODSMVT_CREATE, but this bapi does not have (import) the posting time in document, which is very important for my porpuse.
    So, I would appretiate a lot any information anybody could give about any bapi I could use to create material documents or material movements but incluidng the posting time in document (field MKPF-OIB_BLTIME).
    Regards

    You can check MB_CREATE_GOODS_MOVEMENT which has mkpf as inporting parameter.

Maybe you are looking for

  • Adding a Descendents Query to a Cube

    Hi, I have the following MDX query that I wish to add to a cube: with member [measures].[descendents test] as sum     Descendants ([Date].[Calendar Year],, LEAVES) *     Descendants ([Date].[Calendar Quarter of Year],, LEAVES) *     Descendants ([Dat

  • Banded report in Report header of a subreport

    I know how to make a details section of a subreport or a report banded, but I'm trying to create alternating color with several different Report Headers. I need to do this because my information i have in my report has separate columns in the databas

  • Workflow Susspend Issue

    Hi All, I am facing an issue with SP2013 Custom Workflow developed using Visual Studio 2012. Objective of the Custom workflow: User fills the form and submit, list get updated and workflow will initiate and go for the process. Issue: After the deploy

  • Photoshop CS 6 repeatedly launching, conflict with Application Manager

    I am now getting multiple systems that will not open Photoshop CS 6.  As soon as PS starts to open, Application Manager starts and prevents PS from opening.  The two applications alternate for control with neither being able to open.  This problem is

  • Receiving a message in my word document after converting from a PDF to word. Please advise

    After converting and dowloading that converted file from a  Adobe PDF file to a word document I then open the word document to see a message stateing "To view the full contents of this document, you need a later version of the PDF viewer. You can upg