Maintenance of my database

hello all,
i actually have t run a project about database maintenance. till now, my database is about 38gb and i run sbo 2005 A 6.80...
i would like to remove if it possible old data (for instance data based on 2007) to history tables or something like this.
do you have any idea how can i work on this?
thanks in advance
Vasilis

Then you can only shrink your database. See this note:
[1224089 - How to shrink a MSSQL Server 2005 / 2008 Database?|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3030303132323430383926]

Similar Messages

  • Database maintenance for sqlserver database to improve performance

    In our company sqlserver 2008 R2 is working as a project server database.
    I want to know commands for database maintenance.
    Please let me know all command in order which i need to run in sqlserver for database maintenance.
    because i want to increase performance of projectserver 2010.

    Hi John.Eddie,
    For increasing SQL Server performance, you can do full daily backup, transaction log backups, check database integrity, rebuild index and update statistics in database maintenance plan.
     However, you need to note that running "Shrink Database", it causes disk and as well as index fragmentation and leads to performance issues.
    To ensure your database stays healthy and available, there are a few "'must do" tasks. For example:
    1.Remove excessive transaction log file fragmentation.
    2.Set auto-growth correctly.
    3.Turn off any scheduled shrink operations.
    4.Turn on AUTO_CREATE_STATISTICS and AUTO_UPDATE_STATISTICS, plus have a regular process in place to update statistics.
    5.Have a regular process to run DBCC CHECKDB, take full database backups, plus differential and log backups for point-in-time recovery.
    For more information about database maintenance, you can review the following article.
    http://technet.microsoft.com/en-us/magazine/2008.08.database.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How does one do maintenance on the iCal database?

    I am having some very weird behavior in iCal and I would like to perform maintenance on the database to check to see if it is corrupt. How do I do that? Thank you!

    jzents,
    What weird behavior are you experiencing?
    One of the first troubleshooting steps for any misbehaving application is to find and delete the .plist file.
    Quit iCal. Find the com.apple.iCal.plist file in your ~Library/Preferences Folder, drag it to the Desktop, and log out/in or restart and then check for iCal functionality.
    The only data base maintenance that I know of would involve using the File>Backup Database... and then File>Revert to Database Backup... feature.
    ;~)

  • SAP BCM u2013 Database Maintenance

    Hello,
    Does anyone know how to perform the maintenance of the database of SAP BCM? I mean how to perform the cleaning of the database, deleting old statistics data and files of recorded calls.
    Regards,
    Heber Olivar

    Hello Heber Olivar!
    You got the answer this question? Share how you do it?
    Regards,
    Yuri

  • Size of SQL Server 2005 Database for SAP B1 2005 B is heavy

    Hi all,
    In my company we are working with SAP B1 2005 B SP 25.
    Our Database is in SQL Server 2005. Its Size reaches 6 GB in less then two years periods.
    Can Any body guide me to reduce the size or how to maintain database. Can we split Database in SAP B1 ?
    Due to the size users getting less speed
    Awaiting your valuable guidance for the same.
    Best Regards,
    Chintesh Soni

    Hi Chintesh,
    I would advise caution doing any of the things suggested in SAP Note 548772. In particular, I strongly recommend you do NOT set auto-shrink on. This is a really bad idea on a production database and I can't understand why SAP would suggest it.
    Is it the data file that is 6GB or the overall size of the database (ie data and log files)? If your log file is large  then this can slow performance. I recommend setting up transaction log backups on an hourly basis. This is good practice and not only keeps the log file healthy but also gives you the option to recover your data to the last transaction log backup in the case of an emergency. If you don't want transaction log backups then do as the SAP note mentions and set the recovery model to simple and do a once-off truncation of the log file.
    Are you doing regular maintenance on the database (ie rebuilding indexes, updating statistics)? Are you monitoring fragmentation on the data drive and doing a defrag occasionally to keep the drive healthy?
    Kind Regards,
    Owen

  • Modifying an Access database posted in a SharePoint doclib

    I inherited the maintenance of a database used to store data for reporting. I needed to add a simple new query and "union" it to a group of existing queries.
    When opening the database, I am prompted to open it read only, or download a copy to my PC to edit (and when finished, upload).
    When I download, the queries I need to add to "disappear" - they are no longer listed in the left hand list of objects.
    Thinking here is that those queries are soemehow associated with daya that exists only in SharePoint, and not being available on my desktop, no longer appear.
    How can I:
    a. Determine what those queries are connected to, and
    b. Get the queries to appear in the downloaded version so I can peform the necessary edits?
    Thnaks in advance.

    This doesn't work. When you use the Save As... dialog box and open a SharePoint location using HTTP (WebDAV) connection, the dialog box hangs.
    Why does every other piece of software use the Windows 7 dialog box but Adobe Reader XI and any software using the Adobe Acrobat 11.0.0.379 Plug-In (e.g. Firefox or IE) not work?

  • Extracting from maintenance view

    Hello Experts,
    There is a maintenance view in R/3 which I have to extract. When I try to enter this view in the RSA2 for the creation of generic datasource I get an error "Only transparent tables and database views can be extracted"
    Do i have to create a Database view based on the same definetion?
    Is there any direct way to converting this maintenance view to database view?
    Is there any other alternative to create datasource for a maintenance view?
    Any suggestions appreciated.
    Thanks a bunch,
    BWer

    Hi BWer,
    1st option: make a copy of the view to a z-view and change the view type to database view.
    2nd option: create a fm using the view as extract structure and select data from it in the fm.
    regards
    Siggi

  • Database size is too big

    Hi, my client database size is 82GB after 1 year implementation. i have checked table size, the biggest table is AITW almost 50GB.
    i have changed the configuration of history/log to 5. the log will be removed to 5 when i update the item. so i have to update all item one by one. is there anyway to remove all item hisotry / log ?
    Thanks

    Hi,
    You may check this: maintenance of my database
    Thanks,
    Gordon

  • Maintenance plan not working properly

    Hi,
    I created the following maintenance plan:
    the database backup part of this completes without issue but the cleanup task, which is supposed to delete any files that have the extension .bak and are greater than 1 day old does not happen. I created a test maintenance plan with just the cleanup task
    and it worked without issue. Might I be missing something?
    Cheer
    Paul

    Hi Paul,
    How do you configure the Back Up Database Task? According to the screenshot in your original post, it seems that you have selected “Back up database across one or more files” option and appended the existing database backup file, right?  If so, the
    existing bak file will be updated each time the package runs, and it won’t be cleaned up. To clean up the bak file, you need to select “Create a backup file for every database” option instead.
    If you already selected the "Create a backup file for every database" option and the issue persists, please double check the Back Up Database Task to make sure the “Create a sub-directory for each database” option is not checked as Olaf suggested.
    Regards,
    Mike Yin
    TechNet Community Support

  • Post-installation RAC maintenance

    DB version ==> 10.2.0.4
    OS ===> Solaris SPARC 5.10
    For the last 7 months , i have been working in two RAC DBs (both of them are 2 node RACs). Apart from few instance restarts, i haven't actually done anything in these DBs because they have been very stable. Wish it wasn't because i never got to learn anything.
    If you were asked what are the top 3 RAC maintenance tasks (apart from restarts), what would you say?

    Hi,
    Tasks of a DBA.
    Initial and complete study of system
    Continuous monitoring of database using advanced monitoring and alert tools
    Routine health checks of database and proactive maintenance.
    Regular database backups and validation of backups.
    User and security management
    Database growth planning and management.
    Performance monitoring and periodic tuning.
    Regular report on the activities performed and database health
    Emergency support for production outages
    Guaranteed response to production outages (based on SLA)
    Proactive Maintenance
    - Gather optimizer statistics
    - Manage the Automatic Workload Repository
    - Use the Automatic Database Diagnostic Monitor (ADDM)
    - SQL Tuning Advisor: helps you to find critical or improvable statements
    - SQL Access Advisor: gives you suggestion about possible indexes or materialized view that can improve performance of a statement or of a set of statements.
    - Memory Advisor: controls SGA usage and performance
    - MTTR Advisor: this checks checkpointing attivity, sintetically estimates MTTR. Check FAST_START_MTTR_TARGET parameter
    - Segment Advisor
    - Undo Advisor
    - Set warning and critical alert thresholds
    - You can define some baselines and on those baselines are based warning and critical thresholds.
    Oracle Enterprise Manager Concepts gives an overview of what can be managed.
    http://download.oracle.com/docs/cd/B19306_01/em.102/b31949/database_management.htm
    Oracle RAC Monitoring: Keeping your RAC under control
    http://www.databasejournal.com/features/oracle/article.php/3676451/Oracle-RAC-Monitoring-Keeping-your-RAC-under-control.htm
    This has a lot of work.
    Regards,
    Levi Pereira

  • New Exam - (1z0-027) - Oracle Exadata Database Machine X3 Administrator

    Hi Friends,
    Exadata Database Machine Overview
    Identify the benefits of using Database Machine for different application classes
    Describe the integration of the Database Machine with Oracle Database Clusterware and ASM
    Describe Exadata Storage Server and the different Database Machine configurations
    Describe the key capacity and performance specifications for Database Machine
    Describe the key benefits associated with Database Machine
    Exadata Database Machine Architecture
    Describe the Database Machine network architecture
    Describe the Database Machine software architecture
    Describe the Exadata Storage Server storage entities and their relationships
    Describe how multiple Database Machines can be interconnected
    Describe site planning requirements for Database Machine
    Describe network requirements for Database Machine
    Key Capabilities of Exadata Database Machine
    Describe the key capabilities of Exadata Database Machine
    Describe the Exadata Smart Scan capabilities
    Describe the capabilities of hybrid columnar compression
    Describe the capabilities and uses of the Smart Flash Cache
    Describe the capabilities of the Smart Flash Log
    Describe the purpose and benefits of Storage Indexes
    Describe the capabilities and uses of Exadata Secure Erase
    Exadata Database Machine Initial Configuration
    Describe the installation and configuration process for Database Machine
    Describe the default configuration for Database Machine
    Describe supported and unsupported customizations for Database Machine
    Describe database machine operating system options and configurations
    Configure Exadata Storage Server
    Configure Exadata software
    Create and configure ASM disk groups using Exadata
    Use the CellCLI Exadata administration tool
    Describe Exadata Storage Server security
    I/O Resource Management
    Use Exadata Storage Server I/O Resource Management to manage workloads within a database and across multiple databases
    Configure database resource management plans
    Configure category plans
    Configure inter-database plans
    Describe and configure the I/O resource manager objectives
    Monitor I/O using I/O Metrics
    Recommendations for Optimizing Database Performance
    Optimize database performance in conjunction with Exadata Database Machine
    Monitor and configure table indexes, accounting for the presence of Exadata
    Using Smart Scan
    Describe Smart Scan and the query processing that can be offloaded to Exadata Storage Server
    Describe the requirements for Smart Scan
    Describe the circumstances that prevent using Smart Scan
    Identify Smart Scan in SQL execution plan
    Use database statistics and wait events to confirm how queries are processed
    Consolidation Options and Recommendations
    Describe the options for consolidating multiple databases on Database Machine
    Describe the benefits and costs associated with different options
    Identify the most appropriate approach for consolidation in different circumstances
    Migrating Databases to Exadata Database Machine
    Describe the steps to migrate your database to Database Machine
    Explain the main approaches for migrating your database to Database Machine
    Identify the most appropriate approach for migration in different circumstances
    Identify the most appropriate storage configuration for different circumstances
    Bulk Data Loading using Oracle DBFS
    Use Oracle DBFS for bulk data loading into Database Machine
    Configure the Database File System (DBFS) feature for staging input data files
    Use external tables based on input data files stored in DBFS to perform high-performance data loads
    Exadata Database Machine Platform Monitoring
    Describe the purpose and uses of SNMP for the Database Machine
    Describe the purpose and uses of IPMI for the Database Machine
    Describe the purpose and uses of ILOM for the Database Machine
    Configuring Enterprise Manager Grid Control 11g to Monitor Exadata Database Machine
    Describe the Enterprise Manager Grid Control architecture as it specifically applies to Exadata Database Machine
    Describe the placement of agents, plug-ins and targets
    Describe the recommended configuration for high availability
    Describe the plug-ins associated with Exadata Database Machine and how they are configured
    Use setupem.sh
    Configure a dashboard for Exadata Database Machine
    Monitoring Exadata Storage Servers
    Describe Exadata Storage Server metrics, alerts and active requests
    Identify the recommended focus areas for Exadata Storage Server monitoring
    Monitor the recommended Exadata Storage Server focus areas
    Monitoring Exadata Database Machine Database Servers
    Describe the monitoring recommendations for Exadata Database Machine database servers
    Monitoring the InfiniBand Network
    Monitor InfiniBand switches
    Monitor InfiniBand switch ports
    Monitor InfiniBand ports on the database servers
    Monitor the InfiniBand subnet master location
    Monitor the InfiniBand network topology
    Monitoring other Exadata Database Machine Components
    Monitor Exadata Database Machine components: Cisco Catalyst Ethernet Switch, Sun Power Distribution Units, Avocent MergePoint Unity KVM Switch
    Monitoring Tools
    Use monitoring tools: Exachk, DiagTools, ADRCI, Imageinfo and Imagehistory, OSWatcher
    Backup and Recovery
    Describe how RMAN backups are optimized using Exadata Storage Server
    Describe the recommended approaches for disk-based and tape-based backups of databases on Database Machine
    Describe the recommended best practices for backup and recovery on Database Machine
    Perform backup and recovery
    Connect a media server to the Database Machine InfiniBand network
    Database Machine Maintenance tasks
    Power Database Machine on and off
    Safely shut down a single Exadata Storage Server
    Replace a damaged physical disk on a cell
    Replace a damaged flash card on a cell
    Move all disks from one cell to another
    Use the Exadata cell software rescue procedure
    Patching Exadata Database Machine
    Describe how software is maintained on different Database Machine components
    Locate recommended patches for Database Machine
    Describe the recommended patching process for Database Machine
    Describe the characteristics of an effective test system
    Database Machine Automated Support Ecosystem
    Describe the Auto Service Request (ASR) function and how it relates to Exadata Database Machine
    Describe the implementation requirements for ASR
    Describe the ASR configuration process
    Describe Oracle Configuration Manager (OCM) and how it relates to Exadata Database Machine
    Quality of Service Management
    Describe the purpose of Oracle Database Quality of Service (QoS) Management
    Describe the benefits of using Oracle Database QoS Management
    Describe the components of Oracle Database QoS Management
    Describe the operations of Oracle Database QoS Management
    Thanks
    LaserSoft

    Here's the source document from Oracle Education with the exam details: http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=5001&get_params=p_exam_id:1Z0-027&p_org_id=&lang=
    This is the non-partner equivalent of "Oracle 11g Essentials" (1Z0-536 http://www.oracle.com/partners/en/knowledge-zone/database/1z1-536-exam-page-169969.html) that has existed under various names since 2010, but with additional content relevant to new features like flash logging, QoS management and ASR.
    Marc

  • Error while deleting a customer table

    When I try to delete a customer table which is saved as a local object I get an error stating that the table is still used in ABAP Dictionary. It seems that the customer table is still used in a customer program, but the program is already deleted! I deleted the program earlier and thus no longer exist in our system. I cannot find any trace of the program, but am unable to delete the customer table now. Any suggestions?

    Program name would have been of the table maintenance generator and you deleted it manually.
    It should have been deleted from TMG .
    Your problem will be resolved if you will create Table maintenance of the database table and then delete it again.

  • Cannot save a bookmark to NEW folder - FF wants me to rename EXISTING parent folder

    I cannot save a bookmark to a new folder. This is the path I am taking from the main menu:
    Bookmarks | Bookmark This Page
    Click the drop-down arrow to the right of Folder
    Select Choose
    Scroll to the parent folder in which I would like a new subfolder
    Click New Folder
    Then, instead of creating a new folder as it always did in the past, it highlights the parent folder for editing. If I type in a new folder name, the parent folder is changed to that new name. A new subfolder is created with the name New Folder.
    Things I have already tried that did *not* resolve the problem:
    - Deleting and then restoring bookmarks from a saved bookmark backup file.
    - Running the Add-On "Places Maintenance"
    - Rebuild "Places" database
    I have not yet reset Firefox or created a new profile but can try that if you gurus think that would help.
    I am using FF 32.0.2 on Win XP SP3.
    I have hundreds and hundreds of bookmarks, but from what I have read, there is no max size limit.
    Thank you in advance!
    Carol

    Cor-el, thank you very for your reply.
    I started Firefox in Safe Mode. The problem still occurs in Safe Mode. My understand is if the problem persists in Safe Mode, it is *not* being caused by an extension, theme or hardware acceleration. Other possible causes could be plugins or changes made to Firefox preference settings, which are not disabled in Safe Mode.
    As you suggested, I did check Add-ons > Appearance. (I don't think I have ever had any Appearance other than the default theme.) It was and still is set at Default 32.0.2 By Mozilla. Since the bookmarks problem persists in Safe Mode, I think we can rule out this as the cause anyway.
    All of my Plug-Ins are up-to-date except iTunes Application Detector 1.0.1.1. Status is "unknown". I have all Plug-Ins set to "Ask to Activate" or "Never Activate". None of them are set to "Always Activate".
    My cache, cookies and history have been cleared. I have rebooted my computer.
    Per your instructions, I did *not* reset Firefox. Should I reset Firefox or reinstall Firefox?
    The bookmarks problem still occurs.
    Thank you so much!
    Carol

  • Best monitor for video editing?

    Hi,
    I have been saving up for a Mac for sometime now and have decided to buy the new Mac Pro when it comes out this December.
    I understand that it doesn't come with a monitor so I have been looking into which one would be best to get. I have never had to buy a separate monitor before as I have always had an iMac so maybe there is one that is very popular that most people use that I don't know about. It would mostly be used for video editing on Final Cut and a little bit of Motion and then other general things like music, photos, documents etc.
    Ideally 24" or 27" and under £400.

    I don't want 2 monitors, so a single 27inch model just what I need... plenty of room for PPro, or I can have a Word document and a Text file open and side by side
    John,
    That is personal taste and there is no discussing taste. However, from my perspective, and that is personal, I prefer 3840 x 1080 resolution with dual monitors over 1920 x 1080 with a single monitor, but that is because I very often have Firefox, Filezilla, Dreamweaver and some other applications open at the same time, switching between the Adobe forums, Gmail accounts, Notebook results from the PPBM5 data submissions, PPBM5 form submissions, MySQL access, phpadmin pages to update the database, the PPBM5 results pages and various DW .php pages for the maintenance of our database and switching back and forth between various versions of PR. I occasionally really run out of real estate with all these applications and could not consider a single monitor with only 1920 x 1080 resolution, even if it were a 105" screen. In the future I would even like to have a four monitor setup (with MPE hardware support) in a two by two configuration, so that I can freely move my application screens around.
    If that happens, notice I say if and not when, my preference for a monitor would be something like 4 Samsung F2380 monitors. Small bezel, great display and panel, affordable.

  • Screen - exits - step by step simple examples

    hi ,
    i am new to user exits.
    pls help me by giving step by step example for creating a subscreen with 2 fields , and incorporate with some standard sap transactions.
    there are many who discussed the same topic in the forum ,but i find confusing.
    *so please don't give me the links, take standard transaction and provide me step by step .
    Thank you.
    regards
    Sree

    hi,
    SAP provides standard transactions to enter data into database. But a client may want to maintain some additional information in SAP other than what is provided.
    To make provisions for this, additional screens have to be provided and additional fields must be added into appropriate database table.
    To pave way for this, SAP has provided the option for screen exits. Usually, SAP provides the following:
    An append structure in the database table with the new fields.
    A subscreen area into the standard screen u2013 where the programmer can attach his subscreen of his own program with the new fields.
    A function group under which the new subscreen has to be created with the new fields.
    Function exits to synchronize the PBO and PAI of the standard SAP program with the PBO and PAI of the subscreen u2013 so that data can flow back and forth between the standard SAP program and the program written by the developer for the subscreen. These function modules also exist in the same function group under which the subscreen will have to be developed.
    Finally, a linkage has to be done between the subscreen area of standard SAP screen with the custom subscreen constructed by the developer.
    Typically, SAP provides an enhancement in which the developer can create an append structure, use the function exits to synchronize the PBO and PAI of the standard SAP program and the custom subscreen program, and make the necessary linking( as mentioned above in step 4. But, again, this is not a hard and fast rule. Linking in some case, is also done by configurations.) SAP also usually provides the name of the function group under which the subscreen has to be developed.
    Necessary guidance about implementing a screen exit development is usually available in the Documentation section of the enhancement ( can be availed by transaction SMOD).
    Pre-Requisites
    The developer to work on screen exit should have essential knowledge on the following:
    DDIC concepts, including the knowledge of append structure.
    Concept of SAP Enhancements and implementing them using Projects.
    Concept of function exits.
    Knowledge on Module Pool u2013 including subscreens, Tabstrip controls etc.
    Steps
    Guidelines
    So, a developer can follow the guidelines mentioned below to implement a screen exit to a standard SAP transaction, as and when required:
    Find out the Required Enhancements
    Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton u2018SAP Applicationsu2019. A list will appear that contains information on all the enhancements, categorized under functional areas. Developer must search for the enhancements relevant to his functional area of interest u2013 for e.g., Purchasing, Asset Accounting, etc.
    Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development.
    Utilize the Enhancement in a Project
    After you have found one, do as directed in the documentation. Generally, the steps are as follows:
    Create a project using CMOD including your enhancement.
    Create the append structure with new fields.
    Go to the desired function group and create a subscreen with the new fields. Write PBO and PAI for the subscreen, if required.
    Use the function exits in the enhancement to link the PBO and PAI of the subscreen with that of the main SAP program supporting the SAP transaction.
    Maintain necessary linkage between the subscreen area of standard SAP program with the custom subscreen developed along with the custom program name. This can be done in the project (developed by CMOD including the enhancement) or outside as a part of configuration.
    Activate the project.
    Test to ensure that required functionality are met.
    Case Study 1
    Add three new custom fields for Asset master and maintain information for them
    Requirement
    Three fields in the legacy system have to be maintained in Asset master. These fields are:
    Original Asset number u2013 20 characters
    Location 2 u2013 15 Characters.
    Model no u2013 20 characters
    Location 2 should start with u2018Lu2019.
    Pre-Analysis
    Finding out the Enhancement
    As described above, the enhancement is determined. It was found, that enhancement AIST0002 will serve the purpose. It contains the following components (can be viewed by transaction SMOD):
    Exit Type Description EXIT_SAPL1022_001 Function Exit Check of User-Defined Fields when Using Create and Change BAPI EXIT_SAPLAIST_002 Function Exit Transfer Data for User Subscreens in PBO. EXIT_SAPLAIST_003 Function Exit Transfer of User-Defined Fields to SAP Master Data Transactions CI_ANLU Customizing Include Include structure to add new fields
    Studying the Function Exits
    The function module level documentation for the function exits are then viewed from transaction SE37. The documentation clearly laid out for the purpose for their use:
    EXIT_SAPLAIST_002
    Function module Level Documentation
    This function module is called by asset master data maintenance at the start of the dialog. (When changing, it is called after reading of the data from the database; when creating it is called after the transfer of the default values from the asset class and reference asset.) The purpose of the function module is to enable this function group to recognize the master data. For interpreting or controlling master data fields that are important for user fields, it is possible to transfer to global variables at this point, so that they can be recognized when the user subscreens are processed.
    Import Parameters
    Understanding
    This function module is called at the PBO to pass the information retrieved from the database to pass them to the custom subscreen and its underlying program. Import parameter : I_ANLU will be populated with the values for user-defined fields which will be passed to the subscreen program. So, there must be some sort of variable assignment from I_ANLU.
    EXIT_SAPLAIST_003
    Function module Documentation: This function module is called by SAP asset master data maintenance after the screens are processed, but before saving. The purpose of the function module is to transfer fields entered on user sub-screens of SAP asset data maintenance to the database for updating. The export parameter for this function module is:
    Understanding
    This function module will be used to transfer the user entered data in the subscreen fields to the main SAP program, which will then be saved into the database.
    Studying the Documentation of the Enhancement
    The enhancement documentation (as is viewed from the initial screen of SMOD] also supports the idea. Moreover, it informs that we need to develop a subscreen under function group XAIS. This is the function group under which the two function exit modules also exist. So, if the custom subscreen refers to the global data of the function group XAIS, then those values will also be available to these function exits as well.
    Going to SE80 and viewing the function group XAIS helps us to inform that there are three DDIC tables declared for it:
    Deciding the Final course of Action
    After making all the investigations, the final course of action was determined.
    SrlNo Step Justification
    A project has to be created using transaction CMOD where the enhancement AIST0002 will be included.
    Customizing include CI_ANLU has to be created with the custom fields demanded When CI_ANLU will be developed, the custom fields will get appended to the database table ANLU. Also, these fields will be used to create screen fields in the new subscreen.
    A custom subscreen, say, 9000 will be developed under function group XAIS. The screen group for the screen will be u2018CUSTu2019 (or any name). The three custom fields added to table ANLU (by creating CI_ANLU) will be used to create new fields in the screen.
    In the PAI of the subscreen, validation for Location to start with u2018Lu2019 will be added. The subscreen with three new fields has to be developed so that it can be attached to a subscreen area of the asset master screens.
    In the custom include of the function exit module u2018EXIT_SAPLAIST_002u2019, the following code will be written:-
    ANLU = I_ANLU. I_ANLU is the import parameter of this FM. The value is assigned to the global variable ANLU, referring which the three new subscreen fields are developed. So, data retrieved from database table ANLU will be passed to this FM as I_ANLU by the standard SAP main program. The value will be taken and passed to the global variable of the function group XAIS, so that the three custom fields (referring to ANLU of XAIS) get populated.
    In the custom include of the function exit module u2018EXIT_SAPLAIST_003u2019, the following code will be written:-
    E_ANLU = ANLU. The changed values in the subscreen fields exist in global variable ANLU for the function group XAIS. This function exit module will pass the data back to the SAP main program as E_ANLU.
    Proper linkage/configuration has to be done so that the new subscreens get linked to the appropriate subscreen area of the Asset master screen. This has to be done u2013 otherwise, the new custom subscreen will not be displayed in the Asset master screens.
    Development
    Creating a Project to include the enhancement
    Go to transaction CMOD and create a project.
    Enter a description for the project. Then, click on the pushbutton u2018Enhancement Assignmentsu2019 in the Application Toolbar.
    Enter the name of the enhancement and Save.
    Go to u2018Componentsu2019.
    Creating Custom Include for ANLU
    The screen shown below will appear, showing all the enhancement components under the assignment AIST0002. Double-click on the name of the Include Structure to create it.
    Create the include structure with three new fields, as required. Then, save and activate it.
    Develop the subscreen and the program
    Go to transaction SE80. For the function group XAIS, create a new subscreen 9000.
    Create it as subscreen.
    Then, go to the Layout of the screen and create three new fields from Database table ANLU.
    Drag the fields in the screen body and place them.
    Then, save and activate the screen and come back to screen flow editor.
    Create the PAI module to add validation for field u201CLocation 2u201D, as required .
    Activate the whole function group and come out.
    Write code in the Function Exits to synchronize the programs
    Now, code has to be written in the function modules EXIT_SAPLAIST_002 and EXIT_SAPLAIST_003 so that data flows to and fro between the main SAP program and custom subscreen program. For that, go back to transaction CMOD and change the function exits.
    Write code in the function module EXIT_SAPLAIST_002 called once at the beginning of the transaction:
    Write code in EXIT_SAPLAIST_003 to pass the data from the subscreen to SAP main program.
    Then, activate everything u2013 the whole project and come out.
    Complete the configuration to link the subscreen
    The development portion is complete. Now, linking of the subscreen has to be done with the subscreen area of the main program. In most of the cases, this linking can be done in the enhancement itself. But, here, requirement is a bit different. It is done by configuration using SPRO.
    Assets are created under Asset class. And for each asset class, there is a layout assigned to it. For a layout, there are multiple tab pages assigned to it. And, for each tab page, there are multiple screen groups/field groups assigned.
    Here, the requirement is to create these three custom fields in the tab page u2018Generalu2019 of asset master screen ( AS01/AS02/AS03/AS91).
    Determine the Layout
    To achieve this, first of all, we need to find out which layout is assigned to asset class 1000.For that, go to transaction AOLK( information has to be obtained from functional consultant).Select the Asset Class u20181000u2019 and click on folder u2018General Assignment of Layoutu2019.
    Here, for Asset class 1000, for all the user groups, tab layout SAP is assigned. Since layout u2018SAPu2019 cannot be changed, it has to be copied and manipulated to include our screen group. Later, the new layout has to be assigned over here.
    Create new tab layout
    Go to transaction AOLA. Copy the tab layout u2018SAPu2019 to create another layout, say, YSUB.
    System will copy all the settings and will inform you about that.
    Select your newly created layout and double-click on the folder u2018Tab page titlesu2019.
    You want to put your custom fields in the tab page u201CGeneralu201D. So, select this tab page entry and double-click on the folder "Position of Groups".
    Here, all the field groups currently residing in the tab-page u201CGeneralu201D are shown. Add an entry for your newly created fields.
    Select the group box from the list. An entry will come with u201CUu201D padded with the custom subscreen prepared by you.
    Then, save and come out.
    Assign the new Layout to Asset Class
    Now, go to tcode AOLK and assign tab layout YSUB for asset class 1000.
    Save and come out.
    Test the Exit
    Everything is over. Now, go to transaction code AS01/02/03 or AS91 to deal with an asset of asset class 1000. You will see your new fields added to the screen. Add values to themu2026save. Then, enter into the tcodes again to see whether the values entered by you are being displayed or not.

Maybe you are looking for