Skip to Content

LSMW for batch adding # before batch number

Hi Experts,

I have created a LSMW for updating batch characteristic using MSC2 and have done all the steps. The problem is with the batch input session. It adds a # before batch number and ignores last digit of the batch number and errors out that batch #XXX does not exist.

Error message Batch #HF0017683 does not exist for material 16888

Any help here? am i missing anything here?

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Apr 25, 2016 at 07:16 PM

    Please check that you have this special character in the template.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 25, 2016 at 10:08 PM

    it is probably a hidden character in your source file that gets converted into the hash sign in SAP, or even the last character from the field on the left caused by a shift which is based on a line break character within a Excel cell

    I would start checking the Display read data file in detail to see how the source file appears in SAP before it gets converted. The batch input itself does only use the values that it gets from earlier steps.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 26, 2016 at 07:00 AM

    Hi,

    Please attach the file which you are trying to process, it seems to be a problem in file.

    Try to format the file or write a conversion code in the LSMW to remove # character.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.