Need Bapi Names for Post Goods Reciept and Post Goods issue to STO in MIGO

Hi All..
I need to post goods receipt using input data in MIGO. Is there any BAPI that i can use.
Also once STO (Stock Transport order) is created, i also need to Post goods issue to STO in MIGO transaction. I do need a bapi for this too...
Appreciate your help and will reward any helpful answers.
Thanks..

Hi,
ata  : gm_header  type bapi2017_gm_head_01.
data  : gm_code    type bapi2017_gm_code.
data  : gm_headret type bapi2017_gm_head_ret.
data  : gm_item    type table of
        bapi2017_gm_item_create with header line.
data  : gm_return  type bapiret2 occurs 0 with header line.
data  : gm_retmtd  type bapi2017_gm_head_ret-mat_doc.
clear : gm_return, gm_retmtd. refresh gm_return.
gm_code-gm_code      = '03'.
gm_header-header_txt = firstscreen-bktxt.
    gm_header-pstng_date = sy-datum.
    gm_header-doc_date   = sy-datum.
    gm_header-ver_gr_gi_slip = ' '.  "print
    gm_code-gm_code      = '03'.
  move lineitem1-bwartwa  to gm_item-move_type     .
      move lineitem1-matnr  to gm_item-material.
      move lineitem1-erfmg     to gm_item-entry_qnt.
      move 'EA'    to gm_item-entry_uom.
      move lineitem1-werks  to gm_item-plant.
      move lineitem1-lgort  to gm_item-stge_loc.
      move lineitem1-kostl to gm_item-costcenter.
      while gm_item-costcenter+9(1) = ' '.
        shift gm_item-costcenter right.
      endwhile.
      overlay gm_item-costcenter with '0000000000'.
      append gm_item.
call function 'BAPI_GOODSMVT_CREATE'
       exporting
            goodsmvt_header  = gm_header
            goodsmvt_code    = gm_code
       importing
            goodsmvt_headret = gm_headret
            materialdocument = gm_retmtd
       tables
            goodsmvt_item    = gm_item
            return           = gm_return.
Thanks
venki

