Problem solve Get help with specific problems with your technologies, process and projects.

Primary keys of database table

What to do when using Select single and primary keys of the database table are known, or not known.

When using Select single, give all primary keys of the database table. If all keys are not known and only 1 record is to be picked, use select up to 1 rows.


select single aufnr auart into ( aufk-aufnr,aufk-auart )
from aufk where aufnr = v_aufnr.
****************************************
if all primary keys are not known-
select aufnr auart up to 1 rows from aufk into ( aufk-aufnr,aufk-auart )
where objnr = v_objnr. 

Dig Deeper on SAP ABAP

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close