Serial no with BAPI_GOODSMVT_CREATE

I'm using BAPI_GOODSMVT_CREATE and it seems okay, but sometimes I got the error
"Exactly 2 serial numbers must be selected (instead of 2)"
Sometimes there a lot of messages, but the message is the same, but only the quantity that's change - but if I run the program again and again, the message disappears, so I can't debug because I don't know if the error is gone .
Anybody who knows what the problem can be?

Hi,
When you do goods movement for a serial number managed material then you should have respective number of entries in table "GOODMVT_SERIALNUMBER" of the BAPI. If the quantity is 4 then you should have 4 unique entries in the table. Put a debug point before calling this BAPI, and check entries in this table. Make sure it is equal to quantity you are trying to move. Also these serial numbers should be in the stock.
If the material is not serial number managed then it is not required.
Cheers,

Similar Messages

  • My 3rd iphone. 3GS I did not buy from an apple store, how do I register this serial number with my apple account? it is already sync to it and will preform every function except email to my home computer. It says apple ID disabled

    My 3rd iphone is a 3GS. I did not buy this one from the apple store, how do I register this serial number with my apple account? it is already sync'd and it and will preform every function except email to my home computer. It says apple ID disabled, also will not update my apps, same promt apple id disabled.
    anyone know where I can go to register this phone? Thanks

    https://register.apple.com

  • I have bought Adobe Photoshop Elements 13 and I try to get my serial number with my activation ID but I get a message that my ID is not good. What can I do?

    Where can I get a serial number with my activation ID if it dosen't work on the ADOBE site?

    Well, for your ID just use the ID and password you're using here. If you meant your redemption code rather than your ID, try this:
    Redemption Code Help

  • Post Goods Receipt for Inbound Delivery with BAPI_GOODSMVT_CREATE

    Hello,
    I try to post GR for an Inbound Delivey with BAPI_GOODSMVT_CREATE and it is not working.
    I know delivery number and PO number and give both to the bapi.
    I am not sure how to set the movement indicator in the item.
    When I set it to B.
    I do get a shortdump from MB_POST_GOODS_MOVEMENT numer 143, stating that this type of movement is not allowed with this transaction
    when setting to L I do get an error stating
    "Update control of movement type is incorrect (entry 101 X X _ L)"  from message class M7.
    Below is the coding for it.
    Thank you very much for your help
    Michael
    * Füllen der Kopfdaten
      ls_gm_header-pstng_date = sy-datum.
      ls_gm_header-doc_date = sy-datum.
      ls_gm_header-ref_doc_no = delivery_header-lifex.
      ls_gm_header-bill_of_lading = delivery_header-bolnr.
      ls_gm_header-gr_gi_slip_no = delivery_header-xabln.
      ls_gm_header-pr_uname = sy-uname.
      ls_gm_header-ref_doc_no_long = delivery_header-lifex.
      ls_gm_header-bill_of_lading_long = delivery_header-bolnr.
      lv_gm_code = '01'.
    * Füllen der Positionsdaten
      LOOP AT selected_delivery_items INTO ls_delivery_item.
        ls_gm_items-material          =  ls_delivery_item-matnr.
        ls_gm_items-plant             = ls_delivery_item-werks. "             0001
        ls_gm_items-stge_loc = ls_delivery_item-lgort.
        ls_gm_items-move_type ='101'. "101
        ls_gm_items-entry_qnt                      = ls_delivery_item-lfimg. "          10,000
        ls_gm_items-entry_uom                      = ls_delivery_item-vrkme.
        ls_gm_items-po_number                      = ls_delivery_item-vgbel. "55001582
        ls_gm_items-po_item                        = ls_delivery_item-vgpos. "00010
        ls_gm_items-mvt_ind = 'B'.
        ls_gm_items-expirydate = sy-datum + 30 .
        ls_gm_items-deliv_numb = ls_delivery_item-vbeln.
        ls_gm_items-deliv_item = ls_delivery_item-posnr.
        APPEND ls_gm_items TO lt_gm_items.
      ENDLOOP.
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header               = ls_gm_header
          goodsmvt_code                 =  lv_gm_code
    *     testrun                       = 'X'
    *   GOODSMVT_REF_EWM              =
       IMPORTING
         goodsmvt_headret              =  ls_gm_header_ret
         materialdocument              = lv_mat_docno
         matdocumentyear               = lv_mat_year
        TABLES
          goodsmvt_item                 = lt_gm_items
         goodsmvt_serialnumber         = lt_gm_serial_numbers
          return                        = lt_return
      if lt_return is INITIAL.
      endif.

    Hello Pranav,
    the input for the business data is correct.
    When performing the goods receipt with Migo it works.
    I think the B in the movement indicator is correct, but there might be something wrong with the other data.
    Best regards
    Michael

  • Need formula to take text from one cell, add that to a serial number with leading zeros

    I'm trying to create a spreasdheet cell that simplifies creating videotape Numbers from a job name in cell and appends a serial number with leading zeros, and that would survive an export to EXCEL.
    The result would look like
     A Column
    Job Name
    B ColumnTape #
    Formula needed for B
    ClientName-TapeType-
    ClientName-TapeType-001
    =
    ClientName-TapeType-
    ClientName-TapeType-002
    =
    I've tried using a custom cell format that had the text in front of the (Integer) drag and drop, with three integers and leading zeros.
    That worked, but requires recreating the custom cell format for each client and tape type.
    So, I've used the formula =A2& in order to play around with different things, but haven't hit on something that adjusts for increased numbers and retains the leading zeros.
    I don't mind doing a starter for the first row and then adding +1 in the formulas for the rows below.
    I've done that using the custom cell formats for the first B cell and then using =Bx+1 in the following cells.  It works, but I'm hoping to find something simpler or that can be copied and pasted in multiple rows on one paste.
    Thanks in advance.
    Suggestions much appreciated!
    Ted

    Ted,
    This expression in B will give you the pattern I believe you are looking for:
    =A&RIGHT("00"&ROW()-1, 3)
    Here's a screen shot...
    Jerry

  • Hi,  I lost my serial number for PS Elements11 following computer crash. Os is W7. I have the cd installation disc but there is no serial number with it or in the envelope  ..  How can I obtain the serial number please?     Thanks

    I lost my seriel number for PS Elements 11 following computer crash. Os is W7
    Peter Jones Aug 27, 2014 5:36 AM   
    Hi,
    I lost my serial number for PS Elements 11 following computer crash. Os is W7. I have the cd installation disc but there is no serial number with it or in the envelope
    How can I obtain the serial number please?
    Thanks

    If you registered the software you should be able to find the serial number thru your Adobe account online.
    To locate the serial number:
    http://helpx.adobe.com/x-productkb/global/find-serial-number.html

  • I'm trying to associate my iphone serial num with my apple profile, but the system say that the number is not good !

    I'm trying to associate my iphone serial num with my apple profile, but the system say that the number is not good !

    it is correct in this link;
    but in the https://supportprofile.apple.com/PramAddRegisterProduct.do
    the message indicate the (same) number is not valide

  • Adobe wont update my CS 5, it says i have the wrong serial number.  I have 2 serial numbers with my account, how do i switch the serial number in CS 5 to the other number?

    Adobe wont update my CS 5, it says i have the wrong serial number.  I have 2 serial numbers with my account, how do i switch the serial number in CS 5 to the other number?

    David,
    To switch, I am afraid you will have to reinstall using the other one.
    But that should hardly be necessary.
    If you can find no way, you may try a chat here,
    Creative Cloud support (all Creative Cloud customer service issues, chat open between 5AM and 7PM PST/PDT on workdays)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html
    or Adobe Support (phone) here,
    http://helpx.adobe.com/adobe-connect/adobe-connect-phone-numbers.html

  • Migration from Serial polling to Serial queue with event handler

    Hi, I am trying to migrate from classical serial polling communications to serial queue with "event handler" for the buttons pressed by the user. I have placed four while loops, one for the event handler, a second one for serial reading, a third one for serial writing (depending on what button was pressed) and the last one for processing what was read from the serial reading while loop, via a queue.
    My attached device reads the signals from 8 sensor ( 4 temperature and another 4 temperature plus humidity in the same sensor ) and send them via serial to Lavbiew.
    First of all, only once just after running the LV program, I must turn on my attached device with an ON command plus a carriage return after that the device will respond with the number of sensors plugged to it, disabling the corresponding buttons in the front panel. Then labview must wait until I pressed Acquire Button (event handler) and send a CF command plus what sensors to acquire plus a carriage return, then the device will respond continuously to labview with the sensor readings until I press the stop button (event handler), there is also another button to exit the program, also with event handler.
    I am having problems using the event handler and the queues because I am new using these structures, I have looked at  the LV examples but there is nothing concrete on using serial with event handler and queue.
    Take a look at my VI and you will soon notice what kind of problems I am having, any suggestions will welcome.
    Thank's in advance.
    Regards.
    Attachments:
    serial queue.zip ‏76 KB

    Hi Luisete,
    Maybe the problem arise because you are En- and DeQueue in parallel. You do a lot of things in parallel, that is nice if you are sure that one loop doesn't have to wait for another loop. Make sure you don't dequeue before enqueue.
    Hope this helps
    I never knew that the standard error cluster output could be wired directly to the loop control of a while loop.
    First time I see this

  • Link Serial Number With Batch Number

    Hi Gurus,
    I need to link the material serial number with the batch number.
    This link needs to be created in advance of the GRN.
    Then at the time of goods receipt the processor can select the serial numbers relevent to specific batch number.
    Please advice.
    Thanks in advance.
    NalindaR

    while config the serial number profile check if batch number field is there

  • I BOUGHT LIGHTROOM 5 IN LAREDO TX AND I TRIED TO GET IN MONTERREY MEXICO THE SERIAL NUMBER WITH THE REDEMPTION CODE BUT APPEARS AN ERROR. MY PC IS WINDOWS 8. COULD SOMEBODY HELP ME?

    I BOUGHT LIGHTROOM 5 IN BEST BUY LAREDO TX AND I TRIED TO GET IN MONTERREY MEXICO THE SERIAL NUMER WITH THE REDEMPTION CODE FROM THE BOX, BUT APPEARS AN ERROR. MY PC IS WINDOWS 8, COULD SOMEBODY HELP ME??

    I don't know that you can purchase Adobe software in the US for installing and using outside of the US.
    Redemption Code Help
    http://helpx.adobe.com/x-productkb/global/redemption-code-help.html
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Serializing text with component

    (Serializing text with component)
    The text is just ascii text, but it could be a considerable size (like 64k). The purpose would be to serialize, and then de-serialze all of this custom information I need for that component (and some other stuff). An example would be to save a list of names with my 'Name' component.
    I don't see any evidence that it is possible...
    Thanks,
    JR

    Well, imagine if we had to do serialization in this
    manner (i.e. manually). Not a pretty picture in my
    opnion...sure, that's why the API exists... don't take it the other way round and apply serialization to every single piece of data
    why do you think that serialization is easier btw ? here's the non-serialized version :
    Writer writer = new FileWriter(filename);
    writer.write(value); // I assume your text is available in a String named 'value'
    writer.close();and here it is with serialization :
    JButton container = new JButton(value);
    FileOutputStream fos = new FileOutputStream(filename);
    ObjectOutputStream outputStream = new ObjectOutputStream(fos);
    outputStream.writeObject(container);
    outputStream.close();Serialization helps you serialize complex objects (like graphical components) easily. It's a relatively heavy mechanism (compared to regular file writing) and shouldn't be used as a standard way of writing text to a file.

  • Can i get my iphone 4 serial number with the IMEI number?

    My iphone is missing/stolen (probably stolen).  I'm trying to use the find my iphone app but need to add my iphone to my apple profile because it's a new phone and I hadn't done it yet.  I have the IMEI number but I don't have the serial number and I guess that is what apple wants because it keeps saying the number I give them is not valid.  Does anyone know if there is a why of cross referencing so that with my IMEI number I can get the serial number? OR is there anyway other than that to add my phone to my mobile me profile?

    With iTunes on your computer assuming you have synced your iPhone with iTunes and/or backed the iPhone up with iTunes.
    http://support.apple.com/kb/ht4061
    You shouldn't need the serial number with taking it to an Apple Store unless it has changed. Your cell phone number should be enough.

  • Include batch/serial numbers with Count Sheets

    When performing a cycle count for items that are managed by batch or serial numbers, it is necessary to record the count by batch or serial number, since discrepancies must be entered with this information.  There should be an option or alternative PLD layout that would include a list of batches or serial numbers with quantity > 0 in the warehouse.  Users could then enter the count for each batch, or check off the serial numbers that are counted.

    Hi Marcia,
    I just made a query to pull that data.  I had the item and item group table in there because we were filtering by item group.
    SELECT
      T0.[ItemCode]
      ,T0.[ItemName]
      ,T0.[BatchNum]
      ,T2.[ItmsGrpNam]
      ,T0.[Quantity]
      ,NULL as 'Counted'
    FROM
      OIBT T0 
      INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode
      INNER JOIN OITB T2 ON T1.ItmsGrpCod = T2.ItmsGrpCod
    WHERE
      T0.[Quantity] > '0'
    It will give you the list of all batches with quantities to count.  Then you can make a PLD query layout and print that.  Problem is you have to aggregate the items into a total by item code anyways for doing the counting, but then you need to have the batch data when posting.
    Hope that helps,
    Mike

  • Serial communication with forms developer

    How I can send character to a serial port with form developer 6.0 on winNT 4.0?
    Thank you, P. Guerriero.

    If you're using a serial connection can you talk to it using HyperTerminal, or equivalent serial communication program? You should check this first.
    More than likely the issue is with termination characters. Check the documentation to determine what termination characters need to be used when sending commands, and what termination characters are used to indicate the end fo a read. For commands it's usually just a carriage return, and for reading data it's usually a linefeed.

Maybe you are looking for

  • EPrint and Network Problems Photosmart All-In-One D110 Series

    Hello, Any help would be extremely appreciated as I have spent several days trying to figure this out with not much prevail!  My product installation said installed properly.  Blue wireless light is on in front of printer.  Shows onine and ready in p

  • Port replicator​, docking station 2504

    I need to ask dumb and dumber questions. First the dumb question.  I have a T61 that I upgraded to Windows 7.  I used the automatic driver utility and everything works fine, both docked in a 2504 or undocked.  I would like a more detailed user manual

  • Ocp exam info

    I took ocp exam back in 2003. i lost the result of that exam where can I obtain the result of that exam

  • Hide / Disable Front Panel

    Long story, long: I created a small utility as a VI.  The utility accepts command line arguments, reads a file, outputs (using .NET) to the console, and then should exit.  The front panel is blank, and the program should complete in a fraction of a s

  • Performance problem JSP/JSTL/DB

    Hello, I have the following code in my jsp page:      <sql:query var="rs" dataSource="jdbc/TestDB">           SELECT id, t, d, c, desc, cd, isActive, ct           FROM ram           ORDER BY i DESC;      </sql:query>      <pg:paging pageSize="50" ind