Bapi for MIGO that can update freight supplier

dear all
we are presently using ALE_GOODSMVT_CREATE to create a migo document.
the requirement now is to update the frieght supplier too.
this present bapi is not able to update the supplier.
does any one faced this problem before and if yes how did it got overcome ??
regards

check this link: It may not be exactly what you are looking for but will guide you:
BAPI for MIGO
cheers
Aveek

Similar Messages

  • Update qty in delivery note through bapi for migo

    hi im using bapi for migo upload
    my requiremnt is to update QTY IN DELIVERY NOTE in migo.
    i got the folowing error if i dont pass the quantity.
    qty and/0r delivery indicator or final issue indicator missing
    if i pass the quantity field then it is changing quantity in unity of entity and qty in SKU i dnt want to change this field
    here is my code,
    gmcode-gm_code = '01'.
        ls_GOODSMVT_HEADER-pstng_date = tdate . "sy-datum.
        ls_GOODSMVT_HEADER-doc_date   = sy-datum.
        ls_GOODSMVT_HEADER-pr_uname   = sy-uname.
    loop at itab.
      ls_GOODSMVT_HEADER-REF_DOC_NO = itab-LFSNR.
      it_goodsmvt-move_type  = itab-BWART.
      it_goodsmvt-po_number  = itab-EBELN.
      it_goodsmvt-PO_ITEM  = '10'.
      it_goodsmvt-STGE_LOC  = itab-LGORT.
    it_goodsmvt-QUANTITY  = itab-LSMNG.
    it_goodsmvt-BASE_UOM = 'KG'.
    it_goodsmvt-material = 'RC1092'.
    it_goodsmvt-entry_qnt = itab-LSMNG.
    it_goodsmvt-ENTRY_UOM  = 'KG'.
      it_goodsmvt-mvt_ind = 'B'.
      it_goodsmvt-plant = 'G001'.
    it_goodsmvt-NO_MORE_GR = 'X'.
    append it_goodsmvt.
    clear it_goodsmvt.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
      EXPORTING
        goodsmvt_header               = ls_GOODSMVT_HEADER
        goodsmvt_code                 = gmcode-gm_code
      TESTRUN                       = ' '
      GOODSMVT_REF_EWM              =
    IMPORTING
      GOODSMVT_HEADRET              =
       MATERIALDOCUMENT              =  lf_MATERIALDOCUMENT
       MATDOCUMENTYEAR               = lf_MATERIALDOCYEAR
      tables
        goodsmvt_item                 = it_goodsmvt
      GOODSMVT_SERIALNUMBER         =
        return                        = return
      GOODSMVT_SERV_PART_DATA       =
      EXTENSIONIN                   =
    if return-type ca 'EA'.
          rollback work.
          message id '26' type 'I' number '000'
          with return-message.
        else.
          call function 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          =
    IMPORTING
      RETURN        =
          wait up to 5 seconds.
        endif.
    select * fROM mseg
          INTO CORRESPONDING FIELDS OF TABLE IT_MSEG
                             where mblnr = lf_MATERIALDOCUMENT and
                                       MJAHR = lf_MATERIALDOCYEAR.
      LOOP AT IT_MSEG INTO WA_MSEG.
        IF WA_MSEG-LSMNG IS INITIAL.
          wa_mseg-lsmng = ITab-LSMNG.
          UPDATE MSEG from wa_mseg.
          commit work.
          wait up to 5 seconds.
        ENDIF.
      ENDLOOP.
    ENDLOOP.

    It is been done by implementing one implicit enhancement in FM: MAP2I_B2017_GM_ITEM_TO_IMSEG
    I have added the below functionality at the end of the function module.
    Just i have maped the ERFMG i.e ent_qnt(Received quanity) with LSMNG i.e qty.in del note
    All best for others.
    $$-Start: (1)----
    $$
    ENHANCEMENT 1  Z_EV_IMP_GOODSMOVEMENT.    "active version
    Populate the delivery note quantity and UoM
    IF IMSEG-ERFMG IS NOT INITIAL.
      MOVE IMSEG-ERFMG TO IMSEG-LSMNG.
      MOVE IMSEG-ERFME TO IMSEG-LSMEH.
    ENDIF.
    ENDENHANCEMENT.
    Thanks,
    Mahesh.Gattu
    Edited by: Maheshkumar gattu on Dec 3, 2010 4:35 PM

  • I need a BAPI or function that can create a PO without the purchase req.

    I need a BAPI or function that can create a PO without the reference to a purchase requisition. We are creating "direct POs" (with no reference to PR) manually. And we have a large amount of documents to create. I can't figure out if BAPI_PO_CREATE and BAPI_PO_CREATE1 can help us by doing this, because I've understood this BAPIs creates POs only with the reference to a purchase requisition.
    Thanks in advance!!
    Sebastian

    Sorry I'm late guys, I couldn't replay your posts because I was busy.
    Charlie,
    ...just because we have the data already in the SAP system.
    My client doesn't want purchase requisitions to be created from the PM orders. Instead he asked us to create the purchase workflow by generating direct purchase orders from the PM orders, basically taking the information from the purchase agreement within the order's tasks. Maybe you don't understand a bit what I'm saying, but let me get this straight: we can't use LSMW because data doesn't come from a legacy.
    Ian,
    ...after all, and like you've said, we're gonna use BAPI_PO_CREATE1 for creating the POs. Today I finally realized that, purchase requisitions aren't mandatory for the bapi to perform the process. If something goes wrong, I'll let you know.
    Thanks anyway for your attention.
    Sebastian

  • 8.1 - Need behavior of a task FIFO queue that can update the UI

    I need behavior of a task FIFO queue that can update the UI.
    Background Task seems a bit overkill.
    ThreadPool is not available in 8.1.
    I was considering an implementation using ConcurrentQueue<Action> in a long running task.
    Design pattern suggestions?
    Thanks

    Use the Windows Runtime's Windows.System.Threading.ThreadPool
    , not .Net's System.Threading.ThreadPool.
    You can use Intellisense to help find the reference if you don't explicitly fully qualify the class. Select the red-squiggled ThreadPool symbol in the editor and a lightbulb (on VS2015) or a blue box (on VS2013) widget will appear to offer fixes. Click for
    a dropdown or use the Ctrl+. keyboard accelerator. Here's the VS2015 version:
    See my video blog
    http://channel9.msdn.com/Series/Windows-Store-Developer-Solutions/Visual-Studios-Red-Squigglies for a visual overview of this feature.

  • Looking for app that can connect iPhone / Ipad to generic bluetooth camera

    looking for app that can connect iPhone / Ipad to generic bluetooth camera

    I doubt that you will find one. I have not heard of BT cameras.

  • 6 days in and being billed for calls that can't ha...

    I opened up my relationship with BT on 16th December 2013. The engineer called and set up my wifi, TV and phone line. I didn't buy a phone until Friday 20th December and when I plugged it into the land line, it didn't work and BT confirmed that there was a fault at the exchange. I then look at my first charges on line and see that there have been 2 calls charged to my line on Tue 21st Dec and one on Wed 22nd Dec which is impossible as I didn't have a phone until Friday 20th. The billing department can't tell me why this has happened. So the position I'm now in is that the engineer can't attend to my issue at the exchange until 27th Dec and I don't have confidence in the BT billing system until BT tell me why I have been billed for calls that can't have been made from my number.
    Solved!
    Go to Solution.

    Possibly your line is crossed with another one, and they made the calls. Keep a note of the numbers that have been called, and hopefully you can sort it out with BT when your line is working.
    If you call your number using a mobile, see who answers the call, as they would be the ones using your line, and you can ask them who they are, and what they think their number is, as they may be unaware of a fault.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Any suggestions for programs that can convert mpeg1 to a format that can be edited in iMovie Version 8.0.6 (821) and/or iMovie HD Version 6.0.3 (267.2) Thanks

    Any suggestions for programs that can convert mpeg1 to a format that can be edited in iMovie Version 8.0.6 (821) and/or iMovie HD Version 6.0.3 (267.2) Thanks

    Hi Mark
    Was just looking for the answer to this exact question and I just found something that worked for me so don't know if it might be of use to you or you might have already solved your problem!  Basically when I was in iMovie and I clicked to import movies from the computer into iMovie and I found the clip I wanted to import, there are a few options.  I think it asked which Event I wanted to add it to but most importantly it asked me what file size I wanted...I had originally been clicking Large because it advised me to because it reduces the file size...but just on a chance there I selected 'Full - Original' for size and it imported perfectly into iMovie in it's original vertical form!
    Hope this helps!
    Bianca

  • BAPI for MIGO with respect to Outbound delivery or Stk trfer pur order

    please let me know is there any standard BAPI for MIGO transaction with respect to Outbound delivery or Stock transfer purchase order

    try these...
    BAPI_OUTB_DELIVERY_CONFIRM_DEC
    BAPI_OUTB_DELIVERY_SAVEREPLICA
    BAPI_OUTB_DELIVERY_SPLIT_DEC

  • Is ther a BAPI or RFC that can read any table ?

    I want to read 35 tables in SAP database. Is ther a BAPI or RFC that can read any table ?
    If I use RFC to read these tables, I will write a lot of codes. It may be a large work.

    Check these FM
    RFC_READ_TABLE
    RFC_GET_TABLE_ENTRIES

  • Is there any bapi for gr gaulty materials update

    hi gurs,
    is there any standard bapi for GR faulty materials update.

    try to use BAPI_PO_CREATE1.

  • Hi Just been into the apple store and the assistant told me about Pages / Keynote and Numbers for mac that can be downloaded for free. When I've searched on the app store there is only a paid version! can anyone confirm that there is a free version?

    Hi Just been into the apple store and the assistant told me about Pages / Keynote and Numbers for mac that can be downloaded for free. When I've searched on the app store there is only a paid version! can anyone confirm that there is a free version?

    See Apple Up-To-Date Program
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=429&mforum=iworktips ntrick
    Make sure your Mac is set to English before you go to the App Store.
    Be warned however thast Pages 5, with a few exceptions is actually a downgrade with over 90+ features removed:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&mforum=iworktipsn trick
    Peter

  • Not offering 6.1.6 security update for devices that can be updated to ios7 is unethical

    As a loyal apple customer for 25 years I'm extremely disappointed that Apple is refusing to offer the security update for a major security flaw for those using newer hardware who don't want to otherwise want to update to ios7. Forcing me to update to ios7 to have a secure phone is beyond unethical. Shame on you Apple.

    Apple aren't here, so shaming them here is pointless.
    For devices that support iOS 7 the fix is in iOS 7.0.6. For devices that only support iOS 7 the fix is in iOS 6.1.6
    It's quite simple to understand. Apple always encourages people to use the latest OS their device supports. I doubt that is going to change.
    It's your choice to remain on iOS 6 against Apple's advice. Therefore you accept the consequences of your actions.
    You want the fix? Then you use the version of iOS for your device that contains it.
    Good luck with your class action lawsuit!!!! Haha!

  • Is there a way to create a calendar for keynote that automatically updates to current month?

    I use keynote presentations for teaching foreign languages and wanted a calendar that updates automatically to current month everytime I present it rather than making it manually each month.  I'm wondering if it can be done using the keynote date/time functions?  Thank you.

    Creating a whole interactive calendar for a month in a table could be done I suppose, but it's an awful lot of work for something that might be solved more easily in other ways.
    IF you have a constant internet connection when you're teaching, create a Hyperlink on a blank Keynote slide to a web calendar, such as Google Calendar (or perhaps a school district calendar?) and enable it in the slide with Inspector, Hyperlink (blue circle with arrow icon 2nd from the right).
    If you don't have web access on your teaching computer while you're teaching, I'd still probably capture a screenshot of the each monthly calendar and use that, updating to the current slide once a month. If you're usually too busy to remember to capture a new calendar on the first of the month, create a whole year of screen captured calendars at one time, add them to separate Keynote slides, and then just 'Skip Slide' all the months you aren't using. Not cool and interactive, but it would solve the problem. You might want to rename the screen captures to the month name before adding them as slides for ease of locating them later.
    Since you're teaching foreign languages, in my sample below, I changed my default Google Calendar language to German. (Unfortunately, I left US Holidays enabled, so they aren't 'auf Deutsch', but you get the idea.) Understand that when you switch language in Google Calendar (or other Google app), it will switch ALL of your Google screens to that language, so be sure you remember which 'buttons' to push to change it back to English later!
    Bring up your calendar onscreen in your browser and use Command+Shift+3 to capture the whole screen or Command+Shift+4 to capture just a portion of the screen. Once saved, insert the saved calendar into a Keynote slide.
    Now, if that's more than you need, if you just want to display the date information in English as current weekday name, monthname, date number, and year, that's pretty simple.
    Use the now() or today() function, you can create a simple table and add the following functions in separate cells, beginning each cell entry with the = sign (so the table 'knows' it's a function, and not just text:
    =DAYNAME(NOW())
    =MONTHNAME(MONTH(NOW()))
    =DAY(NOW())
    =YEAR(NOW())
    And it displays like this on a slide:
    Hope that helps!
    Message was edited by: kostby

  • BAPI for budget change and update

    Hi,
    I am looking for a BAPI which can update the SUPLLEMENT field(budget change) for transaction CJ37.
    The importing parameters are the following : Project Definition, WBS element, period and supllement value.
    The BAPI  BAPI_EXPENDITUREPROGTREE_CHVAL  doesnt have the importing parameter (definition, WBS element).
    Please help.

    Hi,
    There is no BAPI for FM9K.
    Regards
    Abhii...

  • BAPI for MIGO - Movement Type 122 - Return deliveries to vendor

    Hi,
    I've been reading about bapi's for migo and the most commom was: BAPI_GOODSMVT_CREATE
    But I want to do a Movement Type 122, and that is not supported by the BAPI.
    Any idea beside Batch Input ?

    Ildar,
    Try this:
    GOODSMVT_HEADER:
    PSTNG_DATE
    DOC_DATE
    REF_DOC_NO (mandatory)
    GOODSMVT_CODE = 01
    GOODSMVT_ITEM
    MATERIAL
    PLANT
    STGE_LOC
    MOVE_TYPE = 122
    ENTRY_QNT
    PO_NUMBER
    PO_ITEM
    MVT_IND = B (reference to the document that has the request )
                    MOVE_REAS (mandatory as well)
    Let me know if you need any further help.
    Francisco Coutinho,
    ToInovate

Maybe you are looking for

  • Java calendar works in IE but not in Firefox

    This Java code works in IE but not in Firefox - any ideas - tks <pre><nowiki><TABLE bgColor=#ffffff border=1 cellPadding=0 cellSpacing=3 id=calendar style="DISPLAY: none; POSITION: absolute; Z-INDEX: 4; left: 28px; top: 365px"> <TBODY> <TR> <TD colSp

  • Carbon and POSIX error codes

    Hi, Where can I find Carbon and POSIX error codes and their explanation? I'm specifically researching POSIX error 102 and Carbon error -1401 Thanks

  • Mouse-Over/Click to change content of Text/Images

    Hey, In the past i have seen website which have the ability for the user to select from images of news stories which would then change the content of the main frame depending on which one was moused over/clicked. I've checked for any way to do this o

  • Reg Build Error

    Hi All, I am using Export to Excel functionality in my application. When I am running my application, I am getting the following error. <i>     [wdgen] WARNING: Metadata of component ViewAdListNoPriceComp is not valid! ContextElementMapping "//WebDyn

  • Why don't PostScript printers work?

    The first PostScript printer I bought for my computer didn't work. I took it back to the store, thinking it was a problem with the printer. I bought a second PostScript printer, but it also doesn't work. So then I got suspicious that the problem may