This is very Critical Question

Hi All,
Please i have one question. I need to restrict the user from client PC
example: the database having user called scott and the database server IP is 172.17.11.34
Now this user i am able to access from client (172.17.100.24) PC sussccessfully with tns string.
conn scott/tiger@abc
connected>
SQL>
Now i need to restrict this user from client PC to server and this user not to access my database. How? how i can protect only scott user, Please only one scott not to access from client.
Please suggest me on this.
Thanks
Mohammed.

Q.1. I am having one PC whose ip is xxx.xxx.xxx.xxx. This pc is generally used by scott user. I want that if any user from this pc is going to connect with scott user, then only he/she should not be able to connect. Means, i am going to restrict scott user from only this PC, other database user can connect.
Q.2. I am having one PC whose ip is xxx.xxx.xxx.xxx. This pc is generally used by scott user. I want that if any user from this pc is going to connect with any database username, then he/she should not be able to connect. Means, i am going to restrict the PC connection.
Q.3. I want to restrict to connect scott user from any pc.
What is your question; just mention Q.no. please. or if any addition need in the question, let us know, so that we may try to help you.
Regards
Girish Sharma

Similar Messages

  • This is very simple question. Parent-Child Relationshiop

    Hi~ All.
    I think this is not too difficult. But I'm newbie to Flex
    I don't understand relationship of Parent-Child, and what's different .addElement,  .addChild.
    I made some code.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx"
          width="481" height="442" minWidth="955" minHeight="600" creationComplete="initApp()">
    <fx:Script>
      <![CDATA[
       private var _cam:Camera;
       private var _vid:Video;
       private function initApp():void{
        _cam = Camera.getCamera();
        _vid = new Video();
        _vid.attachCamera(_cam);
       private function createMyVideo():void{
        view.addChild(_vid);
      ]]>
    </fx:Script>
    <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <s:Button x="36" y="71" label="Create My Video" click="createMyVideo()"/>
    <s:VGroup x="192" y="71" width="200" height="200" id="view">
    </s:VGroup>
    </s:Application>
    When I click the button, I wanna show my live video.
    But I got a error message.
    Error: addChild() is not available in this class. Instead, use addElement() or modify the skin, if you have one.
    What's my mistake?
    Thanks in advance.
    Kevin.
    ps. Sorry for my English.

    This post has a good description of elements vs. children: http://www.billdwhite.com/wordpress/?p=296

  • How to open an image(Jpeg​) in vc++(MFC)?​This a very simple question.

    Hi
    Thank you.
    I am a beginner of vc++ and image.I have learned to open a bmp file with vc++(exe),but my book don't introduce how to open a jpeg file ,can you teach me how to open a jpeg file?

    Hello.
    There exists many ways to display jpeg images. A jpeg display tuturial is availabe at
    http://msdn.microsoft.com/msdnmag/issues/01/10/c/d​efault.aspx
    MSDN is the best resource to find VC++ specific information.
    Regards,
    National Instruments Japan
    Masaya Kitagawa

  • Very Critical!!!! Please!! Please!! help me on this

    Hi
    This is very critical, please give me a solution... if you want i will send you the whole code of the program.
    Below is the code of the program:
    read a message short and long text using the BAPI *
    BAPI_MESSAGE_GETDETAIL of the object BapiService. *
    REPORT ZSRJVBAPI.
    TYPES: BEGIN OF TY_PRCTR_KEY,
            PRCTR TYPE PRCTR,
            DATBI TYPE DATBI,
           END OF TY_PRCTR_KEY.
    TYPES: TY_T_PRCTR_KEY TYPE TABLE OF TY_PRCTR_KEY WITH KEY PRCTR,
           TY_T_BUKRS TYPE TABLE OF BUKRS.
    Data declaration
    DATA: GT_PRCT1_BUKRS     TYPE TABLE OF PRCT1_BUKRS,
          GS_PRCT1_BUKRS     TYPE PRCT1_BUKRS,
          GT_PRCT1_BUKRSX    TYPE TABLE OF PRCT1_BUKRSX,
          GS_PRCT1_BUKRSX    TYPE PRCT1_BUKRSX,
          GT_BUKRS           TYPE TY_T_BUKRS,
          GD_BUKRS           TYPE BUKRS,
          GS_TESTRUN         TYPE BAPI0015_9,
          GS_PRCTR_DATA      TYPE PRCT1,
          GS_PRCTR_DATAX     TYPE PRCT1X,
          GD_PRCTR           TYPE PRCTR,
          GS_TKA01           TYPE TKA01,
          GS_PRCTR           TYPE TY_PRCTR_KEY,
          GT_PRCTR           TYPE TY_T_PRCTR_KEY,
          GS_BAPIRET1        TYPE BAPIRET2,
          GS_BAPIRET2        TYPE BAPIRET2,
          GD_LOG_HANDLE      TYPE BALLOGHNDL,
          GS_LOG             TYPE BAL_S_LOG,
          GS_MSG             TYPE BAL_S_MSG,
          GS_CONTEXT         TYPE BAPI0015ID2,
          GS_DISPLAY_PROFILE TYPE BAL_S_PROF,
          GS_FCAT            TYPE BAL_S_FCAT.
    DATA: BEGIN OF GS_JVDAT OCCURS 0.
    DATA: BUKRS LIKE GD_BUKRS.
            INCLUDE STRUCTURE GJV_DATA.
    DATA: END OF GS_JVDAT.
    SELECTION-SCREEN BEGIN OF BLOCK SELECTION WITH FRAME.
    PARAMETERS: P_KOKRS  TYPE PRCT1-KOKRS VALUE CHECK OBLIGATORY,
                P_GROUP  TYPE PRCT1-KHINR.
    SELECT-OPTIONS: SO_PRCTR FOR GD_PRCTR.
    SELECT-OPTIONS: SO_BUKRS FOR GD_BUKRS.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK SELECTION.
    SELECTION-SCREEN BEGIN OF BLOCK MARK WITH FRAME.
    *PARAMETERS: P_ASSIGN
               TYPE PRCT1_BUKRS-ASSIGN_TO_PRCTR RADIOBUTTON GROUP MARK,
               P_DISPLY
               TYPE PRCT1_BUKRS-ASSIGN_TO_PRCTR RADIOBUTTON GROUP MARK.
    PARAMETERS: P_TEST   TYPE TESTRUN DEFAULT ' ',
                P_NO_CCC TYPE BOOLE_D DEFAULT SPACE NO-DISPLAY.
    SELECTION-SCREEN END OF BLOCK MARK.
    SELECTION-SCREEN BEGIN OF BLOCK FILE WITH FRAME.
    PARAMETERS: P_FILE   TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN END OF BLOCK FILE.
    INITIALIZATION.
      GET PARAMETER ID 'CAC' FIELD P_KOKRS.
    AT SELECTION-SCREEN.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_GROUP.
      SELECT SINGLE * FROM TKA01 INTO GS_TKA01 WHERE KOKRS = P_KOKRS.
    authority check for groups
      AUTHORITY-CHECK OBJECT 'K_PCAP_SET'
               ID 'KOKRS' FIELD P_KOKRS
               ID 'ACTVT' FIELD '03'.
      IF SY-SUBRC <> 0.
        MESSAGE E734(KH) WITH P_KOKRS.
      ENDIF.
      PERFORM SET_HELP IN PROGRAM SAPMKEC1
          USING 'CEPC     '
                'KHINR    '
                GS_TKA01-PHINR
                GS_TKA01-KOKRS
                SPACE
          CHANGING P_GROUP.
      IF P_GROUP IS INITIAL AND SO_PRCTR[] IS INITIAL.
        MESSAGE W013(Z5).
        SET SCREEN SY-DYNNR.
        LEAVE SCREEN.
      ENDIF.
      IF NOT SO_PRCTR IS INITIAL.
        IF SO_PRCTR-LOW = '0000000000' AND
           SO_PRCTR-HIGH = '9999999999'.
          MESSAGE W011(Z5).
        ENDIF.
      ENDIF.
      IF NOT P_GROUP IS INITIAL AND
         P_GROUP = 'AMOCO_HIER'.
        MESSAGE W014(Z5).
      ENDIF.
      IF NOT P_GROUP IS INITIAL AND NOT SO_PRCTR[] IS INITIAL.
        MESSAGE E051(KM).
      ENDIF.
    START-OF-SELECTION.
      PERFORM GET_PRCTR_AND_BUKRS TABLES GT_BUKRS
                                         GT_PRCTR.
      PERFORM GET_JV_DATA.
    *END-OF-SELECTION.
    build up the call table for companycodes
      LOOP AT GT_BUKRS INTO GD_BUKRS.
        LOOP AT GS_JVDAT WHERE BUKRS = GD_BUKRS.
          GS_PRCT1_BUKRS-COMP_CODE = GD_BUKRS.
          GS_PRCT1_BUKRS-ASSIGN_TO_PRCTR = 'X'.
          GS_PRCT1_BUKRS-VNAME    = GS_JVDAT-VNAME.
          GS_PRCT1_BUKRS-RECID    = GS_JVDAT-RECID.
          GS_PRCT1_BUKRS-ETYPE    = GS_JVDAT-ETYPE.
          GS_PRCT1_BUKRS-JV_OTYPE = GS_JVDAT-OTYPE.
          GS_PRCT1_BUKRS-JV_JIBCL = GS_JVDAT-JIBCL.
          GS_PRCT1_BUKRS-JV_JIBSA = GS_JVDAT-JIBSA.
          APPEND GS_PRCT1_BUKRS TO GT_PRCT1_BUKRS.
      prepare xbar for function call
          GS_PRCT1_BUKRSX-COMP_CODE = GD_BUKRS.
          GS_PRCT1_BUKRSX-ASSIGN_TO_PRCTR = 'X'.    "relevant for change
          GS_PRCT1_BUKRSX-VNAME    = 'X'.
          GS_PRCT1_BUKRSX-RECID    = 'X'.
          GS_PRCT1_BUKRSX-ETYPE    = 'X'.
          GS_PRCT1_BUKRSX-JV_OTYPE = 'X'.
          GS_PRCT1_BUKRSX-JV_JIBCL = 'X'.
          GS_PRCT1_BUKRSX-JV_JIBSA = 'X'.
          APPEND GS_PRCT1_BUKRSX TO GT_PRCT1_BUKRSX.
        ENDLOOP.
      ENDLOOP.
    create an initial log file
      GS_LOG-EXTNUMBER  =
        'Ergebnisse der Buchungskreisänderung'(001).
      CALL FUNCTION 'BAL_LOG_CREATE'
           EXPORTING
                I_S_LOG      = GS_LOG
           IMPORTING
                E_LOG_HANDLE = GD_LOG_HANDLE
           EXCEPTIONS
                OTHERS       = 1.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    GS_TESTRUN-TESTRUN = P_TEST.
    call the change function module
      LOOP AT GT_PRCTR INTO GS_PRCTR.
        GS_PRCTR_DATA-PRCTR = GS_PRCTR-PRCTR.
        GS_PRCTR_DATA-KOKRS = P_KOKRS.
        GS_PRCTR_DATA-KHINR = P_GROUP.
        GS_PRCTR_DATA-DATAB = GS_PRCTR-DATBI.
        GS_PRCTR_DATA-DATBI = GS_PRCTR-DATBI.
        CLEAR GS_BAPIRET2.
        CALL FUNCTION 'PROFITCENTER_CHANGE'
             EXPORTING
                  PRCTR_DATA                 = GS_PRCTR_DATA  "
                  PRCTR_DATAX                = GS_PRCTR_DATAX  "empty
                  NO_CCODES_CHECK            = P_NO_CCC
                  COMPLETE                   = ' '
                  INACTIVE_VERSION           = 'X'
                  TESTRUN                    = ' '
                  INSERT_MODE                = ' '
             IMPORTING
                  RETURN                     = GS_BAPIRET2
             TABLES
                  COMPANYCODE_JOINT_VENTURE  = GT_PRCT1_BUKRS
                  COMPANYCODE_JOINT_VENTUREX = GT_PRCT1_BUKRSX.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
             EXPORTING
                  WAIT   = '2'
             IMPORTING
                  RETURN = GS_BAPIRET1.
        GS_MSG-MSGTY = GS_BAPIRET2-TYPE.
        GS_MSG-MSGID = GS_BAPIRET2-ID.
        GS_MSG-MSGNO = GS_BAPIRET2-NUMBER.
        GS_MSG-MSGV1 = GS_BAPIRET2-MESSAGE_V1.
        GS_MSG-MSGV2 = GS_BAPIRET2-MESSAGE_V2.
        GS_MSG-MSGV3 = GS_BAPIRET2-MESSAGE_V3.
        GS_MSG-MSGV4 = GS_BAPIRET2-MESSAGE_V4.
        GS_CONTEXT-CO_AREA = P_KOKRS.
        GS_CONTEXT-PROFIT_CTR = GS_PRCTR-PRCTR.
        GS_MSG-CONTEXT-TABNAME = 'BAPI0015ID2'.
        GS_MSG-CONTEXT-VALUE = GS_CONTEXT.
        CALL FUNCTION 'BAL_LOG_MSG_ADD'
             EXPORTING
                  I_LOG_HANDLE = GD_LOG_HANDLE
                  I_S_MSG      = GS_MSG
             EXCEPTIONS
                  OTHERS       = 1.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDLOOP.
    get display profile
      CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET'
           IMPORTING
                E_S_DISPLAY_PROFILE = GS_DISPLAY_PROFILE
           EXCEPTIONS
                OTHERS              = 1.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    use grid for display if wanted
    gs_display_profile-use_grid = 'X'.
    set report to allow saving of variants
      GS_DISPLAY_PROFILE-DISVARIANT-REPORT = SY-REPID.
    when you use also other ALV lists in your report,
    please specify a handle to distinguish between the display
    variants of these different lists, e.g:
      GS_DISPLAY_PROFILE-DISVARIANT-HANDLE = 'LOG'.
    set header for display
      IF P_TEST = 'X'.
        CONCATENATE TEXT-001 TEXT-002 INTO GS_DISPLAY_PROFILE-TITLE.
      ELSE.
        GS_DISPLAY_PROFILE-TITLE = TEXT-001.
      ENDIF.
    display the message's context as well: prctr, controllingarea
      GS_FCAT-REF_TABLE = 'BAPI0015ID2'.
      GS_FCAT-REF_FIELD = 'CO_AREA'.
      APPEND GS_FCAT TO GS_DISPLAY_PROFILE-MESS_FCAT.
      GS_FCAT-REF_TABLE = 'BAPI0015ID2'.
      GS_FCAT-REF_FIELD = 'PROFIT_CTR'.
      APPEND GS_FCAT TO GS_DISPLAY_PROFILE-MESS_FCAT.
    call display function module
      CALL FUNCTION 'BAL_DSP_LOG_DISPLAY'
           EXPORTING
                I_S_DISPLAY_PROFILE = GS_DISPLAY_PROFILE
           EXCEPTIONS
                OTHERS              = 1.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *&      Form  get_prctr_and_bukrs
          text
         -->P_LT_BUKRS  text
         -->P_LT_PRCTR  text
    FORM GET_PRCTR_AND_BUKRS TABLES PT_BUKRS
                                    PT_PRCTR.
      DATA: LD_BUKRS           TYPE BUKRS,
            BEGIN OF LS_PRCTR,
              PRCTR TYPE PRCTR,
              DATBI TYPE DATBI,
            END OF LS_PRCTR,
            LT_PRCTR           LIKE TABLE OF LS_PRCTR WITH KEY PRCTR,
            LD_GROUPNAME       TYPE SETHIER_CO-GROUPNAME,
            LT_SETHIER         TYPE TABLE OF SETHIER_CO,
            LT_SETVAL          TYPE TABLE OF SETVAL_CO,
            LS_SETVAL          TYPE SETVAL_CO,
            LD_PACKAGE_SIZE    TYPE I VALUE '500',
            SO2_PRCTR          TYPE RANGE OF PRCTR,
            LD_NUM             TYPE I,
            LS_BAPIRET2        TYPE BAPIRET2.
    general authority check for display (change authority is checked
    in 'profitcenter_change')
      AUTHORITY-CHECK OBJECT 'K_PCAS_PRC'
               ID 'KOKRS' FIELD P_KOKRS
               ID 'ACTVT' FIELD '03'.
      IF SY-SUBRC <> 0.
        MESSAGE E741(KH) WITH P_KOKRS.
      ENDIF.
    selection part
      IF NOT P_GROUP IS INITIAL.
        LD_GROUPNAME = P_GROUP.
        CALL FUNCTION 'K_GROUP_REMOTE_READ'
          EXPORTING
            SETCLASS         = '0106'
            CO_AREA          = P_KOKRS
        CHRT_ACCTS       =
            GROUPNAME        = LD_GROUPNAME
        LANGUAGE         =
      IMPORTING
        RETURN           =
          TABLES
            ET_SETHIER       = LT_SETHIER
            ET_SETVAL        = LT_SETVAL.
        IF LS_BAPIRET2-TYPE CA 'AEW'.
          MESSAGE ID     LS_BAPIRET2-ID
                  TYPE   'E'
                  NUMBER LS_BAPIRET2-NUMBER
                  WITH   LS_BAPIRET2-MESSAGE_V1
                         LS_BAPIRET2-MESSAGE_V2
                         LS_BAPIRET2-MESSAGE_V3
                         LS_BAPIRET2-MESSAGE_V4.
        ENDIF.
        LOOP AT LT_SETVAL INTO LS_SETVAL.
          SO_PRCTR-SIGN   = 'I'.
          SO_PRCTR-OPTION = 'BT'.
          SO_PRCTR-LOW    = LS_SETVAL-VALFROM.
          SO_PRCTR-HIGH   = LS_SETVAL-VALTO.
          APPEND SO_PRCTR.
        ENDLOOP.
      ENDIF.
    transform select options into internal tables
      SELECT BUKRS FROM TKA02 INTO TABLE PT_BUKRS[]
        WHERE KOKRS = P_KOKRS
          AND BUKRS IN SO_BUKRS.
    read by package
      LOOP AT SO_PRCTR.
        IF LD_NUM = LD_PACKAGE_SIZE.
          SELECT PRCTR DATBI FROM CEPC INTO TABLE LT_PRCTR
            WHERE KOKRS = P_KOKRS
              AND PRCTR IN SO2_PRCTR.
          CLEAR: LD_NUM, SO2_PRCTR.
          REFRESH SO2_PRCTR.
        ENDIF.
        APPEND SO_PRCTR TO SO2_PRCTR.
        LD_NUM = LD_NUM + 1.
      ENDLOOP.
    last package
      SELECT PRCTR DATBI FROM CEPC INTO TABLE LT_PRCTR
        WHERE KOKRS = P_KOKRS
          AND PRCTR IN SO2_PRCTR.
      SORT LT_PRCTR.
      DELETE ADJACENT DUPLICATES FROM LT_PRCTR.
      LOOP AT LT_PRCTR INTO LS_PRCTR.
      authority check for profitcenters
        CALL FUNCTION 'K_PCA_RESP_AUTHORITY_CHECK'
             EXPORTING
                  I_KOKRS             = P_KOKRS
                  I_PRCTR             = LS_PRCTR-PRCTR
                  I_VORGN             = 'STDT'  "Master Data
                  I_ACTVT             = '03'
                  I_NO_DIALOG_MESSAGE = 'X'  "note 447948
             EXCEPTIONS
                  NO_AUTHORITY        = 1
                  DATA_MISSING        = 2
                  OTHERS              = 3.
        CASE SY-SUBRC.
          WHEN 0.
          WHEN 1.
         authority error
            MESSAGE ID SY-MSGID TYPE 'E' NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          WHEN OTHERS.
         stop
            MESSAGE ID SY-MSGID TYPE 'A' NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDCASE.
      ENDLOOP.
      PT_PRCTR[] = LT_PRCTR[].
    ENDFORM.                               " get_prctr_and_bukrs
    *&      Form  GET_JV_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM GET_JV_DATA.
      CALL FUNCTION 'WS_UPLOAD'
           EXPORTING
                FILENAME                = P_FILE
                FILETYPE                = 'ASC'
           TABLES
                DATA_TAB                = GS_JVDAT
           EXCEPTIONS
                CONVERSION_ERROR        = 1
                FILE_OPEN_ERROR         = 2
                FILE_READ_ERROR         = 3
                INVALID_TYPE            = 4
                NO_BATCH                = 5
                UNKNOWN_ERROR           = 6
                INVALID_TABLE_WIDTH     = 7
                GUI_REFUSE_FILETRANSFER = 8
                CUSTOMER_ERROR          = 9
                OTHERS                  = 10.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " GET_JV_DATA
    The test file should be in the below format:
    BUKRS, Venture Name, RECID, ETYPE, OTYPE
    0605BL0085CP1  1  
    Thank You,
    Suresh

    Suresh,
    Sometimes there might be a delay in the values getting committed to the database. Did you try and see if the values were updated after some time.
    Ideally if the BAPI has given a success message and you have a commit after that (which in this case you have), it should ideally update the concerned data.
    Regards,
    Ravi

  • Script Language Translation - Very Common Question, but unable to resolve !

    Hi Gurus,
    I know this is very common question, but I am stuck, unable to get this one resolved.
    Need to translate sap script "TEXT SYMBOLS" from "English" to "French".
    Have maintained language translation text symbol values in table TTDTG.
    But when i login through French language, these are still getting printed in English !!
    Any Pointers to resolve this will be of great help.
    Many Thanks,
    Madan

    hi
    1) Copy the Script into FR language and then change the Corresponding ENGLISH text to FRENCH text.
    2) Pass ur logon langauge   in the OPEN_FORM FM  Import parameters
                                                                                    LANGUAGE = sy-langu.
    so that whatever is ur logon langauge it corresponding Form will be called.
    surya

  • Very Critical: employee effective date issue

    Hi
    I am facing an issue now..
    The HR user have created employees without setting the effective data so about 50 employees are created with the current date as the effective date so it is not date tracked
    Is it possible to change the effective date after the employee is created..please advice this is very critical and it is a show stopper for us now
    Thanks
    Regards
    Ramesh Kumar S

    Hi
    thanks for the response
    Example if my employee is created on 12-Apr-2007 but his data of joining is 1-jan-2007.
    If i going to set the effective data as hire date then that employee wont be visible for the effective date set.
    If i see in the screen now latest update date is also grayed out so i am not able to make any changes to that date
    I already tried out the option of changing the date through the Examine and i tried to do some testing also as of now it seems to be fine i fear will there be any issues in the latter stage due to changing the date in this way
    Regards
    Ramesh Kumar S

  • If I upgrade to Mountain Lion on the computer that will install it, will my WIFI still work on the computer that cannot be upgraded? I know this is a very basic question

    If I upgrade to Mountain Lion on the computer that will install it, will my WIFI still work on the computer that cannot be upgraded? I know this is a very basic question. Trying to hold out as long as I can, but purchasing an iPhone for Christmas and new iMac next year when warrently expires.

    Thank U very much for the quick reply, I wanted to upgrade this weekend, but still on the fence. I can live with the software that is not compatible, they are on another compuetr, just didn't want the obvious stuff to stop working.

  • This is a very simple question,but I don't know.Please me.Thank you!

    I am a Chinese student in a university.I have a very simple question to ask.
    I have writed a EJB module,and I have deployed to Weblogic8.1 successfully.
    1.Now I want to write a client program.Is it necessary that the client program is packaged in the EJB package.For example ,the EJB package is Beans,is "package Beans " or "import Beans.*" necessary in my client program.
    2.If I only know the EJB interfaces,that means the EJB module is writed by other programer.I want to know how I can write the client program.How can I call EJB module's method writed by other programer.Could you give me a simple example?
    Thank you very much.

    I have writed a EJB module,and I have deployed to
    Weblogic8.1 successfully.:-)
    1.Now I want to write a client program.Is it
    necessary that the client program is packaged in the
    EJB package.For example ,the EJB package is Beans,is
    "package Beans " or "import Beans.*" necessary in my
    client program.You need not package your client with the EJB. It can be a JSP/servlet or a stand-alone application.
    2.If I only know the EJB interfaces,that means the
    EJB module is writed by other programer.I want to
    know how I can write the client program.How can I
    call EJB module's method writed by other
    programer.Could you give me a simple example?
    import java.util.*;
    import javax.naming.*;
    import javax.rmi.PortableRemoteObject;
    import examples.*;
    class TestEJBHello {
        public static void main(String[] args) {
            Context context   = null;
            Object object     = null;
            // Hashtable for environment properties.
            Hashtable env = new Hashtable();
            env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
            env.put(Context.PROVIDER_URL, "t3://localhost:7001");
            HelloHome home            = null;
            HelloWorld hello          = null;
            try {
                context     = new InitialContext(env);
                object      = context.lookup("HelloWorldTest");
                System.out.println(" JNDI Looked up >>> " +object);
                home        = (HelloHome)PortableRemoteObject.narrow(object, HelloHome.class);
                hello       = home.create();
                System.out.println(hello.hello());
            } catch(Exception e) {
                e.printStackTrace();
            } finally {
                close(context);        // Closes the initial context.
        private static void close(Context context) {
            try {
                context.close();
                System.out.println("*** Context closed. ***");
            } catch (NamingException namingException) {
                namingException.printStackTrace();
            } catch(Exception exception) {
                exception.printStackTrace();
    }Here's a sample client app code I use for a HelloWorld EJB. You need to have a EJB client JAR containing the home and remote interfaces in the classpath during compile time and runtime.
    x

  • Very Critical....Barcode Configuration..Plz Help....

    Hi SAP Gurus....
    Could you all plz help me to map in SAP..MM..Its very critical need to provide solution to my client ASAP
    1.     Client procures two types of products from ABC Dubai namely, A and B products.
    2.     The products under warranty are being tracked using Barcodes.
    The barcodes are generated at the client place with the Purchase Order and sent to the Vendor by Post or through E-mail.
    3.     Barcodes have to be printed in the case of Post, or converted into .PRN file in the case of an E-mail
    4.     These barcodes are then pasted on the products as required and shipped back to the Client.
    5.     Barcode used currently is EAN 14, code 128.
    6.     Client has different Handling Units (HU), like Outer, Inners (smaller carton inside Master carton), and items inside Inner carton. All the three HU has different barcode series. Inners have Master carton number of Pieces have respective Inner carton numbers.
    7.     At the time of GR, Masters are scanned, and details up to pieces are collected into system automatically.
    8.     All goods movement happens then with barcodes.
    Could you all plz tell me how to create the below details....respective of above requirements....
    u2022     Question - -
          How to Create Barcodes
    Edited by: shrii on May 22, 2009 9:31 AM

    Map the procurement with inbound delivery so that handling units will be captured and barcodes can be sent to the vendor with the help of data from inbound delivery. For barcode printing, follow: http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Hope, this will help you.
    Regards,
    Sudhir Dahake

  • Possibly a very basic question but I have set up a spread sheet in Numbers and have viewed help videos but I can't get it to give me sums for the columns I highlight.  Keeps coming up with the figure zero.  I have version 09 2.3(554). Can anyone help

    Possibly a very basic question but I am going nowhere without a solution.  I have set up a spreadsheet in Numbers but it won't give me sums for chosen columns. I  have viewed the run through videos and used the formula but nothing happens apart from giving a figure of zero or a red arrow.  The sum icon in the bottom left hand section of the window does not highlight or show any total as I understand from the video that you can drag whatever total is here onto the relevent position on your spreadsheet.  I have Numbers 09 version 2.3 (554). Can anyone advise. Thanks.

    Hi Sohojools,
    To sum a column, use a formula such as this one in Cell A6
    Type this in a cell below your data:
    =SUM(A2:A4) or whatever range of cells you want to sum. The easy way is to type:
    =SUM(
    and then drag or shift-click to select the range of cells. Close the formula with a final bracket ")".
    The sum icon in the bottom left hand section of the window does not highlight or show any total
    To see the sum (and other simple statistics) in the bottom left, select a range of cells. That tells Numbers which cells you are refering to.
    The videos are good, but the Numbers'09 User guide, and the Formulas and Functions User Guide are better. Download them from the Help Menu in Numbers.
    Regards,
    Ian.

  • Very simple question, how do you configure windows 8.1 to use a SF card as the default install location for software applications?

    Very simple question, how do you configure windows 8.1 to use a SD card / external drive as the default install location for software applications? Primarily interested in apps installed from the windows store. This should be available in the settings
    charm within the windows store. This must have been overlooked in the development of windows 8.1 or is a bug.
    Regards, Bill
    * update
    I've tried modifying this key and the path:
    “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx”
    http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_store/how-do-you-install-apps-in-windows-8-from-the/c4fbe2a8-fd3d-41c1-b9a6-6f881eed374f
    Also tried using symlinks as detailed here:
    http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral

    Here's some links I've used to try to figure this out:
    http://social.technet.microsoft.com/Forums/windows/en-US/2dfc0cd9-7d1b-41de-abce-e03fb6a5a383/metro-apps-not-working-in-windows-8-pro-x64-after-moving-users-and-programdata-folders?forum=w8itproinstall
    http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral
    http://social.technet.microsoft.com/Forums/windows/de-DE/f5e33ac9-beab-4b99-b3ca-7cb5e6f415e4/how-do-you-change-metro-apps-default-install-location?forum=w8itprogeneral
    Regards, Bill
    The registry method does not work with 8.1.  I found this out the hard way.  Doing it on 8.1 will leave you reinstalling the OS if you didn't do a SRP beforehand.

  • A very very very simple question

    Hi guys,
    I have a very simple question and standard but I cant find anywhere...
    I have two dateTime variables, i need to calculate difference between this dates in days, thats it.
    I tried all functions and tried without success a Java Embed task but I couldnt retrieve this objects as java.util.Date so I couldnt calculate exactly the difference in days like this pure java code:
    (dataVencimento.getTime() - dataReferencia.getTime()) / 86400000L)
    can you help me this?

    Hi Jose
    Just see if these alternate approaches works. I know there may be lot like this and you may be lucky to find out simple out of box solution itself. If you want to solve this issue and move ahead, gives these approaches a shot.
    1. Create a very simple standalone WebService that takes 2 input date elements (can be of Date type or String type. If string type, convert to date in your java code). Create a simple operation like getDaysBetween(firstDate, secondDate). In the generated webservice impl class, use the java code apis (refer earlier link for usage), and get the difference. Return this value. NOW, invoke this WebService in your BPEL Process, and pass your 2 inputs (if the bpel payload elemetns are date object or string objects of date), and get output, and then use this output in your continuing bpel process.
    2. This approach, I did a long back. When we insert any expression using XPath, in that editor window on bottom right side, we see many categories and for each category we see list of functions we can use, like for String, we can use concat etc. I vaguely remember reading somewhere, that we can add our own custom functions also in this section. So explore this direction and see if you can add your own function and then use that fucntion with your 2 input dates.
    I have not given solution to your problem, but may be these directions can help you move ahead. Or something along these lines.
    Thanks
    Ravi Jegga

  • A very simple question..Very Urgent

    HI,
    I have a very simple question.I am able to set up the client authentication as well as server authentication. Now do i need to authenticate (both server as well as client auth.) for every request i send to the server on https...i think it should be like that it should authenticate only for the first time and for the next upcoming requests in same session should not require any server or client authentication.. i think as it happens in browsers..
    what is the fact actually??..can somebody put some light...right now in my case it is authenticating for every requests..
    This is what i have done..
    /****constructor part********/
    // and tm are arrays of keymanagers and trustmanagers for client keystore and truststore
    sslContext.init(km, tm, null);
    HttpsURLConnection.setDefaultSSLSocketFactory(ssf);
    HttpsURLConnection.setDefaultHostnameVerifier(new MYHostNameVerifier());
    /****Method to send the request and response*********/
    urlConn = (HttpsURLConnection)url.openConnection();
    urlConn.setDoInput(true);
    urlConn.setDoOutput(true);
    OutputStream os = urlConn.getOutputStream();
    ObjectOutputStream oos = new ObjectOutputStream(os);
    oos.writeObject(someobject);
    oos.flush();
    InputStream is1 = urlConn.getInputStream();
    ObjectInputStream ois = new ObjectInputStream(is1);
    SomeObject retObj = null;
    retObj = (SomeObject)ois.readObject();
    ois.close();
    System.out.println("Get String>>>>> "+retObj.getString());
    I am creating the object of this class..and calling the method again and again for sending requests and response..so i think handshake everytime i call the method...what i want is that handshake should happen for the first time and for the next requests no handshake or certificates should be checked or processed..
    is it possible ..how..what i need to do for that..
    please help me in this..
    Akhil Nagpal

    Hi,
    how could I achieve SSL Session Resumption using HttpsURLConnection.
    Thanks.

  • HT4753 I have a very simple question: how do I view where Lion has autosaved my current version to (without the convoluted route of using finder)? In days gone by i'd simply use the save as function to see where it was being saved.

    I have a very simple question: how do I view where Lion has autosaved my current version to (without the convoluted route of using finder)? In days gone by i'd simply use the save as function to see where it was being saved.

    It's actually even easier than using Save As to see the full path to the currently open document. Just do a "Secondary click" on the document title in its window's title bar.
    Like you, I relied upon Save As my whole life to check a file's location and considered it a must-have capability. Turns out it's even faster to use the single-click method to reveal the full path to the open document. It displays the entire path to the current document starting from the level of your Mac, and works for files stored on drives as well as iCloud.
    If you're not sure how to do a secondary click, go into System Preferences, select Trackpad, Point & Click to find the current preference for secondary click on your Mac. If you happen to have a mouse with more than one button, it's probably the right button. As a trackpad user, I check the box to "Click or tap with two fingers," so a simple two finger tap on the title of an open document reveals its full path. This feature actually has been around for a very long time.
    Note that this is not the same thing as the Autosave and Versions menu, which is exposed using a little drop down triangle to the right of the title. There is no visual clue for the presence of this feature - you just have to know it's there, probably because this feature goes all the way back to pre-OS X days.

  • What good is this support vehicle if questions go unanswered....

    I am very disappointed. I have been having problems installing SP3. At this point I can neither install or uninstall my original version or SP3. As suggested I posted my question 3 days ago on how to resolve this on this site with the understanding that it was monitored and that an SAP representative would reply.
    The days have passed and still no reply and no program to use while the work piles up. "Disappointing" is not strong enough to describe my reaction. To sell a product, not provide basic support on installation, suggest a forum for support and leave it unmonitored and problems is absolutely cynical.

    Albert, I think you've misunderstood the purpose of these forums. While you might have a question of such importance that a SAP person will pick it up (such as Marilyn), most of us members aren't SAP employees. We answer questions that we feel we can answer. And we post questions, in the hope that one of the other members will voluntarily help out.
    For timely responses to issue, that SAP are responsible for, then OSS (or whatever it is called now)  is the route - But SAP hope you'll get the answer through these forums, because it's a lot cheaper for them
    I've had problems to do with stuff I'm developing and had fantastic help from other members... but by no means can I ever demand such assistance.
    I'm not in any way an SME for your problem. However, in the ABAP area, there are many questions we get that are fantastically important to the questioner, but have been answered many times, or are trivial. I'm not suggesting that yours are in this categorgy, but such questions are also unlikely to get good answers. The quality of questions is often reflected in the quality of the answers, as my sig used to run in SAPFans.

Maybe you are looking for

  • Formatted Search for Sales Order

    Hi, I setup a formatted search in Sales Order unit price field. Condition required: If Sales Order is copied from Sales Quotation, unit price remains as per Sales Quotation unit price, else formula to calculate mininum selling price appllies. Here's

  • How to form a URL dynamically in my portlet

    hi all, i have a requirement in weblogic portal 10.2,how do i form my URL dyncamically in my portlet which is as below I have a requirement to dynamically form my URL. Further suppose I have a left navigation portlet which has 3 links and right navig

  • CUE Website not reachable

    Hello, we've configured a UC560 with Cisco Standards. So the CUE has the IP-adress 10.1.10.1 (Gateway .2). The CUE successfully answer a ping ! The CCA CUE diagnostics ended successful. I also can connect to CUE through CLI of the UC560. BUT : The We

  • Restore Purchases feature Problem

    Hello, We've got the problem during apple approve process. The app is Multifolio with newsstand subscription. They said "We found that your app offers In-App Purchase(s) that can be restored but does not include a "Restore Purchases" feature to allow

  • BAPI for Posting with clearing

    Hi all, Is there any BAPI which can do posting with clearing?Generally we can acheive this through a transaction F-04.BAPI required which can acheive the functionality of F-04.Any Inputs will be highly appreciated with points. Thanks and Regards Kira