Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Declaring Types

rk13467
Member
3 REPLIES 3

Sandra_Rossi
Active Contributor
0 Kudos

Please edit your question (Actions>Edit), select your code and press the button [CODE], which makes the code appear colored/indented, it'll be easier for people to look at it. Thanks!

Sandra_Rossi
Active Contributor

Second remark, as this is an interview question, you should try investigating by yourself and only ask personal questions, not just "do it for me".

Carlos_Idiaquez
Participant
0 Kudos

Hi Rishika Kummithi,

Both ways to type KUNNR and KNA1-KUNNR are correct. In both situation you are declaring an element from a specific STRUCTURE.

When you have several elements in your pool like KUNNR and KNA1-KUNNR, to make a distinction between those elements, you can declare the structure table where it came from (KNA1-KUNNR).

This scenario is very frequent when you work with custom solutions, the custom elements can have the same technical name but different types like (DATUM and CHAR10). If you specify in the structure, witch element you are choosing with the table, you can debbug any incident with more precision.

I hope this help you,

Best Regards,

Carlos Idiaquez.