Similar Messages

  • Need BAPI Name for updation of Subcontracting scheduling line agreement

    Hi All,
            Can anybody please tell me BAPI Name for updation of Subcontracting scheduling line agreement from EKET table?
    Note: BAPI_PO_CHANGE is not useful for me.
    Thanks and Regards,
    Atul.

    Hi Muralidhara,
    Can you please give some more details for this BAPI..
    I tried using it , but getting an error "No instance of object type PurchSchedAgreement has been created. External reference:"
    and "Enter G/L Account" (Infact I did specify G/L account in account assignment table)
    with regards,
    Kirti

  • SAP Standard Report for Good Reciept and Open Goods Reciept .

    Dear All Guru's ,
                                                                                    Is there any std. report in which User can see the Actual Goods rcpt and also Open Goods Reciept in that report , What I know that we can see the Goods Rciept thru Trxn = MB51 , but here Open good rcpt
    is not possible.
    Can any one help to fix this requirement.
    Rgds,
    sap11

    Hi
    try MB5S to get an overview of all goods receipts not invoiced.
    I would change the standard variant to also add material not only PO.
    If you want deliveries not invoiced and you have goods received based IV on you can get an overview per vendor with report from F4 in MIRO (I just learnd recently from here that this is the only suitable report available)
    Cheers
    Tim

  • Fields For Good Reciept and Issed !

    Hi all,
    I want the fields for the goods reciept and good issued for getting the stock for a particular material as on to date (which is my selection screen) ...
    I have selected the sales data from the VBRK and VBRP tables which is for sales information and now i need to find out the Stock information. My Requirement is to maintain sales stock and to show the Turn Over Ratio ???
    Can you tell me the tables and the fields where i will get them ...
    I m calculating my Stock as:
    Stock (as on date) = Substracted Value (Reciepts - issues ) - current stock.

    In MSEG there is field for Sales order number as well as item number from that you can get the Goods issues quantity,similarly in MSEG you also have purchase order number and purchase order item numner from which you can get the goods purchased quantity by passing it to VBAP and EKPO respectively.
    Regards
    Mohamed Mansoor
    Message was edited by:
            Mohamed Mansoor Kasim

  • Provide the BAPI names for Transactions- IW52 and IW32

    Hi Friends,
    Please provide me with the BAPI Names for the transaction codes: (1) To create the Serivce Order through IW52(by entering the service notification number and (2)  To change the Service order through IW32.
    Thanks a lot in advance.
    Venkat,

    Hi Raghu,
    May I Know if this BAPI is to create the Service order from IW52(through Service notification) or from IW34? Becoz I need the one from IW52 only.
    Thank you very much.
    Regards.
    Venkat

  • Bapi Names For Following Fields?

    Hi All,
    I Want BAPI names For Following Fields.
    1.Personnel Area.
    2.Personnel SubArea.
    3.PERNER
    4.OBJID.
    5.LAND1
    6.REGIO
    Thanks
    SubbaRao Chinta

    Hi Subbu,
    its very difficult to find out the BAPI useing the fileds .
    At least you should know the Technical name of your BAPI when you are developing the application.
    If you dont know the BAPI name then how can you map it to ur VC user and get the Data.
    I think u got my point
    Regards,
    Govindu

  • Function module which uses both BAPI's for sales order create and change

    Please name the function module which uses both BAPI's for sales order create and change.
    BAPI_SALESORDER_CREATEFORMDAT2
    BAPI_SALESORDERCHANGE

    Yup.
    you must write a piece of code for this.
    with if else condition.first check if SO is exsist than use second FM to change it else create new SO from first FM.
    logic somethig like this.
    Amit.

  • Goods receipt and post goods issue are not updated back from EWM to ECC

    Hi Experts,
    Would anybody able to tell me the setting to be modified / defined to backward flow of information from EWM to ERP i.e. the goods receipt, goods issue are not being updated back in ECC once the goods receipt and  post goods issue are posted in EWM?
    It would be great help if i get the response as early as possible.
    Chakrapani Das

    Hi Chakrapani,
    You might want to try checking the customization on the SCM part following this path:
    SPRO - Extended Warehouse Management - Interfaces - ERP Integration - General Settings
    Pay special attention on the Check of ERP-EWM Configuration transaction.
    After you have checked these you should probably check the outbound queue monitor (tx SMQ1) from EWM to ERP. You can use the SMQ1 - Outbound queue and SMQ2 - Inbound Queue both in ERP and SCM to check the communication betweene these two systems.
    Also you may want to checkt the SLG1 - Analyse application Log in SCM in order to see if any internal bugs exist.
    All the best,
    Claudiu Maxim

  • What is the best External Hard Drive for a Macbook Leopard 10.5.8?  I need more memory for documents, pictures, videos, and music.  Thanks!

    What is the best External Hard Drive for a Macbook Leopard 10.5.8?  I need more memory for documents, pictures, videos, and music.  Thanks!

    Hi, does your MacBook have Firewire, or just USB?
    FW is far faster if you have that.
    Avoid Bus powered ones.
    http://eshop.macsales.com/shop/firewire/1394/USB/EliteAL/eSATA_FW800_FW400_USB
    USB only...
    http://eshop.macsales.com/shop/firewire/usb/eliteclassic

  • Why I need a code for rent a film and where ist the code? (I dont have a card)

    Why I need a code for rent a film and where ist the code? (I dont have a card)

    it's unclear what you mean
    you say you dont have a card which I guess is you don't have a creditcard
    in which case the other option is to pay by a giftcard which include a code which you put in
    because to rent you have to pay otherwise it's not really renting

  • Have new Airport Extreme via ethernet cable from HughesNet Gen4 modem. Using NetGear WN3500RP extender. NetGear asks for different names for the 2.4 and 5 GHz bands. Most of what I have read indicats extender shoul have same name as main network?

    Have new Airport Extreme conneted via ethernet cable from HughesNet Gen4 modem. Using NetGear WN3500RP extender. NetGear asks for different names for the 2.4 and 5 GHz bands. Most of what I have read indicates extender should have same name as main network? How is it best to configure with the Airport Extreme router 802.11ac?

    Different names for the 2.4 and 5 GHz networks are optional, but can be convenient for you to distinguish one from another. It's up to you.

  • Need BAPI name to change the PO data in SRM.

    HI All,
    Need BAPI name to change the PO data in SRM.
    The BAPI_PO_CHANGE is not available in SRM.
    If there is no BAPI to change PO in SRM, what is the alternate solution?
    Regards,
    A.I.Rajesh.

    hello,
    try using FM BBP_PD_PO_UPDATE.
    regards.

  • What are the pros and cons of using people keywords, given that my catalogue is already uptodate with regular keywording of all subjects?  e.g., will the people keyword transfer to other programs?, can I use the same name for a people keyword and regular

    What are the pros and cons of using people keywords, given that my catalog is already up to date with regular keywording of all subjects?  e.g., will the people keyword transfer to other programs?, can I use the same name for a people keyword and regular keyword in the same photo?

    What are the pros and cons of using people keywords, given that my catalog is already up to date with regular keywording of all subjects?  e.g., will the people keyword transfer to other programs?, can I use the same name for a people keyword and regular keyword in the same photo?

  • Table Names ( for quotations , quotation lines and price breaks)

    Hi Experts,
    What are the table names for quotation, quotation lines and quotation price breaks.
    Thanks,
    MPH

    Quotes and POs share the same tables.
    The type_lookup_code in po_headers_all identifies the type of the document.
    Quotations > po_headers_all (or you can use PO_HEADERS_RFQQT_V)
    lines => po_lines_all (or you can use PO_LINES_RFQQT_V)
    price breaks => po_line_locations_all (or you can use PO_LINE_LOCATIONS_V )
    Hope this answers your question,
    Sandeep Gandhi

  • How can i identifiy the BAPI Name for particular transaction.?

    Hi friends ,
    In  data upload by BAPI How can i identifiy the BAPI Name for particular transaction.?
    For example ME21 How can i identifiy the BAPI Name?
    arun

    hi,
    check the link:
    ME21 tcode for Purchase Order creation so u can make use of BAPI f4 help i.e. ex-BAPIpo
    for list of all bapis
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm

Maybe you are looking for

  • Licença de SAP Netweaver Portal para Processo de B2B

    Pessoal, boa tarde! Alguém sabe me dizer se para utilizar o SAP Netweaver Portal para os processos de B2B é necessário comprar licença SAP ou está incluso no pacote onde a empresa compra o GRC e o PI? Essa licença do PI que a empresa tem direito ness

  • How can I create the Device allocations[EG42]?

    Hy, I want a requirement to create the deviceallocation in background. The device is insert in a installation. The following listing dosn't work. Has anybody a idea, why not?   MOVE: i_anlage      TO l_anlage.   MOVE: i_ab          TO l_ab.   MOVE: i

  • Can't Share Screens in group calls anymore

    Had no problem doing it prior to the most recent update, now it just doesnt even give me the option. Before it was at least greyed out when it wasnt available. Anyone else having this issue?

  • Exclude a Resource from scope of control of a Admin role??????

    Hi, I need to exclude a resource from the scope of ADMINROLE for a particular form. This i m able to achive by Admin role form. but i need to do this in backed .(not through that form). I am able to create Admin Role in a workflow .I m even able to a

  • Trying to connect to oracle 8i

    trying to connect to oracle 8i.i have the oracle driver dnlded from oracle website.when i try to make a new connection i get the following error during runtime: java.lang.UnsatisfiedLinkError: G:\Oracle\Ora81\BIN\ocijdbc8.dll: One of the library file