User Response

I have an accident form 98% complete and have the need for the user to input the accident report # using a response dialog.
the code I have is:
var response
response=xfa.host.response("Enter the Accident Number", "IAR")
if (response!=null)
(response=text1.value)
I get the dialog box and can enter the data but it doesn't go anywhere.
Frustrated Again!
Thanks ahead of time.

You can have gotten or set the response value, now put it some place:
var sResponse
sResponse=xfa.host.response("Enter the Accident Number", "IAR")
if (sResponse!=null) then
(sResponse = text1.rawValue)
endif
$.rawValue = response
xfa.host.messageBox(Concat("Entered IAR is: ",
sResponse), "Debugging", 3);
$.rawValue = sResponse
// or use the response method to autofill the default text
// get: "Accident Number", title: "IAR", default text: text1.formattedValue
var sResponse = xfa.host.response("Enter the Accident Number", "IAR", text1.formattedValue);
xfa.host.messageBox(Concat("Entered IAR is: ",
sResponse), "Debugging", 3);
$.rawValue = sResponse

Similar Messages

  • WebI Report using BW Query (Getting Error for User Response Function)

    Hello Experts,
    I have created WebI Report on top of BW query. All the prompts are coming from BW query. I was trying to create user response function but it's not working. Do I need to use special function or I can't use.
    Any help would be highly appreciated.
    Thanks
    Nisniki

    hi Nisniki,
    take a look here:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0a45246-ce76-2b10-e688-f5c8206203eb
    Ingo

  • SAP PI Sender Mail Adapter error : Unexpected User response

    Hello ,
              I developed a scenario which requires Sender mail Adapter to connect a Third party system to PI, by going thro the links .
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    and PDFs in SDN.
    When configured the sender mail adapter using POP Mail Server,faced the following error:gave the correct URL and Login credentials.
    +" exception caught during processing mail message; java.io.IOException: unexpected user response; read -ERR Command is not valid in this state."+
    Then used IMAP for the same mail server : error:
    "exception caught during processing mail message; java.io.IOException: unexpected login response; read 001F BAD Command received in Invalid state."
    Tried with another Mail server :
    "exception caught during processing mail message; java.net.ConnectException: Connection timed out".
    Can you please help, what be the cause? how to rectify it?

    Hi
    There might be an connectivity issue from PI server to mail server. Please check with your BASIS to resolve the issue.,
    Regards
    Ramg

  • Based on the user response need to calculate measures in universe

    Hello Folks,
    I have report where user prompts for the single day (Ex: OCT 1 2014).All calculations should be at universe layer.
    1.Based on the user response I need to create a report for previous months .
    2. PYTD and YTD measures based on user prompt from universe. [PYTD - JAN 1 2013-OCT 1 2013, YTD - Jan 1 2014- OCT 1 2014].
    Example Date Set :
    DIM 1                    SEP13...............................................................OCT 14      PYTD   YTD
    Florida  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    Arizona  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    M1...M6 are the measures need to come from universe based on the user prompt.
    M1,M2 Need to give previous 13 months based on user response.
    M3,M5 [PYTD - JAN 1 2013-OCT 1 2013]
    M4,M6 YTD - Jan 1 2014- OCT 1 2014].
    Thanks for your help in advance.

    Hello Folks,
    I have report where user prompts for the single day (Ex: OCT 1 2014).All calculations should be at universe layer.
    1.Based on the user response I need to create a report for previous months .
    2. PYTD and YTD measures based on user prompt from universe. [PYTD - JAN 1 2013-OCT 1 2013, YTD - Jan 1 2014- OCT 1 2014].
    Example Date Set :
    DIM 1                    SEP13...............................................................OCT 14      PYTD   YTD
    Florida  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    Arizona  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    M1...M6 are the measures need to come from universe based on the user prompt.
    M1,M2 Need to give previous 13 months based on user response.
    M3,M5 [PYTD - JAN 1 2013-OCT 1 2013]
    M4,M6 YTD - Jan 1 2014- OCT 1 2014].
    Thanks for your help in advance.

  • Calculation based on user response

    I have a report with 2 columns based on the data in the first column i need to perform either sum or average for the next column
    C   July
    c1 value1
    c2 value2
    c3 value3
    c4 value4
    c5 value5
    c6 value6
    If(Match(UserResponse("M1:");"c1") OR Match(UserResponse("M1:");"c2") OR Match(UserResponse("M1:");"c3") OR Match(UserResponse("M1:");"c4");Sum([Jul]);Average([Jul]) )
    Value1,2,3,4 aggregation is sum but for c5,c6 also it is giving sum value but not average but i want the aggregation for value 5 and value 6 as avearge

    For example take efashion unv
    My requirement is if user selects california or newyork the aggregation on sales revenue should be average and sum on the other two states.
    Code:
    =If(UserResponse("State:")="California" Or UserResponse("State:")="New york" ) Then Average([Sales Revenue]) Else Sum([Sales Revenue])
    this formula is not working , iam getting blank rows under sales revenue column
    Is there something to do user response function because it returns values as california;new york;massachusetts;texas
    could you please post the correct formula
    State Sales Revenue
    California
    New York
    Massachusetts
    Texas
    Edited by: pullabh on May 25, 2010 6:35 PM

  • Unable to Navigate Organization in "Maintenance Super User" Responsibility (Eam Self Service Pages)

    Dear friends,
    Iam learning Oracle EAM module, now i had a problem that i couldn't able to find EM1 Organziation in the LOV, though i have done Organziation access also, based on the Oracle support.
    Solution from Oracle Support
    ======================
    Unable to Navigate in 'Maintenance Super User' Responsibility (EAM Self Service pages) (Doc ID 1053400.1)
    If you have the Organizations LOV empty, then you need to go to (Navigation) -Inventory (responsibility) > Setup > Organizations > Organizations  Access. Here you need to define a new line for each organization you want to access from the EAM SS responsibility.
    Kindly respond on this issue.
    Thanks
    Shruthi

    Try to compare the menu that you have created with Functional Administartor menu structure. It may help to debug your problem.
    Thanks,
    Mitiksha

  • Month filter between two ranges based on user response inIDT

    Hi,
    I am working on SAP BO4.0.I have a requirement of creating a month filter on a date which will be between two ranges.The first range is the user response and the second range will be 6 months added to that user response.For eg:-If a user enters 1 as the response for month prompt then the date will be filtered between 1 and (1+6)=7.The database used is SAP HANA.
    Please let me know if further clarifications are required.
    Any help on this will be appreciated.
    Thanks in advance.

    Hi Riddhi ,
    afaik this is not doable in UDT/IDT .Only thing we can make is to run the report for last month by using magic dates concept.
    Check below logic if it helps.
    For a requirement to run a report for  fiscal year starting date to last month if nothing selected .
    @Select(Time\Yr-Mth Key)  between@Prompt('From Date','A','Time\Month / Year',mono,primary_key,,{'JUL 2013'}) and   
    (case when @Prompt('To Date','A','Time\Month / Year',mono,primary_key,,{'JAN 1999'})='JAN 1999' then to_char(add_months(sysdate,-1),'YYYYMM')  
    else  
    @Prompt('To Date','A','Time\Month / Year',mono,primary_key,,{'JAN 1999'}) end)
    This is on Oracle Database.
    When you run webi report
    From Date : JUL 2013 (fiscal year start date)
    To date : JAN 1999( without changing this you can refresh the report for last month , else it'll refresh for selected month)

  • User response function() for Date Prompt

    Hi Experts,
    I have the requirement to show the date enterted in the prompt in the column of the webi report.
    I used the User response function e.g. =(UserResponse("Report Date").
    Now I am getting the value as 5/14/2014 12:00:00 AM. I dont want to see the time stamp with the date and aslo i want to change the format of the
    date to - yymmdd like 140514.
    Please provide your inputs.
    Thanks,
    Abhimanyu Sharma.

    Hi Arjit,
    I closed the thread.
    Can you please help in the below issue :
    I have two columns in the BEX report:
    1. "Local Count" which is restricted with Multiple Single Value variable "ZIN_CITY" on navigational Attribue 0ROUTE__0ROUTEID.
    2. "Out Count " which is restricted with Multiple Single Value variable "ZOUT_CITY" on navigational Attribue 0ROUTE__0ROUTEID.
    I put value 100 in prompt ZIN_CITY and 200 in ZOUT_CITY when i run this query in BOBJ WEbi.
    But i am getting the error - Not able to retrieve data. i checked in the backend and data is present and also Bex query is working fine.
    IF i change the property of variable to Single value then it is working fine in WEBi.
    Also i tried another method - irresprctive of setting the prompt in BEx on Nav attr 0ROUTE__0ROUTEID, i created the prompt in BOBJ WEBi, but LOVs (list of values)are not coming in the prompt.
    Please suggest on this?

  • Oracle financials end user responsibility in implementation project

    Could any body tell me the Oracle financials end user responsibility in implementation project

    SO what is the variance in the responsibilities for Functional consultant and Key user in implementation or support project.
    =========================================================================================
    See in implementation project, the resource who is performing the implementation needs access to all the forms i.e. setup, transaction forms etc.
    Also within an implementation project, there may be resources who are not associated with set, hence they responsibility will have only transactiion forms or inquiry forms.
    =======================================================================================================
    In Support project, the following may be valid users associated with the functions:
    the Invoice entry folk who keys in the invoice needs access to Invoice form only.
    Similarly The invoice inquiry folk who needs to inquire the invoice will need to have access to Invoice Inquiry form only.
    Similarly a person who is incharge of the overall control within a support project will have access to all the forms, functions, menu etc.
    =================================================================================
    Hope this helps.
    Thanks and Regards
    Manish Jain.

  • Projects super user responsibility

    hi
    i have a problem:
    In e-business suite 12.1.1 , In projects super user responsibility when I want to open JSP forms like :
    Team Role Details Workbook and Overcommitted Resource Hours Workbook and Scheduled Resource Hours Workbook This error take place :
    Not Found
    The requested URL /discoverer/viewer was not found on this server.
    Attention : in required steps of set up for PJR mentioned Implement Oracle Discoverer is required , does this error related to implementing Oracle Discoverer or not .

    Pl do not post duplicates - The requested URL /discoverer/viewer was not found on this server

  • User Response selection

    Hi,
    Here is the background of my question in Webi XI3.1 -
    I have a report that shows Family #, File #, Value. Values range from 0 to 10
    Family#
    File#
    Value
    A
    A123
    0
    A
    A234
    1
    A
    A456
    0
    B
    B123
    2
    C
    C123
    3
    D
    D123
    0
    D
    D234
    4
    D
    D456
    2
    Report has a parameter/prompt for user to select between the values - Value between (Value 1) and (Value 2)
    Question is -
    If a user select a range of of values suppose 0-2, then the report should show family that has a value either 0, or 2 or between 0-2 i.e For user response of 0-1, report should show below i.e IF THE VALUE COLOUMN HAS A USER SELECTION RANGE, THEN SELECT THE ENTIRE FAMILY
    A     A123     0
    A     A234     1
    A     A456     0
    B     B123     2
    D     D123     0
    D     D234     4
    D     D456     2
    I need help achieving this.
    Solution Tried:
    I have created 1 variable for UserResponse ("Value1"), another variable for UserResponse ("Value2")
    I tried to match if Value coloumn in report is between UserResponse ("Value1") and UserResponse ("Value2"), but it is not working.

    In your query, you might have dimensions other than Family # and File #. So the data is being filtered in the highest granular level as per the query you defined.

  • User Response Error with BW prompts

    Hello Experts,
    I have created WebI Report on top of BW query. All the prompts are coming from BW query. I was trying to create user response function but it's not working. Do I need to use special function or I can't use.
    Any help would be highly appreciated.
    Thanks
    Nisniki

    Hi,
    You can get the values of the prompts that are coming from BW Query using the UserResponse() function. Following is the way to get the value:
    1. Say, you have a variable ( from Bex ) with Name as "Customer".
    2. Now, in order to get the value of the variable in BO, you need to write the UserResponse() as UserResponse("Customer")
    You have to ensure that the name of the variable is mentioned correctly within " ".
    Hope it helps.
    Regards,
    Tej Trivedi

  • User response fuction help

    Hi Techis,
    I need to create user response function in webi report in a variable.The variable i use for furtur calculation.
    Gentis is a prompt name and user selects any one of the 2 values in a prompt.
    suppose user select "A" in the prompt it will return '0' and user selct "B" in the prompt user response will return 1 (any how any one value 0 or 1)  save in the variable.i am using r4 and BEX Query is source.
    How can i save 0 or 1 in variable.
    Kindly help me on this.
    Greatly appreciated.
    Thanks--
    Madhu
    Edited by: send2madhuk on Mar 3, 2012 8:31 AM

    If you already have WEBI prompt named "Gentis" then it's simple - create new WEBI variable with following formula
    =If UserResponse("Gentis")="B" Then 1 Else 0
    or
    =If UserResponse("Gentis")="B" Then 1 Else If UserResponse("Gentis")="A" Then 0 Else 99
    Depending on your requirements you'll have to choose between type of variable - Dimension, Detail or Measure. Since you said you will use variable for futher calculations most likely type of variable should be Detail or Measure.

  • User response function

    Hi
    Can any body explain about user response function with simple example.
    Thnaks in advance

    Assuming your universe contains a filter that prompts for user input using the @prompt function and you use the filter in your report OR you add yourself a filter which requires user input in the query panel of your webi report.
    When the report runs it will ask your user to provide a value by displaying a text that you provided:
    eg. Enter year:
    The function UserResponse('Enter year:') will return the value the user provided and you can use it in a WebI variable for further calculations
    eg. the following code in WebI
    ="User entered year " + UserResponse('Enter year:')
    will display
    User entered year 2010
    assuming your user typed in the value 2010 when prompted.
    Hope this helps.
    Regards,
    STratos

  • How to modify user responsibility

    Hi,
    Please suggest me how to modify the user responsibility in oracle apps 11i.
    I have a user, he has system Administration role, however he wants System Administrator. Let me know how to change it.
    Thanks,
    -vinod

    Please suggest me how to modify the user responsibility in oracle apps 11i.
    I have a user, he has system Administration role, however he wants System Administrator. Let me know how to change it.You can assign responsibilities from (System Administrator responsibility > Security > User > Define). If you want to end-date the other responsibility/role then you can do from the same screen or from User Management responsibility.
    Thanks
    Hussein

  • OIM 10g Changing used Create User Response Code Status

    Hello OIM Experts,
    Using OIM 10g - target system - OID.
    During my implementation, i realized that - there are possibility of user existence during OID provisioning. It should be acceptable.
    Solution : Create User : Response Code :
    USER_ALREADY_EXIST - Set the 'status' to 'C' (instead of 'R').
    However, when i tried doing it... that it is not allowing me - "RESPONSE IS ALREADY USED BY 1 OR MORE TASKS'. Everyone know, this is the limitation with OIM.
    Then i'm planning of setting the status directly into the database without going through the validations. I'm not able to get the exact database table name. Please let me know. [DB TABLE/COLUMN NAME ?? ]
    Any other alternative ?
    Thanks,

    You can change the task status to C for "User already exists" response after clearing the R status for existing task instances in the table.
    Use the following steps:
    - Please take OIM backup
    - Use the task name to look up the task ID present in the MIL table. Note the value of the task definition key (mil_key)
    E.g. select * from mil where mil_name like 'Create%' [Let us say this returns mil_key as 335]
    - Find out the task response key for the response that you intend to change using mil_key and the response code name
    E.g. select * from rsc where mil_key=335 [Lookup the response code that you want to change. Let us say this returns 1638]
    - Use the mil_key value to find task instances corresponding to this task.
    E.g. select * from osi where mil_key=335
    - Update the response code for tasks in osi.
    update osi set rsc_key=1624 where rsc_key in (1638)
    commit
    I am sure you will figure it out.
    All the best,
    Chetan

Maybe you are looking for

  • How to get execution plan in a CLOB?

    Hello, I want to get execution plans of a query in a CLOB format. I am trying to run following query against v$sql view. One of the columns I want is the execution plan for the query. I am getting following error. Eventually, I am going to insert thi

  • Header window tiotle not printing on next page

    Hi ! I have aa form in which I have a header table created inside the main window to print the titles of the line items, unit , unti price , Qty and totals. The next page has the similar format with the headerr table inside the main window, but unfor

  • BDC failing as a Background Job

    Hi all, My BDC  for MIGO transaction is failing as a background job. Kindly advise. Dev

  • Error in executing command

    Hello, I am trying to execute nqcmd command in unix envt throgh putty to purge cache but it giving me following error....I went through blog, but its not much helpful. I new to unix: below is the error exec(): 0509-036 Cannot load program nqcmd becau

  • Entries in the PTREQ_ACTOR

    Hi all, I am facing a typical issue with the table PTREQ_ACTOR, the entries of the table PTREQ_ACTOR gets modified sometimes resulting in the  inconsistency in the entries between the PTREQ_ACTOR and PTREQ_HEADER table, This inconsistency leads to th