OHS Routing to JVM responsible for creating HttpSession (Session Affinity)

Hello,
I am using OAS 10.1.3.1 and have a plan in place to create an HttpSession for a just authenticated end user in an OC4J instance/JVM of the my application's choosing. What I then would like to happen is for every subsequent HTTP request initiated by that end user, until such a time as they logout or their session times out, that OHS route their requests to that single OC4J instance/JVM that initially created an HttpSession on their behalf. This is simply Session Affinity.
What I am wondering is do I simply get this behavior by default if I specify no select method (e.g. random, round robin, etc.) in mod_oc4j.conf? Are their combinations of select method (e.g. roundrobin:local) or other mod_oc4j directives that could result in different behavior than this simple Session Affinity I seek?
Thanks,
Doug

Hello
Within 10.1.3 OC4Js announce their mount-point(s) in the notifications they send out and mod_oc4j dynamically adjusts its routing table using this information. This eliminates the need for static mount point configuration and enables mod_oc4j to update its mount point configuration dynamically. So. routing is handled by opmn to OHS.
regards
Michel

Similar Messages

  • How to find the job which created the session with errors ?

    Hi,
    I am going to transaction SM35 to see the sessions which has errors. Now if I want to see, what Job was responsible to create that session, how can I see that ?
    Regards,
    Rajesh.

    hi Rajesh,
    Refer to this code to create a session for the erroreneous records
    REPORT  ztest_report
    NO STANDARD PAGE HEADING
                            LINE-SIZE 255
                            MESSAGE-ID ZRASH.
    *                 Internal Table Declarations                          *
    *--Internal Table for Data Uploading.
    DATA : BEGIN OF IT_FFCUST OCCURS 0,
             KUNNR(10),
             BUKRS(4),
             KTOKD(4),
             ANRED(15),
             NAME1(35),
             SORTL(10),
             STRAS(35),
             ORT01(35),
             PSTLZ(10),
             LAND1(3),
             SPRAS(2),
             AKONT(10),
           END OF IT_FFCUST.
    *--Internal Table to Store Error Records.
    DATA : BEGIN OF IT_ERRCUST OCCURS 0,
             KUNNR(10),
             EMSG(255),
           END OF IT_ERRCUST.
    *--Internal Table to Store Successful Records.
    DATA : BEGIN OF IT_SUCCUST OCCURS 0,
             KUNNR(10),
             SMSG(255),
           END OF IT_SUCCUST.
    *--Internal Table for Storing the BDC data.
    DATA : IT_CUSTBDC LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
    *--Internal Table for storing the messages.
    DATA : IT_CUSTMSG LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    DATA : V_FLAG1(1) VALUE ' ',
    "Flag used for opening session.
           V_TLINES LIKE SY-TABIX,
           "For storing total records processed.
           V_ELINES LIKE SY-TABIX,
           "For storing the no of error records.
           V_SLINES LIKE SY-TABIX.
           "For storing the no of success records.
    *          Selection screen                                            *
    SELECTION-SCREEN BEGIN OF BLOCK B1.
    PARAMETERS : V_FNAME LIKE RLGRAP-FILENAME,
                 V_SESNAM  LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN END OF BLOCK B1.
    *          Start-of-selection                                          *
    START-OF-SELECTION.
    *-- Form to upload flatfile data into the internal table.
      PERFORM FORM_UPLOADFF.
    *        TOP-OF-PAGE                                                   *
    TOP-OF-PAGE.
      WRITE:/ 'Details of the error and success records for the transaction'
      ULINE.
      SKIP.
    *          End of Selection                                            *
    END-OF-SELECTION.
    *-- Form to Generate a BDC from the Uploaded Internal table
      PERFORM FORM_BDCGENERATE.
    *--To write the totals and the session name.
      PERFORM FORM_WRITEOP.
    *&      Form  form_uploadff
    *     Form to upload flatfile data into the internal table.
    FORM FORM_UPLOADFF .
    *--Variable to change the type of the parameter file name.
      DATA : LV_FILE TYPE STRING.
      LV_FILE = V_FNAME.
    *--Function to upload the flat file to the internal table.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                      =  LV_FILE
    *     FILETYPE                      = 'ASC'
          HAS_FIELD_SEPARATOR           = 'X'
    *     HEADER_LENGTH                 = 0
    *     READ_BY_LINE                  = 'X'
    *     DAT_MODE                      = ' '
    *   IMPORTING
    *     FILELENGTH                    =
    *     HEADER                        =
        TABLES
          DATA_TAB                      = IT_FFCUST
        EXCEPTIONS
          FILE_OPEN_ERROR               = 1
          FILE_READ_ERROR               = 2
          NO_BATCH                      = 3
          GUI_REFUSE_FILETRANSFER       = 4
          INVALID_TYPE                  = 5
          NO_AUTHORITY                  = 6
          UNKNOWN_ERROR                 = 7
          BAD_DATA_FORMAT               = 8
          HEADER_NOT_ALLOWED            = 9
          SEPARATOR_NOT_ALLOWED         = 10
          HEADER_TOO_LONG               = 11
          UNKNOWN_DP_ERROR              = 12
          ACCESS_DENIED                 = 13
          DP_OUT_OF_MEMORY              = 14
          DISK_FULL                     = 15
          DP_TIMEOUT                    = 16
          OTHERS                        = 17
      IF SY-SUBRC = 0.
    *--Deleting the headings from the internal table.
        DELETE IT_FFCUST INDEX 1.
    *--Getting the total number of records uploaded.
        DESCRIBE TABLE IT_FFCUST LINES V_TLINES.
      ENDIF.
    ENDFORM.                    " form_uploadff
    *&      Form  Form_bdcgenerate
    *     Form to Generate a BDC from the Uploaded Internal table
    FORM FORM_BDCGENERATE .
    *--Generating the BDC table for the fields of the internal table.
      LOOP AT IT_FFCUST.
        PERFORM POPULATEBDC USING :
                                    'X' 'SAPMF02D' '0105',
                                    ' ' 'BDC_OKCODE'  '/00' ,
                                    ' ' 'RF02D-KUNNR' IT_FFCUST-KUNNR,
                                    ' ' 'RF02D-BUKRS' IT_FFCUST-BUKRS,
                                    ' ' 'RF02D-KTOKD' IT_FFCUST-KTOKD,
                                    'X' 'SAPMF02D' '0110' ,
                                    ' ' 'BDC_OKCODE'  '/00',
                                    ' ' 'KNA1-ANRED'  IT_FFCUST-ANRED,
                                    ' ' 'KNA1-NAME1' IT_FFCUST-NAME1,
                                    ' ' 'KNA1-SORTL'  IT_FFCUST-SORTL,
                                    ' ' 'KNA1-STRAS' IT_FFCUST-STRAS,
                                    ' ' 'KNA1-ORT01' IT_FFCUST-ORT01,
                                    ' ' 'KNA1-PSTLZ' IT_FFCUST-PSTLZ,
                                    ' ' 'KNA1-LAND1' IT_FFCUST-LAND1,
                                    ' ' 'KNA1-SPRAS' IT_FFCUST-SPRAS,
                                    'X' 'SAPMFO2D' '0120',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0125',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0130',     
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0340',     
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0360',
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0210',     
                                    ' ' 'KNB1-AKONT'  IT_FFCUST-AKONT,
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0215',
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0220',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0230',     
                                    ' ' 'BDC_OKCODE'  '=UPDA'.
    *--Calling the transaction 'fd01'.
        CALL TRANSACTION 'FD01' USING IT_CUSTBDC MODE 'N' UPDATE 'S'
        MESSAGES INTO IT_CUSTMSG.
        IF SY-SUBRC <> 0.
    *--Populating the error records internal table.
          IT_ERRCUST-KUNNR = IT_FFCUST-KUNNR.
          APPEND IT_ERRCUST.
          CLEAR IT_ERRCUST.
    *--Opening a session if there is an error record.
          IF V_FLAG1 = ' '.
            PERFORM FORM_OPENSESSION.
            V_FLAG1 = 'X'.
          ENDIF.
    *--Inserting the error records into already open session.
          IF V_FLAG1 = 'X'.
            PERFORM FORM_INSERT.
          ENDIF.
    *--Populating the Success records internal table.
        ELSE.
          IT_SUCCUST-KUNNR = IT_FFCUST-KUNNR.
          APPEND IT_SUCCUST.
          CLEAR IT_SUCCUST.
        ENDIF.
    *--Displaying the messages.
        IF NOT IT_CUSTMSG[] IS INITIAL.
          PERFORM FORM_FORMATMSG.
        ENDIF.
    *--Clearing the message and bdc tables.
        CLEAR : IT_CUSTBDC[],IT_CUSTMSG[].
      ENDLOOP.
    *--Getting the total no of error records.
      DESCRIBE TABLE IT_ERRCUST LINES V_ELINES.
    *--Getting the total no of successful records.
      DESCRIBE TABLE IT_SUCCUST LINES V_SLINES.
    *--Closing the session only if it is open.
      IF V_FLAG1 = 'X'.
        PERFORM FORM_CLOSESESS.
      ENDIF.
    ENDFORM.                    " Form_bdcgenerate
    *&      Form  populatebdc
    *       FOrm to Populate the BDC table.
    FORM POPULATEBDC  USING    VALUE(P_0178)
                               VALUE(P_0179)
                               VALUE(P_0180).
      IF P_0178 = 'X'.
        IT_CUSTBDC-PROGRAM = P_0179.
        IT_CUSTBDC-DYNPRO = P_0180.
        IT_CUSTBDC-DYNBEGIN = 'X'.
      ELSE.
        IT_CUSTBDC-FNAM = P_0179.
        IT_CUSTBDC-FVAL = P_0180.
      ENDIF.
      APPEND IT_CUSTBDC.
      CLEAR IT_CUSTBDC.
    ENDFORM.                    " populatebdc
    *&      Form  FORM_OPENSESSION
    *       Form to Open a session.
    FORM FORM_OPENSESSION .
    *--Variable to convert the given session name into reqd type.
      DATA : LV_SESNAM(12).
      LV_SESNAM = V_SESNAM.
    *--Opening a session.
      CALL FUNCTION 'BDC_OPEN_GROUP'
       EXPORTING
         CLIENT                    = SY-MANDT
         GROUP                     = LV_SESNAM
         HOLDDATE                  = '20040805'
         KEEP                      = 'X'
         USER                      = SY-UNAME
         PROG                      = SY-CPROG
    *  IMPORTING
    *    QID                       =
       EXCEPTIONS
         CLIENT_INVALID            = 1
         DESTINATION_INVALID       = 2
         GROUP_INVALID             = 3
         GROUP_IS_LOCKED           = 4
         HOLDDATE_INVALID          = 5
         INTERNAL_ERROR            = 6
         QUEUE_ERROR               = 7
         RUNNING                   = 8
         SYSTEM_LOCK_ERROR         = 9
         USER_INVALID              = 10
         OTHERS                    = 11
      IF SY-SUBRC <> 0.
        WRITE :/ 'Session not open'.
      ENDIF.
    ENDFORM.                    " FORM_OPENSESSION
    *&      Form  FORM_INSERT
    *       fORM TO INSERT ERROR RECOED INTO A SESSION.
    FORM FORM_INSERT .
    *--Inserting the record into session.
      CALL FUNCTION 'BDC_INSERT'
        EXPORTING
          TCODE                  = 'FD01'
    *     POST_LOCAL             = NOVBLOCAL
    *     PRINTING               = NOPRINT
    *     SIMUBATCH              = ' '
    *     CTUPARAMS              = ' '
        TABLES
          DYNPROTAB              = IT_CUSTBDC
        EXCEPTIONS
          INTERNAL_ERROR         = 1
          NOT_OPEN               = 2
          QUEUE_ERROR            = 3
          TCODE_INVALID          = 4
          PRINTING_INVALID       = 5
          POSTING_INVALID        = 6
          OTHERS                 = 7
      IF SY-SUBRC <> 0.
        WRITE :/ 'Unable to insert the record'.
      ENDIF.
    ENDFORM.                    " FORM_INSERT
    *&      Form  FORM_CLOSESESS
    *       Form to Close the Open Session.
    FORM FORM_CLOSESESS .
      CALL FUNCTION 'BDC_CLOSE_GROUP'
        EXCEPTIONS
          NOT_OPEN    = 1
          QUEUE_ERROR = 2
          OTHERS      = 3.
      IF SY-SUBRC <> 0.
      ENDIF.
    ENDFORM.                    " FORM_CLOSESESS
    *&      Form  FORM_FORMATMSG
    *       Form to format messages.
    FORM FORM_FORMATMSG .
    *--Var to store the formatted msg.
      DATA : LV_MSG(255).
      CALL FUNCTION 'FORMAT_MESSAGE'
        EXPORTING
          ID        = SY-MSGID
          LANG      = SY-LANGU
          NO        = SY-MSGNO
          V1        = SY-MSGV1
          V2        = SY-MSGV2
          V3        = SY-MSGV3
          V4        = SY-MSGV4
        IMPORTING
          MSG       = LV_MSG
        EXCEPTIONS
          NOT_FOUND = 1
          OTHERS    = 2.
      IF SY-SUBRC = 0.
        WRITE :/ LV_MSG.
      ENDIF.
      ULINE.
    ENDFORM.                    " FORM_FORMATMSG
    *&      Form  form_writeop
    *       To write the totals and the session name.
    FORM FORM_WRITEOP .
      WRITE :/ 'Total Records Uploaded :',V_TLINES,
               / 'No of Error Records :',V_ELINES,
               / 'No of Success Records :',V_SLINES,
               / 'Name of the Session :',V_SESNAM.
      ULINE.
    ENDFORM.                    " form_writeop

  • BAPI for create/change Routing

    Hi ,
         Are there any BAPI's for creating/ changing routings.
    Regards,
    Divyanshu

    hi,
    <b>BAPI_ROUTING_CREATE</b>"used for creation.
    Regards
    vijay

  • Employee Responsible for a work center

    Good Morning,
    We use Project Systems in order to do project management within SAP.  We use the work center to define the team structure.  I know that there is a place to maintain the person responsible for a work center in the config, but the entry here is a text field.  We are trying to link the owner of a workcenter back to the reporting structure that can be pulled from HRP1001, and a text field makes it more difficult to track this back to the HR side.  We currently enter the name of a manager in this field, and if there is no other place to define the person responsible using a pernr, we'll have to start using this field to enter personnel number.  This will allow ABAP to pull the pernr and trace it to a position number on HRP1001.  I'd like to keep the manager name in this field if at all possible though.  Any help will be much appreciated.  Thanks in advance.

    HI,
    Create a Cost center using T code - KS01.
    Create an activity type using T code - KL01.
    Assign the Rates for an activity type & cost center combination using T code KP26.
    In the input screen of T code KP26 ,enter version as 0, from period 1 and to period as 12 and the Fiscal
    Year as 2009,enter the cost center, activity type click on overview screen (F5) & enter the per hour Rate
    After performing this in work center assign activity type & cost center
    should be assigned. Then while creating routing/task list this work center can assigned for performing
    as per the operation time, whichu2019s used by the work center, the cost is getting calculated.
    Overhead cost is the indirect cost which's spent during production.
    So when the cost rollup is taken using T code CK40N (or else using CK11N estimating & CK24 for
    Hope You will get some idea
    Thanks and regards
    E.Rambabu

  • Recommendations, samples, etc for creating a "Vendor Invoice" Content Type.

    I am developing a "Vendor Invoice Approval" application in SharePoint 2013. My development platform is "Visual Studio 2013". This will be an "Intranet only" application running only on our internal SharePoint
    2013 Farm.
    I am planning on using a "Document Library" to store all of the Invoices. I believe the "correct" approach (or one of many, probably, lol) would be to create a "Content Type" called "Vendor Invoice". The "content
    type" would then need to have the following functionality:
    Custom Columns. Some columns would be "required", some would be "optional".
    Vendor Name - Chosen from a “Vendors” list (a SharePoint "custom" list that contains "Vendor Name" and "People Responsible" (which will be a "People" type column and allow multiple choices/people from
    a SharePoint Group called "Vendor Invoice Person Responsible"). The user may also enter a new Vendor Name.
    Person Responsible - Limited to the users in the “Vendor Invoice Person Responsible” SharePoint Group. Will allow the selection of 1 or more "people" from that Group. (When a Vendor Name is "chosen" (above), this field
    should be populated with the values from the "People Responsible" record for that Vendor. The user can then ONLY choose between those users or choose them all. Optionally, I may just store a single Person in the "Vendors" list and use that
    to populate this field with a "default" value, but then allow the user to pick ANY user from the "Vendor Invoice Person Responsible" SharePoint Group).
    Invoice Number (Will probably renamed the “Title” column.)
    Invoice Date
    Invoice Amount
    PO Number (When entered, look it up in our ERP system and populate as many fields as possible, such as the Vendor Name, Account Number and Plant.)
    Status - Most likely this field will only be adjusted via "workflows". Choices are:
    “Created” – The initial Status when an Invoice is created (BEFORE any “Issue” or “Approved”).
    "Pending Issue" - An "Issue" needs to be resolved. (See "Issue" below.)
    “Issue Resolved” – The current “Issue” has been resolved. The next status could be “Pending Issue” (if there is another Issue to resolve) or “Approved”.
    “Approved” – All Issues have been resolved.
    “Issue Check” – The Invoice was “Approved” and a check may now be issued to the Vendor.
    “Completed” – The Invoice has been “Approved” and the vendor has been issued a check.
    Issue - Chosen from an “Invoice Issues” list (a SharePoint "custom" list that contains "Issue" and the name of a "WorkFlow" to execute on the "Invoice" in order to resolve that particular "Issue").
    When an Issue is chosen, this will trigger a "Workflow" (or more than one?? probably only one...) to start.
    Account Number
    Plant (Choices: 1-New York, 2-Los Angeles,99-Headquarters)
    Invoice Notes
    Template/Forms (Insert/Update)/Development/Event Receivers/Display Template/"UI". This is the part that I am unsure of and where "Visual Studio" will be used. (I have quite a bit of experience developing "SharePoint
    Solutions". I am not interested in using the new "App Model". I have read about it, studied it, setup a local "App Store", etc, but for this particular application, I am going to stick with the "old" Solution based model.
    I am more familiar with it and "believe" it will give me the most "power" and "flexibility". As I said.... I am unsure how to "categorize" the following "needs", so I am just going to lump the rest of the "features"
    I need into the list below and ask for any feedback and/or help. :)
    Adding Invoices - Ideally, the "drag and drop" feature will (can) be utilized by the user to add the new Invoices (I can force them to only add one Invoice at a time). If this is just "too much trouble", I
    could require the user to only add them using the "Upload Document" control. Or, I could develop the UI  (or just the Insert/Update UI) using traditional "ASP .Net" controls and insert/update the data using the Server
    Object Model or the Client Object Model (CSOM).
    Preview Invoices - There are several times I would like to show the Invoice (pdf) as a "preview" (when the Invoice is being Added or Edited, when the user is "Approving" or "Denying"
    on Invoice via a "WorkFlow", or when an Invoice is "hovered" over in a Document Library View). Basically, anytime the Invoice needs to be acted on by a user, I would like to show the PDF in a "preview" window and
    I don't mean just open it in a separate Tab or Window. I mean use something like an "IFrame" in a certain area of the page (depending on what the page is doing: Inserting/Editing/Viewing/etc) to show that preview.  (For the "hover
    preview", I believe I can use the same skills I learned when modifying how the "Enterprise Search Center" works with PDFs. Basically, it involved adding a new Display Template for the Search Item and referencing that template
    in a new "Search Result Type". The new Display Template created an "IFrame" and populated it using our Office Web App Server via "WOPI". Anyway, I believe I can simply do the same thing in a Document Library View and most
    likely in whatever "form" or "page" is responsible for the Insert/Edit. I suppose I am just looking for someone to tell me if this is "doable" (and as "easy" as I think it might be), what the "best"
    way to accomplish it would be, or if it is a bad idea, etc. etc.)
    "Auto Populate" the columns. When a new Invoice is added, I would like to use the (Enterprise) Search functionality (OCR and "graphic matching") to somehow populate as many of the columns (metadata) as possible.
    This might involve looking for some particular "text" or graphic(s) (like a company logo?) to determine the Vendor. Then, once the Vendor is determined, I might be able to figure out other items, such as the "Invoice Number" and "PO".
    Usually our Vendor Invoices don't change very often. This would only serve as "default" values, so it wouldn't have to be 100% correct. Anything I can do to save the user time or make it easier to enter new Invoices will go along way towards
    acceptance of this application. (Currently, they use an Excel Spreadsheet, along with email. So, from their point of view, the existing "system", "works" and is very "easy" to use,  etc....)
    More uses for the "Search Index Results". It would also be "nice" if we could setup some "weighted rules" on a "per Vendor" basis to help determine who the "responsible user" is. (For instance,
    we may get Invoices from a single Vendor that could possibly go to 1 of several "responsible users". In order to determine the correct user, I would like to setup some "rules" for each vendor to give "weighted" values to
    certain "keywords". For instance, if the word "Computer" appears on the invoice, that might be worth "100 points" towards the "IT Manager". So, when the user is selecting the person responsible for this particular invoice,
    I could order the list they are choosing from by the "total points" (as calculated from the "weighted rules") which would put the "Person" who is most "likely" the "Person Responsible" at
    the top of the list, followed by the second most likely, and so on. I don't think this be that "hard" to do. I would simply need to store "keywords" and "values" and have access to the "Search Index Results" for the
    document (Invoice) the user is currently adding.
    **Another "option" I have for developing this application is to basically develop it using a traditional "ASP .Net" framework and controls (which I definitely have more experience with, but as I mentioned, I also
    have quite a bit (4-5 years) of SharePoint development experience) and just using the "out of the box" features of SharePoint (and Custom Lists, Document Libraries, SharePoint Security Groups, WorkFlows), etc. What I am trying to describe is that
    I would develop the "UI" (add/change/delete) using traditional "ASP .Net" controls and just use SharePoint for my "Data Source". (I DO need to AT LEAST use SharePoint as the "Data Source". This is for reasons that
    I don't want to get into here and just bog down the discussion. I certainly realize this application could easily be a "traditional" "ASP .Net" application using "SQL" for the Data Source. So that part really isn't what I am looking
    for "advise" on.)
    Any help/advice/samples would be very MUCH appreciated!
    Shayne

    You should generate the XSD form the DTD files. Also you should list values unless necessary. XMLSpy is good tool I use.
    You can send the XML schema file to me if you can't register it to XML DB. I will help you take a look.

  • Need help identifying the application responsible for an insert...

    Hi,
    I'm a MSSQL guy and Oracle is still a bit mysterious to me.  I'm looking for some assistance tracking down the application in an environment which is responsible for particular inserts.
    For example, suppose I have 10 different programs running and inserting values to a DB.  I need to know which one of them inserts a "0" in a particular column.
    I found a trigger which will tell me the user, unfortunately these programs use a shared credential so that doesn't help me.... here's what I've got:
    CREATE OR REPLACE TRIGGER check_for_zero_insert
    AFTER INSERT
      ON DATA_TABLE_0001
      FOR EACH ROW
    DECLARE
      v_username varchar2(10);
    BEGIN
      -- Find username of person performing the INSERT into the table
      SELECT user INTO v_username
      FROM dual;
      -- Insert record into audit table
      INSERT INTO audit_table
      ( samplevalue
      sampletime,
      username )
      VALUES
      ( :sampletime,
      :samplevalue
       v_username );
    END;
    But again, username won't help me, I need the originating process if at all possible (either an executable name, PID, or something to identify the specific application on the other side.)

    use this in your trigger
    select sys_context('USERENV','OS_USER') ||'-' ||user  into v_username from dual;
    You might need to increase the v_username data type length.
    Thanks,
    GPU

  • Insufficient privilege when Activating an attribute view (person responsible for package = SYSTEM)

    Insufficient privilege when Activating an attribute view (person responsible for package = SYSTEM)
    SAP HANA Studio
    Version: 1.0.33
    Build id: 201206301604 (363996)
    Playing with the efashion tutorial with HANA Studio.
    I am SYSTEM user by default when starting the studio.
    -Schema created
    -DDL created
    -Data loaded
    -Attribute views created
    Below an extract of the error log:
    <info>Create Attribute View failed: SQL: transaction rolled back by an internal error: insufficient privilege: Not authorized

    Hello Anooj and Sri,
    Thank you for your answers, I really appreciate your inputs.
    So I executed this:
    "GRANT SELECT ON SCHEMA SYSTEM TO _SYS_REPO WITH GRANT OPTION;"
    Under the Studio SQL GUI and I still have the same error when activating my very simple attribute view.
    I have installed a recent HANA + Studio + Client release on my laptop:
      SAP HANA Studio
    Version: 1.0.33
    Build id: 201207050531 (364183)
    And yes, this is a demo and yes I am logged as the SYSTEM user (default user when stating the studio). For now, I dont know how to connect to another user with the studio and I will search the doumentation.
    Below a copy/past of the error msg.
    Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Attribute View: SQL: transaction rolled back by an internal error: insufficient privilege: Not authorized (ptime/query/plan_executor/ddl/qx_cube.cc:1514) n
    Create view DDL statement: CREATE COLUMN VIEW "_SYS_BIC"."efashion/ATV_OUTLET_LOOKUP" TYPE JOIN WITH PARAMETERS ( joinIndex = "EFASHION_TUTORIAL"."OUTLET_LOOKUP", joinIndexType = 0, viewAttribute = ('SHOP_ID', "EFASHION_TUTORIAL"."OUTLET_LOOKUP", "SHOP_ID", '', 'default', 'attribute', '', 'efashion/ATV_OUTLET_LOOKUP$SHOP_ID'), viewAttribute = ('SHOP_NAME', "EFASHION_TUTORIAL"."OUTLET_LOOKUP", "SHOP_NAME", '', 'default', 'attribute', '', 'efashion/ATV_OUTLET_LOOKUP$SHOP_NAME'), viewAttribute = ('MANAGER', "EFASHION_TUTORIAL"."OUTLET_LOOKUP", "MANAGER", '', 'default', 'attribute', '', 'efashion/ATV_OUTLET_LOOKUP$MANAGER'), viewAttribute = ('ZIP_CODE', "EFASHION_TUTORIAL"."OUTLET_LOOKUP", "ZIP_CODE", '', 'default', 'attribute', '', 'efashion/ATV_OUTLET_LOOKUP$ZIP_CODE'), viewAttribute = ('CITY', "EFASHION_TUTORIAL"."OUTLET_LOOKUP", "CITY", '', 'default', 'attribute', '', 'efashion/ATV_OUTLET_LOOKUP$CITY'), view = ('V_OUTLET_LOOKUP', "EFASHION_TUTORIAL"."OUTLET_LOOKUP"), defaultView = 'V_OUTLET_LOOKUP', 'REGISTERVIEWFORAPCHECK' = '1' )nVersion: 48n
    Thank you.
    Patrick

  • Prerequisites for creating a project in primavera

    Hi Guys,
    I want to create a project in P6V7 what are the prerequisites that i need to creating a project.
    Thanx,
    Ra

    Hi
    i'll consider that you implement security in P6 before adding projects
    you need to do the following before creating projects
    1- Create OBS
    A global hierarchy that represents the managers responsible for the projects in your organization. The OBS usually reflects the management structure of your organization, from top-level personnel down through the various levels constituting your business. The OBS can be role-based or name-based.
    2- Create EPS
    A hierarchy that represents the breakdown of projects in the organization. Nodes at the highest, or root, level might represent divisions within your company, project phases, site locations, or other major groupings that meet the needs of your organization, while projects always represent the lowest level of the hierarchy. Every project in the organization must be included in an EPS node.
    3- add projects to EPS

  • Purchasing organizations responsible for purchasing the material

    hi every body
    i have created 1 purchase requisition for some material.
    in my company there are 10 purchasing organizations.
    there is no work flow in company.
    Can you tell me out of these 10 purchasing organizations which one is responsible for purchasing the same material.
    Does Purchasing group creates any link for this.
    Regards
    Sujit

    Hi
    Just follow this
    1) you can use AUTHORISATION,i.e - particular t.code the user id is authorised to use the particular document type.
    Create Roles (PFCG)for the document type for PR and assign the role to the user i.d(su01)-.In the Roles for the T.code(PR)you mention the document type(pfcg).
    So that you can restrict the document type to particular purchasing organisation...
    there is no need of workflow.
    hope it helps

  • What is the tcode for creating material receipt

    Hi,
    what is the tcode for creating material receipt & payment to the vendor

    Hi,
    You recieve your material from the vendor and do a Goods Reciept in MIGO with mvt 101. You can even enter via T-Code - MB1C.
    Once you get your Invoice for this reciept from your vendor, you then do invoice verification in MIRO.
    After verification, if there is no blocking of the invoices and is posted and released, a accounting document is released during the posting of MIRO. These documents are then referred by FI pals, who are responsible for the payment.
    Hope this gives you a clear picture.
    Anand
    Message was edited by:
            Anand.B.K.

  • Tools for creating executables

    I am on a look out for a installation development tool for windows.
    Requirements :Should be easy to use and update for patch release. It should automatically create desktop icons, do any registry entries if reqd, automatically install and launch JVM.
    I think most of you who develop applications in java must be using some or the other tool for creating executables. So can you send me some suggestions on products avaliable and their popularity.

    Thanx for your response. I will go thro' that site

  • How to findout the sharepoint job which responsible for database re indxing

    Hi
    In sharepoint 2010 i configured RBS storage for  Web application content database
    in our org form  has two web frontend servers,
    two application servers, and two index servers ,one database server
    so when users upload BLOBs to sharepoint library we faced some time RBS storage space problem
    Exception:Microsoft.Data.SqlRemoteBlobs.BlobStoreException: There was a generic database
    error. For more information, see the included exception. --->
    System.Data.SqlClient.SqlException: RBS Error. Original Error: Number 1101,
    Severity 17, State 12, Procedure -, Line 1,<o:p></o:p>
    Message: Could not allocate a new page for
    database 'WSS_Content_80' because of insufficient disk space in filegroup 'PRIMARY'.
    here when i ask our DBA he said there is one sharepoint job is running which saving audit data daily every data and database is re indexing every time , to sharepont content database size is increasing
    so how to findout the job which responsible for database re indxing
    adil

    Audit data is created when an audit event his triggered. Auditing is configured on a per-Site Collection basis.
    http://office.microsoft.com/en-us/sharepoint-server-help/configure-audit-settings-for-a-site-collection-HA102031737.aspx
    There is a Health Analyzer rule named "Databases used by SharePoint have outdated index statistics".
    http://technet.microsoft.com/en-us/library/hh564122(v=office.14).aspx
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Partner determination based on Employee Responsible for Sale Office

    Hi,
    In our Project We triggering work flow from lead to sales manager. The Sales Manager is assigned to sales office. We used access sequence CH08 to determine the sales manager in Partner determination but the work flow is triggered to Employee responsible for Sales Group.
    The access determines the Employee responsible for org unit and sales group is selected as org unit in lead document. So the employee below the sales Group is selected in sales manager in Partner determination.
    Can any one suggest how to select employee from Sales Office in Partner determination.
    With regards
    Selvam T

    Hi,
    I created my own role and modified a standard FM.

  • Admin_client.jar 10.1.3.1.0 and changing JVM settings for OC4J in opmn.xml

    Just now briefly looked at admin_client.jar 10.1.3.1.0. It appears that there is new functionality to create/alter and interrogate (J2EE) resources in this utility. This partially answers my other question, as stated in Jython support in Oracle Application Server 10g R3 (10.1.3)
    (Would be nice to get a definitive answer on scripting though)
    Anyway...
    As a follow-up question. Will there also be functionality (or is there already functionality) which lets me change JVM settings of OC4J components as they are declared in the opmn.xml, using only command line (and/or scripting) tools?
    Thanks

    Jan -- there is no out of the box command line utility that can amend the JVM settings for an OC4J instance.
    As Deepak alluded to, it is possible to do this using JMX because all the OPMN configuration elements are all reachable from JMX. This means you can create whatever Java JMX client you desire to modify the settings, or use a scripting environment which provides nice support for JMX (for example Groovy with its GroovyMBean) to access and use the OpmnConfig MBean set to change the OPMN configuration values.
    Asanka -- the 10.1.3.1 release has lots of capability in ASC to manage the OPMN settings from a browser -- including modifying all the JVM settings (things like heap, System properties, etc.) as well as OC4J switches (-userThreads, etc.)
    cheers
    -steve-

  • Using ECN for creating Bom

    Hi Friends
    We usually use ECN for making any changes to Bom or Routing.  Any idea whether change number could also be used for creating Boms, Routings? Or  rather, when we do not put an ecn number while creating Bom, system should give an hard stop.
    thanks and regards
    L.Ramesh

    Hi Mr.Ramesh,
    As u asked,ECN can be made as a mandatory field while creating & changing a material,BOM,Routing.
    <b>1.For material,ECN can be made as mandatory by using a field exit.For Field exit,you can check in SE37.
    2.For BOM,Check in SPRO-Prod-Basic Data-BOM-Control Data for BOM-Define modification parameters(OS27).Also Check in OS25,for more settings.
    Check whether there's a tick mark in the check box for EC Management Active.
    3.For routing,Check in OP5A,Prod-Basic Data-Rotuing-Control Data-Define Field Selection.</b>
    I hope this will be helping you.
    If useful reward your points.
    Thanks & Regards
    Mangal

Maybe you are looking for

  • Unable to connect to reports server

    Hi All, I have an oracle forms application available on a machine server1 with url http://server1:7777/forms/frmservlet?config=x and the same application also available from another machine server2 with url http://server2:7777/forms/frmservlet?config

  • Importing log4j.xml and viewing the out put .

    hi iam having log4j.xml which i should use to view the output .iam using netbeans IDE .i imported import org.apache.log4j.Logger; then i added log4j.xml in source package .and apache log4j to the libraries . *.but how to import this log4j.xml file an

  • Why won't anyone from Adobe respond to my requests to activate my product?

    I tried to activate my adobe Acrobat XI Pro on december 20th.  Message said we will get back to you in two days> NOT ONE WORD FROM ANYONE SAYING ANYTHING. I can't even get into chat with anyone.  UNBELIEVABLY POOR SERVICE!

  • Relese creation profile

    why we maintain relese creation profile in sa agrement , and its custmization rsk

  • Extending HGrid VO

    We are facing an issue in our project with a VO extension where the VO is being used in an HGrid in a Seeded OAF screen. We did the VO extension to add two columns that we needed to be displayed in the HGrid. This requirement is implemented and it is