Mover Order API Serial Number

Hi All,
We have managed to create a sales order and pick release, the status of the line is "Released To Warehouse" with the next stage "Transact Move Order". Some of the items on the sales order are serial number controlled (serial numbers are generated upon receipt from purchase order), hence why the move order has not completed as it requires the serial numbers to be enetered to complete. I can manually do this via the move orders form and can see when I do this that the serial numbers are updated into mrl_serial_numbers_temp, query below for reference.
select wdv.source_header_number, wdv.delivery_id, mtrh.request_number, msnt.fm_serial_number, msnt.to_serial_number
from wsh_deliverables_v wdv, mtl_txn_request_lines mtrl, mtl_txn_request_headers mtrh,
mtl_material_transactions_temp mmtt, mtl_serial_numbers_temp msnt
where wdv.source_line_id = mtrl.txn_source_line_id
and mtrl.header_id = mtrh.header_id
and mtrl.txn_source_line_id = mmtt.trx_source_line_id
and mmtt.transaction_temp_id = msnt.transaction_temp_id
and wdv.source_header_number = '7010000538'
My question is can the move order update or serial numbers be doen via an API, if so which one?
Thanks in advance

Dear Colin,
Can you please tell me whats the value to pass for p_trx_tmp_id in API inv_trx_util_pub.insert_ser_trx ?
I guess, its not the same transaction_temp_id from MTL_MATERIAL_TRANSACTIONS_TEMP
Please let me know how to pass the value for that?
If you can provide a sample code, that would be gr8.
Thanks in advance.
Regards,
Jana

