Application Development 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: 

new filed to the table control

Former Member
0 Kudos
116

hi

i have four fields in my table control. i need to add an extra field between 2 and 3 in the table control.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
91

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

4 REPLIES 4

former_member667836
Active Participant
0 Kudos
91

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

Former Member
0 Kudos
92

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

Former Member
0 Kudos
91

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.

former_member184551
Contributor
0 Kudos
91

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.