2022 Dec 02 11:11 AM
I have ALV grid wherein when i update a record the record goes to the bottom of alv kindly suggest.
SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L0S31 { font-style: italic; color: #808080; } .L0S33 { color: #4DA619; } .L0S52 { color: #0000FF; } .L0S55 { color: #800080; } .L0S70 { color: #808080; } CALL METHOD ref1->CHECK_CHANGED_DATA.
ENDIF.
rs_selfield-refresh = 'X'.
PERFORM get_data.
2022 Dec 02 11:46 AM
Switch to display mode before copying code: this will avoid pasting HTML formatting.
Then you may use the CODE button to format it properly.
2022 Dec 03 7:14 AM
SPAN {
font-family: "Courier New";
font-size: 10pt;
color: #000000;
background: #FFFFFF;
}
.L0S31 {
font-style: italic;
color: #808080;
}
.L0S33 {
color: #4DA619;
}
.L0S52 {
color: #0000FF;
}
.L0S55 {
color: #800080;
}
.L0S70 {
color: #808080;
}
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = ref1.
ENDIF.
IF NOT ref1 IS INITIAL.
CALL METHOD ref1->CHECK_CHANGED_DATA.
ENDIF.
*
rs_selfield-refresh = 'X'.
PERFORM get_data.
SPAN {
font-family: "Courier New";
font-size: 10pt;
color: #000000;
background: #FFFFFF;
}
.L0S31 {
font-style: italic;
color: #808080;
}
.L0S33 {
color: #4DA619;
}
.L0S52 {
color: #0000FF;
}
.L0S55 {
color: #800080;
}
.L0S70 {
color: #808080;
}
2022 Dec 03 2:02 PM
As you can see by yourself, you are still not able to paste code correctly. Try with Ctrl+Shift+V.
NB: Please use the COMMENT button for comments, asking for complements, adding details, replying to a comment or a proposed solution or to the OP question, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.
2022 Dec 03 2:07 PM
Somewhere in your code, you probably change the order of the lines. Could you post the relevant code please?