cancel
Showing results for 
Search instead for 
Did you mean: 

user exit of batch for different material type

Former Member
0 Kudos

Hi,

we r facing some problem while useing this user exit EXIT_SAPLV01Z_002 actually i created the object Batch_mat in which defines the range for FERT & ROH when i m creating production order it assign the first no of that no range when i m creating one more order it is giving me same no for batch means it is not moving forward from that no.

same problem for ROH i want ur help if ur abaper is used that thing then pls told him to guide us its very urgent .

waiting for reply

Thanks

shiva

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks to all actully abaper problem is that i solved with the help of him.

Former Member
0 Kudos

Shiv,

Have you changed any std example coding?

If so please send me the code for my reference.

Former Member
0 Kudos

As per the help file...if you are using material type dependndent number for batch you need to use EXIT_SAPLV01Z_001

see below help file

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 exit EXIT_SAPLV01Z_002.

Former Member
0 Kudos

Hi,

Raj ok i useing now 001 exit but the problem is the moving of batch no from one no to other

we r facing problem for that . if u have any sol for that pls guide us.

Thanks

shiva

Former Member
0 Kudos

I donot know exactly you want the number to be created.

pl let us know when you are creating a batch number.

example - if you are refering the order number as batch number then while creating the order system will copy the order number and create the batch. like this when are you creating batch number in your system? Is it for raw material or product?

Former Member
0 Kudos

Hi,

i m trying for raw & hawa material is the batch mgt tick is there in MM of that material sys generates the batch no at the time of GR for that i want that no should be different from material type thats only

for that we r using that exit i think u get me

waiting for reply

Thanks

shiva

Former Member
0 Kudos

now it is clear.

hence in the code you need to give if the material type is HAWA...direct the system to pick up a number range which you want...

See the sample code gien in the exit.