Auto Populating of Batch number (AUPOD-CHARG)

Dears,
I am trying to populate the batch (field AUPOD-CHARG ) in the Process order under Tab "Goods Receipt", this needs to be picked default from the batch (field RESBD - CHARG ) which is under the BOM Item level in process order.
Here the scenario is we have already created the BOM with line item having Batch information. The same now needs to be picked default in the Process order under Goods Receipt TAB.
Please let me know if there is any way we can populate the AUPOD-CHARG filed default as mentioned above.
Thanks & Regards,
Viswanath

Viswanath,
I would suggest to create a custom program with a BDC to update the batch, the logic of the program should be to first select orders which are not populated with Batch Number in the Order table(selection can be restricted based on specific status), and then for every order pickup the respective component batch number from reservation table, once this data is available, within the program peform a call transaction CO02(BDC), to create and populate the batch number to the order.
This Job can be run in background to the required frequency.
Regards,
Prasobh

Similar Messages

  • Batch number auto generation nedded

    hi all,
                  i have a query that when i make a GRPO of 10 items with different qty, these items are set to batch on every transaction, then it will ask to enter the batch number of all item with the number of their quantity, is there any process to create these batch number automatically, is there any formatted search query for auto generation of batch number.
    even they are making GRPO by taking 100 items, it is very difficult to for them to to enter manually all the batch code.
    is there any provision to do the task by formatted search.
    revert back soon
    its very urgent
    regards
    sandip

    Sandip, 
    I have answered a few posts on this Forum about the different options.  Formatted searches can be considered but you will need to maintain a temp table.
    What is the real usage of the batch numbers in this business case?
    Suda

  • Pass batch number from ECC system to GTS

    Hi Experts,
    I want to pass material batch number(MSEG-CHARG) to GTS system while creating the material document(GR) in ECC system. This batch number should be displayed in item level at custom declaration screen and should be stored at table /SAPSLL/CUSWLM.
    Could you please help me how to do this? actually at ECC side i m not getting the api where i can pass batch number. also at gts how to retrieve the same even if we able to pass the same from ECC
    Many Thanks,
    Prafull.

    Hi,
    i suggest you to have a closer look at the BAdI for Mapping and Enrichment of Data from Material Documents (MM0C) on ERP site and also at BAdI for Mapping External Data to Customs Declaration.
    You will find them by following thes paths in the IMG:
    In your SAP GTS System:
    -SAP Customizing Implementation Guide
    --SAP Global Trade Services
    ---SAP Customs Management
    Business Add-Ins for SAP Customs Management
    Copy External Data to Customs Declarations and Customs Shipments
    BAdI for Mapping External Data to Customs Declaration
    In your SAP ERP (feeder) System:
    -SAP Customizing Implementation Guide
    --Sales and Distribution
    ---Foreign Trade/Customs
    SAP Global Trade Services - Plug-In
    Change and Supplement Document Data for Transfer
    BAdI for Mapping and Enrichment of Data from Material Documents (MM0C)
    To display the (external data) Batch number on the User Interface on the customs declaration document,
    you must implement  BAdI for UI Control When Connecting External Applications to CD/CS
    regards,
    Ralf

  • Batch number is blank and not editable during packing into Handling Unit

    Hi, we have an issue that the batch number (VEPO-CHARG) for delivery line item is not showing up and not editable during packing into Handling Unit through shipment transaction VT01N.
    When we have a batch split for one delivery line item, we want to be able to choose which batch to be packed into each handling unit.
    Does anybody know any userexit to populate that field or at least make it editable? Is there something in the configuration that make it not show up?
    We tried all the SAP suggested userexit for VT01N but nothing seem to control the handling unit packing screen.
    Any hint is appreciated and point will be rewarded.
    Minami

    you should take the ovn on the effective date. A max will not always work.
    Is the max also not hiding a no data found?

  • Batch Number "Auto Select" Option?

    Hi All,
    I've got an issue in batch number selection form, where when i'm selecting the batch number using auto select it is selecting the batch number starting with the smallest alphanumeric value, But it is supposed to select the oldest batch number first. as the client with whom we r dealing with is a pharmacetical trader, where he has to sale the products according to FIFO priority.
    Is there any configaration settings regarding this option?
    else i've got a thought like can we disable the auto select button?
    so kindly help me out
    Thanks In Advance

    hi,
    It is standard system behaviour when you click auto select ,
    it will pick up batches in sequential order.
    So avoid clicking auto select.
    Enter reqd. quantity in selected batch and use > move it to right side.
    Jeyakanthan

  • Auto batch number creation on CO15 GR

    Hi experts,
    Can you guide me how to setup CO15, where during confirmation and auto GR of FG, system can supply a Batch Number (via specific logic in exit) automatically?
    Thank you!

    CO15 is the production order confirmation screen  and  if you acitvated AUTO GR for the order and if the material is batch managed ,  you should have configured  batch internal number active,  system will create a batch number automatically.
    Based on where you have created user-exit  ( if it is part of batch creation  BADI),  that should also kick in.
    You can also look in creation of batch at the production order level itself when the order is released. 
    cheers
    Rav
    Edited by: Rav on Jan 6, 2011 11:24 PM

  • Batch number format setup and auto batch creation during first GR

    Dear all,
    This is a batch question.
    I know that both the master batch and the stock data for the batch are created automatically during the first goods receipt. Thus, I do not need to create this data manually.
    My question are following:
    1 - what is the machnism that trigger this auto-batch creation in the system during the first goods receipt? is it from some kind of configuration?
    2 - If I want my batch number to appear in certain format, for example, first four digit is customer code, middle two code is country code (i.e. US, UK), and the remaining as goods receipt date. How do I setup this in the SAP system.
    3 - If batch classification is active, one can assign characteristic values to the batch when entering the goods receipt. HOwever, normally when I perform a goods receipt in MIGO, after putting in the production date and the batch number, I will hits the checkbox and if no problem, I will post the 101 document. WHERE in the MIGO screen I can assign the characteristic value to the batch?
    Thanks.

    My question are following:
    1 - what is the machnism that trigger this auto-batch creation in the system during the first goods receipt? is it from some kind of configuration?
    ==> Yes - See IMG activity 'Define batch creation for Goods Movements'
    2 - If I want my batch number to appear in certain format, for example, first four digit is customer code, middle two code is country code (i.e. US, UK), and the remaining as goods receipt date. How do I setup this in the SAP system.
    ==> See exit EXIT_SAPLV01Z_003
    3 - If batch classification is active, one can assign characteristic values to the batch when entering the goods receipt. HOwever, normally when I perform a goods receipt in MIGO, after putting in the production date and the batch number, I will hits the checkbox and if no problem, I will post the 101 document. WHERE in the MIGO screen I can assign the characteristic value to the batch?
    [[> See IMG activity 'Activate Batch Classification for Goods Movements in IM"

  • ME21N: Batch number to be populated automatically

    Hello Gurus,
    I have a requirement whereby, in ME21N after that the user has entered the material number, the batch number gets autmatically populated. I am looking for
    1. A BADI or user exit that is triggered after entering the material number
    2. A function module that will provide me with the next available batch number to be used which is derived from the first 5 characters of the material number followed by a 5 digit sequence number.
    THanks in advance,
    Parvez

    Hello Pervez,
    To accomplish this task you have to perform couple of steps.
    First De-Activate Automatic Batch Number Assignment. You can find it under spro->Logistic-General->Batch Management->Batch Management Number Assignment.
    Also under this node maintain external number range.
    After this activity use this user exit.
    SAPLV1ZE
    this exit has 2 function module exits
    1-  In this function module exit EXIT_SAPLV01Z_003, an external number range XY is determined, against which the batch numbers are checked.
    2- In this function module exit EXIT_SAPLV01Z_004, the batch number entered is checked against your own rules.
    Regards
    Ahsan

  • Need to make Batch Number (CHARG) display only on MSC1N

    Hi, we have a requirement to make batch number field (DFBATCH-CHARG) display only based on user authorization. I have tried implemented BADI BATCH_MASTER and tried to change the screen field property in method SINGLE_FIELD_CONTROL but batch number (CHARG) is not part of the loop for this method.
    Does anybody know BADI or Screen exit for MSC1N that can make the batch number display only?
    Thanks,

    Hi
    Although it's for older releases, see Note 562690 - BAdI BATCH_MASTER: Field selection control, perhaps it helps you
    Regards
    Eduardo
    PD: Other thing, see that it refers to T148F and T148G. Try to add the field CHARG in customizing menu. Ask your MM consultant about implications.
    Edited by: E_Hinojosa on Jul 13, 2011 9:48 AM

  • Auto Batch Number

    Hi,
    How to map the following scenerio.....
    When the user confirm the specific quantity using CO11N transaction,The system should give the specific customized batch number.
    The system should not allow the repeatation of batch number.
    Thanks in advance.
    regards

    Hi Subhash,
    It can be possible to determine the batch number during the CO11N confirmation, check the following settings has been maintained for the scenario.
    1. Materials having the Batch Management.
    2. Go to OMCW, here create the strategy and assign the class and sort sequence to it.
    3. Go to MBC1, here select the condition Plant/Material, maintain the plant and the materials for which you required the batch determination at the time of confirmation. then select the material and assign the appropriate class and the sort rule to the materials.
    4. Take the trials during confirmation.
    Please check this setting and revert.
    Thanks
    Hrishi

  • Auto Batch Number FMS

    Hello Everyone,
         I tried to create FMS to generate Batch Number. it works fine for the item in which I have multiple items having all the quantities been entered in to one batch but what if I have multiple items say I001 and I002 having quantities 100 and 50 respectively. But I have to enter I001 in 2 or more batches say B001 having quantity 50, B002 having quantity 25 and B003 having quantity 25.it also works fine till here.
    the problem arouse when I select I002, its batch number is not calculated correctly as it must have to be B004, but it gives me B002..
    Can anyone came across this situation and solved it then please share the query.
    Thanks in advance,
    Idrees

    Hi Ashish,
    What version of SBO are you using? If it's 8.8 or higher then I recommend that you don't use OIBT for your query. In SBO 2007 and earlier this was the main table for batch data but this was removed in 8.8 and replaced with a number of new tables. A new view called OIBT was created for backwards compatibility but it is not very efficient and is most likely the reason for your query's slow performance.
    You can find details of the new batch tables in the latest SDK documentation.
    Kind Regards,
    Owen

  • Problem with uppercase character in batch number

    Hi all,
    I have the following case:
    Currently we have a batch number v10047 (character "v" in lowercase), we can see this batch in MMBE, MB52.
    We want to transfer posting this batch, but when entering its number, SAP auto change the "v" from lowercase to uppercase, then it says "Batch number does not exist"!
    I cannot display this batch in MSC3N either due to the same problem.
    How can we prevent SAP from changing lowercase to uppercase?
    Many thanks,
    Duc.

    Hi Duc.,
    Lowercase batches cannot be created by a dialog posting. If you check
    the domain CHARG using SE11 you can see that the flag for 'lowercase'
    is not set. This means that the batch entered will always be converted
    to uppercase when this batch is entered on a screen.
    The possibility is that you've transferred the batch info from IDOC or BAPI?
    You may refer to note [104626|https://websmp201.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=104626] and remove the batch stock using IDOC or BAPI again.
    Thanks and regards,
    Polly

  • Batch Number field in IDoc for Process Orders (message type LOIPRO01)

    Hello PP experts,
    Just wanted to ask if anyone of you have worked with message type LOIPRO01 (IDoc for process orders)
    There is a segment-field in this IDoc  E1RESBL-CHARG which has description of "Batch Number"
    We tried to assign a Bath Number for an Order (using t-code COR2 --> "Goods Recpt" tab under "Receipt" section), generated an IDoc for this order, but upon checking the E1RESBL-CHARG field of the IDoc it is not populated with the Batch Number.
    The material in the process order is FERT, so technically we're trying to assign a Batch Number in one of the process orders for a Finished Goods material type,  so not on the component level.
    Can anyone here verify:
    1. is the E1RESBL-CHARG field of IDoc LOIPRO01 intended for the Product Batch Number?  If Yes, how do we populate that for in the IDoc?  --> Do I need to have a Reservation/Dependent Requirement for the Product for the Batch Number to be populated in the IDoc?
    2. If E1RESBL-CHARG can not be populated for a Product that has no Reservation/Dependent Requirements, Do I have any option of populating this field with just the Batch Number assigned to the Process Order of that product?

    Solved - LOIPRO01 IDoc does not pick up the Batch Number from AFPO table, instead from table RESB.    We need batch from AFPO and just created a lookup using the Process Order Number as import param

  • 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).

  • Batch number coming automatically at the time of Process order release

    Hi All,
    I want the system generated batch number for header material to come automatically at the time of process order release.
    At present ,the batch number is entered manualy dering process order creation.
    Can anyone pls guide abt the settings required for the same

    Dear,
    Define the  production scheduling profile CORY then
    Auto Batch Creation = 2 On release.
    Then assign this to your FG or SFG materials in work scheduling view in material msater MM02. Then create new order and check.
    Now for automatic generation i have to set internal number asignment for batches.
    Batch will create for movement type say 101 SPROLogistics - GeneralBatch mangment--Creation of New Batches --Define Batch Creation for Goods Movements. so it will have same logic in MM for 101 GR against PO will be internal number range but no effect in SD.
    Regards,
    R.Brahmankar
    Edited by: R Brahmankar on Mar 12, 2010 12:40 PM

Maybe you are looking for

  • Is there a way to force 1.28 voltagae for the ram on the w520 i7 quad. 2760qm

    Hi I have 1.35/1.50v sodimms. JEDEC lists it as 1.28v. It's currently running 1.5v. Is there a way to force the lower jedec voltage. The laptop is super cool and I can work on my lap comfortably except for the ram slots.

  • My Itunes won't recognize my Ipod nano 6th, did the troubleshooting

    Hey, So I have an Iphone 4s and I had the same problem with it and solved it by the "verify that the apple mobile device usb driver is installed". It wasn't installed and I installed it by the steps and now it works. Tried to do the same to my Ipod n

  • Understanding my MP640

    Hi there, I have just been given a Pixma MP640 as it was apparently, not working.  Bought some ink and hey presto, it seems to do what it says on the box. I rarely print my photos, usually submit to photo-libraries, so am a bit of a colour printing r

  • Minor GUI bug in iTunes?

    When displaying Movies in iTunes, if there's a name listed in the Artist field, that name also appears under the movie's artwork and title in the Artwork column. The TV Shows window doesn't work that way at all. Unless somebody can tell me what I'm d

  • Free tools to convert Panasonic .MXF to Apple Prores or something else Final Cup Pro X can work with?

    Are there any solutions?  I haven't found anything that doesn't put a big ugly watermark on the image.  Yes I know there is all kinds of stuff to buy but this will probably be the one and only time I ever need to do this.