cancel
Showing results for 
Search instead for 
Did you mean: 

Skip component error while upload BOM using LSMW

phi_dang
Participant
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

marc_marco
Contributor
0 Kudos

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

phi_dang
Participant
0 Kudos

Thanks Mark,

it seems we have no way to skip the error and we have to prepare the BOM components perfectly before creating the BOM.

Thanks for your response.

Answers (3)

Answers (3)

marc_marco
Contributor
0 Kudos

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

phi_dang
Participant
0 Kudos

Thanks Mark,

but is it still created BOM successfully even if its component get error?

rakesh_mane
Active Contributor
0 Kudos

Hello

Please check Manual creation Bill Of Materials while doing so it throwing error for in correct data.

If not there some enhancement active

Br

Rakesh

phi_dang
Participant
0 Kudos

Thanks Rakesh,

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

rakesh_mane
Active Contributor
0 Kudos

Hello

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

Br

Rakesh