cancel
Showing results for 
Search instead for 
Did you mean: 

retrieve columns

Former Member
0 Kudos

hi guys,

i am using jco program to retreive data from sap table

ok fine , data is getting but i want only some particular columns data

suppose i want only empno , lastname,firstname columns only

plz send me better logic............

thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tony,

Unfortunately if the BAPI you are calling is passing back data in a table structure you are stuck with those fields. If you really want to change it so that you only get a limited number of columns then the easiest way is to get the ABAP developers to change the BAPI so that it only passes back the data you actually want.

Otherwise you can simply ignore the extra data!

Gareth.

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Tony,

Just select what are the output parameters you want you will only get that data.

You will have a BAPI which will fetch the data and you select the column names which you want and select them as output parameters.

regards

Anil