07-23-2007 12:46 PM
hi gurus
i need to insert a table with followin fields:
user date client requester
this table should be inserted between the two screen.
means if i have a screen with have client details on it and there also i change button
so i ahve to put the table here means on clicking the change button first the table shul come and the it sud go to display mode
plz help as soon as possible
points ll be surely awarded
anuj
07-23-2007 12:51 PM
HI Anuj,
Use the sub screen in this case.
If you click on the change button then call the sub screen on the clicking event and then define the table control on that screen which will surve your purpose.
<b>if sy-ucomm = 'CHNG'.
call screen 101.
endif.
Define table control in 101 having table entries.
Rewards points if useful.</b>
Regards,
Kinjal
07-23-2007 12:53 PM
Hi anuj,
are you talking about inserting data into database tables?it will be helpful if you can explain more about your problem.
07-23-2007 1:04 PM
hi shibuettickal kurian
yes the data enter here must be save
so the its can be use there after
anuj
07-23-2007 1:16 PM
Hi Anuj,
When the user clicks on "CHANGE" button, (IF SY-UCOMM eq "CHANGE")
Validate the user entries and then use "UPDATE" command to insert the entries into the desired table.
Then if you want to display the table, once the UPDATE is successfull,
1. Retreive the records from the table (SELECT ** FROM TABLE).
2. Pass it to the table control defined on another screen.
2. Call the screen with table control.
Hope this answers your question.
Reward points if you find the answer useful.
Best Regards,
Ram.