cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Update Rules to populate data target field

Former Member
0 Kudos

Hi all,

I have an InfoCube which is fed by a ODS object. Now there's one field in the cube which is not present in the ODS. I'll have to populate this field in some update routines, I guess.

Can someone please tell me how exactly to go about this?

Thanks,

Satyajit.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The answer is yes if you know the logic of value determination and you have the objects representing this logic in the comm stru. The latter is not necessary if your new field value depends on not incoming values, but on something external, like time, constant etc.

What's the logic?

Best regards,

Eugene

Former Member
0 Kudos

Thanks a lot for all your inputs. My logic depends on the incoming values and I will have them in the communication structure.

Regards,

Satyajit.

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Satyajit,

Yes. It is possible even though it is not an attribute. You can make use of ABAP code and fill the field based on your logic.

Bye

Dinesh

Former Member
0 Kudos

Hi,

If you know the logic of the new field value determination, you can easily populate this value.

For example, if your new field is an attribute of the other object (which you have in the comm structure), you can lookup into the table of the base object and find the attribute value. You don't have to have this attribute in the comm structure.

Here is an example of finding 0matl_group attribute value by the value of 0material:

Best regards,

Eugene

Former Member
0 Kudos

Hi Eugene,

I will not have this new field as an attribute of another InfoObject. I will need to calculate this in the ABAP routine and then fill this new field.

Can I do this?

Thanks,

Satyajit.

Former Member
0 Kudos

Hi Satyajit,

Add the field the cube and to the communication structure. Now populate the field in your update rules using routines.

Bye

Dinesh

Former Member
0 Kudos

Hi dear,

you have to choose which type of filling you can use in the update rules:

a constant value, a master data value..or, more probably, some ABAP lines with some logic inside...

But you have to know the functional requirement...

Hope it helps!

Bye,

Roberto