"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

How many structures can be created in a Ztable ?

3129


What are the events in abap/4 language? : abap hr

618


How do you process errors in session method ? : abap bdc

585


Explain what is an rdbms?

569


What are the uses of the information in the data dictionary? : abap data dictionary

730






What are Tickets in Realtime ?

1677


What is meant by stacked list?

601


If I want to execute a bdc program only in background not in foreground is there any option for this? : abap bdc

671


How do you execute the payroll

1832


What is the use of info groups? : sap abap hr

560


What are local objects? : abap data dictionary

607


Define the various contents of technical specifications ?

620


Name some data dictionary objects?

559


What are the functional areas, user groups? How does abap query work in relation to these?

593


What are the payroll related Infotypes

1816