cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping fields on TR

Former Member
0 Kudos
83

Hi Friends

I am extracting 3 fields (partnr, roletyp and sobjekt) from vdgpo.Now i want to map the fields partnr and sobjekt based on roletyp.

If roletyp = TR0120 then

zauthdrawer = vdgpo_partnr.

If roletyp = TR0992 then

zstateclk = vdgpo_partnr.

If roletyp = TR0998 then

zcredctrlr = partnr.

If roletyp = TR0999 then

zadminmgr = partnr.

If roletyp = TR0995 then

zcredmgr = partnr.

If roletyp = TR0996 then

zadminasst = partnr.

If roletyp = TR0997 then

zmktasst = partnr.

Your reply would be richly appreciated.

Regards,

Chama.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

you can write a routine in the transfer rule by comparing the roletype and assign it to that particular infoobject

haritha

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Chama,

Then you would need to write individual transfer routine for all the info-objects you need to populate.

Bye

Dinesh

Former Member
0 Kudos

Hi Chama,

Is it on on R/3 or BW.

If on BW then you need to write the routine for the individual info-objects in the update rule.

Bye

Dinesh

Former Member
0 Kudos

Hi

It is on BW and it's MD load.

Regards,

Chama.

former_member619464
Active Contributor
0 Kudos

In the update rules of each Info object, try this routine

<u>Update rule of zauthdrawer:</u>

If comm-structure-roletyp = TR0120.

RESULT= comm-structure-vdgpo_partnr.

<u>Update rule of zstateclk:</u>

If comm-structure-roletyp = TR0992.

RESULT = comm-structure-vdgpo_partnr.