"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

Does every abap/4 have a modular structure? : abap modularization

702


Explain the differences between interactive and drill down reports?

528


What kind of deliverables you have on a day to day basis?

971


Define batch input session?

583


What are the difference between pool tables and transparent tables?

632






What is the difference between data elements and domains?

578


What is the significance of the memory table ‘screen’?

601


In selection screen, I have three fields, plant material number and material group. If I input plant how do I get the material number and material group based on plantdynamically?

607


What is the relationship existing between the various data elements in data dictionary? : abap data dictionary

722


What is a bsp application? : sap abap hr

639


Which function modules can be used to transfer the data using bdc programming? : abap bdc

600


What is the client concept in sap?

558


What is get cursor field?

885


What are the domains and data elements?

937


What is the bapi?

607