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

Write All Fields to Output

Former Member
0 Likes
433

Hi There,

I am a new SAP developer and have a quick question that I can't find the answer to in my book.

Is there a way to write all fields to the output without having to list every field name. Basically I am looking for a wild card or a key word or something.

Thanks for your help.

Colm

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
406

Not really, in most cases you need to list them manually, but you can use the pattern button, then click radiobutton for WRITE statement, here you can specify a structure name(must be in dictionary, and then select the components of it, then copy it back, it will list the fields for you, but again it must exist in the dictionary.

Regards,

Rich Heilman

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
407

Not really, in most cases you need to list them manually, but you can use the pattern button, then click radiobutton for WRITE statement, here you can specify a structure name(must be in dictionary, and then select the components of it, then copy it back, it will list the fields for you, but again it must exist in the dictionary.

Regards,

Rich Heilman

Read only

0 Likes
406

BTW, Welcome to SDN!

Regards,

Rich Heilman

Read only

0 Likes
406

Thanks!

Thats a pity about the keyword. Your solution is helpful alright but it doesn't seem to work if you have the data going INTO a workarea.