Differnace b/w SID and Global data base name

please tell me what is differance b/w SID and global data base name.

Hi,
Oracle System Identifier (SID)
A name that identifies a specific instance of a running pre-release 8.1 Oracle database. For any database, there is at least one instance referencing the database.
For pre-release 8.1 databases, SID is used to identify the database. The SID is included in the connect descriptor of a tnsnames.ora file and in the definition of the listener in the listener.ora file.
http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14213/glossary.htm#i433004
Global database name
The full name of the database which uniquely identifies it from any other database. The global database name is of the form "database_name.database_domain," for example, sales.us.acme.com.
The database name portion, sales, is a simple name you wish to call your database. The database domain portion, us.acme.com, specifies the database domain in which the database is located, making the global database name unique. When possible, Oracle Corporation recommends that your database domain mirror the network domain.
The global database name is the default service name of the database, as specified by the SERVICE_NAMES parameter in the initialization parameter file.
http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14213/glossary.htm#i435858
Adith

Similar Messages

  • What are  Pre Database Copy and Post data base copy activity list, Pre Migration and Post Migration activity list from SAP BW 7.0 to SAP BW 7.4 SPS6.

    BW on HANA :  Pre Database Copy and Post data base copy activity list, Pre Migration and Post Migration activity list from SAP BW 7.0 to SAP BW 7.4 SPS6.
    We are trying to copy database from SAP BW7.0 to SAP BW on HANA 7.4 SPS6 so we are in search for list of steps or activities during database copy both pre and post steps.
    Along with the above we are in search of Pre and post migration steps ones database is transferred successfully from oracle to HANA on 7.4 SPS6.
    Kindly help us in getting the exact course of action as requested.
    Thanks and Regards,
    Lavina Joshi

    Hi Lavina,
    try this link for starters: Upgrade and Migration - BW on HANA | SAP HANA
    Points to remember are:
    Preparation:
         -- Hardware Sizing
         -- Preparation of Data Centres
         -- HANA Hardware preparation
         -- System Landscape Readiness (upgrade software downloads, system readiness checks, etc)
         -- House Keeping activities on BW system (data clean up, etc)
    Post Installation:
         -- Sanity checks / Preparation and License checks
         -- JAVA Configurations
         -- Infoprovider conversions 
    Overall Stages are described below:
    # Environmental setup (HANA box)
         -- Initial system checks and Building Activities (system copy, Appln server setups, etc)
    # System readiness
                   - ZBW_HANA_COCKPIT Tool
                   - ZBW_HANA_CHECKLIST Tool
                   - ZBW_ABAP_ANALYZER Tool
                   - ZBW_TRANSFORM_FINDER Tool
                   - SIZING Report
                   - System Clean up Activities
                   - Impact of 7.4 on source system checks
                   - Java Upgrade for portal
    # DMO Stages
                   - Preparation & Pre Migration checks
                   - Execution / Migration
                   - Post Migration Activities
    # Testing Phase
                   - Source system checks/Activities
                   - System and Integration Testing
                   - End to End Testing
                   - Performance testing
                   - Reports
                   - BO reports / Interfaces
    Do let me know if you require any further information.
    Regards,
    Naren

  • Is it possible to combine a address list with a Pages document and a data base in Numbers, the equivalent of "Mail Merge" using Microsoft?

    Is it possible to combine an address list with a Pages 5.1 document and a data base in Numbers 3.1, the equivelent of Microsoft "Mail Merge"?

    It is possible in Pages 09 and Numbers 09 but not in the versions you name.

  • Data base name

    Hi,
    can a data base name have the digits ? Like DATAB11 or DATAB22 ?
    Many thanks.

    yes ..You can.

  • How to trigger pop-up window in report and update data base from report

    Hi All,
    I have a requirement, in a report output list to trigger a pop up window with some rejection codes corresponding to each sales order when i select from the output list. Also i need to update data base by selecting one of the rejection code in the pop-up window list for that sales order. Can any one please let me know how to achive this.
    Also, i have check boxes for each record in the output list. Also, i have added one more check box as "Select All'. When select 'Sleect All' check box , all check boxes need to be checked, how to achieve this. PLease let me know.
    Thanks in advance.
    Regards,
    Rajesh

    Hi check this code of editable ALV report... I updated the data base with the changes made..in the editable ALV
    *& Report ZJAY_EDIT_ALV
    REPORT zjay_edit_alv.
    * TYPE-POOLS *
    TYPE-POOLS: slis.
    * INTERNAL TABLES/WORK AREAS/VARIABLES
    DATA: i_fieldcat TYPE slis_t_fieldcat_alv,
    i_index TYPE STANDARD TABLE OF i WITH HEADER LINE,
    w_field TYPE slis_fieldcat_alv,
    p_table LIKE dd02l-tabname,
    dy_table TYPE REF TO data,
    dy_tab TYPE REF TO data,
    dy_line TYPE REF TO data.
    * FIELD-SYMBOLS *
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
    <dyn_wa> TYPE ANY,
    <dyn_field> TYPE ANY,
    <dyn_tab_temp> TYPE STANDARD TABLE.
    * SELECTION SCREEN *
    PARAMETERS: tabname(30) TYPE c DEFAULT 'MARA',
    lines(5) TYPE n DEFAULT 7.
    * START-OF-SELECTION *
    START-OF-SELECTION.
    * Storing table name
    p_table = tabname.
    * Create internal table dynamically with the stucture of table name
    * entered in the selection screen
    CREATE DATA dy_table TYPE STANDARD TABLE OF (p_table).
    ASSIGN dy_table->* TO <dyn_table>.
    IF sy-subrc <> 0.
    MESSAGE i000(z_zzz_ca_messages) WITH ' No table found'.
    LEAVE TO LIST-PROCESSING.
    ENDIF.
    * Create workarea for the table
    CREATE DATA dy_line LIKE LINE OF <dyn_table>.
    ASSIGN dy_line->* TO <dyn_wa>.
    * Create another temp. table
    CREATE DATA dy_tab TYPE STANDARD TABLE OF (p_table).
    ASSIGN dy_tab->* TO <dyn_tab_temp>.
    SORT i_fieldcat BY col_pos.
    * Select data from table
    SELECT * FROM (p_table)
    INTO TABLE <dyn_table>
    UP TO lines ROWS.
    REFRESH <dyn_tab_temp>.
    * Display report
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    i_structure_name = p_table
    i_callback_user_command = 'USER_COMMAND'
    i_callback_pf_status_set = 'SET_PF_STATUS'
    TABLES
    t_outtab = <dyn_table>
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    ENDIF.
    *& Form SET_PF_STATUS
    * Setting custom PF-Status
    * -->RT_EXTAB Excluding table
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
    SET PF-STATUS 'ZSTANDARD'. "copy it from SALV func group standard
    ENDFORM. "SET_PF_STATUS
    *& Form user_command
    * Handling custom function codes
    * -->R_UCOMM Function code value
    * -->RS_SELFIELD Info. of cursor position in ALV
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
    * Local data declaration
    DATA: li_tab TYPE REF TO data,
    l_line TYPE REF TO data.
    * Local field-symbols
    FIELD-SYMBOLS:<l_tab> TYPE table,
    <l_wa> TYPE ANY.
    * Create table
    CREATE DATA li_tab TYPE STANDARD TABLE OF (p_table).
    ASSIGN li_tab->* TO <l_tab>.
    * Create workarea
    CREATE DATA l_line LIKE LINE OF <l_tab>.
    ASSIGN l_line->* TO <l_wa>.
    CASE r_ucomm.
    * When a record is selected
    WHEN '&IC1'.
    * Read the selected record
    READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX
    rs_selfield-tabindex.
    IF sy-subrc = 0.
    * Store the record in an internal table
    APPEND <dyn_wa> TO <l_tab>.
    * Fetch the field catalog info
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = sy-repid
    i_structure_name = p_table
    CHANGING
    ct_fieldcat = i_fieldcat
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2
    OTHERS = 3.
    IF sy-subrc = 0.
    * Make all the fields input enabled except key fields
    w_field-input = 'X'.
    MODIFY i_fieldcat FROM w_field TRANSPORTING input
    WHERE key IS INITIAL.
    ENDIF.
    * Display the record for editing purpose
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    i_structure_name = p_table
    it_fieldcat = i_fieldcat
    i_screen_start_column = 10
    i_screen_start_line = 15
    i_screen_end_column = 200
    i_screen_end_line = 20
    TABLES
    t_outtab = <l_tab>
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc = 0.
    * Read the modified data
    READ TABLE <l_tab> INDEX 1 INTO <l_wa>.
    * If the record is changed then track its index no.
    * and populate it in an internal table for future
    * action
    IF sy-subrc = 0 AND <dyn_wa> <> <l_wa>.
    <dyn_wa> = <l_wa>.
    i_index = rs_selfield-tabindex.
    APPEND i_index.
    ENDIF.
    ENDIF.
    ENDIF.
    * When save button is pressed
    WHEN 'SAVE'.
    * Sort the index table
    SORT i_index.
    * Delete all duplicate records
    DELETE ADJACENT DUPLICATES FROM i_index.
    LOOP AT i_index.
    * Find out the changes in the internal table
    * and populate these changes in another internal table
    READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX i_index.
    IF sy-subrc = 0.
    APPEND <dyn_wa> TO <dyn_tab_temp>.
    ENDIF.
    ENDLOOP.
    * Lock the table
    CALL FUNCTION 'ENQUEUE_E_TABLE'
    EXPORTING
    mode_rstable = 'E'
    tabname = p_table
    EXCEPTIONS
    foreign_lock = 1
    system_failure = 2
    OTHERS = 3.
    IF sy-subrc = 0.
    * Modify the database table with these changes
    MODIFY (p_table) FROM TABLE <dyn_tab_temp>.
    REFRESH <dyn_tab_temp>.
    * Unlock the table
    CALL FUNCTION 'DEQUEUE_E_TABLE'
    EXPORTING
    mode_rstable = 'E'
    tabname = p_table.
    ENDIF.
    ENDCASE.
    rs_selfield-refresh = 'X'.
    ENDFORM. "user_command

  • Smart forms and global data

    are parameters defined in global data in smart forms unavailable in form routines to be used
    I am working on lbbil_invoice std smart form for invoices and trying to use gs_it_gen type lbbil_it_gen that is been defined in global data. Will I have to define another wa of the same type in my sub routine ?

    I am working on a smart form right now
    I define in global data
    gv_fabrictext type char64
    gv_fabriccode type mara-j3afcc
    then in my form routines i create a sub routine
    FORM fcc_values USING gv_fabrictext.
    and making computations to calculate gv_fabrictext
    then i use a program code and call perform fcc_values using gv_fabrictext with gv_fabrictext as input and output parameters
    Is this correct? Why do I have to define gv_fabriccode type mara-j3afcc  in the form routine even though its been defined in global data

  • Classes and Global Data

    OK, I've been battling how to do this with my test code and now it comes back to "bite" me in my new project.
    In regular C, you just create your structures, fill them with data, and then your subroutines have full access to the global data.
    With Objective-C you envelop certain data inside other objects. I got that. In fact, that's where I've gotten "stuck". Let me elaborate.
    I have a the following classes:
    Class (number of instances expected) description of class
    Scenes (1) tables containing dictionaries of scenes and scene components
    Pieces (1) tables containing images, type specs, etc. of game pieces
    Blocks (1) tables with definitions, specs of movable game pieces
    MainView (1) main application view, contains methods to draw the main gameboard
    BlockView (n) view for the block and data needed to manipulate it by the main game logic
    MainViewController (1) main controller for game screen
    Ok, since MainView manages the game window it's init methods also call the init methods to instantiate the one instance of Scenes and Pieces which are needed to be setup in order for MainView to draw the currentScene using the UIImage figures for each of the pieces. So, it saves a pointer to the Scenes and Pieces instances. MainViewController can access those since it sets up MainView and has a pointer to it. MainViewController is currently where I had planned on firing up the BlockView subviews, one for each movable game blocks.
    The problem comes with BlockView which has the logic to setup the additional data for each block type, but does not have a pointer to the instances of Scenes or Pieces which contain the current scene info and the UIImage dictionary to use for drawing the actual images on the screen. How can it get a pointer to the appropriate classes?
    Since BlockView is invoked by MainViewController as it sets up the pieces, I could pass the pointer as part of the init method, but that seems like the WRONG place. Shouldn't I be able to put some block of pointers someplace where all objects can query to get the data needed (keeping it encapsulated within some master gameSettings object).
    Actually that's part of where I'm going with this. I want to have a settings object which knows what scene is current, what block set (images) is in use (so I can have different images for each piece depending on which set is selected), and the saved state information needed to continue where I left off. (This part is mostly a serialization of the Blocks instances which contain both the initial and current locations on the screen, and the current background tableau which shows a more-or-less static background for each scene).
    Instead of one object, right now I've separated the types of information by 3 classes, but everything needs access to two of those classes in order to fully function. I think I have that part under control. What I don't have is the BlockView instances and the GameLogic methods having access to the Scenes and Pieces data unless I pass a pointer to them during initialization.
    Is that what I'm supposed to do?
    Or is there a better way?
    Lastly, my game logic is really a set of methods which act on ONE specific piece to move it, but then that movable piece (one of the instances of BlockView) is able to push other pieces as it moves. Additional methods will handle the pushing of the other instances of BlockView around until a solution is completed for the scene. That part, I think I've gotten OK, as the game logic will be Built into the Blocks or BlockView classes. (That's the part I will have to figure out).
    I'm adding this to my query, so you know my intention, and whether I'm on the right track. So far my Blocks class only contains definitions used by BlockView, and no instance variables or methods yet. If all the logic can be put into the BlockView methods, I can probably throw Blocks away.
    So, do I add a pointer to my init method...
    - (id)initWithString:(NSString*)myType atPoint:(CGPoint)point
    becomes
    - (id)initWithString:(NSString*)myType atPoint:(CGPoint)point inScene:(Scene)scene ofSet:(Pieces)pieceSet
    If that is what it takes, I can do it. It just seems there ought to be a better way.
    Of course, I could abstract those last pointers to only provide the pieces needed for that one instantiation of a BlockView, as I have with 'myType' and 'point' by supplying only the 'pieceSet' to init, but then the game logic will need to have access to the 'scene' to know whether a given block is allowed to move to a given position. This is where I get confused as far as what information to pass to a class, since I know other methods invoked by touches will cause the blocks (in BlockView instances) to move around on the screen displayed by MainView.
    Actually MainView will be detecting the touches and moving the instances of BlockView, so maybe the game logic SHOULD be in MainView instead. I just figured that to encapsulate it as methods that operate on the movable pieces, the methods should be in BlockView, and called by the touch detection routines in MainView.
    Comments please. And don't say, you can do it either way... one way or the other, or yet a third way I don't fully comprehend (such as another viewController) should contain the logic. I think the logic is part of the model and not the view, but in this case, it affects the view based on the background squares and what happens to each block as it is moved or pushed "into" one of those squares.
    Thanks in advance. I realize this may be a complicated question, but I think it is a fairly BASIC question, and my lack of Objective-C experience is showing.
    To tie the question up a little better, I'm not expecting to have all objects have complete access to lots of global data. What I'm looking for is a place to put a pointer to each of my classes which are only ever instantiated once, and have that pointer be findable by any other class that can then query the appropriate class instance to retrieve the data. Right now, I have one and only one place holding these pointers, and am passing them to the objects/classes which need access to the data in those Scene and Pieces classes when they need them.
    If that is the way I'm supposed to do it, then I'm on the right track, even if it means deciding which classes are allowed to hold and pass the appropriate object pointers to other objects.

    etresoft wrote:
    I think you are missing an important piece - the "model" - from the MVC architecture - Model, View, Controller.
    Your "business logic" is composed of your Scenes, Pieces, and Blocks. That is your model. Your view shouldn't really know anything about that. Your controller understands both your model and your view and it puts the two together to draw things. You want to be able to swap our your GUI view for a text view, if you wanted to. Chess, for example, can be played in a GUI or from a text console. A more modern example is a multiplayer game. It has to function across a network so its model has to be projected to the local display as well as sent across the network.
    Yes, I am still fighting with understanding the implementation of some concepts.
    What I think I am wanting to do, is similar to what Apple has done with the file manager or notification centers, and be able to request information from my model as needed.
    For example, my view doesn't care about the specifics of the scenes or pieces, yet my view wants to be able to display the name of the current scene or display the correct image for a piece. Right now, it keeps an instance pointer to my "singleton" Scene object, and using the scene index, gets the current name. To display images, it gets those from the Pieces singleton's image dictionary, and again keeps a pointer to do that.
    What I would rather do is be able to get that pointer for the views that need it without having to copy it, or have back pointers to the superview which holds a copy of those pointers. My BlockView class layers the active pieces over the MainView which holds the playing board. To access things, my code looks like:MainView* mainView = (MainView*) self.superview;
    NSString* key = [mainView.myScene.sceneKeys objectAtIndex:mainView.currentSceneIndex];
    NSString* pieceName = [[mainView.myScene.scenes objectForkey:key] pieceAtLocation:loc];
    UIImage* image = [mainView.myPieces.images objectForkey:pieceName];
    Oh, and this isn't actual code. It is a contrived example. I have since made it more efficient.
    What I think would be more appropriate would be something like this:
    NSString* pieceName = [[Scenes CurrentScene] pieceAtLocation:loc];
    UIImage* image = [[Pieces PieceImages] objectForkey:pieceName];
    or even
    UIImage* image = [[Pieces PieceImages] objectForKey:[[Scenes CurrentScene] pieceAtLocation:loc]];
    When I attempt to create class methods to access data in my "singleton", I get lots of warnings about accessing instance data in a class method. So, instead I made everything an instance method, but that requires keeping a pointer to the instance available somewhere.
    I have been able to recode some of the instance methods which manipulate derived strings from the instance data into class methods, but not the data read in from the plist data files.
    What I'm missing is how to get the current "singleton" instance from the class, and then use that as the instance pointer, i.e. in the examples above, I guess that pieceAtLocation: would be an instance method, but CurrentScene and PieceImages would be class methods that return an instance pointer to the appropriate dictionaries. How to implement that correctly is where I'm still sketchy.
    Isn't that how Apple has defined DefaultNotificationCenter or DefaultFileManager?
    I've looked at some singleton code, and am not sure how it helps me get this done, so an example would definitely help.

  • Suppress Overall result (both rows and columns side and its data)

    Hello all,
    I need to do some settings in BEx Query Designer, so that In BEx Analyzer, I don't see 'overall result' both on 'rows' and 'column' sides
    This is what I have done so far
    In 'rows' section, Properties of my KF (no. Products) then 'calculation' tab 'calculate result as'=Suppress result
    This way in BEx Analyzer I don't see the FIGURES/DATA for 'Result' and 'overall result' BUT 'result' and 'overall result' still exist both on rows and colum side even if there are not figures in them.
    Is there any property in BEx Designer so that I don't see 'overall result' at all
    Best regards
    Ahmad

    thanks for responding
    selecting a characteristic, properties, Display tab, Result lines: Always Suppress
    with this I don't see 'result'
    but 'overall result' result exist both on 'rows' and 'column' side alongwith its data.
    If I combine the above with this: selecting KF, properties, calucations, Calculate result as: Suppress result
    then
    I don't see the data in 'overall result' BUT 'overall result' still exist both on rows and column sides
    any setting so that 'overall result' completely vanishes
    Best regards
    Ahsan

  • What is the data source name and the data target name for the table COSP

    Hi,
    Actaully i am new to fico/bw,and i have to create a report based on the actual and budget value and difference in the variance.
    in R/3 side the table they are using is COSP,so please let me know what is the data source name and the cube or ods name in BW side.wht are the fields in which i can get the BUDGET value in the report.
    here we are using all the business content extractors and BI content cubes and odss.
    please reply immediately as its very jurgent isssue.
    Thanks,
    ashok

    answered

  • When Hard-coded server name and data base name are replaced with variables , execute process task does not produce the result

    Hi All,
    I am trying to load shape file into a sql spatial table. A execution process task is used to run the ogr2ogr.exe program.
    This is how the process tab looks like .
    Executable : C:\gdal_ogr2ogr\bin\gdal\apps\ogr2ogr.exe
    Argument :  -f MSSQLSpatial   MSSQL:server=SQL-ABC-DEV;database=MYSIMPLE_Dev;Trusted_Connection=True;\\mypath\files\shares\Data\www.mypage.htm\my_sample_file.shp
    Success value : 1
    For above settings, package runs fine. The spatial table is created in SQL server db. However when hard-coded SQL server name and database name are replaced with global variables , the spatial table is not created in the database. Yet the package runs fine.
    It does not throw any errors. (I am using another variable for full file path. It is not causing any errors though)
    " -f MSSQLSpatial   MSSQL:server="+@[$Project::SQLServerName]+";database="+ @[$Project::DatabaseName] +";Trusted_Connection=True;"+ @[User::Filepath] + "\\my_sample_file.shp"
    Both variables are string type. Can anyone tell me what I am doing wrong here please?
    I am running this in VS 2012.
    Thanks for your help in advance..
    shamen

    There should be a single space just after True:
    before
    " -f MSSQLSpatial   MSSQL:server="+@[$Project::SQLServerName]+";database="+ @[$Project::DatabaseName] +";Trusted_Connection=True;"+ @[User::Filepath] + "\\my_sample_file.shp"
    after keeping the space
    " -f MSSQLSpatial   MSSQL:server="+@[$Project::SQLServerName]+";database="+ @[$Project::DatabaseName] +";Trusted_Connection=True; "+ @[User::Filepath] + "\\my_sample_file.shp"
    Thanks
    shamen

  • Help in establishing connection to php and mysql data base.

    Hi,
    i have been trying to execute a simple flash program that communicates with a php page which is linked to a mysql database.
    somehow the php is not returning any data to flash , and even falsh is not sending any data to php.. I am using wamp server on win7.
    Heres my actionscript code:
    stop();
    var variables:URLVariables = new URLVariables();
    var varSend:URLRequest = new URLRequest("php.php");
    varSend.method = URLRequestMethod.POST;
    varSend.data = variables;
    var varLoader:URLLoader = new URLLoader;
    //varLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
    varLoader.dataFormat = URLLoaderDataFormat.TEXT;
    varLoader.addEventListener(Event.COMPLETE, completeHandler);
    variables.requestCode = "homepage";
    //variables.myRequest="homepage";
    trace(variables);
    varLoader.load(varSend);
    function completeHandler(event:Event):void
        trace(event.target.data.t_passed);
        var t_recieved = event.target.data.t_passed;
        //t_txt.text = "t_passed";
        t_txt.text=t_recieved;
    try
        varLoader.load(varSend);
    catch (error:Error)
        trace("error");
    And this is my php code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <?php
    //error_reporting(E_ALL  & ~E_NOTICE);
    $connection=mysql_connect("localhost" , "root" , "");
    if(!$connection)
        die("failed".mysql_error());
    $db_select = mysql_select_db("questions",$connection);
    if (!$db_select)
        die("failed".mysql_error());
        if ($_POST['requestCode'] == "homepage") {
        $pageName = $_POST['requestCode'];
        echo ($_POST['requestCode']);
    $result=mysql_query("select q from quest where qno=111",$connection);
    while($row=mysql_fetch_array($result))
    $t=$row[0];
    //print "t_passed = $s";
    echo "t_passed=".$t;
    mysql_close($connection);
    ?>
    </head>
    <body>
    </body>
    </html>
    The php gives me Undifined notice for the 'requestCode' variable...
    please help..
    Thanks in advance

    Sample Flash Code:
    package
        import flash.display.*;
        import flash.events.*;
        import flash.net.*;
        import flash.text.*;
        public class sendtophp extends Sprite
            var phpFile:String = "http://localhost/Raja/sendDataToServer.php";
            public function sendtophp():void
                callBtn.addEventListener(MouseEvent.CLICK, callServer);
            function callServer(e:MouseEvent):void
                var urlRequest:URLRequest = new URLRequest(phpFile);
                var urlParams:URLVariables = new URLVariables();
                urlParams.country = "India";
                urlParams.animal="Tiger";
                urlRequest.method = URLRequestMethod.POST;
                urlRequest.data = urlParams;
                var loader:URLLoader = new URLLoader();
                loader.addEventListener(Event.COMPLETE, serverResponse);
                loader.load(urlRequest);
            function serverResponse(e:Event):void
                trace("loaded");
                var loader:URLLoader = URLLoader(e.target);
                var variables:URLVariables = new URLVariables(loader.data); 
                responseTxt.text = variables.returnValue; 
        }//end of class sendtophp 
    }//end of package
    Sample PHP code:
    <?php
    print "returnValue= Hi ".$_POST['country'].", it's working";
        $host = "localhost";
        $user = "root";
        $pass = "";
        $db = "test";
        $country = $_POST['country'];
        $animal = $_POST['animal'];
         $connection = mysql_connect($host, $user, $pass) or die ("Unable to connect!");
         mysql_select_db($db) or die ("Unable to select database!");
          $query = "INSERT INTO symbols (country, animal) VALUES ('$country', '$animal')";
          $result = mysql_query($query) or die ("Error in query: $query. ".mysql_error());
        echo "New record inserted with ID ".mysql_insert_id();
           mysql_close($connection);
    ?>
    I had tested and it works fine. Please have this as an sample. If you have any clarification then reply to the thread

  • Need to automize : application integrating siebel and peoplesoft data bases

    Hi All,
    I really need help of you guys.
    The scene is, I need to automise soemthing like my exisiting appliation runs on AquaLogicDSP which interacts with Siebel and PeopleSoft DB.
    I need to automize one thing say,
    1. To send mail through AquaLogic [Preferrably using BEA Messaging API] else Java API.
    2. Getting connected to DB, fire some queries and again send out a mail.
    3. I need this everything to be done in existing aqualogicc code.
    Can you please lemme know how to proceed with this.
    I will be highly thankful to you.
    Many thanks,
    Naveen Dutt.

    Hi All,
    I really need help of you guys.
    The scene is, I need to automise soemthing like my exisiting appliation runs on AquaLogicDSP which interacts with Siebel and PeopleSoft DB.
    I need to automize one thing say,
    1. To send mail through AquaLogic [Preferrably using BEA Messaging API] else Java API.
    2. Getting connected to DB, fire some queries and again send out a mail.
    3. I need this everything to be done in existing aqualogicc code.
    Can you please lemme know how to proceed with this.
    I will be highly thankful to you.
    Many thanks,
    Naveen Dutt.

  • Formula for Service or Data base name in (Webi Rich client )

    Hi Exports:
    Iam using s/w  Sap bo 3.1 sp3  .
    Query:
             I need formula to find Service  which,  I am using in Bo
              Where as Deskop Intelligence formula is =”source”&<Database Name >
              I need in Rich Client formula .Could u plz help me
    Thanks ,
    Raghu

    Hi Sujitha,
    thanks for ur quick replay ,your answer was helpfull to me ,but query what iam looking is
    . I need to find service name in Report or formula for Service name
    Thaks&Regards,
    Raghunath

  • Importing music, artwork and data base from external hard drive

    I purchased a MacBook to use primarily as a music server. I have an external hard drive with over 300GB of music files ripped from CDs in Apple Lossless with a computer using Windows XP. I also have another external hard drive formatted for the Mac. My goal is to attach both drives to the MacBook via USB and transfer the music files, album art, and iTunes data base from the Windows system hard drive to the new Mac formatted hard drive. Then I am going to reformat the Windows system hard drive to the Mac format and use it as a back up for the other hard drive. Has anyone ever done something similar? If so, I would appreciate some guidance. If possible, I want to do the above so that the file names and artwork from the Windows itunes system do not get changed or left out when making the transfer to the Mac system. All music files will still be in ALAC. Thanks to all for your help.

    Lots of programs out there from which to choose. In the meantime, don't access the drive.
       18 Free Data Recovery Software Tools
    -Jerry

  • GR/IR from miro document and posting date.

    Hi experts,
    Is there any proper way to selecting data.
    My purpose is getting GR/IR on Miro Document and Posting date basis.
    THE CODE IS.
    TABLES : bkpf, rseg, bseg.
    DATA : BEGIN OF it_bkpf OCCURS 0.
            INCLUDE STRUCTURE bkpf.
    DATA : bbelnr TYPE bkpf-belnr,
          bgjahr TYPE bkpf-gjahr.
    DATA : END OF it_bkpf.
    *data : it_bkpf like bkpf OCCURS 0 WITH HEADER LINE.
    DATA : it_rseg LIKE rseg OCCURS 0 WITH HEADER LINE.
    DATA : it_bseg LIKE bseg OCCURS 0 WITH HEADER LINE.
    DATA : bbelnr TYPE bkpf-belnr.
    DATA : bgjahr TYPE bkpf-gjahr.
    DATA : bawkey TYPE bkpf-awkey.
    data : dmbtr1 type bseg-dmbtr.
    data : dmbtr2 type bseg-dmbtr.
    PARAMETERS : p_budat LIKE bkpf-budat.
    SELECT SINGLE * FROM bkpf
      WHERE budat = p_budat
      AND blart = 'RE'.
    WRITE :/ bkpf-awkey(10).
    WRITE :/20 'I/R'.
    WRITE :/20 sy-uline(30).
    SELECT * FROM bseg
      WHERE belnr = bkpf-belnr
        AND gjahr = bkpf-gjahr.
      IF bseg-shkzg ='H'.
        bseg-dmbtr = bseg-dmbtr * -1.
      ENDIF.
        dmbtr1 = dmbtr1 + bseg-dmbtr.
      WRITE :/20 bseg-belnr, bseg-dmbtr.
    ENDSELECT.
    bbelnr = bkpf-awkey(10).
    bgjahr = bkpf-awkey+10(4).
    SELECT SINGLE * FROM rseg
      WHERE belnr = bbelnr
      AND gjahr = bgjahr.
    SKIP 2.
    CONCATENATE rseg-lfbnr rseg-lfgja INTO bawkey.
    SELECT SINGLE * FROM bkpf
      WHERE awkey = bawkey.
    WRITE :/20 'G/R'.
    WRITE :/20 sy-uline(30).
    SELECT * FROM bseg
      WHERE belnr = bkpf-belnr
        AND gjahr = bkpf-gjahr.
      IF bseg-shkzg ='H'.
        bseg-dmbtr = bseg-dmbtr * -1.
      ENDIF.
        dmbtr2 = dmbtr2 + bseg-dmbtr.
      WRITE :/20 bseg-belnr, bseg-dmbtr.
    ENDSELECT.
    dmbtr1 = dmbtr1 - dmbtr2.
    skip 2.
    write :/ dmbtr1.

    self solved

Maybe you are looking for

  • I need to re-admin myself.

    Hi. So I have convereted my account from admin to managed, and I can't change back! There are no other admin accounts on my computer, so I can't logon to another to change it. I did read this article on how to add an admin account, but I am worried t

  • I can no longer log on to my bank US Bank. I have to use Safari to get there. Why?

    When I go to you www.usbank.com I can enter my username but when I hit enter that's as far as it goes. So now I have to use my other browser Safari to do my online banking.

  • Problem with Adobe Acrobat 8 Standard.

    I have been creating .pdf files by selecting the print command and then selecting Adobe PDF as the printer. Once this request was OK'ed, a pop-up window would open and request that I save the file. I would then name the file and select a file folder

  • How to start with oracle development

    Hi Friends, I'm new to Oracle development(now planning to go as an oracle developer) My question is .. how to do I start study'g ? actually i took some basic training.. but i dint feel its effective.. and also during the training, my instructor provi

  • Oracle DB 10g express edition & APEX for application development for free?

    Can we use Oracle DB 10g express edition & APEX for application development for free? Are there any license fees? Thanks