Bapi_goodsmvt_create- serial numbers

hi!
i am using this bapi with code = 04(mb1b).
if i use material with no serial numbers the bapi works.
if i use material with quantity 2.00 for example and i load the table of the serialnumbers with two records,
i get error that there is a difference between the serial numbers.
there is the indicator xsaut in the item table do i need to set it? and what might be the problem?
thanks

Hi!
I guess, your numbering in serial number table is wrong - at least in following topic, it was the solution:
Serial No in BAPI_GOODSMVT_CREATE
You have to fill '0001' (e.g. sy-tabix of GOODSMVT_ITEM) into  GOODSMVT_SERIALNUMBER.
Regards,
Christian

Similar Messages

  • 'Maintain serial numbers for total quantity error in bapi_goodsmvt_create

    HI Experts,
    I am doing a goods movement programatically by using BAPI_GOODSMVT_CREATE.
    Though I am passing the serial no. for the document item still I am getting an error: 'Maintain serial numbers for total quantity'.
    My code goes like this:
    *-- Read all the items for the item category belonging to the plant
         loop at lt_lips into lw_lips where pstyv is not initial.
    *-- Process the goods movement -  Fill the data
              lw_gmvt-material = lw_lips-matnr.
              lw_gmvt-plant = lw_cat-werks.
              lw_gmvt-stge_loc = lw_cat-lgort.
              lw_gmvt-batch = lw_lips-charg.
              lw_gmvt-move_type = lw_cat-bwlvs.
              lw_gmvt-customer = <st_xvbpa>-kunnr.
              lw_gmvt-s_ord_item = lw_lips-posnr.
              lw_gmvt-entry_qnt = lw_lips-lfimg.
              lw_gmvt-entry_uom = lw_lips-meins.
              lw_gmvt-entry_uom_iso = lw_lips-meins.
             lw_gmvt-ref_doc = xlikp-vbeln.
              lw_gmvt-quantity = lw_lips-lfimg.
              lw_gmvt-base_uom = lw_lips-meins.
              append lw_gmvt to lt_gmvt.
              clear: lw_gmvt.
    BOC for serial numbers
              if lt_ser02 is not initial and lt_objk is not initial.
                clear: lw_ser02,
                       lw_objk.
                read table lt_ser02 into lw_ser02 with key sdaufnr = cvbak-vbeln
                                                           posnr = lw_lips-posnr
                                                           sd_postyp = lw_lips-pstyv binary search.
                if sy-subrc = 0.
                  read table lt_objk into lw_objk with key obknr = lw_ser02-obknr binary search.
                  if sy-subrc = 0.
    *-- Check if serial number is populated
                  if lw_objk-sernr is not initial.
    *-- Fill the serial number table for BAPI movement
                      clear: lw_sno.
                      lw_sno-matdoc_itm = lw_lips-posnr.
                      lw_sno-serialno = lw_objk-sernr.
                      append lw_sno to lt_sno.
                  endif. "Serial number not initial
                  endif. "OBJK read
                endif. "SER02 read
              endif. "SER02 and OBJK is not initial
    EOC for serial numbers
            endif. "Category table read
            clear: lw_cat, lw_lips.
         endloop.
    *-- Execute the BAPI only if item table is filled on the above condition
         if lt_gmvt is not initial.
    *-- Fill the header details
            lw_header-pstng_date = xlikp-erdat.
            lw_code-gm_code = lc_03.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
              EXPORTING
                GOODSMVT_HEADER               = lw_header
                GOODSMVT_CODE                 = lw_code
               IMPORTING
                MATERIALDOCUMENT              = lv_mblnr
                MATDOCUMENTYEAR               = lv_mjahr
              TABLES
                GOODSMVT_ITEM                 = lt_gmvt
                GOODSMVT_SERIALNUMBER         = lt_sno
                RETURN                        = lt_return.
    Please suggest.
    Regards,
    Sangeeta.

    Hi Banerjee,
    Actually we are trying to use the same bapi from se37, we are passing all the details which is required to process the bapi_goodmvt_create. But still the bapi returning the same error what sangeeta got in the above. Can you please guide me how to achieve this.
    how the values has to pass to the Serial Number?
    What exactly meant by Counter Values ?
    Regards,
    Siva

  • How to update serial numbers in function module BAPI_GOODSMVT_CREATE

    Hi,
    Can you please let me know how to update the serial numbers for the movement type 561,563 and 565 with the material, plant,  storage location, quantity and Unit of measure values using BAPI_GOODSMVT_CREATE

    Hi,
    Can you please let me know how to update the serial numbers for the movement type 561,563 and 565 with the material, plant,  storage location, quantity and Unit of measure values using BAPI_GOODSMVT_CREATE

  • Create Serial Numbers

    Hi Experts,
    I am using a bapi, BAPI_GOODSMVT_CREATE to create new serial numbers in the system. Following are the inputs that i am passing to the bapi.
    wa_header-PSTNG_DATE = sy-datum.
    wa_code-GM_CODE = '05'.
    wa_item_create-material = matnr (The concerned material number).
    wa_item_create-PLANT = plant
    wa_item_create-MOVE_TYPE = '501'.
    wa_item__create-ENTRY_QNT = '1'.
    wa_item_create-ENTRY_UOM_ISO = 'EA'.
    append wa_item_create to gt_item_create.
    wa_serialnum-MATDOC_ITM = '0001'.
    wa_serialnum-SERIALNO = 'ABCD-00044' (The required serial number to be created)
    append wa_serialnum to gt_serialnum.
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
      EXPORTING
        goodsmvt_header               = wa_header
        goodsmvt_code                 = gm_code
      TESTRUN                       = ' '
      GOODSMVT_REF_EWM              =
    IMPORTING
      GOODSMVT_HEADRET              =
      MATERIALDOCUMENT              =
      MATDOCUMENTYEAR               =
      tables
        goodsmvt_item                 = gt_item_create
       GOODSMVT_SERIALNUMBER          = gt_serialnum
        return                        = gt_return
      GOODSMVT_SERV_PART_DATA       =
      EXTENSIONIN                   =
    After executing this FM, I get a screen which unfortunately i cant paste it here. This screen is same as the screen that appears in MIGO while creating serial numbers. To give you idea about the screen, it has following fields - Division, Device category, Serial Number,
                                        manufacturer, Model number, Construct year,
                                        Cert Year, Cert No.  and many more.
    As this screen appears, I tried to enter the relevant fields but the control does not move to next screen.Every time info message is displayed as "Function code cannot be selected.
    Can anyone please help? Or can anyone suggest a FM to create serial numbers in the system through
    program?

    hI,
    Here is the simple way can you try this,,
    Execute the transaction SNRO and define the number ranges,, call this in your program using f.m. get_number_next and pass the object if as '1' and object name as what you have used while creating number ranges. it will gives u the serial number.....
    Thanks and Regards,
    Thirukumaran. R

  • Goods Receipt and Serial Numbers

    I'm getting the following error "[IGN1.WhsCode][line: 1] , 'This entry already exists in the following tables (ODBC -2035)'" when trying to add a goods receipt document containing a single item that is serial number managed via the DI API.  We are running against Business One version 2005A SP01 PL9.  The Goods Receipt PO transaction is reporting the same error.  The Goods Issue and Delivery transaction appeared to work correctly. The Goods Receipt transaction posted correctly when created in the B1 Client (GUI) application.  So it is an issue with the DI API.  We are using the SBODemo_US company database but we added a new item and configured it for serial number management.  This same code works with B1 2004A.  Our application is suppose to work with both versions of B1, so our application is built with version 2004A DI API.  Should this work, or do I need to use the 2005A version of the DI API when communicating with a 2005A system?  Would this version of the DI API work correctly with a 2004A system?
    Thanks,
    Jason Eiler

    I remembered encountering the same problem working with B1 2004A.  For the Goods Receipt and Goods Receipt PO documents, when receiving items that are serial managed I would fill in the InternalSerialNumber data member of the Document Lines Serial Numbers object.  The fix was I also had to provide some value for the SystemSerialNumber field.  I just always set it to a value of 1.  In B1 2005A, this issue must have been resolved, because when I commented out this line of code, the document was added successfully.  I don't have to provide a SystemSerialNumber, the system must generate one, as I would expect.

  • I have adobe elements 6 program and my disk got distorted.  i have all my serial numbers still as i have all packaging.  is there a way the program can be downloaded.  my computer had to be wiped out and was trying to reinstall

    hi.  i have the adobe elemenets6/premiere elements 4 package and my disk has gotten destroyed from getting all scratched up.  my laptop i had my program on had to be wiped out and everything has to be reloaded.  is there a way the program can be downloaded from the internet? i have the packaging still where it shows my serial numbers.

    iPods do not work with "accounts."  They work with your iTunes library.  You don't have to set up a new iTunes library for each iPod.  One iTunes library can sync with as many iPods, iPhones, and iPads as your own, at the same time.  iTunes connects to and treats each device separately.
    However, if your iPod nano is set up for automatic syncing with an iTunes library that is NOT your current iTunes library, you cannot sync your current library to it without replacing its existing content.  Do you have access to the previous iTunes library, the one the iPod currently synced to?  If so, you should transfer your song files from that iTunes library to your current iTunes library.  Then, sync our iPod to your current iTunes library.  You can post back to get more info about the procedure.
    If you don't have access to that previous iTunes library, the approach is to first offload the song files from the iPod to your computer's drive, then add the song files to your current iTunes library.
    You cannot use iTunes to transfer song files from iPod to computer, except for songs purchased from the iTunes Store.  However, there are third-party methods and utilities that can transfer from iPod to computer.  If you do a Google search on something like "ipod transfer," you should get some links.
    You can then sync your iPod to your "consolidated" iTunes library.

  • I have just purchased photoshop elements and premiere package. I tried to download them but it tells me the serial numbers are inapplicable. I notice the platform says windows and I am using a mac book pro.  It didn't give me an option when purchasing. wh

    I purchased Photoshop Elements and Premiere package today.  I have been trying to download them but it tells me the serial numbers are inapplicable.  I am using a mac book pro and I have just noticed that the platform in my receipt says 'win" .  I don't remember being given an option for mac or windows  when purchasing.  what can i do now?

    Return, cancel, or exchange an Adobe order

  • Serial numbers on sales orders

    Hi
    can somebody tell me how do we maintain the serial number in Sales order in VA01/02...
    Inputs on SD serial numbers also welcome
    Thanks
    Muthu

    hi,
    You can get the information you need in the below link
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOMDSN/LOMDSN.pdf
    page no 17
    thanks
    krishna prasad

  • Goods movement with serial numbers

    Hi,
    1. Is there any report or table where I can see goods movement of material with their serial numbers?
    2. Also in MMBE i can see 'On order stock'. I know this is PO open PO quantity.
    Now this open PO qty will not be there against any storage location. I got some stock on this status in some storage location.
    How I can move to 'unrestricted stock' status?
    Please advice.

    Hi
    Check these tables,
    SER00 General Header Table for Serial Number Management
    SER01 Document Header for Serial Numbers for Delivery
    SER02 Document Header for Serial Nos for Maint.Contract (SD Order)
    SER03 Document Header for Serial Numbers for Goods Movements
    SER04 Document Header for Serial Numbers for Inspection Lot
    SER05 Document Header for Serial Numbers for PP Order
    SER06 Document Header for Serial Numbers for Handling Unit-Content
    SER07 Document Header for Serial Numbers in Physical Inventory
    And in order to move On Order stock to Unrestricted you need to close those POs by doing GR.
    Hope it helps
    Rgds
    ramesh

  • Goods movements of material with serial numbers

    Hi,
    1. Is there any report or table where I can see goods movement of material with their serial numbers?
    2. Also in MMBE i can see 'On order stock'. I know this is PO open PO quantity.
    Now this open PO qty will not be there against any storage location. I got some stock on this status in some storage location.
    How I can move to 'unrestricted stock' status?
    Please advice.

    Hi,
    Is Serial number is the one obtained thro stadard batch management or is it a Zfield.
    On Order stock cannot be converted to unrestircted stock unless a GR is made.
    With regards,
    Jeeva

  • Serial numbers stock on posting date

    Hi,
    user want's to know the serial number stock on a specific date.
    I know MB5B which shows me the stock on the desired day. Now they want to know the different serial numbers to the stock count out of MB5B.
    Material 13498 Stock on 01.01.2009: 188 PC
    Serial numbers: C1101, C1102, C1103, ....
    Any ideas?
    Thanks for your support, regards martin

    HI,
    Try IQ09 or
    Have a look at the following programs:
    RIMMSF00: Stock validation
    RISERNR9: Copying of the changed stock flag
    Thanx
    MK

  • Delivery notes and serial numbers

    Hi
    I have a simple SQL question.
    How do I get the serial numbers in "plain SQL"?
    The SDK "Help Center" shows that I can get the delivey notes from the ODLN table and then dig into the DLN1 rows and get the list of items. However, serial numbers are within the OSRI table (OSRI.IntrSerial).
    How can I "bridge" DLN1 with OSRI? Or, how do I get all serial numbers related to an item of a delivery note in "simple SQL selects"?

    Hi Vieri.
    You have to link to table SRI1 where saves the transactions you made with transactional documents where includes items with serial numbers. The query could be as follows:
    SELECT ODLN.DOCDATE, ODLN.DOCNUM, OSRI.SUPPSERIAL  FROM OSRI
    JOIN SRI1 ON (SRI1.SYSSERIAL = OSRI.SYSSERIAL)
    JOIN ODLN ON (ODLN.DOCENTRY = SRI1.BASEENTRY)
    JOIN DLN1 ON (DLN1.ITEMCODE = OSRI.ITEMCODE)
    WHERE ODLN.DOCENTRY = 5
    ORDER BY ODLN.DOCDATE DESC
    I don´t know by the moment if via SDK you can read this information.
    I hope it helps.
    Best regards.
    Rafael Monge.
    SAP Business One development consultant.

  • HT1329 How do you deauthorize ipods that no longer work or have been stolen. What does it mean that you only have 5 devices that can download your itunes library. How do you deactivte old serial numbers and add new ones as of now we only have one ipod

    Over the years we have owned many i-pods. Most of them ran out of juice or were just outdated some even stolen. As of right now I have one i-pod that should be authorized to download music from my library. I plan to get a new one. My question is how do you deactivate all the old i-pods so that i-tunes doesnt think I have all these pods downloading from my personal lbrary of music. If I get a new one and plug it in it will say you are authorized 1 or 2  or whatever it is at this point to download music from this libtary. How to I get rid of all the old devices (serial numbers) that don't draw from my i-tunes library anymore?

    Ipods/iphones/ipads/apple tvs are not authorized at all.
    Authorization applies ONLY to computers.

  • Missing Serial Numbers for Adobe Creative Suite 5 Web Premium

    I purchased Adobe Creative Suite 5 Web Premium with the education discount in 2010.  My computer crashed and I am trying to install the software on my new computer.  I do not have the serial numbers anywhere.  For some reason, the Adobe Acrobat 9 serial number was saved in my Adobe Account.  However, the remainder of the applications, which were installed on the same day, were not saved in my account?  So now, I have no way of installing anything except Adobe Acrobat 9.  Is there a way to have a new serial number issued to you?  Or a way for Adobe to  use my Acrobat 9 serial number to track down the others?  I have all the installation files.  Is it hidden in one of those files possibly?

    Try chat, they might be able to assist you in finding it thru your account.  You might be able to use the Acrobat info to convince them that you also have the CS5 under your account.
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • My computer has died and I've had to by a new one. I can no longer access my Creative Cloud serial numbers?

    Hello
    My computer has died and I've had to by a new one. I have a creative cloud account registered under my email <Removed by Moderator> for both Photoshop CC and Lightroom 5 which I pay for via Direct Debit.
    I no longer have the Creative Cloud app but downloaded both programs to my new iMac. Photoshop works fine but Lightroom is still on trial purchase and asks for serial number. My account page on your site has no record of my CC account and shows no serial number for my purchased products. (It only lists a previous purchase of Lightroom-4)
    How can get the serial numbers to my purchased products when they don't appear on my account settings on your website. Do I need to close my account a open a new one?

    Hello Ratandeep
    I pay £8.57 for my Creative Cloud purchases of both Photoshop CC and
    Lightroom-5 via my Barclays Bank Account to Adobe in Ireland. The last
    payment was 13 Aprii 2015. Two weeks ago.
    Now I have a new computer. I can sign into my Creative Cloud but it says I
    have a 'Creative Cloud free account' as I'm using trial versions. I do not
    have a redemption code as I must of lost it when my old computer died. I
    can get online so that is not an issue.
    When I sign in to my account the Creative Cloud products do not appear
    under my purchases so I cannot view serial numbers or change the credit
    card I pay with. It seems that your website and my account section do not
    know I am making regular monthly payments for CC.
    If you check I am actually making the payments as I describe can you please
    let me have my serial numbers.
    MANY THANKS
    Mike
    On Saturday, April 25, 2015, Ratandeep Arora <[email protected]>

