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

Problem with refresh table control

Former Member
0 Likes
741

Hi to all...

i have z table whice i created with maintenance ( SM 30)

the table is used for select shipment number and after press 'enter' all supply records are insert into the table.

My problem is that the table control is not refreshed right after the user press "ENTER" the user will see the records only if he exit the table control and enter again.

i guess there is a command or somthing that refresh the table control or the screen that hold the table screen.

hope my problem is understood.

thanks in advanced.

gil.

6 REPLIES 6
Read only

Former Member
0 Likes
595

Refresh the internal table which is in the table control, after checking that the user has entered a new shipment number (ie, shipment no <> earlier shipment no).

REFRESH itab.

Hope this helps.

Sudha

Read only

0 Likes
595

if i

REFRESH itab.

what i'm doing is clearing the itab what i want is to refresh the table control so the records will be visible to the user.

thanks.

Read only

0 Likes
595

How have you designed your table control on the screen. Does it have an internal table within it, or is it a structure.

If its an internal table within the table control, what I have suggested above should work. If you are using a structure, clear the same and it will work.

Hope this helps.

Sudha

Read only

Former Member
0 Likes
595

Hi,

Declare a PF-Status with PICK as a fn code in your program(In PBO).

and write the code in PICK as you want.

I hope An enter commands triggers an event in this case.

Check if this helps.

Regards,

ND

Read only

0 Likes
595

The enter command is the the regular enter key that after i insert record i've to press in sm30.

i don't find solution to my problem.

Read only

0 Likes
595

Hi Again.

i write this code and now i see the records in the table control:

After i save i don't see those records in the table.

why???

data : lv_Tknum like Zplatform-TKNUM,

izplatform type table of zplatform with header line.

lv_tknum = Zplatform-TKNUM.

SELECT *

INTO CORRESPONDING FIELDS OF table iZplatform

FROM

VTTK inner JOIN vttp ON VTTKTKNUM = vttpTKNUM

inner JOIN likp ON vttpvbeln = likpvbeln

inner Join KNA1 ON likpkunnr = KNA1kunnr

WHERE vttk~TKNUM = lv_tknum.

clear zplatform.

loop at izplatform.

append izplatform to <b>extract</b>.

endloop.

now i see the records but when i click the SAVE icon the data is not saved.

any idea?

Message was edited by: Gil Hadida