User entry without restriction

Hi Guys,
I was wondering if there was way of getting a user entry without actually restricting based on the entry.
I need the user to enter a year value (mandatory)and based on that, I have to create another variable using User exit. How can that be done?
Thanks,
Doniv

Hi,
As Andrew mentioned:
1) Create a variable on 0calyear with 'user entry' as processing,if there is no standard variable for 0calyear.(say VAR1)
2) Take any key figure in to columns , and then restrict it with above variable(restriction with user entered year)
3) Hide the above key figure.
4) Now creat a variable with processing 'customer exit' and representation 'Single value' on date field which you want  use in restrriction .(say VAR2)
5) fill this varible with the help of user entered value for variable created in step 1.Here you will fill the fisrt date of the year.
6) Use the variable in VAR2 as follws in the restriction.
DATE < VAR2.
7) Now creat another variable with processing 'customer exit' and representation 'Single value' on date field which you want  use in restrriction .(say VAR3)
8) fill this varible with the help of user entered value for variable created in step 1.Here you will fill the last date of the year.
9) Use the variable in VAR3 as follws in the restriction.
DATE > VAR3.
10) At last in the restriction you will have like this:
DATE < VAR2.
DATE > VAR3.
With rgds,
Anil Kumar Sharma .P

Similar Messages

  • 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

  • Search Active Directory Entries without password authentication

    JNDI, Active Directory
    I am newbie to JDNI and Active Directory.
    I am trying to create a Web Application
    which provides domain users with the information
    of the Active Directory group user are belonging.
    I know how to access Active Directory and search Entries
    with JNDI like below codes.
    Hashtable env = new Hashtable();
    env.put(Context.PROVIDER_URL, "LDAP://URL:389");
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.SECURITY_AUTHENTICATION,"none");
    env.put(Context.REFERRAL, "follow");
    env.put("java.naming.ldap.version" , "3" );
    env.put(Context.SECURITY_PRINCIPAL, "uid=admin,ou=system");
    env.put(Context.SECURITY_CREDENTIALS, "secret");
    .....But I want know how to search Entries without Active Directory password
    because I don't tell users their Active Directory password.
    I don't have any idea. Could you give me good idea?
    Sorry for my English. Thank you.
    Danno

    It means to allow "Anonymous LOGON" and "Everyone" users to search entries in AD, I think.Sorry, can't help. In OpenLDAP it meansallow * searchor possiblyallow * auth
    You mean that if I do it, will the codes below be unnecessary in Java?That's not only what I meant, it is what I said, concerning the principal and credentials lines.
    You don't need the SECURITY_AUTHENTICATION line, I never use it with LDAP whether I'm providing credentials or not (and in the cases where you are supplying the principal and credentials, it certainly doesn't make any sense to specify 'none'.)

  • Is there any other way to achieve per user call forward restriction other than to create multiple voice policies?

    Hello,
    We mentioned the environment details below:
    Environment
    In our PBX environment, currently a user can forward calls to any local (within a region) internal extension. But for external PSTN call forwarding, a user needs to send a request and be approved by their manager. And the forwarding restriction
    is applied such that user is only allowed to forward to that particular PSTN number - to prevent toll fraud.
    Moving forward to Lync, using voice policy's call forwarding and simultaneous ring PSTN usages, I can set it to allow forward and simultaneous ring to custom PSTN usage and a custom route that will only send calls to these pre-approved
    external numbers.
    Outcome
    But in such a scenario,
     sSince all the custom external allowed numbers will have to be put into a single Route match table, User A will be able to successfully
    set up call forward to User B's number. (if they come to know about it somehow, that is)
    rü 
    Route matching list will be very long due to the number of users per hubsite that has call forwarding enabled.
    Questions
    Is there any other way to achieve per user call forward restriction other than to create multiple voice policies ? MSPL may be ?  
    2. Is there a limit in the number of entries you can have on the Route pattern matching regex expression ?
    Please advise. MANY THANKS.

    1) I think multiple policies may be your best bet, though it's not a fun one to manage, I agree.  MSPL could do it, but it would be more complex to maintain in the end.  Even gateways have limitations on routes.
    2) I'm not aware of a limit, though I'm not saying there's isn't one.  But if you hit it, you could move to a second usage/route combo.
    I'd suggest building out some PowerShell usage/route creation/organization script for this so it's not something that would need to be maintained within the GUI.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications
    This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SAP exit  -- user entry variable

    Hello,
    In my report i need two columns: one is for displaying the value of the current period and the other one is for displaying the cumulated value up to the current period. The info object is 0FISCPER.
    1. The current period should be entered via user entry and based on this, an exit variable should pick up the year's cumulated value. Which variables could I use to fulfill these requirements?
    2. Furthermore i have looked in SE37 to find the code of SAP Exit variable "0FYTCFP". However, the FM for the variable doesn't seem to exist. Why? The variable however exists in table RSZGLOBV. How do I find the code?
    Thanks in advance,
    F C

    If you are gonna use fiscper as a variable parameter, your requirement would need a customer exit. 
    If i get it right, the first would column should be derived from the user entry which wont be possible with the suggested SAP exit as that would bring the current fiscalyear/period (based on sys date) not giving the user the option to enter the fiscalyear/period. And the second column should be a YTD for that particular year the user has entered as a input parameter. the suggested SAP exit will again be calculating based on ur system date not on the user input.
    the only way you can overcome this is if you have the flexibility to use fiscalyear and posting period seperately. if you can do that, you can avoid the customer exit. the procedure would be -
    You can create ur own variable of type user entry on fiscalyear and posting period.
    the first column would have ur KF further restricted by fiscalyear and posting period restricted by the variables you created ... so in the 1st column you would get the value for that period.
    in the second column, the selections would be same (KF further restricted by fiscalyear and posting period ) but while restrict posting period make it a value range - and in the range pick period 1 - the variable u created, that would give you the YTD from period 1 to the user entered period.

  • Variable Creation on user entry FISPER

    Hi All,
    I need help to design a BEx Query , currently I am facing a challenge. The client require the report query design as per the screen shot.
    Hence I have
    1. I have calculated YTD using 0P_FPER (User Entry Value).
    2. But the rest figures , I need to display over the periods , for example user entered 003.2009 , the Key Figure should be displayed under three column 001 till 003 and YTD Key figure in single column cumulative of all three periods.
    3. Please help as I am unable to create variable which will give me 002.2009 and another variable 003.2009 ..
    The number of column should be dynamic in nature depending upon user entry.
    Regards,
    Subhasish

    So , I just have to use it as restriction (filter) = 0I_BA106 for the Previous Year YTD.
    Do I need to consider any other variable for Fiscal Year restriction ?
    The Function module states :
    FUNCTION RSVAREXIT_0I_BA106 .
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_VNAM) LIKE  RSZGLOBV-VNAM
    *"     VALUE(I_VARTYP) LIKE  RSZGLOBV-VARTYP
    *"     VALUE(I_IOBJNM) LIKE  RSZGLOBV-IOBJNM
    *"     VALUE(I_S_COB_PRO) TYPE  RSD_S_COB_PRO
    *"     VALUE(I_S_RKB1D) TYPE  RSR_S_RKB1D
    *"     VALUE(I_S_RKB1F) TYPE  RRO01_S_RKB1F
    *"     VALUE(I_THX_VAR) TYPE  RRO01_THX_VAR
    *"     VALUE(I_STEP) TYPE  I DEFAULT 0
    *"  EXPORTING
    *"     VALUE(E_T_RANGE) TYPE  RSR_T_RANGESID
    *"  EXCEPTIONS
    *"      NO_PROCESSING
    *"      NO_VALUE
    * Purpose:
    * get actual period from variable 0P_FPPER
    * and compute interval from first period to corresponding period
    * in previous fiscal year
    * returning parameter
      DATA: l_s_range TYPE rsr_s_rangesid.
    * work area for I_THX_VAR and Period
      DATA: l_wa_thx_var   LIKE LINE OF i_thx_var
          , l_ta_range     LIKE l_wa_thx_var-range
          , l_wa_range     LIKE LINE OF l_ta_range
          , l_period(3)    TYPE n
          , l_year(4)      TYPE n
          , l_prev_year(4) TYPE n
    * some checks to start with
      IF i_vnam <> '0I_BA106'.
        RAISE no_processing.
      ENDIF.
      IF i_step <> 2.
        RAISE no_processing.
      ENDIF.
      REFRESH e_t_range.
      CLEAR l_s_range.
      CLEAR l_period.
      READ TABLE i_thx_var INTO l_wa_thx_var
        WITH TABLE KEY vnam   = '0P_FPER'.
      l_ta_range = l_wa_thx_var-range.
    * only one value allowed
      READ TABLE l_ta_range INTO l_wa_range INDEX 1.
      l_year   = l_wa_range-low(4).
      l_period = l_wa_range-low+4(3).
      IF  ( l_period IS INITIAL )
       OR ( l_year   IS INITIAL ).
        CLEAR l_s_range.
        RAISE no_value.
      ELSE.
    * get previous year
        l_prev_year = l_year - 1 .
        CONCATENATE l_prev_year con_first_period INTO l_s_range-low.
        CONCATENATE l_prev_year l_period         INTO l_s_range-high.
        l_s_range-sign = 'I'.
        l_s_range-opt  = 'BT'.
      ENDIF.
      APPEND l_s_range TO e_t_range.
    ENDFUNCTION.
    Please suggest.
    Regards,
    Subhasish

  • User entry in Query output screen

    Hi Friends,
    Is there any option to allow user entry in the query output (not variable entry screen), so that the output will change accordingly?
    Regards,
    Guru

    Hi,
    Once query output is generated you can not have any variable selections further. What you can do is, Filter your output based on existing characteristics.
    If there are any free characteristics available you can drilldown on them or put filter restrictions on them and you can get the new data for those required attributes.
    But you can not change the original output set once generated, you will have to re-execute the query.
    Regards,
    Durgesh.

  • Userexit for populate profit center entry without material in T.code CORO.

    Hi guru's
    we are running T.code. CORO.. we want to populate profit center entry without material. can any one tell me the exact user-exit used for this and . can you tell me the procedure how to find the specific userexit trigger at that point while we are running any T.code.
    Thanks in Advance..
    GSANA
    user exist in PP for transaction code CORO-process order without matl code to populate profit center entry, can u plz find out that & send it to me..

    Thank you all for your valuable input.
    Srinivasa, your suggestion is very good, especially when calculation of variances/WIP is required. But again as there is no cost relevant material where the WIP/Variances will be settled during settlement process?
    1) PP need to create process order without material because changeover cost should not be charged to either material and capacity hours are consumed during changeover. 2) CO need to identify the cost of changeover which should be charged to cost center. So far we have achieved both of these two objectives by the following activities:
    Creation of Process Order without material using CORO T.Code     say 3 hours of changeover occurred we create order with quantity of 3 Hours. And confirmation of activities quantity 3 using COR6N so cost center is credited by 3 x rate per hour. As there is a separate Process Order type for Changeover we can identify changeover quantity and cost in a given period.
    After contributors feedback in this thread I have come to conclusion that I don't need to assign Settlement Profile and PA Structure to Changeover Process Order type. So no need to run Process Order settlement. As there is no specific required for Changeover WIP/Variances as well.

  • 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

  • API User Hook for Restricting Category Creation in a sepcific catalog

    Q: API User Hook for Restricting Category Creation in a sepcific catalog by a specific responsibility. I want to capture GO button process event?
    Hi All,
    Can anyone help me if anyone have used user hook for OLM? My requirement is to restrict course creation for the specific category... when we select category and select course and click on go button which process is calling? How can we identify the BP Package and Procedure name of that GO button?
    urgent reply shall be a great help.
    thank you.
    Regards,
    AD

    OK, I just tried to insert an element entry from the API and it works perfectly
    The problem seems to be coming from the form. Is the form not using an API?
    If this is the case, should I do a personalization and run a PL/SQL procedure each time a change is made?

  • Transferring User-Entry Cells from Excel Files

    Hello,
    I apologize in advance if this is a question better answered in a Microsoft Excel forum, but I saw some really good discussions here, and I think my question applies just as much to Acrobat.
    I work at a college and we create a lot of excel files -- one for each student. I'd like to be able to create excel files with fields that would accept user-entered data, then save this excel file as a PDF so that the user-entry fields are preserved. I can't seem to figure out a way to do this, but I'd like to avoid having to go into each PDF with Acrobat after the fact to add the appropriate fields to each form.
    If not that, is there a way to change acrobat settings such that the user will be allowed, using Reader, to enter text anywhere on the form (without altering the text that's already there)?
    Thanks so much for your time and thoughts!
    -Devin

    There is not a built-in way to convert from Excel to PDF so that the cells are automatically converted to form fields in Acrobat with the data retained.
    To allow Reader users to add text to a PDF, it needs to be enabled for commenting (Tools > Typewriter > Enable Typewriter too in Adobe Reader, for example), which allows Reader to add text using the Typewriter tool. Or "Comments > Enable for Commenting and Analysis in Adobe Reader", which allows other types of comments (e.g., Text Box) to be added with Reader.
    If the layout is static, you can import data exported from Excel and fill fields in a PDF form. The data file needs to be a text file in tab-delimited format, with the PDF field names provided in the first row, and subsequent rows being the corresponding field data. You can import in Acrobat using: Forms > Manage Form Data > Import Data. When you select the text file, it will promt you to import a row of data from the text file.

  • 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 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

  • Is there a way to store UserName entry without using LMS?

    Is there a way to store UserName entry without using LMS? I'd like to create ID and password..seemingly like a registration form in captivate..is this possible?

    If you're not talking about storing form field data in some external database (such as an LMS) then your next best option is to store it on the users machine as cookie data.
    However, Captivate doesn't provide such a mechanism out of the box.  Neither can you do it via Advanced Actions (though that would be an excellent enhancement to AA for Cp6).
    It's more the sort of thing that Captivate widgets were designed to do.

Maybe you are looking for

  • Not able to change the size of the Drive

    Hello , I have a template with 50 GB C drive and I want to a create a VM having 100 GB C drive using this template  . But I am not able to change C drive size from the edit settings . After changing the size from the edit settings to 100 Gb , I found

  • Matrix report performance

    Hi, I have a table with the following attributes : item, location, value. I want to create a matrix report with items on columns, locations as headers and in the middle the correspondent values: the report should look like this: item loc1 loc2 loc3 1

  • How to make animated/moving picture movie

    I have Quicktime Pro and Im trying to make a simple JPEG or GIF image that consists of many images and creates a moving picture. If I create the image sequence using the pictures, how can I save it as a JPEG or GIF so that I can upload it to Myspace

  • No name screen display receiving texts

    Hi When I receive CALLS, the name in the Phonebook appears on the screen. But when I receive TEXTS then only the number appears. Can anyone tell me what I'm doing wrong please? I want the name to appear in both cases. The Phonebook is on the simcard.

  • [SOLVED] Imapd does not start (only during boot process)

    I'm running a courier-imap server. A few days ago I noticed I did not receive any mails anymore. Then I found my imapd daemon was not running anymore. I then stopped the daemon process together with the xinetd daemon (which lets me connect to my imap