cancel
Showing results for 
Search instead for 
Did you mean: 

Deletion of manually added BOM components via Idoc

former_member689418
Discoverer
0 Kudos

Dear Experts,

Request your help for below issue that I am facing in SAP Master data maintenance.

Background: Due to urgent business requirements, key users of our client will have to manually adjust SAP Engineering BOM data(changing quantity, addition of new components) so as to publish product compliance data to customers. Generally we create/update BOM using BOMMAT01 Idoc based on the changes in our PLM system.

Issue: BOM created via BOMMAT01 will update ALE indicator at the component level which will not be available for manually added components. So, when users add components manually we are unable to change those components via Idoc again. Standard SAP logic is ignoring manually added components in IDOC_INPUT_BOMMAT/CSAP_MAT_BOM_MAINTAIN. Even though I keep deletion indicator(LKENZ) in the Idoc, these components are being ignored with message 'Item(1) XXXX ignored(deletion indocator) - Message No. 29863'.

Does anyone have similar requirement or faced such kind of error?? If so can you please let me know how to solve it.

Thanks in Advance.

Best Regards

Ritish Koneru

Accepted Solutions (0)

Answers (3)

Answers (3)

Ritz
Active Contributor

ritish,

Come across something which may be useful for you. Please refer SAP Note 209276. It sounds like you can setup ALE indicator by running a report for the manually added components. Please be cautious while using the report. Try it in sandbox first.

https://launchpad.support.sap.com/#/notes/209276

Please check it may help resolving your issue.

Thanks

RD

former_member689418
Discoverer
0 Kudos
ritesh.dube

Checked the note and I also did similar set-up. It does update STPO table with ALE indicator as 'X' but this is not helping to delete those manually added components via Idoc. Standard program does a check on SELKZ(selection indicator), Valid from date and Change document in CSAP_BOM_ITEM_MAINTAIN which is not allowing to delete the manual ones. Idoc goes into error even though I adjust all of them in debugging.

May be I should explore different solution to delete the manual components while processing the Idoc from source system.

Best Regards

Ritish Koneru

Ritz
Active Contributor

ritish,

After maintaining the ALE indicator it will same as changed maintained through IDOC, other conditions like change number validity you always need to maintain. Please check setup again, also please share report name you run for setting up ALE indicator.

Thanks

RD

former_member689418
Discoverer
0 Kudos

ritesh.dube

I have created the report as per the Note you have provided. Below are the steps I have performed(Production scenario except the custom report ZZALE execution).

1. Engineering BOM(EBOM) is created via ALE Idoc with 4 components with respect to the structure in PLM system

2. After BOM creation, I have manually added 5th component(material no for eg., 123456789, Qty 30) to the EBOM

3. Executed the report ZZALE created with correction instructions from note 209276. Report updated 5th component also with ALE indicator in STPO table

4. Now the component(same mat no 123456789 but diff Qty 40) is added in PLM system. I have processed the new Idoc having 5 components with the expectation that it will delete the component with Qty 30 and add the one with Qty 40

The Idoc still ignore deletion of component with Qty 30 and add's another new entry with Qty 40. With this now my EBOM is having 6 components whereas PLM/source system had 5 components only.

Thanks

Ritish

Ritz
Active Contributor

ritish,

I guess only manual deletion and do addition with ALE is the only option feasible in such a situation. Please update the forum once you find the solution.

Good Luck.

Thanks

RD

former_member689418
Discoverer
0 Kudos

Hi Ritesh,

Thanks for your response.

Yes manually I can do but then it's not something we want in Production system every time user does a change. I tried updating ALE indicator for manually added entries in STPO but still standard SAP ignores them. I wonder why SAP doesn't allow this or at least there should be some alternative but I am not able to find it.

Best Regards

Ritish Koneru