Skip to Content

Deletion of manually added BOM components via Idoc

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Jul 07, 2020 at 08:30 AM

    Ritish Koneru,

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • Posted on Jul 06, 2020 at 01:28 PM

    Ritish Koneru,

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • Posted on Jul 07, 2020 at 02:45 PM

    Ritish Koneru,

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

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.