Skip to Content
avatar image
Former Member

BAPI or FM for update and insert Settlement rule

Hi expert

I want to update and insert settlement rule.

I do call function follows step.

1) K_SETTLEMENT_RULE_GET use objnr only.

2) K_SRULE_READ_ARCHIVE use objnr and table cobra,cobrb.

3) K_SETTLEMENT_RULE_FILL use table cobra,cobrb.

4) K_SETTLEMENT_RULE_SAVE_ALL

but to step 4 not have update or insert to settlement rule and not error display.

help me please.

Regards,

pornchai p.

Edited by: Pornchai on Jul 23, 2009 3:49 AM

Edited by: Pornchai on Jul 23, 2009 3:51 AM

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • Jul 23, 2009 at 02:28 AM

    Hello,

    Did you try K_SETTLEMENT_RULES_UPDATE FM?

    Regards,

    Burak

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 23, 2009 at 03:12 AM

    Hi expert.

    I develop user exit event save for will change and insert cost center in settlement rule in CO02 transaction.

    after try K_SETTLEMENT_RULES_UPDATE FM result short drum need according to the description was not specified.

    this parameter was "AK".

    I check find record data Settlement document header is not have in table AUAK.

    Please example this function module or solution.

    Regards,

    Pornchai P.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 23, 2009 at 05:23 AM

    Hi,

    You can check with this BAPI.

    BAPI_BUS2054_CREATE_MULTI.

    Regards,

    Shamma

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 01, 2013 at 07:38 AM

    Hi Pornchai,

    Did your problem got solved ? I also have exact same requirement to change a settlement rule and insert a new one too while saving a production order. I too tried to follow the above F.M's but I am clueless if the above F.M's will work.

    Regards,

    Sayantan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 15, 2014 at 04:45 PM

    Any way of creating the settlement rule other than BDC?

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 16, 2014 at 12:19 PM

    Hi dears.

    If somebody wants modify a SETTLEMENT RULES just inside a Production order, he/she will have

    to use the FM IBAPI_ALM_ORDERSRULE_CHANGE.To me was really good know it, and also so much

    usefull the IBAPI_ALM_ORDER_SRULE FG.

    King regards.

    Add comment
    10|10000 characters needed characters exceeded