"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 are two methods of modifying sap standard tables? : abap data dictionary

666


What are the 3 types of function modules in sap?

602


What are the differences between interactive and drill down reports?

534


What is the use of 'table index'?

623


What is the meaning of client independent?

561






In BDC, data transfer is done success in foreground mode but if we done the same in background mode it shows errors. What is the reason?

974


Explain difference between primary key and unique key?

511


Why do we use dynamic where conditions?

865


What is an interface? In what scenario we use interface? What is the difference between abstract class and interface?

913


what are the two methods of modifying sap standard tables? : abap data dictionary

616


What is modularization and its benefits?

587


How many secondary indexes can we create in a table?

611


what is leave to TRANSACTION?

1000


What is alv programming in abap? When is this grid used in abap? : abap hr

669


How would you define the exponents for a type ‘f’ field?

616