ABAP Program for Table Maintenance in SAP

It is a good sample of how to create dynamic table maintenance by utilized SAP function module “STC1_FULLSCREEN_TABLE_CONTROL”.

You can use it to replace funtion of SM30/SM31 with additional benefit.
1. Because it is written in as customer program we can add additional feature, for example change history.
2. There is no need to create screen maintenance for all table because screen will automatically generated.

Table View Maintenance Program

But, remember, this is only a demonstration of how to use STC1_FULLSCREEN_TABLE_CONTROL. Use it carefully and only for customer table (Z*).

Continue Reading…

Embed SAP View in an ABAP Program

We can also embed View of a Table in a program. SAP have provided a set of standard function modules for achieving the goal and by passing the initial values required to do this, we can accomplish that.

In this example, we will use the function module SE16N_INTERFACE to call the new standard table display.

 

Embed View in Program
Embed View in Program

 

Continue Reading…

Assign a T-code to Maintenance View in SAP

There are some cases where you want your application to call the Maintenance View (instead of creating Create/Changes/Delete i.e. CCD screens for the operation).

In this case you have to assign a T-Code to the Maintenance View you created. (Note: User should have the authorization for SM30).

Continue Reading…

Page 1 of 11