"I want to access one record, I don't know any key
figures.How to do that"
Answer Posted / arfeen siddiqui
What about using a single select statement like,
DATA: BEGIN OF REC,
KUNNR LIKE KNA1-KUNNR, "Customer Number 16 char
KATR6 LIKE KNA1-KATR6, "Customer Class
END OF REC.
DATA: BEGIN OF ITAB,
KUNNR like KNA1-KUNNR,
KUKLA like KNA1-KUKLA,
END OF ITAB.
SELECT SINGLE KUNNR KUKLA FROM KNA1 INTO ITAB
WHERE KUNNR = rec-KUNNR.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the data types of internal tables?
What is the process to enhance the Infotype
What is native sql?
How do I find the output type of a table or a program?
What is the first thing you do after vendor setup is complete?
How to call a subroutine in sapscript?
When value table becomes check table?
What are the buffering options in abap?
Explain the differences between sap memory and abap memory?
What is the difference between the function module and a normal abap/4 subroutine?
What does the insert statement in extract datasets do? : abap modularization
can i use table key and key in an internal table and explain the functionalities of each one and what functionality does it give if both are used for same internal table
What two statements are required in an abap program to output an icon using a write statement?
Update types in Call transaction method. What is the difference?
What is sap abap tables?