"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


Please Help Members By Posting Answers For Below Questions

What is Field group?

838


Explain what are interactive reports?

801


Define batch input session?

752


What is an abap data dictionary? : abap data dictionary

776


What is the t-code to display batch input sessions? : abap bdc

866






What is off cycle payroll run

1982


What are aggregated objects : abap data dictionary

769


How to write a bdc – how do you go about it?

872


what are the two methods of modifying sap standard tables ?

768


how to see the table output?

1921


How to find the return code of a statement in abap programs?

826


Does the external program run in the same sap luw as the caller, or in a separate one?

844


What is update task

7945


Explain the call transaction method? : abap bdc

781


What are the control break events in abap? : abap data dictionary

799