How to synchronize cmos date?

In Linux, there are clock -w to synchronize system date with cmos date.
How bout solaris?
Are there any?

If your goal is to set the correct date/time then I would use the ntpdate command:
ntpdate tick.utoronto.ca

Similar Messages

  • How to synchronize the data acquisition from both GPIB and DAQ card

    I want to begin/stop acquiring the data from GPIB and PCI6024E card into Labview at the same time. Since the acquisition from GPIB is quite slow comparing to the one from DAQ card, I can not put both of them in the same loop structure. Is it possible to synchronize them?
    Thank you!

    Hi,
    I wanted to save data acquired from NI-DAQ (for example, NI 9234) in a file using the DAQ-mx ANSI C Code. The response I got was as follows:-
    One way to do it is with TDMS logging. DAQmx comes with functions designed to log to a TDMS file. This is a special file type that is used for collecting data in a logical format. It can be displayed in a TDMS viewer where data is separated into groups and channels. NI-DAQmx provides examples for how to log to TDMS. Look at the TDMS examples in the C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Analog In\Measure Voltage directory.
    However, now I want to know is there a way that using that same C code, can we save the data in a .txt file format (Text File) instead of a TDMS file? We actually want to access that file through MATLAB (that's why we want to save it in text format).
    Also on an other note, is there a way we can access & open TDMS files by MATLAB?
    Thanks,
    Sauvik Das Gupta

  • How to synchronize two database in ur java program

    Hi All
    How to synchronize two data base of mysql using java programing language?
    If somebody has any idea that will help me a lot.
    Thanks and regards
    Srikant

    Of corse I have an idea, but not good!
    If you know the database stucture then copy data from one to another.
    Open 2 connections: one to source and one to dest.
    And:
    String sql = "SELCET * from mytable1";// from source
    string sql2;
    Statement st1 = connSrc.createStatement();
    Statement st2 = connDest.createStatement();
    ResultSet rs = st1.executeQuerry(sql);
    while(rs.next()){
    sql2 = "INSERT INTO mytable1 ('field1', 'filed2') VALUES ("+
    "'"+rs.get(filed1")+"',"+
    "'"+rs.get(filed2')+"'"+
    st2.executeUpdate(sql2);
    // the destination was cleared before this: DELETE FROM mytable1 WHERE 1
    This is a mysql sample without processing the errors.
    Szabi

  • Difficulty synchroniz​ing data from VISA resource with data from a physical channel

    Essentially what I'd like my program to do is control the electrical power going (sourcing either current or voltage) into a light and measure the intensity of the light at a given power level, and then do this automatically for ~1000 increments of the source voltage/current.
    One of my lab partners made a program a while back which does what we want("LIV Sweep Rev.vi" the first image in the link at the end of this post), but it's a bit sloppy: the program is able to interact with the power supply (connected directly to the computer via USB) and make it turn on, increase the voltage/current, and record the "IV" characteristics just fine. The program can also interact with the light detector (connected via NI-BNC 2110) and gather the photocurrent data. The problem, however, is that the data wouldn't be in sync. The photocurrent data for when the light was actually supplied with 1V would be improperly recorded in the cell for when 2V are applied to the light. To fix this problem my lab partner added in a time delay so that the detector will pause for ~0.35 sec (user-specified in front panel) before gathering data.
    The program works, but I figured there had to be a better way. The thing about the timing, however, is that it changes from run to run. Sometimes a delay of 0.45 s works well, and other times the power supply will have shut down while the detector is still gathering data (and thus we miss the low end of the sweep). Other times the detector will turn on too early, which will cut off the high end of the sweep.
    (Note: I have next to zero experience with LabVIEW, but I know a little bit of java, so I understand most programming jargon)
    I spent all day yesterday trying to find out how to synchronize two data aquisitions (my attempt is shown in the "LIV SweepSummerDuncanRev3.vi" in the link at the bottom, 2nd image) but I'm running into trouble when I try to trigger the sample clock using the VISA Resource Name for the power supply.
    The programs can be viewed here:
    http://imgur.com/a/Up3eS
    I'd really appreciate any and all advice that you folks have to offer!

    Change the code such that rather than using a ramp from your power supply, just output a single value. Then do your measurement and then step to the next value in your ramp.
    You can use a State Machine (SEarch if you do not know that term in LV).
    Some gear will allow specifying a ramp driven by an external clock. If you widget can handle an external clock/trigger that approach could run faster.
    Without hardware to syncronize the various sub-systems you would have to resort to using a RT OS and depending on the instruments, even that could be hit-n-miss.
    So re-code to step-measure-step-measure etc.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can i synchronize the data from PDA (address book and calendar) with AP

    I�m yang J2ME programmer. I�m just programming an API. I need to synchronize the data from PDA or mobile phone (address book and calendar) with PCs .
    Is the JSR 75 s right way? or JSR 230?
    Where can i download JSR 230 ? not PDF

    Can somebody help me?
    I mean, i want to read address book from cell phone to PC.
    Message was edited by:
    cash_ye

  • Job SM:SYNCHRONIZE USER DATA FOR NOTIFICATION canceled

    Dear SAP Guru,
    The BG job SM:SYNCHRONIZE USER DATA FOR NOTIFICATION is canceled every day and it´s
    generating shortdump. Our system is SAP EHP1 for SAP Solution manager.
    SAP ABA and SAP BASIS components are release 701 level 3.
    ST is release 400 level 19
    ST-PI is release 2008_1_700 level 1
    ST-A/PI is release 01L_CRM570
    Pls look on this shortdump.
    Runtime Errors         RAISE_EXCEPTION*
    Date and Time          22.03.2010 06:50:11
    |Short text                                                                                |
    |    Exception condition "CUSTOMIZING_NOT_FOUND" raised.                                           |
    |What happened?                                                                                |
    |    The current ABAP/4 program encountered an unexpected                                          |
    |    situation.                                                                                |
    |What can you do?                                                                                |
    |    Note down which actions and inputs caused the error.                                          |
    |                                                                                |
    |                                                                                |
    |    To process the problem further, contact you SAP system                                        |
    |    administrator.                                                                                |
    |                                                                                |
    |    Using Transaction ST22 for ABAP Dump Analysis, you can look                                   |
    |    at and manage termination messages, and you can also                                          |
    |    keep them for a long time.                                                                    |
    |Error analysis                                                                                |
    |    A RAISE statement in the program "SAPLDSWP_UTILITY" raised the exception                      |
    |    condition "CUSTOMIZING_NOT_FOUND".                                                            |
    |    Since the exception was not intercepted by a superior                                         |
    |    program, processing was terminated.                                                           |
    |                                                                                |
    |    Short description of exception condition:                                                     |
    |                                                                                |
    |                                                                                |
    |    For detailed documentation of the exception condition, use                                    |
    |    Transaction SE37 (Function Library). You can take the called                                  |
    |    function module from the display of active calls.                                             |
    |    -                                                                                |
    |How to correct the error                                                                          |
    |                                                                                |
    |    If the error occures in a non-modified SAP program, you may be able to                        |
    |    find an interim solution in an SAP Note.                                                      |
    |    If you have access to SAP Notes, carry out a search with the following                        |
    |    keywords:                                                                                |
    |                                                                                |
    |    "RAISE_EXCEPTION" " "                                                                         |
    |    "SAPLDSWP_UTILITY" or "LDSWP_UTILITYU19"                                                      |
    |    "DSWP_GET_GLOBAL_CUSTOMIZING"                                                                 |
    |                                                                                |
    |    or                                                                                |
    |                                                                                |
    |    "SAPLDSWP_UTILITY" "CUSTOMIZING_NOT_FOUND"                                                    |
    |                                                                                |
    |    or                                                                                |
    |                                                                                |
    |    "RDSWP_NM_SYNC_USER_DATA " "CUSTOMIZING_NOT_FOUND"                                            |
    |    If you cannot solve the problem yourself and want to send an error                            |
    |    notification to SAP, include the following information:                                       |
    |                                                                                |
    *|   
    |System environment                                                                                |
    |    SAP-Release 701                                                                               |
    |                                                                                |
    |    Application server... "crsgrant"                                                              |
    |    Network address...... "10.128.32.175"                                                         |
    |    Operating system..... "Windows NT"                                                            |
    |    Release.............. "5.2"                                                                   |
    |    Hardware type........ "2x Intel 801686"                                                       |
    |    Character length.... 8 Bits                                                                   |
    |    Pointer length....... 32 Bits                                                                 |
    |    Work process number.. 13                                                                      |
    |    Shortdump setting.... "full"                                                                  |
    |                                                                                |
    |    Database server... "CRSGRANT"                                                                 |
    |    Database type..... "ORACLE"                                                                   |
    |    Database name..... "SM1"                                                                      |
    |    Database user ID.. "SAPSM1"                                                                   |
    |                                                                                |
    |    Terminal.......... " "                                                                        |
    |                                                                                |
    |    Char.set.... "Czech_Czech.28592"                                                              |
    |                                                                                |
    |    SAP kernel....... 701                                                                         |
    |    created (date)... "Apr 12 2009 22:43:15"                                                      |
    |    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"                              |
    |    Database version. "OCI_10201_SHARE (10.2.0.4.0) "                                             |
    |                                                                                |
    |    Patch level. 39                                                                               |
    |    Patch text.. " "                                                                              |
    |                                                                                |
    |    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."                |
    |    SAP database version. 701                                                                     |
    |    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows                |
    |     NT 6.0"                                                                                |
    |                                                                                |
    |    Memory consumption                                                                            |
    |    Roll.... 8112                                                                                |
    |    EM...... 4181184                                                                              |
    |    Heap.... 0                                                                                |
    |    Page.... 24576                                                                                |
    |    MM Used. 873664                                                                               |
    |    MM Free. 170296                                                                               |
    |User and Transaction                                                                              |
    |                                                                                |
    |    Client.............. 001                                                                      |
    |    User................ "SOLMAN"                                                                 |
    |    Language key........ "E"                                                                      |
    |    Transaction......... " "                                                                      |
    |    Transactions ID..... "C27635DF574FF121B0470050569757E9"                                       |
    |                                                                                |
    |    Program............. "SAPLDSWP_UTILITY"                                                       |
    |    Screen.............. "SAPMSSY0 1000"                                                          |
    |    Screen line......... 6                                                                        |
    |Information on where terminated                                                                   |
    |    Termination occurred in the ABAP program "SAPLDSWP_UTILITY" - in                              |
    |     "DSWP_GET_GLOBAL_CUSTOMIZING".                                                               |
    |    The main program was "RDSWP_NM_SYNC_USER_DATA ".                                              |
    |                                                                                |
    |    In the source code you have the termination point in line 22                                  |
    |    of the (Include) program "LDSWP_UTILITYU19".                                                  |
    |    The program "SAPLDSWP_UTILITY" was started as a background job.                               |
    |    Job Name....... "SM:SYNCHRONIZE USER DATA FOR NOT"                                            |
    |    Job Initiator.. "SOLMAN"                                                                      |
    |    Job Number..... 00104000                                                                      |
    Have you some solution or advice?
    Best Regards
    Jakub

    Please could you check the following ?
    - Please ensure that the latest version of note 1172948 has been implemented
    - Please follow the recommendation in note 1314587.
    - Check table 'DSWPGLOBALCUSTOM' and ensure that the entry 'DTMLOG' is available.  Create the entry if missing.
    These procedures will solve this issue.

  • How to execute the data in the form when the data is already avaliable

    Hi,
    I am working with forms 6i. I have a problem while executing the data in the form
    Actually, the data is already present in the form. But when i run the form, the data is not displayed.
    can anyone please help me how to execute the data. below is the code
    Set_Alert_Property(alert_id,ALERT_MESSAGE_TEXT,'Do you want to refresh new Data for that Year and Field ? (it will take a time).') ;
                   SET_ALERT_BUTTON_PROPERTY(alert_id, ALERT_BUTTON1, LABEL, 'Yes');
                   SET_ALERT_BUTTON_PROPERTY(alert_id, ALERT_BUTTON2, LABEL, 'No');
                   SET_ALERT_BUTTON_PROPERTY(alert_id, ALERT_BUTTON3, LABEL, 'Cancel');
                   button_number :=Show_Alert(alert_id) ;
                   synchronize;
                   if button_number != ALERT_BUTTON3 then
                        if button_number = ALERT_BUTTON1 then
                             :param.field := :control.f_cd;
                             :param.year := :control.year;
                             build_tables;
                             fields;
    -- areas(:param.field);
                             PUT_PARAM;
                             COMMIT_FORM;
                        go_block('wet_criterias');
                        end if;
                        if button_number = ALERT_BUTTON2 then
                             :exhibits.field_display := :control.f_name || ' - Exhibits';
                             go_block('RESERVOIR');
                             execute_query;
                        end if;
                   end if;
              end if;
    else
         message('Fields must be entered...');
    end if;
    else
    message('Fields must be entered...');
    end if;

    It's hard to know what logic you are trying to implement.
    However, by looking at your code, it seems that if the user select 'Yes' to the question "Do you want to refresh", nothing is done except the go_block('wet_criterias'). Should there be an 'Execute_Query' ?
    No idea...

  • How to synchronize a cell in form with a cell in MS excel sheet

    dear all
    I can successfuly export data to excell using the ole2 package. But the problem is that exporting data from A datablock in a form to Excel sheet is not enough.
    I need to automaticaly copy updates occures on the datablock to its equilivant in the excel sheet. In other words , i need to synchronize my datablock items with facing cells in the excel sheet,so the cells'values in excel sheet automatiacly changes to be the values in the datablock items
    please help

    Dear all
    I can successfuly export data to excell using the ole2 package. But the problem is that exporting data from A datablock in a form to Excel sheet is not enough.
    I need to automaticaly copy updates occures on the datablock to its equilivant in the excel sheet. In other words , I need to synchronize my datablock items with facing cells in the excel sheet,so the cells'values in excel sheet automatiacly changes to be the values in the datablock items
    I searched the web several times . Some people adviced me to use "Apache-jakarta-poi" . It is a pure java code. But my knoledge in java is limited.I asked on Oracle forums -
    how to synchronize a cell in form with a cell in MS excel sheet - but no one can help
    I tried the oracle forms demo "OLEEXCEL.fmb" . But this form is not working correct .
    I need to embed ole2 in my form that holds excel sheet and passes values from text items to the excel sheet.
    My last try is that I did the following :
    1- in the main canvas i insert the OLE2 control
    2- Right Click and choose insert
    3- from the dialog i chosed Excel Sheet
    4- I placed a button on my canvas then i on the button I write this code
    declare
    worksheet ole2.obj_type;
    cell ole2.obj_type;
    args ole2.list_type;
    begin
    forms_ole2.activate_server('block1.excel_sheet');
    worksheet := forms_ole2.get_interface_pointer('block1.excel');
    args := ole2.create_arglist;
    ole2.add_arg(args,1) -- column1
    ole2.add_arg(args,1) -- cell1
    cell := ole2.invoke_obj(worksheet,'cell',args);
    ole2.destroy_arglist(args);
    ole2.set_property('cell','value',:text1);
    ole2.release_obj(cell);
    ole2.release_obj(worksheet);
    end;
    I get this error ora-305500
    and when i debug , the code stop in this line : cell := ole2.invoke_obj(worksheet,'cell',args);
    please help

  • How to synchronize with Oracle 11 g

    Hi @ all,
    since a longer time I try to synchronize a Oracle Database Lite with Oracle 11 g over Mobile Server. But I still hadn't any success. I wanna use C# 3.5 and ADO.NET. Oracle Lite documentation is very bad, did not helped me. I cannot understand how to design a mobile sync application. Is it neccessary to use Mobile Database Workbench and Packaging Wizzard and to publish my mobile application to Mobile Server? Is too complex, I don't need/want this. All I wanna do is to use offline Oracle Lite Database on my PDA and synchronize the data during ActiveSync-connection with a Oracle 11 g data base. I tried also OracleSync classe and OracleEngine.Synchronize() and BGSyncControl, but nothing worked. I talked to our oracle support but they only send me links to tuorials sites I already read. I'm very unhappy about synchronization in Oracle Lite.
    Has anyone successfully done synchronization with Oracle Lite and Oracle 11 g on a mobile device and can give me some hints or sample code? Or is there any mobile database which is better for synchronization?
    Thank you very much for your answers or your code examples.
    Aness

    When attempting to synchronize Oracle Lite with the Windows Mobile emulator, ActiveSync is not able to establish a connection with the emulator device after the emulator device is set to emulate being cradled with the Device Emulator Manager.
    Cause
    The SERDMAAsPlugin.dll is not registered on the host system.
    Solution
    1. Open a Command Prompt.
    Start, Run, cmd
    2. Navigate to the C:\Program Files\Microsoft Device Emulator\1.0\ directory.
    3. Register the SERDMAAsPlugin.dll.
    regsvr32 SERDMAAsPlugin.dll
    4. Reset the emulator device.
    5. Open Microsoft ActiveSync.
    6. Select File, Connection Settings.
    7. Ensure that "Allow connections to one of the following" is checked and that the DMA connection type is listed within the drop down box.

  • How to Synchronize an association with Database Changes

    Hi,
    I was wondering if someone has any ideas about how to manage FK changes with the BC associations. In general my questions center around tooling support for re-factoring associations and syncing them with db changes. I have read the following but all these discuss entity attribute related changes which are simple to manage.
    http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcentities.htm#ADFFD169
    http://jdeveloperfaq.blogspot.com/2010/02/faq-15-how-to-synchronize-adf-entity.html
    Re: How to manage ADF BC components in the case of datamodel changes
    I have 4 use cases.
    Case 1: When an association is added to the db, how does one bring it to the BC layer.
    Case 2: Deletion of an association from db is easy to manage because once it exists in bc layer, it can be treated as a valid one at the model later regardless of its existence on the db.
    Case 3: When an association is modeled in BC layer and a corresponding FK does not exist in DB. How does one turn that association into a physical FK in the db if one wants to install a FK. What is the naming convention for installing such a db FK constraint that can sync easily with tooling. I understand that it is not necessary to have a physical FK as the BC layer will take care of enforcing the relationship. But my requirement is that first the modeling at bc layer can go on and then the constraint can be implemented at a later date.
    Case 4: When a FK is renamed in db how does one reconcile that with a previously created association at the model layer based on an old fk with a different name.
    Thanks,

    The synchronize with DB will pick up new FK defined in the DB and will suggest to add them to your ADF BC layer.
    You can also generate DB objects from your ADF BC layer.
    Drag your ADF BC into an ADF BC diagram, select all of them, right click and select Generate Business Object->Database Objects
    This will create the objects in the DB - note though that this will override your DB objects.

  • How to create Customer data TAB in PO -ME23N

    Can anyone tell me how to add 'Customer data' TAB in the PO heade TABSTRIP. I have to add it in the header besides 'Status' TAB.
    I know an enhancement 'MM06E005' which is used for this purpose.
    Thanks
    SMS

    Hi
    see this sample doc and do it accordingly
    by creating a project in CMOD and assigning the Enhancment MM06E005  and writing the code in the respective screen
    How to implement screen exit for a SAP standard transaction
    Introduction
    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 – 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 – 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 – 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 ‘SAP Applications’. 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 – 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 – 20 characters
    Location 2 – 15 Characters.
    Model no – 20 characters
    Location 2 should start with ‘L’.
    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 ‘CUST’ (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 ‘L’ 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 ‘EXIT_SAPLAIST_002’, 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 ‘EXIT_SAPLAIST_003’, 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 – 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 ‘Enhancement Assignments’ in the Application Toolbar.
    Enter the name of the enhancement and Save.
    Go to ‘Components’.
    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 “Location 2”, 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 – 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 ‘General’ 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 ‘1000’ and click on folder ‘General Assignment of Layout’.
    Here, for Asset class 1000, for all the user groups, tab layout SAP is assigned. Since layout ‘SAP’ 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 ‘SAP’ 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 ‘Tab page titles’.
    You want to put your custom fields in the tab page “General”. 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 “General” are shown. Add an entry for your newly created fields.
    Select the group box from the list. An entry will come with “U” 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 them…save. Then, enter into the tcodes again to see whether the values entered by you are being displayed or not.
    Original Source: ittoolbox.com
    Regards
    Anji

  • How to synchronize between OID and the Custom Database  Tables ?

    Hi All,
    Our ADF Application is using Oracle SIngle-Sign On (OAS 10.1.4). Meanwhile we also maintain
    users login within Database table to store application menu accessibility data.
    i.e:
    Firstly user Login using Oracle SSO, after logged in, application will query the above mentioned
    database tables to determine which menu he/she has access.
    We have develope a security module to input users login into the database, so I need to synchronize
    the data into OID, so that that particular user can use Oracle SSO.
    How is the mechanism to do that ?
    Thank you very much,
    xtanto

    Hi,
    OID providesa Java and PLSQL API. I agree with Chris that from what you describe, the PLSQL API seems to be the best approach to take as it allows you to use database triggers for the synchronization
    Frank

  • How to synchronize objects

    Hi All,
    I have a report which shows count of various objects in a report.
    These objects are coming from different data providers i.e. Universes and Stored Procedure.
    Now, the problem is, report is showing proper count for the objects which are coming from Universes, but its showing wrong count for the objects that are coming from Stored Procedures.
    So, anyone has any idea how to synchronize these objects coming from different data providers i.e. Universes and Stored Procedure ?
    Thanks in advance.

    Hi Harshad,
    Could you please review the  following simulation if the issue is according to the below mentioned information then test the solution.
    Requirements:
    1. Report X based on two blocks A and B issued from two data providers A and B.
    2. Data provider A based on an stored procedure A providing a dimension A (DimensionA displaying figures with a NUMERIC TYPE).
    Block A
    Column A
    1
    2
    10
    5
    3. Data provider B based on a universe B and a dimension B with a CHARACTER TYPE.
    Block B
    Column B
    8
    9
    11
    25
    To synchronize the dimensions A and B the idea is to turn the NUMERIC TYPE of the dimension A into a CHARACTER TYPE as the B one.
    As the type of the dimension A cannot be changed within a report, the idea is to export the stored procedure storing the table A and the column A to an Access database as a table A.
    Inside Access the column A having a NUMERIC TYPE can be turned into a CHARACTER TYPE.
    The following step is to insert into a universe A the table A and its column A to create a dimension A.
    Having a CHARACTER TYPE the dimension A can be linked to the data provider B containing the dimension B
    STEPS
    1. Import the table A from stored procedure within an Access database A as table A.
    2.Turn the type of the stored procedure numeric field into Access as a CHARACTER TYPE.
    3. Create a universe A based on the access table A.
    4. Open the report X.
    5. Insert a table on the universe A, and select the table A.
    6. Open the micro cube.
    7. Start the synchronization between the objects A and B.
    As the objects A and B have the same CHARACTER TYPE. These objects can be successfully synchronized.
    I hope this will help you.
    Regards,
    Sarbhjeet Kaur

  • How the business partner data is created in  EB

    Hi
    How the business partner data is created in EB ( SRM).
    thanks
    sankar

    Hi,
    I imagine you would like to synchronize business partner data, which are created in backend, into SRM.
    you can use Tcode BBPGETVD or BBPUPDVD or run/schedule  bbp_vendor_sync (need customizing).
    Regards,
    Bertrand

  • How to set the Data Synchronisation mode for ADF BC component?

    Hi All,
    How to set the Data Synchronisation mode for ADF BC component
    Thanks
    Raghavendra

    Can you clarify what you mean by the data synchronization mode?
    If you mean the Sync Mode, then in 10.1.3 you set this property by:
    1. Selecting your DataBindings.cpx file
    2. Expanding the "Data Control Usages" section in the structure window
    3. Selecting the ADFBC-based data control
    4. Setting the "syncMode" property in the property inspector.

Maybe you are looking for

  • Unable to use or the back arrow & has stop working

    unable to use the back arrow , will not work on any site, just stop working thanks

  • Updating Acrobat Pro 9 to new Mac

    I have an existing version of Acrobat Pro ( (version 10.1.8) running on my old MacBook Pro (running OSX 10.6.8) How do I transfer this to my new MacBook Air (running 10.7.4)?

  • Raw Material Result Analysis

    Hi , I am working on Quality Report . My requirement is Raw materail result specification with standard specification . I facing problem Qualitative Specification .I do not want to display Qualitative specifications .How can we find specification fro

  • Installing a flash player to play music on all pages of my website

    I have a website (www.rogeraltemus.com) displaying portraits of dogs & cats. I would like to add a flash player to the site to play an mp3 file of royalty free music. I want the music to begin when the first photo opens in some ones browser and conti

  • Info Spoke - Issue with Data increasing by factor (X) fr selection

    We have created an Info Spoke for our Special Ledger Cube which is extracting from a summary 'Z' table. We are doing full loads & re-loads and not utilizing a delta. The spoke is used to create a flat file containing beginning balance and ending bala