Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function module output

Former Member
0 Likes
742

Hi

I am displaying output in function module using 8 tables. But here i am writing code using for all entries.

But the problem is what are the fields specify in the select query those fields are displaying in the output. But i want only particular fields.

Here is there any possibility to write WRITE statement?

1 REPLY 1
Read only

Former Member
0 Likes
374

I think you may need to re-state the question a bit as it is not clear -

I am displaying output in function module using 8 tables. -> Are you displaying the data onto a screen or a list or just returning the results in the FM parameters?

But here i am writing code using for all entries. -> Why does this have an impact on the problem?

But the problem is what are the fields specify in the select query those fields are displaying in the output. But i want only particular fields. The fields you include in your select do not have to appear in any output e.g. you could select all and display one


select * from t001.
  write: / t001-bukrs. "output one field from many...
endselect.

Here is there any possibility to write WRITE statement? You can have "write" statements in a function module but you need a screen "canvas" to display them on, so how / whether you see them will depend on where the code is invoked from and what's in the code.

Jonathan