2007 Apr 11 5:54 AM
In output screen i want to change the record no (ex: 5 instead of 😎 how to do it?
2007 Apr 11 5:58 AM
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?
2007 Apr 11 5:58 AM
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
2007 Apr 11 6:18 AM
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?
2007 Apr 11 6:24 AM
Hi balu,
Do u want to change record or Field ? Could u be more clear, so that I can help you .
Regards,
V.Raghavender.
2007 Apr 11 6:54 AM
2007 Apr 11 6:59 AM
hi balu,
try INPUT ON..
eg:
write:/ 'test' input on.
regards,
priya.
2007 Apr 11 7:26 AM
Hi
What is offsets and can u explain about it?
If possible plz give me coding?
2007 Apr 11 6:23 AM
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
2007 Apr 11 7:04 AM
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
2007 Apr 11 7:09 AM
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
2007 Apr 11 7:10 AM
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.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |