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: 

Saving the data

Former Member
0 Kudos

How to save data from a screen into a table?

How to diplay data in a screen such that it is in non-editable mode?

5 REPLIES 5

Former Member
0 Kudos

Hi,

When you are designing screen that is in Layout , You need to set the attributes of the field. Double click on the field , then a screen pop up on right side.

Check the property as 'OUTPUT' only. Then the field will be display only but not modifiable.

Regards,

Satya

Former Member
0 Kudos

hi,

use this code:

when 'SAVE'."fctcode

move lfa1 to itab."screen fields to internal table(here I am using trable control in thescreen)

append itab.

insert into lfa1 values itab."inserting values into table.

if sy-subrc = 0.

message i000(0) with 'inserted'.

else.

message e001(0) with 'not inserted'.

endif.

0 Kudos

hi thanks for your answer.

Is there anyother way of saving data without using table controls.

Former Member
0 Kudos

If you have standard screen and you want to save your data then we can use BAPI or Batch input method to upload mass data. if you want to design your own screen to craete entries for a custom table we can use table maintainance if u want to store records in diffrent custom table using same screen you can use Statment INSERT or MODIFY.

Regards

Tanweer

Former Member
0 Kudos

here is the simple and best example for saving data from the screen to table using the Update Command ..with Pop-up ... see it with <b>screen shot</b>

<a href="http://">http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbab4335c111d1829f0000e829fbfe/content.htm</a>

reward points if it is usefull ...

Girish