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

Report output

Former Member
0 Likes
1,064

In output screen i want to change the record no (ex: 5 instead of 😎 how to do it?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,040

Hi Balu,

IF u want to change the position in ALV, then in fieldcatalog just change the column position for that field

wa_fieldcat-col_pos = '5'

If u want to change the position in a narmal report output , then using offsets u can shift the field positions

In output screen i want to change the record no (ex: 5 instead of 😎 how to do it?

10 REPLIES 10
Read only

Former Member
0 Likes
1,041

Hi Balu,

IF u want to change the position in ALV, then in fieldcatalog just change the column position for that field

wa_fieldcat-col_pos = '5'

If u want to change the position in a narmal report output , then using offsets u can shift the field positions

Read only

0 Likes
1,040

Hi chandra shekar

Thank u...

my requirement is in output list i want to change the record no...

i know that it can do by using 'input' but i dont know the syntax and where it should be use?

Read only

0 Likes
1,040

Hi balu,

Do u want to change record or Field ? Could u be more clear, so that I can help you .

Regards,

V.Raghavender.

Read only

0 Likes
1,040

Hi

after getting output

i want to change the record no....

Read only

0 Likes
1,040

hi balu,

try INPUT ON..

eg:

write:/ 'test' input on.

regards,

priya.

Read only

0 Likes
1,040

Hi

What is offsets and can u explain about it?

If possible plz give me coding?

Read only

Former Member
0 Likes
1,040

Hey Balu...we are totally confused. Can u rephrase your requirement?

Is it an ALV or classical report?

What do u mean exactly by saying Input/Output?

Are u talking about the position of the record or the record's value?

Reward points if useful...

Cheers,

Sam

Read only

Former Member
0 Likes
1,040

Hi BAlu,

In your Filedcatalog ...simply....

add this propoerty for the field you want to make input ON.

<b>FS_FIELDCAT-EDIT = 'X'.</b>

This will solve your problem,

<b>Reward points if helpful,</b>

Regards,

Tejas

Read only

Former Member
0 Likes
1,040

Hi,

if u want change position of field u can use

fieldcatlog-col_position = ' '

or

if u want change position of record u can use

FIELDCAT-EDIT = 'X'.

Reward if it help ful

Regards

Vana

Read only

Former Member
0 Likes
1,040

Hi Balu,

You hae to use the READ LINE statement for this

Ex:

START-OF-SELECTION.

DO 10 TIMES.

<WRITE records>

ENDDO.

AT LINE-SELECTION.

DO.

READ LINE sy-index FIELD VALUE flag

date INTO wa.

IF sy-subrc <> 0.

EXIT.

ELSE.

<code to read 8th record and modify ithe itab 5th record>

ENDIF.

ENDDO.

Naveen.