Creation of Batch and maintain characteristics

Hi,
I need to create batch and maintain batch classification/characteristics.
I am doing the following steps
1. BAPI_BATCH_CREATE --> Crreate the batch
     -Pass material/plant/batch
     -This creates entry in MCHA
However there is no entry created in MSKA
2. Get class using BAPI_OBJCL_GETCLASSES
    - Object key = material/plant/nbatch
    - Table = MCHA
    - class type 022
This BAPI does not return anything saying the classification does not exist.
However I can see the entry in transaction MSC3N
There are 2 problems
1. I need an entry in the MSKA table
2. Why is BAPI_OBJCL_GETCLASSES not returning the class when the batch is created successfully and is visible in MSC3N
Thanks for the help
Karen

Hi...
Thanks for your answer...
I am no able to create the batch using BAPI_BATCH_CREATE.
The problem was I was not passing values to the parameter BATCHCONTROLFIELDS
(values of CLASS_NUM = name of class and DOCLASSIFY =X).
Because of this the entry in MCHA-CLOBJ BM was blank and BAPI_OBJCL_GETDETAIL was not finding the classification.
No this part is working....
I now need to have an entry in MSKA...
Can u tell me how to do this through BAPI or FM
There is a parameter INTERNALNUMBERCOM for BAPI_BATCH_CREATE...
will this fill MSKA? I am not sure what values to pass.
Thanks for the help.
br
Karen

