Authorisation and user entry

Hi All
Can anyone tell me the difference between using Authorisation and Manual Entry for processing type for variable in query designer.
Thanks

Hi,
Manual entry variable takes the input values which you have provided while running of the report and gives the query output based on those selections.
Authorization variables gives the query output based upon the aurthorizations maitained for you in the roles assigned to you in the BW system.
It will not take into account all the selection values while running the query and will execute the report only for the values which you are authorized to.
So if you give A, B and C as selection and if you are authorizaed for A only then report will show you the data related to A only in the report.
Thanks
Ajeet

Similar Messages

  • Current date as deafult for Calender Day and user entry

    Hello All,
    There is a select option for Calender Day for a BW query.
    This Calender Day should have a default as Current Date and User entry is also possible.
    I have used a Customer exit and written the following code under i_step = 1
    data: v_currdt like sy-datum.
    clear: v_currdt, vfl_range.
             if i_step = 1.
              vfl_range-sign = 'I'.
              vfl_range-opt = 'EQ'.
              v_currdt = sy-datum.
              vfl_range-low = v_currdt.
              append vfl_range to e_t_range.
             endif.
    Please inform if this code is incorrect, because I am not able to see the date at all.
    Cheers,
    KP

    Hi
    Check with this code!
    Implemented for the same function as you require.-
    if i_step = 1.
      case i_vname.
        WHEN 'ZZZZZZ'.
          IF i_step = 1.
            REFRESH e_t_range.
            CLEAR l_s_range.
            l_date1 = sy-datum.
            L_S_RANGE-LOW = l_date1.
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT  = 'EQ'.
            APPEND L_S_RANGE  TO E_T_RANGE.
          endif.
      endcase.
    endif.
    Regards
    M.A

  • Query problem - authorization and user entry variable as filter

    hi,
    I made two variables for the characteristic 0COMP_CODE.
    The first variable is a user entry variable for the selection.
    The second variable is my authorization variable with multiple single values.
    This two variables are defined as filter in the query.
    The problem is as follows:
    A user is authorized to see the data from three companies. For example companies 1, 2 and 3.
    Now he enters on the selection for the 0COMP_CODE the value 2 to see only the data of this company. The query result gets me confused. It shows all data of the companies 2 and others. It basicly shows more companies than he has selected.
    Other companies of the authorization variable are shown.
    It works if the user has the authorization over all companies.
    Did someone has the same problem?
    Thanks for your help/advice.
    regards,
    Pascal

    Hi Pascal,
    this is an issue. The main problem is that you just can't influence via the exit for a vairable "ready for input".
    What could be done is define a dummy element (hidden in the final display) in your query like a restricted KeyFigure to a variable based on COMP_CODE; let's say VAR1 ready for input.
    You char COMP_CODE would then be filtered by a variable not ready for input processed by user exit, VAR2.
    The exit would ready VAR1. If there any value complying with the authorized one then populate VAR2 with it, otherwise remove it (you could use STEP_3 to raise a message "you aren't authorized to use comp_code XYZ" and return to the initial variable screen). If VAR1 is empty, then populate VAR2 wit all corresponding aithorized values.
    The main issue is that
    1- this is bypassing the standard functionality of authorization variables
    2- any report would have to be designed like that!
    What we have done is to add nav_attr / and added more IObjs in the InfoProviders related to 0COMP_CODE reflecting a country, region or any other group of comp_code authorization and then have based our authorizations on those nav....
    hope this helps...
    Olivier.

  • User entry form with submit facility

    Hi,
    I want to create and user entry form, which users can fill there information and submit it. The information i want to insert in table in oracle db and not in webcenter site db.
    I am looking in developer guide on page 217 with topic "Code entry form", there they have created a form and inserted data in Employee_info table. I think they have created table somewhere in catalogManager.
    Please can anyone tell me, how i can directly connect to my oracle db and proceed with form submit?
    Can i create jsp and java file , in the same way we create in our normal application?
    Please help.
    Thanks

    Hi,
    You can use most Java code inside a jsp-type CSElement to save the form data in a way that you're familiar with. I'd suggest doing one of the following:
    a) Create a separate connection pool on the WebCenter Sites appserver for the oracle database, and use your own code to access this connection pool and store data in the table
    or
    b) post the form to your "normal application" and have that process the form and store the data, assuming that's where you'll be using the data.
    You could also create a non-managed jsp inside the WebCenter Sites appserver, but this could be hard to maintain.
    I hope this helps.
    Kind regards,
    Stephan.

  • Authorised to User Fro MODIFY,VIEW and INSERT

    Hi,
    i want to authenticate my application .How can i give RIGHTS to User ,How can i authorised to User for MODIFY,VIEW and INSERT.
    How can i implement this.
    Thanks
    Edited by: 805629 on Jan 26, 2011 11:10 PM

    Hi,
    Create authorization scheme for MODIFY, VIEW and INSERT.
    For MODIFY and INSERT edit button and select Authorization Scheme.
    For VIEW on Edit Application properties go to security tab and select Authorization Scheme for VIEW.
    Sample PL/SQL code for authorization(It will return boolen):
    Scheme Type: PL/SQL Function Returning Boolean
    Code:
    Declare
    v_ret number;
    Begin
    v_ret := AUTH_PKG.can_update(:APP_USER,:APP_PAGE_ID);
    IF V_RET =1 THEN
    RETURN true;
    ELSE
    RETURN false;
    END IF;
    End;
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • User Entry variable - AND condition

    Hi,
    The requirement is, if the user enters two materials A and B, the query should pull out all the transactions with BOTH materials in it.
    If the user entry variable with selection option is used, it pulls out the records even if one of the materials exist (OR condition).
    Is there a way to have the AND condition without the use of Customer exit variable?
    Thanks.

    Hi,
    The scenario is like this. Transaction 1 has both the materials A and B. Transaction 2 has only material A. Transaction 3 has only material B.
    Trans.No Material
    1             A
    1             B
    2             A
    3             B
    When the user enters materials A and B, the output should contain only trans.no:1.
    Thanks.
    Edited by: P R on Jan 6, 2009 2:52 PM
    Edited by: P R on Jan 6, 2009 2:57 PM

  • User Entry Variables and CMOD

    Hi SDN,
    I asked this question last week but did not get a straight answer, so I am trying again. Please do not refer me to PDF's on 'How to create Customer Exit variable', that is not the issue. Following is the problem.
    User enters a value in a User Entry type variable. We use that value to create a new set of restrictions using CMOD/Customer Exit. However, we then want the value in the first variable to go away or become ineffective.
    Or does anyone know the actual run time structure where OLAP keeps the variable values after step 2 so we could changes there?
    Thanks.
    SM

    Surely, you can just delete the value of the 1st variable, or remove it from teh variable table.
    You could do this in i_step = 2, once you have computed the value of your new variable
    Inside CMOD, the variables are all stored within i_t_var_range. I don't see why you can't just loop at that table until you find your 1st variable, then delete it from that table.
    If you can't delete, then loop through the table, and check each line. If the variable in question is not your 1st one, then add it to a temp table. Continue till all records have been evaluated, then refresh i_t_var_range and move the contents of the temp table into i_t_var_range.
    Cheers,
    Andrew

  • Diff b/w "Customer exits" and "User-exit"

    Hi,
    What is the difference b/w customer exits and user-exit and also please explain me what are the various types of customer and user-exits.
    Thanks in advance.
    Ramana

    Hi,
    Types of Exits
    There are several different types of customer exits. Each of these exits acts as hooks where you can attach or "hang" your own add-ons.
    Menu Exits
    Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications.
    SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.
    Screen Exits
    Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.
    Function Module Exits
    Function module exits add functions to R/3 applications. Function module exits play a role in both menu and screen exits. When you add a new menu item to a standard pulldown menu, you use a function module exit to define the actions that should take place once your menu is activated. Function module exits also control the data flow between standard programs and screen exit fields.
    SAP application developers create function module exits by writing calls to customer functions into the source code of standard R/3 programs. These calls have the following syntax: CALL CUSTOMER-FUNCTION ‘001’.
    <b>User exits:</b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/abap-code-samples/userexits%20in%20a%20transaction.doc
    In order to find out the user exits for any tcode,
    1. get the developement class of the tcode from SE93.
    2. Now goto transaction SMOD and press F4,
    3. give in the Deve class in the dev class and Press ENTER
    this will show u the exits for any tcode.
    or execute this report
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    which gives the list of exits for a tcode
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm
    For information on Exits, check these links
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc
    http://www.easymarketplace.de/userexit.php
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    Check out these links too...
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.planetsap.com/userexit_main_page.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    USER EXITS
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=312792
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=1320078
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=2669896
    ****Reward points if helpful.
    All the best

  • AP Aging report - key date for user entry

    Hi All,
    We have a requirement to calculate aging buckets like 0-30,31-60,61-90...etc.
    I know the key date for this report is created on net due date in SAP standard report.
    In standard SAP report , key date is always a system date(SY-DATUM).
    What we need for this report is , we need to get all the invoices which are outstanding as of that date(the date which user enters).
    If user enters today's date(08/28/07) , he should get all the invoices outstanding till that date in aging buckets and if user enters some date in the past like 07/26/07, he should get all the invoices outstanding as of that date.
    Can  someone Pls tell me if aging buckets are calculated based on a user entry ?
    Regards,
    Kumar

    Hi Voodi,
    Aging in the standard report is being calculated like below...
    1.For open items
    Posting date<key date
    Item status = O
    2.Posting date < keydate and clearing date > key date and net due date with offsets on keydate ( key date + 1 - keydate+30 --- for 1-30 days) like wise for all aging buckets.
    in this scenarion , key date is always system date ie today's date.
    But user wants to get all the invoices based on his user entry...
    is this possible with the same standard key date variable or do we need implement any other logic???
    Regards,
    Kumar

  • Check user entry in Customer Exit Variable in i_step2

    Hi Folks,
    at the moment I'm facing a challenging problem. In an BW Query i have a Customer Exit defined as "not ready for Input" to catch the Variable in I_Step = 2 and fill by a certain algorithm. When i change the CE Variable to "Inputready", the user can enter values, but i have no chance to react on these values as i_step = 2 will not b reached during execution- And this behaviour is correct. BUT is there any chance to Check user entries in an Customer Exit variable and change this somehow in des code?
    Thanks for all replies.
    BR,
    Maik

    Hi there,
    It is possibel depending on what you wish to accomplish.
    You can create two variables for the same characteristic.
    The first is an input ready variable for the user to enter the data and the second is a not input ready variable CE where you can in step 2 process the data entered from the variable ready for input.
    You can than fill the CE variable with any data, but you will have the variable restricted by the two variables (the ready for input and the CE).
    But for validating you could throw an error message based on the variable input ready.
    Diogo.

  • User entry in a query

    Hi All,
    I have a  query wherein I want to have a user entry but do not want the query result to be affected by it.
    The details of the query are such that in this query I am calculating Sales actuals by posting period (selecting constant months to make a quarter) and sales commitment  by a normal characteristic Fiscal quarter.
    Is it possible that I have a user entry for quarter and have that quarter (selected by the user) displayed in the query but at the same time display the entire data of the query?
    Please advise.
    Thanks and warm regards,
    Sharmishtha

    Hi Anil,
    In rows I have CGL Branch (user netry/multiple values), organizational division(zdivision/user entry) and sales district. In th columns I have Previous to previous year's sales(SALDR NOTECASH restricted with fiscal year/ user entry variable with offset -2) similarly I have previous year's sales. Then I have current year's Q4 sales. For this I have restricted the same key figure with fiscal year/user entry and posting period=jan,feb,mar). This is because ZBDMIS1 does not have ZFIQUART1(fiscal quarter). Then similarly I have to calculate for all the quarters of the current year. Alongside I also have to calculate the commitments for all the quarters. For this I created a cube in which I included ZFIQUART1 (and loaded thru flat file), as customer will give data in quarter. Finally I made query on the multiprovider. Now, in the query I created a new selection for commitment of Q1 and restricted Sales Commitment Value with fiscal quarter = quarter1 and similarly for all quarters.
    But the values of the Sales Commitment val is not coming at all.
    Also I wanted to put quarter as user entry. (just as a display of the selected quarter in columns, we don't want it to filter the data)
    Thanks and warm regards,
    Sharmishtha

  • Differrent date between AP Credit Memo and Journal Entry

    Hi!
    I don't know why AP Credit Memo posting date = '31/08/2011' but Journal Entry record posting date ='1/9/2011'.
    Change log on AP Credit Memo Create date ='31/08/2011' and change log on Journal Entry Create date='1/9/2011'
    APCredit Memo and Journal Entry link together.
    I try to make AP Credit Memo again and check. It's ok. It's not always happen just 1 Entry has problem.
    pls help me solve this problem

    HI Darius Gragasin!
    we use SAP 8.81 PL5.
    yesterday I try to check and reconize something:
    There are many trans from AR different date than Journal Entry but same month
    It's happen on date all user open addon (addon just help user load data from excel and put data on Sales order --> user add Sales order, addon don't add data), another date It's ok
    so, I think this problem by SDK but I don't know how to control SDK with this problem
    Regards,
    Hong Bich

  • User entry variable with exclude values

    Hello All,
    I created a  user entry/ default value variable, which allows multiple single values and is optional entry. And I also got to exclude few values from this infoobject as well as have a variable.  When I select and exclude my value from selsction and run the report, I get a system error and the varibale is converted to mandatory entry. The detail error message is displayed below.  Any useful input will be awarded
    Diagnosis
    Variable &V1& is used in the query in such a way, that an optional entry is not possible.
    For example, you might be using an "Exclude", or the variable might be connected using OR to additional selections for &V2& in the global filter, but is still displayed in the columns selections.
    It is also not possible to use an optional parameter variable to fill an interval selection in either the from-field or the to-field.
    System response
    Procedure
    If you are able to accept the mandatory entry, you need not do anything. Otherwise you must work with several variables in the query. You can use an optional interval variable to do this.
    Procedure for System Administration

    Hello ,
    I did try creating a variable with the foll details:
    Variable Type : User Entry / Default Value
    Variable Represents : Multiple Single values
    Variable entry optional
    When I run the query it converts my variable to mandotary entry.  but I want to have optional user entry variable.
    Any help will be awarded

  • Can you export the date and user to Excel that appears into a Comments field in a tracking list?

    Hi everyone,
    Can you export the date and user to Excel that appears into a Comments field in a tracking list?
    When i export a tracking list with a Comment field in the Content type, the screen where you enter the data for an item, the Comments field just export the text of the comment into the Excel file.
    In the Comments field appears also, besides the comment text,  the user and date from who and when the comment is added.
    Is there a way to export also the user and the date?
    Thanks
    Wim

    create another comment field that doesn't use 'appending', and through SP Designer change workflow keep
    updating that field with the new comments  (prepend the field with date/username/new comment). Hide the field on all forms, but put it in the view you need to export to Excel.
    Please refer few more links: Hope they will help
    http://www.nothingbutsharepoint.com/2009/04/16/versioning-append-changes-to-existing-text-view-entries-aspx/
    http://sympmarc.com/2011/02/07/showing-all-versions-of-append-changes-to-existing-text-in-a-data-view-web-part-dvwp/comment-page-3/
    https://mossipqueen.wordpress.com/2013/03/06/display-all-appending-field-entries-in-a-single-list-view/
    http://community.office365.com/en-us/f/154/t/278560.aspx
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • How to Enable the LOV to query for partial user entries in af:query in an ADF search form

    Hi guys,
    I have faced one issue in creating a search form in ADF, in that I have used af:query and table region. and I have attached an lov vo to the base vo for the list of values and given UI hint as Input values with List of values. Now the issue is that I have given auto submit property as true so when I give some value suppose "Jan-14" and tab out it gives me all the correct results. but if I give like "Jan%" and then tab out then it does not give me any value. Could you kindly help me with some solution. I am using Jdev 11.1.1.6.0.
    Thanks,
    Tanmoy

    To enable the LOV to query for partial user entries, we can trap the 'LaunchPopupListener' event and add custom code there. Within the af:query component, just wondering how can we set property the 'LaunchPopupListener' for the search criteria ?

