cancel
Showing results for 
Search instead for 
Did you mean: 

Batch number

Former Member
0 Kudos

Dear Experts

I have scenario where i give a batch number for the input material and the same batch number should be captured for output material .

Regards

Surender

Accepted Solutions (0)

Answers (5)

Answers (5)

dhaval_choksi3
Active Contributor
0 Kudos

Hi,

This can be done by using User Exit.

Available User exit for the same is,

Enhancement is SAPLV01Z - CFCs for internal batch number assignment

Function Module is EXIT_SAPLV01Z_002 and Include is zxvbzu02.

Below is the detail of this User Exit :-

In the field of internal batch number assignment, you can now use the
 following components of the SAP enhancement SAPLV01Z:

 o   EXIT_SAPLV01Z_001. Using this CFC, you replace the number range
     object and/or internal interval proposed by the system with your own
     number range object and/or internal interval.
     In addition, you can block the system from assigning an internal
     number depending on material or plant, for example.

 o   EXIT_SAPLV01Z_002. Using this CFC, you change the number assigned by
     the system.

 Interfaces are documented in the respective components.

 In all exits you can use communication structure X_BNCOM with
 application data for the respective business transaction (plant or
 material type, for example). You must obtain further information about
 the time, user name, or date, for example, in one of the exits yourself.

 SAP provides six examples of internal batch number assignment in the 
 includes LXVBZF01 and LXVBZF02. You can copy or adjust these example
 codes:

 1.  Copying the production order number

 2.  Copying the sales order 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 in the batch number

In this include you have to write your logic for generation of B.No of Header Material by taking reference of Input Material.

Regards,

Dhaval

Former Member
0 Kudos

Dear Brahma

My requirement is when i create a process order i give a batch number to input i.e to the key component and the batch number which was assigned to key component should be carried forward to my Output material by the system itself.

Regards

Surender

Former Member
0 Kudos

hi

This can be achieved by Use of Batch Derivation Functionality.

Go to t.code DVSP and activate Batch Derivation.

Now ,First Create Sander Condition by usng T.code DVS1,

Assign Material type (Halb) and assign required characteristic for which you want to transfer Batch value to Fert Code.

Then create recipient condition by T.code DVR1.

Assign material Type Fert to it and Characteristic which you have assign in T.code DVS1.

This will work during Production Order or Process Order release.

And for this you have do Batch Determination for Halb in Order itself

check this help link

http://help.sap.com/saphelp_47x200/helpdata/en/35/7b723c4356d068e10000000a114084/frameset.htm

-ashok

Edited by: Ashok Keerthipati on Dec 8, 2008 12:11 PM

Former Member
0 Kudos

Hi,

This can be done by MM consultant. pls put this in mm forums.

Anil

rupesh_brahmankar3
Active Contributor
0 Kudos

Dear,

With internal Batch Number assignment, it is possible to have the Production Order No. as your BAtch No.

You can have the detailed information regarding the same in the below path.

SPRO --> Logistics - General --> Batch Management --> Batch Number Assignment -->

when ever you release order you need to check in component view , for all batch reqd entry is batch is assigned to that component.For all component you have assigned batch management need to batch assigned in CO02 while release of the order in componenet view next to storage location.

first of all you have to maintain your material master by setting the batch management option for the material codes where you want to give the batch number. MRP3 view batch entry or in OPKP there is option batch entry while releasing, creating or confirmation. then assign this scheduling profile to work scheduling view.

Please try and come back.

Regards,

R.Brahmankar

Former Member
0 Kudos

Hi

Firstly you use make the indicator "Batch Management" active in material master data. Then.

If you activate the module of batch determination, the batch number can be assigned by SAP system automatically! Otherwise, when you do GR with MIGO, in item detial you have to input the batch number manually.

After that you can use the batch number to trace your stock.

Good day

Tao