Skip to Content

Table/BAPI to updated Requirement Assignment TAB in IW32

Hi All,

I want to automate requirement assignment process. In which currently I am assigning person and work hours to the given Order. I am looking for a Table/BAPI to update the Person, Work hours for the respective Order data in the PM.

Please find attached screen shot for the reference.



Add comment
10|10000 characters needed characters exceeded

  • No screenshot is attached ...

  • In addition :

    • The main table that holds the Requirements data is "KBED" but there's a lot more to it than that, such as your Customizing with regards to Scheduling and the WorkCentres and its associated Resources (you might only be able to add Personnel that is assigned to a Certain WorkCentre) ...
    • There is a Customer Improvement issue running to enable Split-Update via "BAPI_ALM_ORDER_MAINTAIN" but afaik this hasn't been picked up by SAP yet (we could use some more support on this please!)
    • When using "MRS" there are functionalities provided to update the Splits, but without that it is hard to automate in a Custom Program or Function (was my feeling) ...

    References :

    • Blog on Capacity Requirement Table : link
    • Some older post : link
    • Customer Improvement Request : link

    There are some "UPDATE_KBED"-FM's out there, so you could build a solution if you include a solid Locking on tables, in conjunction with using the OrderMaintain-BAPI. Check in debugging on several "CY_BT_KBED*"-Functions when executing via trx. "IW32" and see how tables "KBED" / "KBKO" / KBEZ" are updated ...

    (And I wonder if anyone has had any success in another way, such as a BDC-recording converted in a Custom FunctionModule ... )

    Hope this helps ...

  • Follow
  • Get RSS Feed

3 Answers

  • Jun 13, 2017 at 08:42 AM

    Sorry. Forgot to upload.

    iw33.png (48.6 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Jun 14, 2017 at 08:39 PM

    Hi Aarti,

    Check if CY_BT_KBED_ASSIGN FM is useful for you.


    Add comment
    10|10000 characters needed characters exceeded

  • Jul 18, 2017 at 08:38 AM

    Im facing the same issue, did you find a solution? - Would be nice if you share your solution! :)

    Add comment
    10|10000 characters needed characters exceeded

    • A solution that works is using FM "CY_BT_KBED_POST_IN_OTHER_TASK", but this FM does an INSERT / UPDATE / DELETE on the KBED table an the like ... So you should include a proper Lock etc. In combination with the BAPI "BAPI_ALM_ORDER_MAINTAIN" you can automate much of the process (at you own risk) ...

      Including the full-OrderOperations (incl. Capacity Requirements) via this BAPI is much needed ... Supporting this suggestion on the Customer Influence website is much appreciated ...