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 clarification

Former Member
0 Likes
826

Please help me in this.

Here this is write statement, below one is header data.

But here i am not getting below header data. Pleae can any one explain me about

header data in this.

WRITE:/(1) sy-vline,

(10) it_itab-zztono,

(1) sy-vline,

(10) it_itab-docno,

(1) sy-vline,

(10) it_itab-boedate,

(1) sy-vline,

(25) it_itab-impdpsno,

(1) sy-vline,

(12) it_itab-ZZPLASLNO,

(1) sy-vline,

(10) it_itab-bondregnno,

(1) sy-vline,

(13) it_itab-totdtyval,

(1) sy-vline,

(13) it_itab-zzintrst,

(1) sy-vline,

(13) it_itab-zzdtyval,

(1) sy-vline.

Header data.

Write:/(1) sy-vline,

(10) ''(100),

(1) sy-vline,

(10) ''(200),

(1) sy-vline,

(10) ''(101),

(1) sy-vline,

(25) ''(102),

(1) sy-vline,

(12) ''(202),

(1) sy-vline,

(10) ''(103),

(1) sy-vline,

(13) ''(104),

(1) sy-vline,

(13) ''(105),

(1) sy-vline,

(13) ''(106),

(1) sy-vline.

Thanks

8 REPLIES 8
Read only

Former Member
0 Likes
789

hi

this header data

WRITE:/(1) sy-vline,

(10) it_itab-zztono,

(1) sy-vline,

(10) it_itab-docno,

(1) sy-vline,

(10) it_itab-boedate,

(1) sy-vline,

(25) it_itab-impdpsno,

(1) sy-vline,

(12) it_itab-ZZPLASLNO,

(1) sy-vline,

(10) it_itab-bondregnno,

(1) sy-vline,

(13) it_itab-totdtyval,

(1) sy-vline,

(13) it_itab-zzintrst,

(1) sy-vline,

(13) it_itab-zzdtyval,

(1) sy-vline.

praveen

Read only

Former Member
0 Likes
789

hi Ali,

May be the text symbols are not activated ... please check for the same...i.e, goto->text elements->text symbols and ACTIVATE( ctrl + F3 ) ..

Regards,

Santosh

Message was edited by:

Santosh Kumar Patha

Read only

Former Member
0 Likes
789

hi,

check whether the internal table 'it_itab' contains any data.

regards,

Navneeth.K

Read only

former_member198270
Active Contributor
0 Likes
789

Hi Ali.... please make us clear with your question ... also check whether the condition for which you are printing is true or not...if you are not true with your condition then you will not be getting the output, also are you playing with internal table with header line? ... so if yes please see that you are getting the data in the header when you are looping ... if with work area please check the work area.

Read only

Former Member
0 Likes
789

YOu can use the write under statement:

Write:/(1) sy-vline,

(10) ''(100),

(1) sy-vline,

(10) ''(200),

(1) sy-vline,

(10) ''(101),

(1) sy-vline,

(25) ''(102),

(1) sy-vline,

(12) ''(202),

(1) sy-vline,

(10) ''(103),

(1) sy-vline,

(13) ''(104),

(1) sy-vline,

(13) ''(105),

(1) sy-vline,

(13) ''(106),

(1) sy-vline.

WRITE:/(1) sy-vline,

(10) it_itab-zztono under text-100,

(1) sy-vline,

(10) it_itab-docno under text-200,

(1) sy-vline,

(10) it_itab-boedate under text-101,

(1) sy-vline,

(25) it_itab-impdpsno under text-102,

.

.

.

Regards,

ravi

Read only

Former Member
0 Likes
789

Header data.

Write:/(1) sy-vline,

(10) ''(100)<b>--->'' is nothing but SPACE that y u are not getting anything, so just change this one u will get data.

(10) 'PRABHU'</b>

(1) sy-vline,

Read only

Former Member
0 Likes
789

ali,

1. check wether your internal table has the data by puuting break point.

2.chnage the code

WRITE:/(1) sy-vline, (10) it_itab-zztono,

(11) sy-vline,(21) it_itab-docno,

(22) sy-vline,(32) it_itab-boedate,

(33) sy-vline,(58) it_itab-impdpsno,

(59) sy-vline,(71) it_itab-ZZPLASLNO,

(72) sy-vline,(82) it_itab-bondregnno,

(83) sy-vline,(96) it_itab-totdtyval,

(97) sy-vline,(110) it_itab-zzintrst,

(111) sy-vline,(124) it_itab-zzdtyval,

(125) sy-vline.

Header data.

Write:/(1) sy-vline,(10) ''(100),

(11) sy-vline,(21) ''(200),

(22) sy-vline,(32) ''(101),

(33) sy-vline,(58) ''(102),

(59) sy-vline,(71) ''(202),

(72) sy-vline,(82) ''(103),

(83) sy-vline,(96) ''(104),

(97) sy-vline,(110) ''(105),

(111) sy-vline,(124) ''(106),

(125) sy-vline.

Don't forget to reward if useful

Read only

Former Member
0 Likes
789

Hi,

I think (100) is the text element name.

Go to <b>GO TO</b> menu item and then go to <b>Text elements</b>, then go to <b>text symbols</b>.

And activate.

Hope this helps.