Maybe you are looking for

  • How to transfer Line Items

    Hi How to transfer Line Items from One GL account to another GL account. We, at the time of changing Non Open Item Manged account to Open Item Manged account, how can we transfer Line items to make this GL account Zero, If suppose line items are more

  • Error while connecting to Access Database from Oracle

    Dear All, I'm trying to connect Oracle 9i to Access Database. but im getting the below error while executing query. ERROR at line 1: ORA-28545: error diagnosed by Net8 when connecting to an agent NCRO: Failed to make RSLV connection ORA-02063: preced

  • Can't install Windows 8.1 update on my HP Envy TS M6 Sleekbook

      I have all current drivers and software.  It came with Windows 8 and I am trying to install 8.1.  It does well until the restart.  I do the restart and it gets part way through and the screen goes dark and hours later the screen is still dark.  I p

  • AQ EXCEPTION_QUEUE Configuration

    Hi, im traing to configure a Normal_queue that with a Exception_Queue, but i need some customization. Y need by default that all message in the exception queue have MAX_RETRIES = 3 and RETRY_DELAY= 1 hour, but y dont find the way to do it.

  • Error: no shockwave found, but installed (BWIN Skillgames)

    Greetings, I have a trouble, that I dit not manage to resolve... i am suspecting something, but don't know how to resolve it. Could anybody help me with this issue? The problem is that i cannot play the Shockwave content on Bwin.com (skillgames). An