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: 

need to insert a table

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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

former_member667836
Active Participant
0 Kudos

Hi anuj,

are you talking about inserting data into database tables?it will be helpful if you can explain more about your problem.

0 Kudos

hi shibuettickal kurian

yes the data enter here must be save

so the its can be use there after

anuj

0 Kudos

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.