‎2006 Jul 03 11:03 AM
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.
‎2006 Jul 03 11:12 AM
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
‎2006 Jul 03 11:23 AM
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.
‎2006 Jul 03 11:26 AM
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
‎2006 Jul 03 11:53 AM
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
‎2006 Jul 03 1:20 PM
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.
‎2006 Jul 04 8:15 AM
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