Skip to Content
P D

Change the BOM Component Quantity BAPI

Hello Experts,

I need to change the BOM component quanity. I have gone through many posts which discusses the same issue. Most of them are advicing for a BDC. I would like to know is there any better way to achive this than BDC. (Because I have to update the component quantity from a custom program which has ALV grid and using the same data for BDC will be a bit tricky considering the table control in CO02 and so on) .

NB: I already tried BAPI_RESERVATION_CHANGE but as you may be knowing it shows the error automatic reservation can't be changed.

B.R.

Add comment
10|10000 characters needed characters exceeded

  • any help ? I am not finding a way out of this ? I need to change the componenet quantity may be add a component also . Any way i can acheive this ?

  • Get RSS Feed

3 Answers

  • Apr 27 at 07:06 AM

    First of all, you are speaking about Work Order components, not BOM, they are different objects.

    If you want meaningful answers, you have to write proper questions ^_^
    Anyway, googling "BAPI CO02 Components", you find a lot of topics about the same issue and the first one you fins is https://archive.sap.com/discussions/thread/1120164

    There is an answer there pointing to a blog with a full example on how to create and change Production Orders.

    For the creation, i would stick with standard BAPI BAPI_PRODORD_CREATE but sadly SAP doesn't provide a similar BAPI for the update/change ( BAPI_PRODORD_CHANGE effects only the header).

    Try with the links i gave you and i suggest you to be more clear in your questions so people can help you better.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 27 at 02:18 PM
    Add comment
    10|10000 characters needed characters exceeded

  • May 02 at 11:16 AM
    -1

    Hi,

    Kindly try to explore user exit PPCO0008 to add or change components in production/process orders and take help of Abap consult to write program accordingly

    Regards,

    Amit

    Add comment
    10|10000 characters needed characters exceeded