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
Similar Messages
-
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. -
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,
VinayakHI 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 -
Advance batch number generation
Dear All,
One of our customer's requirement is printed batch number on Bags. So we need to sent bag for printing batch number and other details. For that we required Batch number that we will produce after some days.
We are using internal batch number and due to buffering there may be possibility of gap in batch number.
Is there any way to give reserve specific batch number?
Regards,
NiravHi,
You can reserve a batch for order asap order created by making setting in MSC1N.
But if you want a batch reserved before order creation as well or with out any stock then
Go to OPKP & put no batch creation , and create a batch manually by MSC1n & aasign it to order.
same for stock you need to remove automatic batch determination policy & need to give it manually.
Thanks...............Rakesh -
Material Batch Number Generation
Hi Experts
I need Material Batch Number internally generated while performing the GR for purchase order as in below format....
YEARWW-XXX (Running Number)
- XXX - Running number should get Reset automatically, once the YEARWW changes. Means every week it get auto reset.
Any standard USER EXITS avilable ? any other suggestions please
Rgds
RGHi,
Chekc the BAdi BADI_NUMBER_GET_NEXT or customer exit EXIT_SAPLV01Z_001.
With regards,
Vamsi -
Internal Batch number not getting generated
Dear Experts,
We want to generate internal batch numbers during production order creation. To achieve the same ,
the following Customization settings were done:
1. Acitvate Internal Batch number assignment (T-code OMCZ)
2. Maintain Internal Batch number Assignment Range (No exits will be used for batch number generation)
3. Creation of New Batches --> Define Batch creation for prdn. order --> Automatic batch creation during order creation
4. Creation of New Batches --> Define Initial Creation of Data for Batch Master Transactions --> Automatic creation
only allowed for a material type.
All the relevant materials are markes as Batch Managed.
But when we are creating a Production order system generates a error shown below.
No batch numbers could be determined
Please guide.
Regards,
Namratha -
Vendor batch number in stock transfer
Hi,
Batch management at plant level.
When we transfer the stock from one plant to another plant, the vendor batch number is not getting updated in the receiving batch master record.
In 303,we will send it from one plant to another plant (Stock in transit).
In 305,we will receive it to another plant with different batch number.
How do we know this 305 has been done for 303?
Eg:
303
Material : A
Plant:Phar1
Batch 100
305
Material: A
Plant:Phar2
Batch :200
How do we trace the stock in case we need to resend back to the supplier?
Thanks
SriniYou are facing a classic problem. Given Batch number is unique at Plant level, to maintain the continuity, you should have the same batch number between the two plants. Any specific reason why you don't have it.
Then if there is valid case not to have the same batch number in this scenario, then you should look at making the batch number generation external so that you can prefix/suffix or come up with a way to get the original batch number from the sending plant in the receiving plant batch number.
Recently we had a similar requirement, so we activated batch classifiction and put the orignial batch number as one of the characterisitcs in the batch class. You can also think enabling such functionality.. -
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
sandipSandip,
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 -
Hi Experts,
I have a probelm with the Transaction MIGO to restrict the ignore the batchnumber entered by the user.
If the user is not enter the batch number, then i can generated the new number by using the following 2 UE's
EXIT_SAPLV01Z_001 (ZXVBZU01) & EXIT_SAPLV01Z_002 (ZXVBZU02) and it is working fine.
If the user enters , then System first check that whether it is already exist in the Database . If it won't find then automatically it is considering the same number.Which needs to be stopped.
Any body has an idea about this requirement, to ignore the user entered value.
Actually, there are 2 more exists, EXIT_SAPLV01Z_011& EXIT_SAPLV01Z_012 there i can't change the value of the batch number.
Any suggestion or Any alternative way or Any idea Please......?
Warm Regards,
VijayHi,
I think you can restrict by using FM EXIT_SAPLV01Z_001, this i copied the FM documentation for your reference. Just read the FM documentation you will get an idea
You can restirict by using automatic generation using number ranges
<<Function module Documentation>>
Functionality
You can use this customer function call (CFC) to replace the standard number range (object, subobject, number range, and year) with one of your own. This is used subsequently to determine a new batch number.
Number assignment is carried out using the central number assignment.
The communication structure X_BNCOM contains the application data known up to this time. You can extend this structure in the DDIC using structure BNCOMZ.
Using the parameter CUST_NO_INTERNAL, you can suppress the number assignment function. Then you can either generate a batch number in function module EXIT_SAPLV01Z_002 using your own criteria or suppress the entire number assignment function.
Using the parameter MESSAGE_WHEN_AUTO, you can decide if a dialog box is to appear before a new number is assigned. This only happens during online processing.
Example
You can define internal batch number assignment according to your requirements via the enhancement SAPLV01Z with the exits EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002
SAP delivers a total of 6 examples for batch number assignment:
1. Copying the production order number to the batch number
2. Copying the sales order number to the batch number
3. Material-type-dependent batch number assignment
4. Material-number-dependent batch number assignment
5. Including the date in the batch number
6. Including the plant number in the batch number
For examples 1 and 2 you have to use the exits EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002.
For examples 3 and 4 you have to use the exit EXIT_SAPLV01Z_001.
For examples 5 and 6 you have to use the exitEXIT_SAPLV01Z_002.
For a detailed description of the examples, see below.
Prerequisites
1. Internal batch number assignment via the customer exit is activated:
To do this, in Customizing, choose Logistics general -> Batch management -> Batch number assignment -> Activate internal batch number assignment.
2. Maintaining the number range object
Two number range objects are provided for batch number assignment:
Standard number range for batch number assignment BATCH_CLT
Number range for material-type-dependent or material-number-dependent batch number assignment BATCH_MAT
Activities
1. Use the SAP enhancement SAPLV01Z:
a) In transaction CMOD, create either a new project or use an existing project.
b) Add the SAP enhancement SAPLV01Z to the project.
2. Copying the example code:
a) Choose Component.
b) Choose Change.
c) Choose:
EXIT_SAPLV01Z_001 for examples 1-4
EXIT_SAPLV01Z_002 for examples 1-2 and 5-6
d) Choose Edit -> Copy SAP source text.
The example code is copied to the relevant table in the function module exit.
e) To copy the example, remove the comment symbol before the include it pertains to.
3. Activate the project.
When you activate the project, the enhancement with the function module exits EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002 comes into effect.
Examples
Example 1
Copying the production order number to the batch number
When a batch is produced, the process order number or production order number is copied as the batch number. This type of assignment is only possible in connection with process orders or production orders.
Outwith an order, a number range is determined for batch number assignment. In this example, it is the standard number range BATCH_CLT.
If the order has not yet been saved (for example, when a number is assigned when the order is created), a temporary number is created. A message appears prompting you to save the order. The system then assigns an order number which is accepted as the batch number.
The system checks whether a batch already exists with this number. If this is the case, the system aborts internal batch number assignment with a corresponding error message.
Note:
In this example, note that the include LXVBZB21 in EXIT_SAPLV01Z_002 has to be activated at the same time, as actual batch numbers are not assigned until this is activated.
Example 2
Copying the sales order number to the batch number
If a batch number is assigned in connection with a sales order, the sales order number is accepted as the batch number.
If there are no sales orders, a number range object is defined with a number range from which the batch number is taken. If a batch already exists with this sales order number, the batch number is assigned externally.
Note:
In this example, note that the include LXVBZB22 in EXIT_SAPLV01Z_002 has to be activated at the same time before actual number assignment can take place.
Example 3
Material-type-dependent batch number assignment
In the number range object BATCH_MAT a separate sub-object is created for each material type. Note that the number range object is maintained accordingly or batch number assignment cannot take place.
For example, if the material "flour" belongs to raw materials, it is maintained in the sub-object ROH, and the batch number is taken from the same number range as the material "eggs" which also belongs to the raw materials group.
Example 4
Material-number-dependent batch number assignment
In material-number-dependent batch number assignment, materials that are handled in batches must be maintained in the table BNMAT, which specifies the assignment of the material to the number range.
If there is no assignment in the table, the system aborts batch number assignment. An error message appears informing you that batch number assignment is not possible and specifying the table that has to be maintained.
Each material number is assigned a number range object, a sub-object, and a number range in the table BNMAT. This is how each material receives its own batch number range.
The number range object BATCH_MAT is an example of this. The material numbers are divided into groups via their material type that match the sub-object. Each material number is then assigned its own number range by table BATCH_MAT. The number ranges used must be maintained in the number range object.
Examples 5 and 6
Including the date or plant number in the batch number
The number ranges for the batch numbers must be defined in a way that ensures that no characters are overwritten by the templates.
Parameters
X_BNCOM
CUST_NO_INTERNAL
NR_RANGE_NR
OBJECT
SUBOBJECT
TOYEAR
MESSAGE_WHEN_AUTO
MESSAGE_DONE
Exceptions
CANCELLED
Regardas
Krishna -
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 sameDear,
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 -
Batch Number Transactions Report - TURN OFF
We are managing our batches in B1 2007A; however, our customers do not care what batches they're receiving, per se.
That being said, we do not want batch reports to be created each time an invoice is readied to be printed, as we simply X each report that appears (batch number transactions report, batch report in document). Can these be turned off if batch management is on?
Thank you!
Russell ClaytonThanks for the clarification request -
When we use the document printing feature, we can skip the generation/printing of batch number transaction reports and such; however, when we're doing one-off invoices (not a large run, which is common with our company), the simpleness of choosing print preview and only seeing the invoice pop up would be ideal, as we do not want to print the batch reports at this time (only track within the system). -
Lot number generation when ever GR is done
Dear All,
As there is a requirement like Lot number generation when ever GR is done.
For each material Lot Number is defined by the client.
And there is partial receipt of Goods.
Whenever you do GR system automatically generates Lot number.
So we need when ever we do GR system should generate Lot number once the
Lot size as defined is completed.
Regards,
VeereshWhen a material is batch managed, and you do GR, either you specify the batch ID, or, if not, system will generate one. There are some exceptions, like when you do GR from production order, and have created the batch ID in advance in the order.
Otherwise, if you want to have some kind of private logic of the kind, you'll need to employ a user exit. -
hello all,
i have a requirement like in place of batch number i need to print po number either while creating po or while shiipping so i need the exit for that .Hi,
Please search for the correct Exit below and use.
I am sure using an EXIT we can do this.
Develop Enhancements for Purchasing
In this step, you develop enhancements for Purchasing.
The following SAP enhancements are available for the Purchasing area:
AMPL0001
User subscreen for additional AMPL data (manufacturer part number)
LMELA002
Adoption of batch number from shipping notification at time of posting of a goods receipt
LMELA010
Incoming shipping notification: adoption of item data from IDoc
LMEQR001
User exit for source determination
M06B0001
Role determination for release of requisitions
M06B0001
Changes to communication structure for release of requisitions
M06B0003
Number range and document number
M06B0004
Number range and document number
M06B0005
Changes to communication structure for overall release of purchase requisitions
M06E0004
Changes to communication structure for release of purchasing document
M06E0005
Role determination for release of purchasing documents
ME590001
Grouping of requisitions for PO split in transaction ME59
MEETA001
Determination of schedule line type (backlog, immediate requirement, forecast)
MEFLD004
Determination of earliest delivery date for checking at time of goods receipt (PO only)
MELAB001
Generation of forecast delivery schedule: realization via creation profile
MEQUERY1
Enhancement for document overview ME21N / ME51N
MEVME001
Calculation of default GR quantity and over/underdelivery tolerances
MM06E001
User exits for inbound EDI messages and outbound purchasing documents
MM06E003
Number range and document number
MM06E004
Control of import data screens in purchase orders
MM06E005
Customer fields in purchasing documents
MEREQ001
Customer's own data in purchase requisitions
MM06E007
Change document for requisitions when converting into POs
MM06E008
Monitoring of contract target value in case of release orders
MM06E009
Relevant texts for "Texts exist" indicator
MM06E010
Field selection for vendor address
MM06E011
Activation of requisition block
MM06L001
Exits for determination of ratings in vendor evaluation
MMAL0001
ALE source list distribution: outbound processing
MMAL0002
ALE source list distribution: inbound processing
MMAL0003
ALE purchasing info record distribution: outbound processing
MMAL0004
ALE purchasing info record distribution: inbound processing
MMDA0001
Default values for delivery addresses
MMFAB001
User exit for generation of releases
MRFLB001
Control items during release creation
LWBON001
Enhancement of LIS update through extension of the communication structure MCKONA (business volumes and rebate income)
LWBON003
Change settlement data for end-of-period rebate settlement before creation of settlement documents
LWSUS001
Customer-specific source determination in Retail
LMEXF001
Conditions in purchasing documents without invoice receipt
LMEKO002
Enhance communication structure KOMP for price determination
If you need BADI's search for them in SPRO
MM-> Purchasing->Business Add-Ins' for Purchasing.
Regards,
Anji -
Batch no. generation-possibility
Dear All,
Is it possible to generate batch no(year basis-internal no. generation) with 105 movt type for one particular type of material i.e. specifically for one material group of ROH material type?
Please suggest the ways.
I this is possible, Another possibility i want as under.
Year Base Internal no. Generation at the time of 105 movt for particular material group of ROH mat. Type
No. generation should be as under
first two digits Another 5 digits Another 2 digits
Toital digits-9 07 W0001 01
From two fields in GRN i.e. H124131 C110 as examplas are given below.
Ex.
Generated batch no (From Any two fields in GRN)
1st field 2nd field
Vendor heat no Vendor Coil ID
07W000101 H124131 C110
07W000102 H124131 C130
07W000103 H124131 C145
07W000201 H1235 C845
07W000202 H1235 C879
07W000104 H124131 C121
likewise
My purpose is to generate Year Base Internal no. Generation at the time of 105 movt for particular material group of ROH mat. Type and that unique generation should be based on another two fields ( Vendor heat no & Vendor Coil ID) maintained at the time of 105 movt. This unique no. i am going to use in Prodn order and need tracebility of s/f batch from vendor heat no. and coil no. in final report.
Any user exit or enhancement will do work. I am very much need. So please suggest suitable ways.
Regards,
VijayVijai,
Hi..Which steel plant were you working. I too was a steel prod man.
You can try the following exits for replacing the batch number proposed by the system with your own.
Try enhancement: SAPLV01Z
EXIT_SAPLV01Z_002 - using this you can change the batch number proposed by the system. Example: System proposes 000100123. You can change it to ABCD100123.
If you do not want sequencial counter for batch number, you can skip internal assignment in exit EXIT_SAPLV01Z_001 to specify your own batch number in EXIT_SAPLV01Z_002.
Hope this helps Please let me know if you have any problems.
Ram -
PO warning message: " ME 575 In case of individual batch valuation, use GR"
Hi,
During the creation of the PO the system prompt me the warning message: " ME 575 In case of individual batch valuation, use GR-based invoice verification".
I would like to block this message, we are not using the gr based invoicing.
I checked the customizing of "Define Attributes of System Messages" but I didn't find this message.Do you have any idea of how to block it?
Thanx and regards
FrankHi,
Firstly, just because a message is not in the config table does not mean that you can't control it. You can add missing entries and set the flags (don't worry about the warining message you will get when adding the message (remember to use 00 for the version number).
BUT, even if it is in the table or if you add it to the table sometimes the control is manually coded in the program.
So try adding the message and setting the flag but if it doesn't work then it is because the coding logic needs it and you may have to do as the message says.
My guiess if that you will have no choice but to use the "GR based IV" flag, the message is quite specific.
Steve B
Maybe you are looking for
-
Total funcnality of select options in function module
Dear ABAPers i am using structure and ranges to meet the functionality of select-options in function module3 but unlike reports if i leave it blank rather than selecting all the data it comes blank. how can i do that coz my select query uses 8 sele
-
Printing black and white when colour is out of ink
I am currently wanting to print a doc in black and white. The YELLOW is out of ink. it will not allow me to print in black and white. I have changed the printer setting to defalt to black and white but it still will not allow me to print cause of the
-
i will be updating my mac 10.5.8 to snow leopard. Will I still retain my safari bookmarks
-
Please can anybody tell me how can i write sms in various indian languages on my N97 mini.... Thanx Vipin
-
Unable to Set Ringtones on SPA509 Phones
Hello Everyone! In one of my UC320w deployments, I've received a call from the end users who have noticed that they are unable to change the ringtones on their phones. The options are available and they can navigate and play different tones, but as s