Monday, 6 January 2014

SAP ABAP - Entering Records into a Table

SAP ABAP - Entering Records into a Table

Now that the table has been created, data can be entered. To do this, enter the 'Utilities' menu, scroll to 'Table contents', and then 'Create Entries'
SAP ABAP - Entering Records into a Table

              
A Data-entry screen will appear which has automatically been generated from the table created. The field names correspond here to the technical names given when we created them. To change these to the Field labels which we set up, enter the 'Settings' menu and select 'User Parameters'. This facility allows you to tailor how tables look for your own specific user ID. Select the 'Field label' radio button and click 'Continue':
SAP ABAP - Entering Records into a Table

                   
 The Field labels created will now appear as they were defined when creating the table
SAP ABAP - Entering Records into a Table

                           
The Employee Number field is limited to 8 characters, and the data type was set to NUMC, so only numerical characters can be entered. Create a record with the following data:
Employee Number: '10000001'
Surname: 'Brown'
Forename: 'Stephen'
Title: 'Mr'
Date of Birth: '16.02.1980'
SAP ABAP - Entering Records into a Table                  

Press Enter and the system will automatically put the names in upper case, and validate each field to ensure the correct values were entered
                                 
SAP ABAP - Entering Records into a Table



Click Save and the status bar should state 'Database record successfully created'. Next, click the 'Reset' button above the data entry fields to clear the fields for the next entry

1 comment: