Process Order Batch number generation at the time of order creation

Dear All,
I m facing some issue at the time process order creation:
Current Settings:
1. Batch Number Creation at the time of order create.
Reason for this setting: Release of order is done  by releasing operations one by one, therfore batch number will be generated on the final operation release, thats why we set up batch creation at the time of order create.
2. For FG batch number generation there is a program that copy the SFG(in Order BOM) Batch number to FG. ITs a industry requirement.
Problem:
when we create FG order system generate the error message at the time of order creation tht No batch could be determine.
Please suggest the solution
Thanks,

Hi
Hope you have cretaed Batch serch strategy in COB1
U need to maintain it as per your strategy type.

Similar Messages

  • Reg serial number generation at the time of GR-(MB31)

    Dear all,
    can we create a customized serial number  at the time of goods receipt (MB31)like ex: S0900001  where in S stands for plant number , 09 stands for the year and 00001 is running serial number
    please give the required steps to get the customized number for product identification.
    Thanks in advance
    venu

    Dear Venu,
    You want to generate Alphanumeric Serial Number that is possible by following Enhancement for Serial Numbers:
    Pls find here some details about generating alphanumeric serial numbers as below :
    You can generate alphanumeric serial number with the following BADI / Customer Exit:
    Name of Enhancement : IQSM0001
    Name of Function Module Exit: EXIT_SAPLIPW1_001
    Name of Include : ZXQSMU01
    ZXQSMU01:
    This user exit can be used to create the serial numbers automatically for material of a production order. Number of serial numbers generated will be equal to the total number of quantity. The purpose behind development of this user exit was to attach prefix in each serial number generated.
    so as per your requirement you can generate serial number like ABC0001 etc.
    Process Steps:
    For exit: EXIT_SAPLIPW1_001
    1. Get serial number profile for a material in respective plant.
    2. Check if the profile is u2018XYZu2019.
    3. If profile is u2018XYZu2019 generate the serial numbers for the given quantity of material in production order.
    General Program Structure
    For exit: EXIT_SAPLIPW1_001
    1. Get the serial number profile using function module 'MARC_SINGLE_READ' for a material.
    2. Check if the profile is u2018XYZu2019.
    3. If the serial number profile is u2018XYZu2019 then generate the serial numbers for the given production order quantity of a material.
    4. Concatenate ABC as a prefix to the all generated serial numbers
    Provide above details reg. implementation BADI / Enhancement to your ABAPer and go ahead.
    You can implement above Enhancement in CMOD.
    Hope this helps.
    Revert in case of any doubt.
    Award points if useful.
    Regards,
    Tejas

  • Individual batch number generation.

    hello gurus,
    My client brings in rolls of material which is batch managed. He wants independent batched generated for the rolls. eg. if a truck load contains 300 rolls, the clients wants 300 batch number generated at the time of posting of gr. but when i tried to post the gr, the system generated only one batch number for all the 300 rolls. Please let me know wat changes inthe config should be made to get individual batch number for a gr qty.
    thanks in advance
    Kaushik

    Hi Sridhar,
    yes,we can do this thing. as while we are doing 101/105 system will generate only one number but if we want separate number for each "roll" then we need to act in bit long path
    in system we have put one mov. 103 ie PCS entry, which takes the material in blocked stock  with one number then after quality inspaction of each material we are doing 105 so that this point you can allote a separate GR no. for each mat.
    but if the concern materials which you are dilling is sufficently play major roll then only putting separate number will work. this system is handy with HALB mat.
    Regards
    Sumantra

  • How can add partner at the time of PO creation

    The requirement is to add an extra partner in the Purchase Order header Partner tab at the time of PO creation itself. The PO is being posted through Idoc. A custom function module has been maintained as inbound processing FM and it calls BAPI_PO_CREATE1 inside.Can anyone help me resolving the requirement?

    Using GOS ...

  • Process order batch number not reflecting in corresponding inspection lot

    Hi QM gurus,
    I am working on inprocess inspection for production. I am creating process order during that time batch no is generated automatically by the system. Now process order is released during this time Inspection lot generated with inspection type 03. Now the problem is in the inspection lot, process order batch number is not reflecting. I have checked all the master data seetings. All seems to be fine. what could be the problem. any settings missed can anybody help me out.
    Thanks
    Vinameath

    Hi Vinameath,
    Go to the Master Recipe (C202) of this Process order/Material. Go to Recipe Header tab and click on the Quality Management Header button.
    Now,go to the Partial Lot Assign field and maintain the value " 0 Partial Lots not supported " and save.
    Then create a new process order and in all probabilities, the batch should appear on the in-process inspection lot.
    Hope this helps you!
    Regards,
    Vinodh

  • Without equipment creation serial number required at the time of delivery?

    Dear SAPIENTS,
    Without equipment creation serial number required at the time of delivery? In customizing i have defined that equipment not required in serialization profile. But still i am getting equipemnt number at the time of delivery of sales order.
    Regards,
    Kaushal Rai

    Dear Venu,
    You want to generate Alphanumeric Serial Number that is possible by following Enhancement for Serial Numbers:
    Pls find here some details about generating alphanumeric serial numbers as below :
    You can generate alphanumeric serial number with the following BADI / Customer Exit:
    Name of Enhancement : IQSM0001
    Name of Function Module Exit: EXIT_SAPLIPW1_001
    Name of Include : ZXQSMU01
    ZXQSMU01:
    This user exit can be used to create the serial numbers automatically for material of a production order. Number of serial numbers generated will be equal to the total number of quantity. The purpose behind development of this user exit was to attach prefix in each serial number generated.
    so as per your requirement you can generate serial number like ABC0001 etc.
    Process Steps:
    For exit: EXIT_SAPLIPW1_001
    1. Get serial number profile for a material in respective plant.
    2. Check if the profile is u2018XYZu2019.
    3. If profile is u2018XYZu2019 generate the serial numbers for the given quantity of material in production order.
    General Program Structure
    For exit: EXIT_SAPLIPW1_001
    1. Get the serial number profile using function module 'MARC_SINGLE_READ' for a material.
    2. Check if the profile is u2018XYZu2019.
    3. If the serial number profile is u2018XYZu2019 then generate the serial numbers for the given production order quantity of a material.
    4. Concatenate ABC as a prefix to the all generated serial numbers
    Provide above details reg. implementation BADI / Enhancement to your ABAPer and go ahead.
    You can implement above Enhancement in CMOD.
    Hope this helps.
    Revert in case of any doubt.
    Award points if useful.
    Regards,
    Tejas

  • Duplicate material entry at the time of PO creation based order type

    How Restrict duplicate material entry at the time of PO creation based on define order type.
    Moderator message: please do some research before asking.
    Edited by: Thomas Zloch on Mar 11, 2011 1:45 PM

    Hi Rahul,
    try with This Badi  ME_PROCESS_PO , Method Open or Process item,
    Implemente it and use a break-point to test it i.e it is triggred or nt , before processing it.
    Regards,
    Abhisek

  • Report: Internal order+Batch number

    Hi All,
    Is there any report which can show the internal order & Batch number together?
    Quick response will be appreciated.
    Thanks & Regards

    Hi Sridhar,
    I apologise for mis-stating the issue.
    I would like to know if there is any reports with Internal Order numbers that allow me to add the Batch number field?
    e.g KOB1 is an internal order report. But, I am not able to add Batch number field to it.
    I need a internal order report to which I can add the Batch Number field.
    Thanks & regards.

  • Automatic Batch Number Generation in tcode MIGO...

    Hi Experts,
                     There is automatic Batch Number is generated  after clicking on Pushbutton  "Check" in transaction code MIGO. Instead of that user want Batch Number Generation after clicking on Pushbutton "Post" . Can anybody tell me the procedure for the same..
                    Thanks in advance.
    Best Regards,
    Vinayak

    HI Vianayak,
    You can implement a Badi for your logic.
    You can implement Badi :MB_MIGO_BADI and write your logic in method CHECK_ITEM .
    Here you can restrict the Batch number based on Fcode for the Check and Post buttons.
    Like if the user click on Check button: based on the fcode for the check button u can restrict it and similarly if the user click on Post button you can pass the value for Batch number. This method get called in both the cases.
    Hope this solves your problem.
    Regards,
    Satyam

  • Link between storage location and batch number to retrive the salk3 field

    HI,
    In my report i need to give the output as follows
    For each lgort with related batch number we need to get the salk3.So i need to get a link between lgort , batch number to retrive the salk3.can any one give the tables from which i can get the link and retrive the data.
    note: My report output should look like the fields lgort batch  and unrestriced value of stock in tcode mb52.
    subhashini.
    Edited by: subhashinikb on Apr 1, 2011 9:38 PM

    Hi,
    In 2 steps, u can get the unrestricted stock value.
    step1: Get material no (MATNR), plant (WERKS), batch (CHARG) and unrestricted stock (CLABS) from table MCHB by sending Storage location and batch number.
    Step2: Get standard price STPRS from table MBEW based on condition where MATNR = MCHB-MATNR, BWKEY = MCHB-WERKS and BWTAR = MCHB-CHARG.
             unrestricted value in MB52 will be (MCHB-STPRS) * (MCHB-CLABS).

  • Create warning message at the time of order creation

    I am looking for a  solution :- "Create warning message at the time of order creation/save if a cc is assigned in the settlement rule that crosses the company code of the order or where the company code of the plant for the order is different from the company code assigned to the cc"

    The txn code : IW32 (maintenance order) , this warning message for settlement rule creation using Cost center as a settlement receiver.  If the used cost center is belongs to some other company code, said warning message should occure.
    I tried user exit, field exit, also used std message control (KO-458).  Nothing is working.

  • Manual BOM selection at the time of order creation

    Dear Experts,
    Could you help me to understand if there is any provision to select BOM by user at the time of order creation without the help of production version.Is there any configuration required to make BOM selected manually.
    Regards,
    Krishna Mohan

    Hi karishna,
    Please go to T-code OPL8 and in production version use( 1 )Manual selection of production version. Then user can select manually instead of automatic selection.
    Regards
    Muhammad Umar

  • Want to change item category at the time of order creation

    Hi Gurus,
    Client require to implement individual PO scenario.
    I was configured the same and working fine.
    I am facing problem at the time of item category determination.
    User using same material and order type and they are not ready to accept to create new order type.
    Now My order type is OR and item category group is NORM and right now system determine item category TAN.
    User not want to change manually at the time of order creation.
    I have specific condition on which i want to apply this logic.
    Now i want to determine TAB item category through some user exits or enhancement.
    Can anyone suggest exact in which user exit or enhancement i have to change.
    Thanks & Regards,
    Chirag

    1. Use TCode 0VVW for creating a Z Item Usage, say, ZPO1
    2. Do an item Cat determination in VOV4, as
    Sales Doc type
    Item Cat Group
    Usage
    Item Category
    OR -
    NORM -
    ZPO1 -
    TAB
    3. Maintain Customer Materials Info Record by using VD51.
    In item screen for Cust-Mat combination maintain Item usage
    Regards
    JP

  • At the time of RFQ creation dump error

    Dear All,
                        At the time of RFQ creation one Dump error is coiming... please advise to solve this issue...
    the error message is :
    Runtime errors         SYNTAX_ERROR
           Occurred on     09.09.2009 at   12:10:27
    Syntax error in program "SAPLV61A ".
    What happened?
    The following syntax error occurred in the program SAPLV61A :
    "Incorrect logical expression: Instead of "X" a field, a function or "("
    Error in ABAP application program.
    The current ABAP program "SAPLMEVA" had to be terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    What can you do?
    Please eliminate the error by performing a syntax check
    (or an extended program check) on the program "SAPLV61A ".
    You can also perform the syntax check from the ABAP/4 Editor.
    If the problem persists, proceed as follows:
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Error analysis
    The following syntax error was found in the program SAPLV61A :
    "Incorrect logical expression: Instead of "X" a field, a function or "("
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
       To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
       To obtain this, call the system log with Transaction SM21
       and select the "Print" function to print out the relevant
       part.
    3. If the programs are your own programs or modified SAP programs,
       supply the source code.
       To do this, you can either use the "PRINT" command in the editor or
       print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
       or which actions and input led to the error.
    System environment
    SAP Release.............. "620"
    Application server....... "ARCHIVAL"
    Network address.......... "172.26.2.145"
    Operating system......... "Windows NT"
    Release.................. "5.2"
    Hardware type............ "4x Intel 80686"
    Character length......... 8 Bits
    Pointer length........... 32 Bits
    Work process number...... 0
    Short dump setting....... "full"
    Database server.......... "ARCHIVAL"
    Database type............ "MSSQL"
    Database name............ "EDP"
    Database owner........... "dbo"
    Terminal................. "cheeid92corit"
    Character set............ "English_United State"
    SAP kernel............... "640"
    Created on............... "Mar 9 2009 22:54:07"
    Created in............... "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
    Database version......... "SQL_Server_9.00 "
    Patch level.............. "274"
    Patch text............... " "
    Supported environment....
    Database................. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
    SAP database version..... "640"
    Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2,
    Windows NT 6.0"
    User, transaction...
    Client.............. 777
    User................ "MMCORE"
    Language key........ "E"
    Transaction......... "ME47 "
    Program............. "SAPLMEVA"
    Screen.............. "SAPMM06E 0311"
    Screen line......... 54
    Information on where terminated
    The termination occurred in the ABAP program "SAPLMEVA" in
    "ME_LOAD_VARIANTS_PRICING".
    The main program was "SAPMM06E ".
    The termination occurred in line 55 of the source code of the (Include)
    program "LMEVAU08"
    of the source code of program "LMEVAU08" (when calling the editor 550).
    Source code extract
    000250       ENDIF.
    000260   *--> Initialisieren
    000270   *--> not necessary anymore (Raimond Buchholz)
    000280   *   CALL FUNCTION 'CUD0_CONFIGURATION_INITIALIZER'.
    000290   *--> Preisteile der Varianten besorgen
    000300       CALL FUNCTION 'CEI0_GET_CONDITIONS'
    000310            EXPORTING
    000320                 INSTANCE    = I_CUOBJ
    000330                 APPLICATION = 'MM'
    000340            TABLES
    000350   *              CONDITIONS  = T_VCKEY.                 "del 194053
    000360                 CONDITIONS  = T_VCKEY                   "ins 194053
    000370            exceptions                                   "ins 194053
    000380                 error_message  = 01                     "ins 194053
    000390                 others         = 02.                    "ins 194053
    000400   *--> Preisteile der Varianten mit Belegnummer versorgen
    000410       LOOP AT T_VCKEY.
    000420         T_VCKEY-KAPPL = 'M '.
    000430         T_VCKEY-VBELN = I_EBELN.
    000440         T_VCKEY-POSNR = I_EBELP.
    000450         MODIFY T_VCKEY.
    000460       ENDLOOP.
    000470     ENDIF.
    000480
    000490   *--> Preisteile der Varianten an Preisfindung übergeben
    000500   *- pricing_load_variant_key muß auch bei Positionen ohne Konfiguration
    000510   *- laufen, da die Logik im PRICING zu 4.0 umgestellt wurde
    000520     IF I_NO_LOAD IS INITIAL.
    000530       DATA: I_POSNR LIKE VBAP-POSNR.
    000540       I_POSNR = I_EBELP.
          CALL FUNCTION 'PRICING_LOAD_VARIANT_KEYS'
    000560            EXPORTING
    000570                 APPLICATION = 'M '
    000580                 VBELN       = I_EBELN
    000590                 POSNR       = I_POSNR
    000600            TABLES
    000610                 TVCKEY      = T_VCKEY
    000620            EXCEPTIONS
    000630                 OTHERS      = 1.
    000640     ENDIF.
    000650
    000660   ENDFUNCTION.
    Contents of system fields
    SY field contents..................... SY field contents.....................
    SY-SUBRC 0                             SY-INDEX 0
    SY-TABIX 1                             SY-DBCNT 1
    SY-FDPOS 1                             SY-LSIND 0
    SY-PAGNO 0                             SY-LINNO 1
    SY-COLNO 1                             SY-PFKEY GVP
    SY-UCOMM
    SY-TITLE Maintain Quotation : Item 00001
    SY-MSGTY E                             SY-MSGID AIPLOC
    SY-MSGNO 002                           SY-MSGV1 303632
    SY-MSGV2                               SY-MSGV3
    SY-MSGV4
    Kind regards
    P.Anandhakumar

    Hi Anandhakumar,
    Debugg the transaction with help of ABAPER.
    System will show you the reason for the above error.
    Hope this should solve your problem.
    Thanks and regards 
    Gitesh

  • IO assigned with Asset,but not coming at the time of PO creation

    Hello
    IO assigned with Asset,but not coming at the time of PO creation.
    I have made following settings:
    1     Depreciation - IFRS (INR)              1     0L
    15     Income Tax Act                             0
    20     Depreciation - Indian GAAP (INR)     3     1L
    30     Depreciation - IFRS (USD)              0
    31     Depreciation - Indian GAAP (USD)       0
    In ACSET-Account assignment:
    for dep area-20
    CAUFN     Internal Order     *     Generic Trans. Type     02 Depreciation Run
    KOSTL     Cost Center     *     Generic Trans. Type     02 Depreciation Run
    so currently i am using only dep area-20 only(Indian GAAP)
    CAPEX budgeting is through IO. AUC is not doing through IO,its directly from AIAB/AIBU
    AS01
    KO01
    AS02
    KO22
    KO30
    so what is the problem,why i am not getting IO (which is in display mode in PO) when assigned the Asset with category of "A" (asset) in PO.......when i assigned Asset- the GL account come automatically but IO didn't come.
    kind regards

    Hey Ajay
    thanks for your reply.....
    now i'm getting new error:
    Parallel depreciation area 31 is not posted
         Message no. AA565
    Diagnosis
         The asset to be posted does not manage parallel depreciation area 31, or
         transaction type  that you are using is limited to certain depreciation
         areas, and does not contain depreciation area 31. This is incorrect.
    System Response
         Posting is rejected.
    Procedure
         Check the asset and the transaction type.
    I have checked some configuration but not able to debug it.
    regards

Maybe you are looking for

  • Did I brick my 3rd gen iPod?

    3rd gen iPod, five years old, batt's dead but it works fine when plugged in...until now. I tried to sync it to my iTunes (it hadn't been done in awhile and I had tons of new songs for it) and it locked up before finally ejecting itself. Now all I get

  • Car adaptor for w520?

    I just bought myself a w520, and I'm still waiting for it to arrive. My main usage for it is going to be in the field, driving around a lot, with very little access to a wall power point, so I'm looking at getting a car adaptor for it, but I don't se

  • Failing to create the controlfile...

    Hi Experts.. I am trying to create the controlfile manually. I have added the existing datafiles and given the logfile location. However, met with error while executing the script... Please help. ERROR at line 1: ORA-01503: CREATE CONTROLFILE failed

  • Non Display Of Flash Gallery In Web Preview

    Using lightroom 2.4 I created a flash gallery. I exported it to my local website. I created a link from the home page in Web Expression 2. When I follow the link I get a blank "design" screen in both Firefox and IE previews. There is no problem with

  • Restoring from Time Machine

    So I got my macbook back yesterday, impressed as always with the turn around time. Dropped it off on Wednesday for it's 4th(?) MLB replacement - this time the audio jack had stopped working. I asked the mac tech if I could use the time machine back u