Skip to Content
avatar image
Former Member

use enhancement to create new batch ,but produce the same batch

Hi,

use  EXIT_SAPLV01Z_001 &  EXIT_SAPLV01Z_002 to create new batch when do 101 GR.

We received the same material to the same plant and storage location for two times, but the batch is the same. How to fix it ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 25, 2014 at 08:11 AM

    So you do not want to use facsimile batch numbers. If you are using user exit to create a batch number, then you should talk to your ABAPer. He can make the batch number as unique.

    In standard, you can control this by the message number M7668 - Batch & has already been posted in stock &. Set the message as error, then system will not allow to post facsimile batch number.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 25, 2014 at 08:37 AM

    The exit is probably used because of the alphabet characters in the number. But the number itself looks pretty much logical to 14 for the year  12 for the month, 24 for the day.   And I would say the 01 is a counter for receipts per day which looks like there is still an error in the program logic if you get it twice.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 25, 2014 at 12:20 PM

    Dear Shao,

    Kindly check the possibility to your business case for doing GR with single location (One to one combination), do one more GR for another location.

    Regards,

    Karna J

    Add comment
    10|10000 characters needed characters exceeded