2008 Feb 05 9:23 PM
hi
i have four fields in my table control. i need to add an extra field between 2 and 3 in the table control.
2008 Feb 08 6:36 AM
Hi,
here is the solution briefly.
suppose in ur table control following r the fileds x,y,z. u want to add one more field "a". first you have to add the field "a" in ur prog structure. then go to the screen painter in change mode and this field "a" at the end first i.e after field "z". now if you want to add the field in between "y" and "z", place the cursor on the field "a" and drag it and put on field "z". now your new field will place in between "y" and "z".
reward if useful.
venkat
2008 Feb 07 10:58 AM
Hi Juli,
Add the new fields in the table control structure(May be you are using internal table or Database table structure..)and add the new column in the table control between the required columns.
Messsage Edited
Shibu
2008 Feb 08 6:36 AM
Hi,
here is the solution briefly.
suppose in ur table control following r the fileds x,y,z. u want to add one more field "a". first you have to add the field "a" in ur prog structure. then go to the screen painter in change mode and this field "a" at the end first i.e after field "z". now if you want to add the field in between "y" and "z", place the cursor on the field "a" and drag it and put on field "z". now your new field will place in between "y" and "z".
reward if useful.
venkat
2008 Feb 08 12:10 PM
Hi,
Add a field in the internal table structure of editor program.
and select the data into it.
Go to screen painter and go to layout, add your new field by selecting dictionary field or internal table field. If you select the dictionary field , then you have to assign it to a value in the PBO module.
PBO.
module assign.
in se38
module assign output.
dictionary-field = internal table field.
endmodule.
regards,
kamala.
2008 Feb 08 5:37 PM
Hey Juli
Suppose u dont want this extra field to be a part of ur structure, thenn while ur are looping on this structure in the PBO while the table control parallel loop proccessing, in that loop you can use a module to select this extra fields based on some conditions and pass it to the scrre.
The name of the field should be the same in the module and on the layout screen.
Hope it helps.