Skip to Content
avatar image
Former Member

bapi_re_cn_create - conditions

Hi all,

I'm using BAPI_RE_CN_CREATE for the creation of contracts in the system. I'm a bit stuck on the creation of conditions where the calculation rule uses parameters. I don 't know ho I can refer with a parameter to a condition which was defined on an earlier line..

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Mar 23, 2010 at 09:57 AM

    Hello Bjorn,

    the easiest way to find the appropriate parameters is to call BAPI_RE_CN_GET_DETAIL for an already existing contract that uses such parameters in the condition. You are then able to see how the fields/parameters need to be maintained for the creation via BAPI_RE_CN_CREATE.

    Hope this already helps.

    Best regards,

    Christian Palzenberger

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Christian,

      thanks for the response.

      I tries your option already, but I receive a value like [A ] [0010] [IM1000BE 10011008],

      and I have no idea what this means. It are all parts of other objects (first is the distribution rule, second one is the condition type, thirs one is the object number, but I still receive an error when using this as a field...

  • avatar image
    Former Member
    Aug 25, 2010 at 08:37 AM

    I had to create the key myself, it's a concatenation of different keys.

    Add comment
    10|10000 characters needed characters exceeded