Skip to Content
0

BAPI or FM to change the components and settlement rules of a prod. order.

Sep 22, 2017 at 08:53 AM

194

avatar image
Former Member

Dear SAP SCN Readers,

I have a business requirement that I have to change the settlement rule and add a few components to the production order. I have used the BUS2005 methods to create and change but they do not operate at settlemet rule and component level. I have resorted to BDC but not happy and would like to use BAPI or FM. Could anyone please help as I have searched with no results.

Thanks,

Prasenjit

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Raymond Giuseppi
Sep 22, 2017 at 10:54 AM
0

If you don't find it in function groups COXT_BAPI and 2005_BAPI, you can try BDC or, at your own risk, FM like K_POSTING_RULES_DELETE/INSERT and K_SETTLEMENT_RULE_SAVE_ALL (for sample look at z-report provided by OSS notes like 1073650 - Co-products: Generating settlement rules.

Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hello Raymond,

I have checked the BUS2005 and the COXT_BAPI_* things thoroughly before posting. Thanks for the referring to the 2 other function modules from KOBS function group they look good for changing the settlement rules and adding new ones. Thank you for that.

I have one more question if I use BAPI for the release of the production order it would not release if there are issues with capacity checks but when in BDC mode that can be overrideen by taking proper steps. Is there any function module that can be used to override the capacity check issue.

Thanks,

Prasenjit

0

I would first search for OSS note on capacity similar to the old one provided for material availability (1008739) which deactivated some Customizing option (User decides ...) when executed from API call.

0
Former Member

Thanks Raymond for the help I could close both the open points.

0