2023 Nov 11 5:19 AM
2023 Nov 11 9:03 AM
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!
2023 Nov 11 9:04 AM
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".
2023 Nov 13 3:04 PM
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.