ABAP HR: Read data from q0006
I want to read the records from q0006. Please the req below.
Concatenate Telephone number area code (Q0006-AREAX) and Telephone number (Q0006-TELNX) where Address Type (P0006-ANSSA) = "1" (Permanent residence) and Communications Type (P0006-COMXX) = "TEL1".
All the data is stored in table PA0006. you can use the above function module to read the table. This FM will return you a table in which all the info you need is there.