SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Rule: how to read data fields of other Autom.structures?

peter_podgorsek
Explorer
0 Kudos

Hi!

I would like to implement an ABAP Rule for a certain field where I want to use the value of the migration field in the same migration object but in the other aut. structure.

With the use of $C$ placeholder like this: "$C$-MUSTER_KUN" ...I can only access data fields in the same autmated structure.

Thanks for your help!

Best regards,

Peter

1 REPLY 1

ashvinder_rana
Explorer
0 Kudos

Hi Peter,

You can refer to the different auto-structures and their fields by explicitly specifying the auto-structure names. For e.g., use --> EMG_EKUN_INIT-BPKIND if you want to refer to the processed/SAP value. Or refer to this as z_EMG_EKUN_INIT-BPKIND - if you want to get the file input value for a particular structure/field.

I only provided one example but you could refer to other structures/fields in a similar manner.

Hope this helps.

Regards,

Ash