Skip to Content

Skip component error while upload BOM using LSMW

Dear SAP PM Guru,

I am currently using LSMW to create BOM for PM. The problem that I am encountering now is: if there is one BOM component which has error, the whole BOM will not be created.

Is there any better way for us to make LSMW script which could skip the error component and move to the next component and create the BOM without the error one.

If error log could log the error component then it is the best.

Thanks for your help.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Jan 09, 2015 at 06:15 AM

    Phi,

    The BOM will not createt if you get an error in one of the BOM component,

    if you still want to create the BOM ,You have 2 options:

    Option1:

    You can run the LSMW and based of the log file remove the error component from the source file and re run it .

    Option 2:

    if the amount of records to be loaded is not high volume , then you could you selected the option "Display only screens with errors" and then you need to correct it online whenever there is error .

    Regards,

    Mark

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 08, 2015 at 07:51 AM

    Hello

    Might BDC will handle this case .Please consult with ABAP Person.

    Br

    Rakesh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 08, 2015 at 08:11 AM

    Thanks Rakesh,

    But I am looking for LSMW way so I do not have to get ABAP involved.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 08, 2015 at 08:27 AM

    Hello,

    if you use LSMW standart batch option ( first one) with :

    object = 0030

    Method =0001

    Program name = RSCBI010

    you will then get error log with the componant which caused the error

    br

    Mark

    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.