cancel
Showing results for 
Search instead for 
Did you mean: 

bapi_re_cn_create - conditions

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

CPalzenberger
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Former Member
0 Kudos

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