"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 relational operations that can be performed on view in sap? : abap data dictionary
What is table pool?
What is the basic difference internal tables and database tables? : abap data dictionary
What is an abap?
What two statements are required in an abap program to output an icon using a write statement?
What is step-loop? Explain all the steps?
When you prefer lsmw?
There is 1 person but it’s displaying that this person cannot be booked. He is not available for the business event. Can you tell me where is it going wrong? What can be the reasons? : sap abap hr
HOW TO DIFFERENT CALL TRANSACTION ON THE BASIS OF DOUBLE CLICKING ON DIFFERENT FIELD.
How can you distinguish between different kinds of parameters?
How will you define posting procedures?
Different types of luws. What are they?
In which time constraint does the infotype records depend on the subtype ? : abap hr
Where are you used type casting?
What is table buffer?