Similar Messages

  • Goods reciept through MB31 against production order using serial number

    Dear ALL,
    We are using MB31 for goods receipt against production order using serial number.
    First we do confrmation by tcode co11 and then recieve the material by mb31 against the order.
    I want that sysstem should not allow good reciept by mb31 more than the confirmation done in co11.
    Please suggest.
    regards,
    Pradeep

    Hi,
    There are two ways to control this problem; 1) User Exit    2) BADI
    1) User-Exit
    Enhancement: MBCF0002
    Function module: EXIT_SAPMM07M_001
    Code for your copy pasting in the source code of ZXMBCU02.
    Remember to activate the program. In SMOD enter the enhancement, press F8 and then click on activate button.
    *& Include ZXMBCU02
    data it_afvv like afvv occurs 0 with header line.
    tables: afvv, afko, afpo.
    data tot_gr like mseg-menge.
    If i_mseg-bwart = '101' and i_mseg-aufnr is not initial.
    select single * from afko where aufnr = i_mseg-aufnr.
    select * from afvv into table it_afvv where aufpl = afko-aufnr.
    sort it_afvv by aplzl descending.
    read table it_afvv index 1.
    select single lmnga from afvv into afvv-lmnga where aufpl = afko-aufnr and aplzl = it_afvv-aplzl.
    select single * from afpo where aufnr = i_mseg-aufnr.
    tot_gr = afpo-wemng + i_mseg-menge.
    if tot_gr > afvv-lmnga.
           MESSAGE 'GR Qty greater than Confirmation Qty of the last operation' TYPE 'E'.
    Endif.
    endif.
    2) BADI
    Implement the BADI for WORKORDER_GOODSMVT in this there is method
    MANUAL_GOODS_RECEIPT under that
    write you code here
    if_ex_workorder_goodsmvt~manual_goods_receipt.
    endmethod.
    Technical Logic
    Check the confirmation qty in AFVV table with production order get the last operation confirmation qty and subtract the Delivered qty. If this is Greater than or equal to the GR Qty entered in the screen allow the posting or through Error.
    Tables: S022, AFPO, AFKO, AFRU, AFVV
    Regards,
    Sankaran

  • Transact move order API for serial contril item in 10.5.10.2

    Hello Friends ,
    I need a Help from you , I am badly got struck up. I need to the transact move order part of O2C Cycle Using APIs.
    I Could complete the flow upto transact move orders, there i got struck up. Here i need to pass the serial numbers as some of the Items are serialized items.
    Can you plz suggest me.
    Its in Very Urgent.
    i am using version 11.5.10.2
    Regards
    Ganesh

    Hello Ganesh,
    Hope you have passes this issue.
    I am in the same boat, I need to find out the APIs to update the serial numbers on order at the time of allocation/transact move order step.
    Could you please help me with the process/steps/sample code involved in this.
    Thanks in advance!
    Raj

  • Error when doing GR for production order with serial number

    I'm not familiar with serial number and equipment management but I'm trying to help my user resolve this issue.
    This product is returned from customer site.
    I saw that this material is being reset in IQ02 from status in warehouse to become Available when the material is consumed in the production order via 261 movement type. So now the status is available. Then the user went to change a new serial number. Later, GR for production order is done in MB31. Errors are encountered when prompted to enter the new serial number.
    Configurations XX01 and XX02 are different
    Message no. CX126
    Configuration of serial number SN02 incompatible with document item
    Message no. IO226

    Hi..
    Can you please explain in detail, I facing same problem, while assigning unrestricted stock to sales order.
    Regards,
    Sumit Pukale

  • Tracking Goods movement based on Serial Number

    Hi All,
    I need expert advise on the following regarding the usage of Serial numbers from MM Perspective:
    1. Whether the Number range for Serial Numbers can be given. This is to take care of the Goods bearing serial numbers, being delivered by the external vendor. I have two options: one to update the stock with the same serial number as given by the vendor & the second is to generate my own serial number for the material.
    2. I also need to track the complete Goods movement based on the Serial Number of the material.
    Pls advise asap.
    Regards,
    Shekhar.

    Hi Kishore,
    Thnx for your prompt response.
    As requested, If I need to update the stock and want to continue with the serial number as given by the vendor (may be in the form of barcode), what config settings are reqd ?
    Secondly, pls advise whether we can assign Number range to the Serial Numbers. Then we need to work upon situation where the serial number provided by the vendor is beyond the specified number range.
    Pls advise.

  • User exit for sale order material serial number change

    I am looking for User exit for changing the serial number for the saleorder material va01.

    Hey,
      Check the include program : MV45AFZZ. it will trigger at the of saving the sale order.
    IF SY-TCODE EQ 'VA02' OR SY-TCODE EQ 'VA01'.
    Endif.
    Note : Write your coding inside the IF clause to avoid affecting the other transaction codes.
    Regards,
    Saravanan M

  • CO15 Production Order Confirmation - Serial Number

    Hi Friends,
    Kindly advise the Exits/Enhancements to enable the following entries while posting order confirmation through CO15 -
    a) Propose the default confirmation quantity (say,... always default to '1')
    b) Enter/include Serial numbers for the Finished product
    c) Enter/include Serial numbers for the Components being backflushed
    Best Regards,
    Senthil

    a) Propose the default confirmation quantity (say,... always default to '1')
    Specify the requirement
    b) Enter/include Serial numbers for the Finished product
    If the proper profile for serial number has been selected, then it is automatically proposed
    c) Enter/include Serial numbers for the Components being backflushed
    Not backsflush is allowed for component having serial number

  • Move Order API

    Hi All,
    Please advice how to modify move order by updating or deleting either by Interface or by API
    i have created Move order by API inv_move_order_pub but unable to modify or delete please advice.
    Thanks

    Hi;
    All APIs are listed in Oracle Integration Repository
    http://irep.oracle.com/index.html
    API User Notes - HTML Format [ID 236937.1]
    R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
    Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
    Technical Uses of Customer Interface and TCA-API [ID 269121.1]
    "12: How To Access API References via the Oracle Integration Repository" [ ID 462586.1]
    "Oracle Integration Repository Documentation Resources Release 12" [ ID 396116.1]
    Pelase also check below:
    Api's in EBS
    http://forums.oracle.com/forums/thread.jspa?forumID=39&threadID=984534&messageID=3890192#3890192
    http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
    API
    http://forums.oracle.com/forums/thread.jspa?threadID=1038379&tstart=0
    List of API
    http://forums.oracle.com/forums/message.jspa?messageID=4198097#4198097
    Oracle Common Application Components API Reference Guide
    download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
    List of APIs and open interface R12
    http://forums.oracle.com/forums/thread.jspa?messageID=2340033
    Regard
    Helios

  • Rework purchase order - serial number error message

    We created a sub-contracting purchase order for re-work so we are issuing same material and receiving same material. The corresponding material is serial managed. So we will issue the same serial number and we will recieve the same serial number in this scenario. While doing GR we are getting an error message by saying that we can't receive the same serial number for the given material. If any one come across this scenario please let me know the solution
    Thannks in advance

    Hi
                  This is an issue in ECC5.0. you can not receive the same serial number on rework purchase order if you have already executed a 541 movement on same serial number. You need to change the serial number status to receive it again into system.
    Try to change the serial number status from ESTO to AVLB in IQ02, if system doesn't allow to change the serial number status, you need to switch the serial number profile to a different one which will allow you to change the serial number status in IQ02.
    once you change the serial number status to AVLB, system will allow you to recieve the serial number
    Thanks

  • IO231: Stock data of serial number &1 not suitable for movement

    Hi experts,
    I have unique problem with serialized material posting.We are having serialized managed materials which are posted to quality inspection stock.The user was able to post partial quantity to unrestricted after usage decision but when tried to post remainig quantity it is giving error 'IO231: Stock data of serial number &1 not suitable for movement".I checked serial number history in iq02 & it shows that same serial numbers were used for some order in the past which is already delivered.I am not able to understand how it allowed to post same serial numbers again for the same material and if it is normal why it is giving above error when we try to post remaining quantity?
    I tried by changing serial profile in the material master with all optional fields and without stock check and equipment and try to post but its not working.
    I want to somehow post material to unrestricted use from quality inspection with or without serial numbers.
    I am working on 4.7 system
    Can u guys help me.
    Thanks & Regards,
    Sachin.

    Hi,
        Please check this SAP Note: 213861, 1229108
    From Note 213861
    Release 4.0A or 4.0B:
    Table T156S
    Maintain the data using Transaction SM31.Flag for transport using Transaction SE16.
    All entries for movement types 645 and 647 should be filled with '****' in field T156S-VRGNG.
    Release 4.5A or 4.5B:
    Table T156S
    Maintain the data using Transaction SM31.Flag for transport using Transaction SE16.
    All entries for movement types 645, 647 and 675 to 678 should be filled with '****' in field T156S-VRGNG.
    Release 4.6A to 4.6C:
    Table T156SY
    Maintain the data using Transaction SM30 using view V_T156SY.If necessary, manually flag for transport in this transaction.
    All entries for posting string references 645 or 647 should be filled in field T156SY-VRGNG_S or T156SY-VRGNG_H with '****'.
    For Note 1229108
    A correction instructions has given Please take help from BASIS Team....
    This will solve the Problem...
    Regards
    GK.
    Edited by: Gnana Kumar on Nov 3, 2010 7:16 AM

  • Stock data of serial number 90645 not suitable for Movement.

    HI Friends,
    We are having issue while doing return delivery for a service/Repair order, the serial number related error messages are coming.
    the error messages are
    1. Stock data of serial number 90645 not suitable for Movement.
    2 . Serial number can not be used here.
    3  termination of gods issue posting for delivery note 855222.
    The following points explain the scenario..
    1. The Previous and next documents are through with the post Goods receipt for the same  material with different serial numbers.
    2. The movemnt is 653 E
    3   Client placing one service/repair order and creating return delivry against this order and assign serial number and trying to post Goods receipt.
    4  The serial number profile is having Exist/ indicator for SDRE return delivery serial usage is 'optional' and Equipe' with equirement'
    Robert

    Hi Anybody come across this requirement.

  • Issue with Serial number inheritance in PP order

    Hi gurus,
    We have an issue with inheritaning component material serial no. to header material.
    For production order having different header material and component material,on GI, the serial no. assigned to component is inheritated to header material. We can see the serial nos. in order, Header --> Serails Numbers. This functionality has been implemented in BADI 'MB_MIGO_BADI' method POST_DOCUMENT' using FM 'SERNR_ADD_TO_DOCUMENT'.
    But, the issue is when the production order is having same header and component material. And on GI, the serial no. is not getting inherited into header material ie., the serial nos. are not visible in production order ,Header --> Serial Number.
    Is there any other FM for handling the serial numbers for order having having same header and component material?
    Note: The material is serialized material.
    Thanks & Regards,
    Chandra Sekhar.

    Tried the "live" chat. What a waste of time:
    Thank you for choosing Adobe. A representative will be with you shortly. Your estimated wait time is 0 minute(s) and 54 second(s) or longer as there are 1 customer(s) in line ahead of you.
    You are now chatting with Farook.
    Farook: Hello! Welcome to Adobe Customer Service.
    Farook: Please allow me a moment to review your request.
    Farook: Hi Martin.
    Martin: Hi.
    Martin: For reference the serial number is <deleted>
    Martin: Purchased from Amazon.co.uk in January.
    Farook: I understand that you are unable to install the software. Am I correct?
    Martin: No. I installed it, activated it fine on my laptop but when I tried to do the same on my desktop PC the serial number conflictr was detected and both are now blocked.
    Martin: Farook, I suspect you won't find this in your FAQs, since it isn't on the support website. Can you escalate?
    Farook: I am sorry to hear that.
    Farook: Can I have your full name and email address?
    Martin: Martin Lampard
    Martin: <deleted>
    Farook: Thank you.
    Farook: Martin, I am sorry, the serial number which you have provided has not registered with.
    Farook: Hence, you need to contact Amazon.
    Martin: Rubbish. I had activated it on my laptop. I am 100% certain.
    Farook: I understand Martin.
    Martin: How did you check the serial number?
    Farook: Could you please re-confirm me the serial number?
    Martin: <deleted>
    Farook: Thank you.
    Farook: Martin, I am sorry, you need to contact Amazon.com.
    Farook: I am sorry for the inconvenience caused to you.
    Martin: Why? They sold me a working copy of Dreamweaver.
    Farook: I understand, but I do not have enough resources to help you further.
    Farook: Please contact Amazon.com.
    Martin: What a waste of time. Makes me sorry I bought this Adobe product.

  • Number range for serial Number in production order

    Hi all,
                I want to use the Serial Number in production Order ... It should be generated automatically ... when i try this system creating the serial number from 1.....i want the number to start from 2000000 , How to configure this number range ....
    Please advise me ...
    Regards,
    kumar

    Dear
    Following steps are required in Serial Number Management :
    1. OIS2 or Go to path SPRO > Plant Maintenance and Customer Service > Master Data in Plant Maintenance and Customer Service > Technical Objects > Serial Number Management > Define Serial Number Profiles. There enter "2" in Stkck column for your serial profile.
    2.SPRO->SAP Customizing Implementation Guide->Plant Maintenance and Customer Service->Master Data in Plant Maintenance and Customer Service->Technical Objects->Equipment->Equipment Categories->Define Number Ranges
    3. IQ01 Create Serial Number
    4. MM02 You need to add the above created Serial Number Profile in the Material Master ion the work scheduling view .
    5. CO02 Assigning the Serial Number through Production Order,
    Also Serial Number can be created automatically by clicking on u201CCreate Serial Number Automaticallyu201D , Release the Order
    6. MB31 Do the GR for the above created Production Order and Check in MMBE for serial Numbers
    Try and check
    Regards
    JH
    Edited by: Jiaul Haque on Nov 22, 2010 7:43 AM

  • Unique serial number during production order release for FG materials

    Hi,
    Actually our client is asking for serial number generation for each FG material during its production order release.
    So that with this serial number he can track it in shop floor plus after dispatching to customer.
    Here the scenario is Make To Order, this serial number will also be considered by SD during dispatch.
    For serial number creation, I referred documents from SAP best practices(help.sap.com).
    After this, now I am able to create serial number for specific material automatically.
    Currently I am getting serial number with respect to material specific, i.e., serial number generating with respect to FG codes. Ex:- FG1 - 1, 2, 3, 4 and FG2 - 1, 2, 3, 4.
    But as per my client requirement, they want serial number without material specific, i.e., common serial number for all FG codes.
    Ex:- Sr No- 1-FG1, 2-FG1, 3-FG2, 4-FG1 - - - - according to production order releasing sequence.
    Plz inform if any settings are to be made.
    Thank you in advance.

    Hi Arman,
    I Had got solution for how to track which FG is linked to which SFG sr no, just go through the below link it also gives how to use COIB transaction.
    COIB transaction usage, how to track which FG is linked to which SFG sr no
    But still I had not got solution for
    how to assign common serial number for all FG codes automatically
    Ex:- Sr No- 1 -> FG1,
    2 -> FG1,
    3 -> FG2,
    4 -> FG1
    - - - - according to production order releasing sequence.
    Whether is it automatic serial number assignment is possible or not.
    Plz inform if any settings are to be made.
    Thank you in advance.

  • Movement type 124 does not currently support serial number management

    Movement type 124 does not currently support serial number management
    when I post goods return in qa12, the system shows movement type 124 doesn't support serial number.
    Could anyone can tell me where I can set the movement type for serial number?
    John

    Unfortunately it is impossible to post a return delivery from the usage-decision for a material with serial number profile, which is in goods receipt blocked stock. This is is missing functionality
    The possibility in the standard would be the following :
    1. Close the inspection lot. Please do the stock-posting in a way, that    you post to 'GR blocked stock'. Remark : No physical is   done. This is only necessary to achieve, that status SPCO is set.
    2. Post the reutrn delivery with the MM-IM-transaction (e.g. MIGO).
    Please check, if this is possible.

