Userexit EXIT_SAPLV01Z_001 for COR1 (batch numbering)
Hi guys,
I have a strange problem.
Our customer is upgrading from 4.6B to 6.0 (701), and their user exit EXIT_SAPLV01Z_001 (used for automatic batch numbering in transaction COR1) stopped working.
I just don't seem to pass through this code while debugging, even though the project seems to be active etc...
Any ideas what might have changed between 46B and 701?
cheers
Rob
>
Vipin wrote:
> Hi,
>
> Check whether Internal Batch Number Assignment is active.
>
> Regards,
> Vipin
Thanks, Vipin.
For some reason, internal assignment was switched off on the DEV system, and on on the PRD system. I could 've been debugging until hell froze over
Similar Messages
-
Finding Tables needed for linking Batch Numbers/Items to Invoice Items
I'm trying to create a report that will show basically a Sales Invoice and under each line Item show the Items with thier batch numbers that went into that sales Item. My difficulty is in finding the table or tables that have key fields to relate Invoice to Batches and inventory. Looking at forms/reports in B1 I have found RBTN OBTN and RITL tables but only the OBTN shows in the crystal as a datatable.
Jon,
You should have better luck posting in one of the [Business One forums|http://forums.sdn.sap.com/index.jspa?categoryID=1#44].
Jason -
User exit/BADI for MIGO Batch numbers
Hi All,
I want to find a user exit which will give the oldest batch number (MCHA-LWDET) of semi-finished product during the goods receipts of the finished prodocut in MIGO.
Could you please give me any hints to find out the user exit for this.
Regards,
Sekhar DHi,
Check these User exits... for MIGO
Exit Name Description
MBCF0002 Customer function exit: Segment text in material doc. item
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
Check thse BADI's.. for MIGO
Badi Name
ARC_MM_EBAN_CHECK
ARC_MM_EBAN_WRITE
ARC_MM_EINA_WRITE
ARC_MM_INVBEL_WRITE
ARC_MM_MATBEL_CHECK
ARC_MM_MATBEL_WRITE
MB_CHECK_LINE_BADI
MB_CIN_MM07MFB7
MB_CIN_MM07MFB7_QTY
MB_DOCUMENT_BADI
MB_DOCUMENT_BADI_SAP
MB_DOCUMENT_BADI_SAP
MB_DOC_BADI_INTERNAL
MB_DOC_BADI_INTERNAL
MB_ME_CSGMT_BADI_SAP RTFASH:
MB_MIGO_BADI
MB_MIGO_ITEM_BADI
MB_PHYSINV_INTERNAL MB_PHYSINV_INTERNAL BAdI Implementation
MB_RESERVATION_SCR DFPS: Field in the Reservation
MB_RESERVATION_UPCHD DFPS: Reservation
Regards,
Raghu
Edited by: Raghavendra Rao G on Aug 27, 2009 5:50 PM -
Hi guys,
When doing GR in MIGO batch numbers are auto generated. I want to know where they r configured . And my requirement is i want to give the number range for this batch numbers depending upon the plant or certain period. as that number which is auto generated is not coming in series. is it possible to customize the batch numbering using any methods like configuring or using user exits or badi.
Please help me in this regard..
Thanks,
Dippyhai dippy, they are generated bcos it is internal numbering
and u have to configure of external numbering and it can be doen through spro
just ask ur functional to do that
regards
m.a -
Report for a selection of items+batch numbers that I would have had on hand
I would like to run a report for a selection of items and batch numbers that I would have had on hand (only) for September 30th. I have run the batch numbers report but this gives me all transactions from August 1/09 to September 30/09.
Hi
If you need to know quantity onhand ,probably you need to run query against OINM tables but If you are lloking for information then I guess this batch and serial number would be handy ....
Hope this helps
Bishal -
Standard report to see the Batch numbers for the materials
Hi Gur's
I am searching for a standard report that would give out details from the purchase order. The details that i need are as following fields 1. Purchase order batch, 2. Purchase order number 3. material
can you any one help me on this
regards
AMHi Teja
You can use T-Code - MB51, here you can generate report material wise purchase order with batch numbers and here to see stock in so give movement type 101 to see all Batches received against purchase orders
regards
madhu -
Need tables for tracking Invoice Items back to the Batch Numbers/Item codes
Trying to build report to show the Inventory movement from a Sales Invoice Item back to the source items and the Batch Numbers for assigned along the way. Having problems finding all the tables to connect the Batch information to the Invoice information.
In B1 under batch management I can see fields that belong to tables RBTN, RITL and OBTN but I can only find OBTN in Crystal.
Are these tables hidden for some reason or are they Temporary tables that B1 creates when opening the form/report.You may check this: Re: To what table are Batch# saved to with SAP 8.8
-
Change Batch numbers (CHARG) for storage units in Warehouse Management
Hi,
I need to modify the batch numbers (CHARG) for storage units in Warehouse Management.
I am new to Warehouse Managment System.
Can you please let me know the transaction or movement types or Transfer orders to create/execute that will allow me to change the batch numbers for the storage units in Warehouse Management.
The new batch numbers should be reflected in LQUA (Quants) table.
Thank you very much. Thanks in advance.
Regards,
- VidyaTransactions related to Goods movement.
MB01 Post Goods Receipt for PO
MB02 Change Material Document
MB03 Display Material Document
MB04 Subsequ.Adj.of "Mat.Provided"Consmp.
MB05 Subseq. Adjustmt: Act.Ingredient Mat
MB0A Post Goods Receipt for PO
MB11 Goods Movement
MB1A Goods Withdrawal
MB1B Transfer Posting
MB1C Other Goods Receipts
MB31 Goods Receipt for Production Order
MBNL Subsequent Delivery f. Material Doc.
MBRL Return Delivery for Matl Document
MBSF Release Blocked Stock via Mat. Doc.
MBSL Copy Material Document
MBST Cancel Material Document
MBSU Place in Stor.for Mat.Doc: Init.Scrn
Thanks -
BADI for MIGO-populate batch numbers in Split screen
Hi All,
I have a requirement in which a user enters a Purchase order and then clicks on Distribute Quantity button.
Now another split screen opens up in which we enter the different quantities and their corresponding batch numbers.
I want that when user clicks on distribute qty button the screen shows some default values in Batch column.
These values should be picked from mchb depending on the material and largest batch no already generated for that material.
Suppose material1 has max batch number as :123, then I want to display in the split screen foll batch numbers:
124
125
126....so on
user can also change them if required.
I have gone through the foll BADI's:
MB_MIGO_BADI
MB_MIGO_ITEM_BADI but could not find a solution.
Please help.
Shilpa.Hi Pranav,
I have tried the BADI..
It does trigger when we click on distribute quantity button.Thanks
But I want that user should enter the starting batch number for each material in that PO and then depending upon the number of rows in which qty is distributed, batch numbers should be incremented by 1 and displayed there.
For this I need an exit when we click on Check button in split quantity screen.
Thanks,
Shilpa
Edited by: Shilpa Bansal on Apr 9, 2010 11:47 AM -
User exit SAPLV1ZE for batch numbering
Hello,
The problem is with user exits. I have to make user exit that checks correct batch numbering. When user enters the batch number in transaction, for example, MSC1N it should check is it according standards. I found that user exit SAPLV1ZE is for such purposes and wrote code for this user exit to save dataset each time it executes, to test is it working.
As I understand form documentation, this user exit is triggered when you press enter after entering batch number in transaction MSC1N. I tried to do it and everything worked fine (dataset was created)! I added some code and tried to execute it again. It worked, but only once! I tried to execute it again with same code and it didnt work! Now I commented all the code I added and left only dataset creation part but no results I cant make it work again.
The user exit is activated and the code in it is correct (tried to copy it in report and execute). I thought it can be used only once per material or plant, so I tried to trigger the user exit with different data, but it doesnt work anyway.
Maybe anyone of you have this kind of solution in your system or you just have some ideas where the problem could be?
Any help will be appreciated!
Thanks in advice!The issue is solved! I tried to put break point in function where this user exits are called and it didn't stop when I tried to run it from MSC1N. I tried to do the same from other transactions and found that this user exit is triggered from, for example, MIGO. And it is working fine.
So the problem was that user exit SAPLV1ZE is not triggered from MSC1N. I'll have to find another user exit... -
Sales Analysis Report for Batch Numbers
I am currently having an issue with Batch numbers and sales analysis report item wise. If the goods are delivered it does not show the quantity in the report. is there a way to make the quantites show. Open delivery notes show the quantity in the report. Could the reason be that once the delivery note is closed the quantity does not show in the report.????
Dear Mr Shah,
If I understood correctly, you are saying that there is no issue in adding the document with the batch but it is not shown in the Sales Analysis report?
The Sales Analysis report does not show information regarding the quantity because it focuses on the value of the document.
In order to have an overview on the trasactions related to the batches please use the Batch Number Transaction Report under Inventory - Inventory report.
Regards,
Marcella Rivi
SAP Business One Forums Team -
Report for batch numbers and delivery
Dear gurus,
Is there a report that
I can see batch numbers and delivery at the same time?Use t.code VL06 and click on List outbound deliveries button.
In the selection screen, enter details like sales org, distribution channel, division, shipping point and actual or planned goods movement date (per your requirement) and execute.
In the next result display click on item view button. To get the batch data, click on change layout button. From the list of fields available (hidden field list) on the right hand side, select on batch and click on left arrow button.
Then click on copy button. You can see the batch details with delivery line items.
This report is useful, where in you can select addtional fields from layout button.
Regards -
Hi
Batch management there are 3 internal number ranges and 1 external number range.
How system will automatically pick up the number range during batch creation (GR or release of prod.orders)?
If i create one more internal /External number range - how system will verify and create new batch with new number range?
Can you please through some lights on this....
Thanks
SamiConfigure Customer Exits for Intern. Batch Number Assignment
You can use SAP enhancement SAPLV01Z for internal batch number assignment. This enhancement contains two function module exits that you can use to define number ranges or templates for batch numbers:
EXIT_SAPLV01Z_001. You use this exit to replace the number range object and/or interval proposed by the system with your own number range object and/or interval.
In addition, you can, for instance, stop the system from assigning an internal number depending on the material or plant. You can also use this exit to stop the dialog box from appearing.
EXIT_SAPLV01Z_002. Using this exit, you can either change the number assigned by the system, or assign your own number.
Further notes
Both exits contain a communication structure with application data from the respective business transaction (plant or material type, for example). If you need further information, such as the time, the user name or the date, you must include them yourself in one of the exits.
The system always checks whether the assigned batch number already exists in the system. If it does, it terminates the function without assigning a batch number.
Example:
In function module exit EXIT_SAPLV01Z_001, the system uses the material type to determine number range interval XY. This number range is then used to determine number 0000100123 as the next batch number .
In function module exit EXIT_SAPLV01Z_002, the final batch number 'ABCD100123' is determined from batch number 0000100123 and plant ABCD. The system suppresses the leading zeros.
If you do not use a sequential counter for the batch number, you can skip internal number assignment in exit EXIT_SAPLV01Z_001 to specify your own batch number in exit EXIT_SAPLV01Z_002. Further information and examples for EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002 Further information and examples for EXIT_SAPLV01Z_002 -
Leading zeros in batch numbers
Is it possible to have leading zeros in batch numbers, meaning that batch 123 is different than batch 0123?
In the standard, number range 01 from 0000000001 to 9999999999 has been defined for number range object BATCH_CLT.
You can use SAP enhancement SAPLV01Z for internal batch number assignment. This enhancement contains two function module exits that you can use to define number ranges or templates for batch numbers:
1.
In function module exit EXIT_SAPLV01Z_001, the system uses the material type to determine number range interval XY. This number range is then used to determine number 0000100123 as the next batch number .
2.
In function module exit EXIT_SAPLV01Z_002, the final batch number 'ABCD100123' is determined from batch number 0000100123 and plant ABCD. The system suppresses the leading zeros.
If you do not use a sequential counter for the batch number, you can skip internal number assignment in exit EXIT_SAPLV01Z_001 to specify your own batch number in exit EXIT_SAPLV01Z_002. -
Material type wise batch numbers
Hi,
I want to have different batch numbers ranges for different material type
Eg batch nos for Raw material should start with 10000000000
Batch nos for semi finish - 2000000000
batch nos of finish - 3000000000
Can anyone help me in this regards
Thanks in Advance
AbhiYou can use some of the standard User Exits or develop a custom user exit for this purpose.
You can use SAP enhancement SAPLV01Z for internal batch number
assignment. This enhancement contains two function module exits that you
can use to define number ranges or templates for batch numbers:
EXIT_SAPLV01Z_001. You use this exit to replace the number range
object and/or interval proposed by the system with your own number
range object and/or interval.
In addition, you can, for instance, stop the system from assigning
an internal number depending on the material or plant. You can also
use this exit to stop the dialog box from appearing.
EXIT_SAPLV01Z_002. Using this exit, you can either change the number
assigned by the system, or assign your own number.
There are many such user exits, please check and use the appropriate user exit.
Hope this helps you.
Maybe you are looking for
-
ISA iviews error in Channel Management Portal for partner portal
I am getting the following error while accessing any iview which uses the GenericISAComponent or GenericICSSComponent in the Partner Portal. I am using CRM 5.0 and SAP Portal 7.0 (2004s). What configuration needs to be done in order to make ISA ivie
-
Blue screen of death when updating podcasts
I'm unable to update some of my podcasts. When I click the "GET" button, the "getting it" icon starts to whirl, and then I get the blue screen of death. Any solutions?
-
Help in Configurstion of Oracle Database of Hard Disk 880GB
Hi, I have a Hrad Disk Capacity of 880 GB. I need to Configure the Hard Disk Capacity and use in creation of Oracle Database: Need help in how to keep space for: 1.Datafiles 2.Oracle Binaries 3.Archive Log 4.Redo Log Any help will be needful for me T
-
IPhone + Apple TV = Perfect Union
Wouldn't it be great to take advantage of the iPhone sensors and the Apple TV for playing games, surfing the web full screen, typing text rather than managing with the remote, among any other possibilities?
-
Migrating old macbook to new iMac
How do I migrate only applications to a new iMac? I don't want years of old system files filling up my new machine.