Maybe you are looking for

  • How do I connect Airport Extreme and Time Capsule to my new iMac so that AE is used for network and TC only used for Time Machine backup?

    I didn't realize that Time Capsule will only support the print function of a wireless multifunction printer.  So I want to use Extreme for my network to have full use of my printer and use TC as the Time machine backup only.  How to I make the connec

  • Pack java classes in to a war file

    i cant pack the java classes when i build my web project i works fine in localhost but when i tried to proved in my server the war file doesnt pack the java classes. How do i pack the classes??? i tried in the properties to add the files in packing t

  • Mail Server changed

    Had a mail server change. Made the change on the BB, but apparently the IMAP port is different on the new server from the old. It does not appear I can change the port through the BB. Any ideas?  I would change it to POP, but it doesn't give the opti

  • Error on reinstall of only Acrobat ProX

    On attempting to reinstall this morning it keep getting error messages: WARNING: DW066: OS requirements not met for (AC76BA86-1033-F400-7760-000000000005) 10.0.0.0 ------------Payload: Error: Error 1406.  Could not write value Adobe ARM to key \SOFTW

  • Experience with APO World Wide System

    Dear Experts,           Please let me know if you any one of you has an experience in having the APO as a world wide system in the your organization. If so please share your experience. Thanks, Siva.