cancel
Showing results for 
Search instead for 
Did you mean: 

Table/BAPI to updated Requirement Assignment TAB in IW32

former_member228514
Participant

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.

Thanks,

Aarti.

NTeunckens
Active Contributor
0 Kudos

No screenshot is attached ...

NTeunckens
Active Contributor
0 Kudos

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 ...

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

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

NTeunckens
Active Contributor

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 ...

former_member235395
Contributor
0 Kudos

Hi Aarti,

Check if CY_BT_KBED_ASSIGN FM is useful for you.

Regards,

former_member228514
Participant
0 Kudos

Sorry. Forgot to upload.