Similar Messages

  • Batch creation at co11n and co15

    Hi,
    I wann create auto batch creation at the time of order confirmation i.e. at co11n and co15, can anyone tell step by step wht confg shd i require?
    kindly assist

    Hi,
    If you are maintaining batch characteristics you cannnot create auto batch at the confirmation level as you have to create batch by the transaction MSC!N, then you can assign the batch number manually. IF you are not maintaining the batch characteristics then you can create auto batch at the prod order creation level that in the display mode or background, while doing confirmation you can automatically get the batch. If you want to get at the Confirmation level then the following steps
    1. Control key OP00  Allow Auto GR
    2. Scheduling profile OPKP   Auto GR
    3. Order type dependant parameters OPL8 Batch search procedure for 261 mvt type for raw material consumption.
    4. Material master MM01 workscheduling view batch reqd entry and batch managed and prod unit and prod stor loc
    5. Define batch creationn for batch creation for prod order
    6. Define batch creation for Goods movements
    7. Activate batch internal number assignment
    for 5,6,7 SPRO -- Logistics -- General -- Batch management.

  • Automatic creation of Batch using mvt type 311

    when i am trying to transfer material from one storage location to another using mvt type 311. the system is not creating the batch automaticcally.
    I have already maintained allthe basic configuration required for this.even in IMg ->logistic general->batch management---->creation of new batch in this path also for mvt type 311 i mainatined (automatical/manual without check)batch creation.but still the system is not generating the new batch.
    Can anybody help in this issue.
    Thanks in advance

    Hi,
    When you do transfer postings, SAP will set the batch number same as the one from which you are issuing the stock. To avoid this you can set the creation of batch to B (Automatic/ Manual with check in user exit)
    You need to use following user exit at batch creation
    EXIT_SAPLV01Z_001
    EXIT_SAPLV01Z_002
    Hope this helps, reward if useful,
    Best Regards VS

  • Auto creation of Batch master data when external batch no entered in PR

    Dear All,
    At persent we can auto create batches at production order creation level, Goods receipt level.
    In same way how we can achive auto creation of Batch master data at Purchase Requisition level.
    Regards,
    Manoj

    There is no auto-creation of batches that are entered in ME51N. SAP issues message ME178 telling you that the batch entered does not exist.
    You have to maintain the batch in MSC1N first, then you can enter it in the PR.

  • How to import pdf with hyperlink and and maintain its hyperlink while exporting it as HTML?

    We can import pdf in indesign either using plaacemultiplefile script or using place submenu  under file menu but both of them import pdf as graphic object and lost its all hyperlink. no doubt when i again export its as pdf than hyperlink are there as it is but when i export it as HTML,IDML or other format than than all hyperlink are lost so is there any way to maintain this if no than is there any way to write some new script utilities which will do the same .one solution i think is first convert pdf into docx and than import it as docx indesign import  it as text frame and maintain all hyperlink but in this process pdf file lost its some formating while converting it into docx .

    I probably should've remembered "rtfm" before writing all that.  It seems to me now that I need to create a Master Page for each of the different layouts, then dynamically select the one I want to use at run-time, maybe with a script event ?  The Master Page creation is a bit messy ... the only way I seem to be able to get multiple Master Pages is to open each Word doc, let Livecycle import it, then copy all the content into a new Master Page in my main document.  That is, there doesn't seem to be a way to import a series of Word docs directly into separate Master pages of a single Livecycle form.  I'll continue with the "read" part of "rtfm" ...

  • Relationship b/w the PO number field in the SO creation screen(va01) and th

    Hi All,
    What is the relationship b/w the PO number field in the SO creation screen(va01) and the sales order .
    Can we maintain a specific number range for the PO Number??
    If yes where do we maintain the setting?
    Cheerzz..
    Subbz..

    Hello,
    This is nothing to do with a SAP purchase order, and you can't maintain any number range for the same as it is not a system proposed one.
    Imagine, the customer is sending a purchase order to you, and you are creating a sales order. We can give a reference to the customers PO number in this filed. It doesn't have any effect.
    It is widely used in reporting.
    Prase

  • Valuation type, batch and Idoc

    Hi guys,
    I am creating PO where I am not able to maintain valuation type and batch simultaneouly and Idoc is not created. Output type is maintained for EDI.
    I am wondering that is there configuration that valuation type and batch is maintained together
    Thanks & regards
    sanjay patil

    Hi,
    You have to configure Split valuation and Batch Managment while creating  Material master ,then create a P.O.
    G.Ganesh Kumar

  • In future batches are maintained in plant level

    dear all,
    when i am doing MB1A ,MB1B,MB1C  after i save the document there is a message saying that in future the batches are maintained at plant level. I am not getting the document generated number. because of this i am unable to find whether the document generated or not. how to overcome this
    regards
    anup

    Some one has most likley changed the batch level.
    Please go to transaction OMCT and have a look around there to figure what has gone on
    http://help.sap.com/saphelp_46c/helpdata/en/25/283aac4f7811d18a150000e816ae6e/frameset.htm
    That will explain this transaction and settings in this,.
    Edited by: Adeel Sarwar on Sep 18, 2008 10:04 AM

  • Batch Not Maintained error

    Hi,
    This sounds to be a small prob, but i hv got totally confused over it.
    When I am trying to make a Stock Purchase Order (ME21N) from one plant to other, after entering the details, the error message is coming "Batch not maintained".
    I have checked up the data (maynot be right) where I can see the batch is maintained for the said plant.
    I think some values needs to be updated or checked for it to work.
    Please provide help to me.
    Thanks,

    Hi
    Check Tcode MBC1 for MM
    Check Tcoce VCH1  for SD and select the selection criteria.
    Irfan
    Edited by: Mohammad Irfan on Nov 12, 2008 10:56 AM

  • New Tax Code Creation with CST and Service Tax

    Hi
    I want to know the complete procedure of new tax code creation with CST and Service Tax. I want to know the steps for calculation of % of that Tax Code.
    Kindly help me out.
    Thanks
    Kshipra G

    Hi Expert,
    Before creating a Tax Code, Create two Condition Types(T-Code: OBYZ) for CST and Service Tax, which need to Select the below Items
    Cond. class -  D - Taxes
    Calculat.type -  A - Percentage
    Cond.category - D - Tax
    and while creating a Tax Procedure just select the Condition Type of CST and Service Tax and provide the Account Key for both Condition Types.
    Assign the GL Accounts to the Account Keys in T-Code: OB40.
    Create a Tax Code in T-Code: FTXP, which is to be assigned in T-Code: FV11.
    Maintain the percentage in T-Code: FV11, with your Key Combination and
    Try this procedure, which will help you...
    Regards,
    GK
    SAP

  • BATCH and VALUATION TYPE

    Dear All,
    Can anyone, please explain me clearly the difference between BATCH and VALUATION TYPE in MIGO and PO screen?
    What is the link between them ? pls explain in detail....
    Edited by: Raju on Nov 17, 2008 8:02 AM

    Hi,
    There's a link between both which is the indicator "Valuation type is set automatically". It can be set at the global or local (plant) valuation category.
    When you set this indicator, it means that each batch itself represents a valuation type (individual batch valuation). In other words, a valuation record is created automatically for each batch at Goods Receipt.
    -Edited-
    Example scenario:
    I activated batch management at plant level for material A and also activated split valuation. For this material, I produced the first batch (100pieces per batch) with certain characteristics. This batch is valuated at $100 per piece. I do a Goods Receipt against Production Order.
    Then my next production batch has better characteristics, so I wanted to valuate a piece slightly higher. With the indicator "Valuation type is set automatically", I can set a different price for this second batch during Goods Receipt from production (because a different valuation type is created for this).
    So I make use of batch management to manage my different sets of 100 pieces due to the slight different characteristics during each production run. I also make use of split valuation and the above indicator to valuate each batch separately.
    Hope this helps.
    Thanks
    Edited by: Han Lun Chan on Nov 17, 2008 9:59 AM

  • No matching records found 'Batchs and Serial Numbers' (OSRD) (ODBC-1028)

    Hi experts,
    These days In our 2007 system, we had a serial number maintain problem on 'Recipt from Production' transaction.
    When we open 'Serial Number Management' form, we can not update S/N by 'Complete' operation mode for some items. but it works for 'Update' operation mode.
    The system show 'No matching records found 'Batchs and Serial Numbers' (OSRD) (ODBC-1028)' in the status bar.
    How could I fix it ?
    thanks for your help.

    Hi Wilson,
    Do you manage the serial number transaction for respective item with "On Every Transaction" or "On Release Only" (in Item master data)? Because, when you manage those item with "On Every Transaction", you should already filled the serial number when you tried to receive those item whether by Goods Receipt PO or Receive from Production transaction.
    "Complete" operation in Serial Numbers Management only works for item which you manage by "On Release Only", it doesn't work for item which managed using "On Every Transaction". Hope I don't misunderstood your question.
    Best Regards,
    Hendry Wijaya

  • Automatic assignment of sloc, batch and consignment indicator

    Hi there,
    Is there any way I can have the sloc, batch and maybe the consignment indicator default into a production/process order upon creation of the order.
    Regards & Thanks
    Robert

    Hi Robert,
    You can have them all, but from different sources:
    Storage location is derived from the MRP view of the material master, or the BOM, or the production version.
    Batch is determined by using a batch determination procedure & strategy.
    Consignment is determined by a stock determination procedure & strategy.
    Regards,
    Mario

  • Stock on posting date with storagelocation,batch and stock types informatio

    Hi,
    I'm needing a report (similar funtion of MB5B) which must reveal the stock postion (closing balance) of the materials on a particular date alongwith storage loactions, batches and stocktypes (Unres/Q/Blkd).As such MB5B either gives the output either by storage location or by batch, not the combination of both.
    Else provide any possibilty means( Database tables) from where i could arrive these mention outputs.
    I could be able to get the information by collecting the values from MKPF & MSEG tables. But this information only suffice the material movements carried on that particular date.. And i will be not having the closing balance as a whole.
    I even wonder to get any such a kind of information in which i could able to get the stock with stock types(Unres/Q/Blkd).
    Any light on this matter is highly appreciable.
    Regards
    Prasanna

    Hi Amit Bakshi,
    Thanks for the reply..
    I executed the suggested program but i found the same kind of information aslike in MB5B..
    The information all i'm looking is to get the closing balance of the given material with storagelocations, batches and stock types on a given posting date.
    For eg.
    On 15 / 03 / 2011
    Material A
    Batch       Slocation       Stock type               Closing balance Qty.
    A1              S001               Unres.                             50
    A1              S002               Unres                            120
    B1              S001               Quality                             15
    C1              S003               Blocked                            30
    In MB5B i could able to get the values of closing balance either Storage location level or by batch level but is it possible to get the combination of both along with stock types?
    Reg
    Prasanna

  • How to clear all open GRIRs in the year end and maintained as provision  ?

    Hi Friends,
    I would like to clear all open GRIRs in the year end and maintained as provision.
    in the next year next day i would like to show as open items.
    How can do it ?
    I have tried to clear it. I have maintained OBYP settings also. But i am unable see as clear item.
    Could you explain me how it actuallly works ?

    Hi REddy,
    In most of the cases, the GR/IR account will have a credit balance and would be taken as provision for liability during year end activites. So as a standard practise you need to clear them on year end.
    but if you want to clear them, first you need to deselect check box Post automatically only for GR/IR clearing GL's master data.
    Then pass a adjustment entry like
    GR/IR GL Dr
                To Provision for Liabilites GL: Cr
    Above sample entry is true when your GR/IR account has a CR balance at the year end. if not post it in a reversed manner.
    Now with tcode F-03, for GR/IR GL, choose all items and clear them. Now you will get the clearing doc number.
    Now on start of new FY, reverse the above accounting entry with FB08.
    This will meet your requirement.
    Thanks,
    Srinu

Maybe you are looking for

  • Check box & PHP form in AS2

    Hi all, I'm currently using this PHP script below for a form in a flash site. http://www.flashadvisor.com/tutorial/Beginners/Custom_PHP_Email_Form-5.html I wanted to add either a check box or radial box for an RSVP form that I'm creating where the pe

  • Excise values not updated BSAS Table

    Excise Gate Pass when reversed thr T. code J1IH, The reversed entry is generated but it is not linked with original entry and are not moving to table BSAS. Instead when invoice is reversed thr VF11, further entry is generated and original and new ent

  • Help my ipod has blank screen!!!

    hellp i was using my ipod touch then its turned off and i was litening to some music the the music still on after it turend off then the music stoped

  • Stellent Installation

    Hi, We are facing certain problems while trying to login to the UCM Server Login page The Setting we used for the installation are We installed Content server with IIS 5.0 for Xp using IE 7. During the Installation of iis Web server NTLM Security was

  • How do I reinstall apps?

    I have a creative cloud membership. I had Dreamwearver and Photoshop installed (amongst other adobe app which works perfectly) Dreamweaver  and Photoshop did not want to launch. I uninstalled the from my computer to try and reinstall again. Now I can