Skip to Content
0
Former Member
Nov 10, 2005 at 04:22 AM

Where Shall i write routine?Urgent..Please Help

21 Views

Hi All,

I have an Inventory cube contains 0Material, 0MATL_GROUP fields.

Material group filed is an Navigational Attribute of 0MATERIAL.

There are two cases to populate 0Material Group:

1. PO With MaterialNumber Record - Material group filed is populated from 0Material via UPDATE Rules. Automatically we are getting now PO With MaterialNumber Record data via Update rules – characterstics- Material is the source assigned to Material Group.

i.e Material group is assigned to Material Dimention.

2. PO Without material number record i.e. Blank - Data is populated with the newly added field ZZMATKL, is maintained in Data source and in Info source. Thru exit code Material group data picks from EKPO and stores into ZZMATKL )

We maintain only one Material Group Infoobject in Cube i.e 0Matl_Group.( Handles two cases)

For Case 2 i.e PO Without material number record i.e. Blank :

I assigned in Transfer rules : ZZMATKL to ZMATGROP. Tested data that comes up to PSA level fine. In cube it does’t show PO Without material number record.

I think , In Update rules we need to write a routine that take value from ZMATGROUP and assigns to 0MATL_Group to view value in CUBE for case 2.

Logic: If Material is space , assign ZMATGROP to 0MATL_Group.

Question is: Where can I write a routine? In Update Rule/Transfer Rule/ Start routine?

There many Key figures in UR, I am confused on which KFG I should write?

Or shall I write directly on Material group info object In Update rule > detail >Characterstics >Matgroup > select routine.??

Please help me .It is URGENT issue.

Thanks in advance.

Sri