cancel
Showing results for 
Search instead for 
Did you mean: 

Update method in update rule

Former Member
0 Kudos

Hi experts,

I have a characteristics whose values is determined from the value of other two characteristics in the update rule.

and hardcoded values are populated in the update rule. How do I map this field in the update rule ( Char,routine,formula,source infobject, initial vale etc) .

I assigned initial value but still brings in a extra record for initial value. i don't need this record.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

udayabhanupattabhiram_cha
Active Contributor
0 Kudos

Hi:

<i><b>I assigned initial value but still brings in a extra record for initial value</b></i>

Your COde cannot create new Records in Update Rule.

In your case, it looks like you don;t want to update some records where <infoobject> = ' '.

You have to write the Code in Start Routine using ABAP.

E.g.,

loop at data_package.

Derive value of <infoobject> using the logic of 2 other chars.

modify data_package.

endloop.

delete data_package where <infoobject> is initial.

Chamarthy

Former Member
0 Kudos

Hi,

Two options:

1. Formula

2. ABAP routine to set the result.

Hope it helps (if so please assign points),

Gili