Maybe you are looking for

  • How to install korean language on my BB Z10???

    Dear users, i recently bought BB Z10, but I couldnt find how to install korean langauge on my Z10, but as I saw some info that BB Z10 support input Korean language also.. There are choice of many language but not Korean langauge... if anyone know how

  • Manual VAT condition in Purchase order

    Hi, For the job work process, my client has following requirement. Job work cost ---> 10,000 Rs Consumables used --> 5000 Rs VAT on consumables ( 5%) --> 250 Rs Now issue is, at the time of purchase order, they are not sure about the consumable cost

  • [svn:osmf:] 13848: Pre-PARB'ing Layout API:

    Revision: 13848 Revision: 13848 Author:   [email protected] Date:     2010-01-28 03:31:07 -0800 (Thu, 28 Jan 2010) Log Message: Pre-PARB'ing Layout API: - Removal of ILayoutContext (merged with ILayoutTarget). - Layout targets no longer get their wi

  • Airport Express with wireless Powerbook, wired PC, and multi printer

    I have a Linksys wireless hub which is plugged into my old pc (running xp home)and wirelessly connected to my powerbook (1.67 G4). I also have an Airport Express which I have not yet used. I would like to use both my PC and laptop with this printer,

  • The new way to Log In to BT Mail

    Don't get me wrong - I may moan a bit but I am a BT fan and have been with them since before clay tablets were all the rage in the communications industry.  But why do they do such silly things?   For example I like the new way to sign in to my BT Ya