Issue in validation tigger in user parameter

hi every one,
i am converting my report oralce 6i to 10g
i have a report which have validation tigger in user parameter and vallidation tigger will be fire when user enter a date in form parameter(report).
then it's an error of invalid parameter .
any on have idea that why is give mention error.

Good Morning Hashim Raza Syed,
If we understood correctly your questions, Date formats is huge issues in developing.
We tried to check DATE format first.
According to NY state law, fortune telling is a class B misdemeanor. If you can tell yourself is better.
If you have any more question feel free to post them.
Otherwise, mark accordingly.

Similar Messages

  • Can PO communication language be controled through User parameter?

    Dear,
    I am importing material from internal vendor.While creating PO the system is giving Error "No short text maintained in language DE ".After analysis i got to know that it is due to miss match between vendor communication language and material master description language.Now we can not change vendor master communication language form DE to EN because the vendor general data is maintained by the Germans and as per the logic it should be in thier local language.The next thing is we do not want to extend material description in language  DE as it may confuse Indian user.So kindly guide  how to resolve this issue?
    Is there any user parameter to control this language error?
    Regards
    Dina

    what you describe is like you want go swimming without getting wet.
    No, you cannot control the language from a user parameter.
    you have to maintain the material descriptions in any language that is used as communication language in vendor master.
    A communication language should always be a language that could be understood by both parties, you and your vendor.
    a common used vendor should have EN as communication language.
    There should be a design concept in your company for such cases, otherwise it is a gap and needs to be closed with a decision that one of the effected parties does not like.

  • When sharing iMovie11 project  with iDVD inmediately message 'the project could not be prepared for publishing because an error occurred (Error in user parameter list).  Finalize issue?

    When sharing my 60 minutes iMovie project with iDVD inmediately message 'The project could not be prepared for publishing because an error  occurred (Error in user parameter list)' appears. Could not find the user parameter list, so I've no more info about this error.
    Option File - Finalize Project gives inmediately the same errormessage.
    Also option Share - Media Browser - Large/Medium/Mobile give the same errormessage.
    Please advise, thank you!

    Additional info: trying to write to internal disk (268 GB Free out of 499 GB)
    Please advise, alko80

  • Placeholder or User Parameter receiving directly from a field.

    I can place as well placeholder as much as user parameter inputs in my report. My issue is when query returns no rows, but I need to show in this case user input datas, and my variable(placeholder or user parameter) is just syncronized with user inputs. But I wanna to change value when no rows returned it shows user inputs, and when there are rows, show a field at query.
    Assumed i.g:
    SELECT NM_NAME FROM MY_TABLE WHERE NM_NAME = :NAME
    I have one placeholder inside report margin that represents NAME.
    When that query has rows, show QUERY FIELD, so... NM_NAME, when no rows returned, so show :NAME.
    I´m not getting point how can I syncronize this with my issue, to contour this, I can create one extra query (same as mine main query) that return the value when there is rows to return.
    What is the best maner to fix it?
    I hope that my explanation was plain.
    Regards!

    I should use functions from the SRW package in a format trigger:
    1. Create a field in the margin (layout).
    2. Give it a source . eg. 'mode' or ' desformat' (just any of the system parameters)
    3. Create a format trigger on this field with code (eg.):
    function F_1FormatTrigger return boolean is
    begin
    if :P_parameter = 'Yes' then
    srw.set_field_char(0,:Name);
    else
    srw.set_field_char(0,'other text');
    end if;
    return (TRUE);
    end;
    Hope this helps,
    regards, Bart

  • Pass parameter value to another parameter.... User query in user parameter

    Hello everyone, any help would be greatly appreciated.
    Problem:
    My report currently has 5 user parameters (3 Number, 2 Characters). I have an after parameter trigger that evaluates all the parameters to see which one has any value and then creates the “where clause”. Below is an example of two of the 5 parameters.
    The function works fine, I just cut out all the other stuff for this issue.
    function AfterPForm return boolean is
    IF :P_JOB_ID is not null then
         :P_WHERE_CLAUSE := 'where Job_num = :P_JOB_ID';
    ELSIF :P_QUES_DESC is not null then
    :P_WHERE_CLAUSE := 'where DESCRIPTION like :P_QUES_DESC’;
    ELSE :P_WHERE_CLAUSE := ‘where JOB_NUM = 0';
    The “P_WHERE_CLAUSE” is used as follows in a query.
    Select job_num
    from PROMOTION
    &P_W_CLAUSE
    Issue:
    The query result can be anywhere from 1 to 50 job_num’s. I need to show the end user running this report the values (job_num) in a drop down list. They in turn will select one job_num which will be used to run the report. I tried putting the Select job_num from PROMOTION &P_W_CLAUSE in a User Parameter but that does not work. I get an error. I feel that I am approaching this the wrong way. Because in the end I would end up with two queries, one for the Select statement containing the P_W_CLAUSE and another with the final report. This issue is sort of like cascading prompt where the values from one (or more) parameters are used in the select of another user parameter which in turn the value selected will be used in the final report. Also this report will be used somewhere between 50 - 75 times per day so storing the values in a temp table might not work.

    Sorry,
    as I know depending parameters like you want are not possible in Reports. You can use one reports as parameter-report-only to use a second as your original report, but this is not perfect. Or use a tool like Application Express (which is able to have depending fields) in front of reports to build your parameter forms.
    Regards
    Rainer

  • Sales Agreement workflow errored on 3205: is not a valid role or user name.

    Hi experts,
    We're currently on EBS R12.1.2 We're running into an issue that seems like a very general issue that other businesses would have encountered before. We have a business user who creates most of sales agreements. When this business user left the company, we set active end date on the particular userid. Now, when we go into these sales agreements originally created by this particular userid, and put in the expiration date to expire these sales agreement. We're seeing the sales agreement workflow erroring out in the pre-notification workflow email with error 3205: is not a valid role or user name.
    It seems to be this is a very typical business scenario. If you have encountered this problem, please share how you resolved this issue within your oracle apps environment.
    Thank you in advance for your help,
    Jennifer

    Hello,
    We have the same problem in 11.5.10.2. If we want use this blanket sales agreement I have to skipped this notification by sysadmin and after this I can extend end date and another user can use this BSA.
    Look at Extend The Expiration Date For Closed Non-Active Expired BSA Blanket Sales Agreement [ID 1394888.1]     
    Regards,
    Luko

  • Catalog object privilege validation failed for user.

    Hi,
    I'm getting following error after adding the HTML tags in dashboard 11g.
    How to set the privileges?..Kindly let me know.Thank you.
    Error Massage:
    Catalog object privilege validation failed for user to path /users/User1/_portal/page 1.
    You do not currently have sufficient privileges to save a report or dashboard page that contains HTML markup. Dashboard contains custom HTML tags as part of static text.

    Hi User,
    Go to Settings -> Administrators -> Manage Privileges -> 'Answers'
    Here you can view - "Save Content with HTML Markup" next to it you will see 'Presentation Server Administrators'
    Click it and Change for 'Everyone'
    And, Save changes. Restart BI Services now you can add the contents and it will not popup any error messages.
    Thank you.
    Award Points and Close the Post as Answered to help others with same issue :)

  • WFNTF_ROLE : 3205: ' user1 , user2 ' is not a valid role or user name

    Hi
    I have a workflow, in which I pass the names of performers(people who should receive notification) at run time through an Item Attribute.
    I have created Ad-hoc role using wf_directory.CreateAdHocRole and assigned users to this role using wf_directory.AddUsersToAdHocRole.
    wf_directory.CreateAdHocRole( role_name => v_role_name
    ,role_display_name => v_role_display_name
    ,language => NULL
    ,territory => NULL
    ,role_description => 'ROLE DESC'
    ,notification_preference => 'MAILTEXT'
    ,role_users => v_Recipients -- Comma or space delimited list
    ,email_address => null
    ,fax => null
    ,status => 'ACTIVE'
    ,expiration_date => null
    ,parent_orig_system => null
    ,parent_orig_system_id => null
    ,owner_tag => null
    wf_directory.AddUsersToAdHocRole(role_name => v_role_name,
    role_users => v_Recipients);
    The v_Recipients is an item attribute ( Recipients) got using wf_engine.getitemattrtext. The performer for workflow is also specified as the item attribute Recipients.
    Now, my workflow runs fine when notification is being sent to one user.
    But, when I try to send it to 2 or more users (seperated by space or comma), I hit the error:-
    Failed Activity NOTIFICATION
    Activity Type Notice
    Error Name WFNTF_ROLE
    Error Message 3205: '<user1>,<user2>' is not a valid role or user name.
    Please note that I have also run "Synchronize WF LOCAL tables" Concurrent program. But, that also does not help.
    What am I missing?
    Thanks
    Ajay K. Garg

    Hi Matt
    Appreciate your patience.
    I am almost there, but not there yet. :(
    I made the following changes:-
    1. Created a new item attribute of type role called 'RECIPIENT_ROLE'.
    2. The performer for the notification is set as Item Attribute RECIPIENT_ROLE.
    3. In the code:-
    a) v_Recipients := wf_engine.getitemattrtext(itemtype => p_item_type,
    itemkey => p_item_key,
    aname => 'RECIPIENTS'
    b) wf_directory.CreateAdHocRole( role_name => v_role_name
    ,role_display_name => v_role_display_name
    ,language => NULL
    ,territory => NULL
    ,role_description => 'ROLE DESC'
    ,notification_preference => 'MAILTEXT'
    ,role_users => v_Recipients
    ,email_address => null
    ,fax => null
    ,status => 'ACTIVE'
    ,expiration_date => null
    ,parent_orig_system => null
    ,parent_orig_system_id => null
    ,owner_tag => null
    c) wf_engine.setitemattrtext(itemtype => p_item_type,
    itemkey => p_item_key,
    aname => 'RECIPIENT_ROLE',
    avalue => v_role_name
    Pl. note that v_role_name and v_role_display_name values are being set in the code before call to wf_directory.CreateAdHocRole.
    I am hitting the error:-
    Failed Activity NOTIFICATION
    Activity Type Notice
    Error Name WFENG_NOTIFICATION_PERFORMER
    Error Message 3120: Activity 'DISTLIST/188309' has no performer.
    Error Stack Wf_Engine_Util.Notification_Send(DISTLIST, 1965, 188309, DISTLIST:DIST_LIST_NOTIFCATION_MSG) Wf_Engine_Util.Notification(DISTLIST, 1965, 188309, RUN)
    At run time, I am passing the parameter RECIPIENTS as name of one apps user ( to whom I want to send notification), and not passing anything to RECIPIENT_ROLE.
    What mistake am I making?
    Thanks
    Ajay K. Garg

  • Livecache issue LC10 BY0 Too many users (task limit)

    Hi,
    we have 2 application servers with one CI/DB, maxusertasks is 500
    we figured out a livecache pb, with the following error messages
    (db analyzer)
    LC10 BY0 > Too many users (task limit)
    User task 281 blocked in stae 'Prep-End(230)' since 902s, DB procedure : SAPAPO_CLEANUP application pid
    User task 281 blocked in stae 'Prep-End(230)' since 902s, DB procedure : SIM_SIMSESSION_CONTROL, pid 31685
    ...User task 281 blocked in stae 'Prep-End(230)' since 902s, DB procedure : APS_ACT_SCHEDULE, pid 3168
    before  we had the warining:  UTK5 is running 1804s, CPU 50% and CPU 100% (LC)
    we have checked knldiag/knldiagerr files and we are unable to find what is the root cause of the problem?
    How could we analyse this issue and find the treatment which triggers this issue?
    (trace: (SAPAPO/OM01)
    Thanks and Best regards,
    any help would be rewarded.
    Best regards,
    John
    Edited by: DCWE COREADMIN on Feb 11, 2011 6:54 PM

    Hello John,
    We need additional information about the liveCache version, OS of the liveCache server; more details about situation when the issue occurred. Run "x_cons <SID> sh all 10 10 > task_info.txt" when the issue occurred to collect more information.
    Check if the savepoint task is active - "x_cons <SID> show active".
    Is the issue occurred during high loading to te liveCache?
    Please review the SAP note 1391322 where the SPORADIC standstill in high load situation is also described, this issue is already fixed in the new liveCache releases.
    This situation occured sporadically. It will be helpful to login to your system for further analysis of the reported issue to get clear if your system run into this known problem because the savepoint was hanging, because of that you had  big amount of the user tasks which were hours in the state 'Prep-End' until the liveCache restart.
    < It could be the reason for "livecache issue LC10 BY0 > Too many users (task limit)", you reached the MAXUSERTASKS limit,
      the increasing of the liveCache parameter will not help you to solve the issue. >
    You checked/saw the Database Analyzer log :
    "User task 281 blocked in stae 'Prep-End(230)' since 902s, DB procedure : SAPAPO_CLEANUP application pid
    User task 281 blocked in stae 'Prep-End(230)' since 902s, DB procedure : SIM_SIMSESSION_CONTROL, pid 31685
    ...User task 281 blocked in stae 'Prep-End(230)' since 902s, DB procedure : APS_ACT_SCHEDULE, pid 3168
    You are SAP customer. As already recommended by Ivan, create the SAP message to the component "BC-DB-LVC" and get SAP support.
    Thank you and best regards, Natalia Khlopina

  • Is it possible to hide a forms user parameter in the wrapper HTML page?

    Is it possible to hide a forms user parameter in the wrapper HTML page? I.E I want to start my form with MODULE=myForm userid=scott/tiger@db myParameter=SECRET.
    The http://myserver/servlet/f60servlet?config=myconfig successfully starts the application (after update of the basejini.htm and adding this section to the formsweb.cfg
    [myconfig]
    userid=scot/tiger@db
    myParameter=SECRET)
    However, when looking at the source of the wrapper html page one can see MODULE=myForm userid= myParameter=SECRET.
    As you can see the userid is nicely hidden by my secret parameter is not.
    Thanks in advance for ideas for solving this…

    We logged a similar issue through Oracle support recently (hiding the password) and we did get a very unsatisfactory response :
    ====
    View source is the functionality for browser . So that can't be done.
    You have two possible workaround for your problem.
    1.
    Invoke Registry & move to HKEY_LOCAL_MACHINES &gt;&gt; SOFTWARE &gt;&gt; ORACLE. Here create a new string value with the name LOCAL & value as the connect string you want. Now when you run the form on web, just give user name & password, the form picks the connect string from Registry.
    Note : You need to make registry entry in a machine where Forms Server is running.
    2.
    You can hardcode the username, password & connect string in the form's ON-LOGON trigger. To do this use LOGON built-in.
    ====
    Should you receive a better response : we are also interested.

  • Setting the validity of a user password

    Hi,
    I want to set the validity for a user with my web dynpro application, not the account.
    With the IUserAccount Object I cannot see which method should be the working one.
    best regards
    Mathias

    Hi Mathias:
         You have the following options with IUserAccount interface:
             setValidToDate(Date date)
             or setLocked(boolean lock, int reason) - if you want to the lock the user.
         Did you checked these methods? Hope these will solve ur issue.
    Tnx,
    MS

  • When using the camera downloader in Adobe Bridge CS6 with Nikon D5200 we are unable to see previews of the photos and it is very slow to download. The issue occurs under a the users rights, but not under admin level. This is a new issue

    When using the camera downloader in Adobe Bridge CS6 with Nikon D5200 we are unable to see previews of the photos and it is very slow to download. The issue occurs under a the users rights, but not under admin level. This is a new issue.

    Hi Jdentremont,
    Lync client gets user photos by first querying the Address Book Web Query (ABWQ) service on the server, which is exposed through the Distribution List Expansion web service. The client receives
    the image file and then copies it to the user's cache to avoid downloading the image each time it needs to be displayed. The attribute values returned from the query are also stored in the cached Address Book Service entry for the user. The Address Book Service
    deletes all cached images every 24 hours, which means that it can take up to 24 hours for new user images to be updated in the cache on the server.
    To troubleshoot your problem, please follow the steps below:
    1.  Navigate to
     “X:\share\1-WebServices-1\ABfiles\000000000\000000000” folder. (ABS file share)
    You should see some photo files in this folder as the following screenshot.
    2. Delete all the files in this folder.
    3. On test PC, delete local cache files.
    %userprofile%\AppData\Local\Microsoft\Office\15.0\Lync\[email protected]
    4. Sign-in Lync with the test account.
    5. Go back to the ABS file share, check if there is any Photo file in the folder.
    Best regards,
    Eric
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Need to display a value before the header based on a user parameter.

    I have a select on the user parameter list of values.
    SELECT DISTINCT GROUP_ROWID, STR_GROUP_NAME
    FROM TBL_COMPANY_GROUP;
    I select the option hide the first column in order to show only a list of values and not the row_ids.
    I need to display the str_group_name within the header as a title. I insert a field in the header and in source select the name of the parameter p_groupid but the only thing that I get is the row_id value not the name. I use the row_id to pass it on my queries but I need the name value in the header. Any ideas? Please help.
    Thanks.

    create a parameter called p_header.
    in the after parameter form trigger
    select str_group_name into :p_header
    from tbl_company_group
    where group_id = :p_groupid;Have the header field source be p_header.

  • Error Message = 3205: '~WF_ADHOC-1446' is not a valid role or user name

    Hi,
    I have an Item attribute of type 'Role' ('CREDIT_COMMITTEE_MEMBERS') and I am using that attribute as performer for two notification activities.
    For first notification, I create an adhoc role and assign it to the attribute and the notification goes successfully.
    I want to send reminder to the people who have not responded to the first notification.
    So I used the following query:
    SELECT recipient_role
    FROM wf_notifications
    WHERE (message_name = 'MSG_TO_CREDIT_COMM_NEED_APPR' or message_name = 'MSG_REMINDER_CREDIT_COMM')
    AND item_key = itemkey
    AND status = 'OPEN';
    The following code was used to update the Item attribute of type "Role"
    FOR rec_cc_role_names IN cur_cc_role_names
    LOOP
    IF l_role_count = 0 THEN
    l_role_users := rec_cc_role_names.recipient_role;
    ELSE
    l_role_users := l_role_users || ' ' || rec_cc_role_names.recipient_role;
    END IF;
    l_role_count := l_role_count + 1;
    END LOOP;
    wf_directory.createadhocrole
    ( role_name => l_role_name,
    role_display_name => l_role_display_name,
    notification_preference => 'MAILTEXT',
    role_users => l_role_users,
    expiration_date => NULL);
    wf_engine.setitemattrtext
    ( itemtype => 'XXCCVOTP',
    itemkey => itemkey,
    aname => 'CREDIT_COMMITTEE_MEMBERS',
    avalue => l_role_name);
    The second notification activity is throwing the below error
    Error Name = WFNTF_ROLE
    Error Message = 3205: '~WF_ADHOC-1446' is not a valid role or user name.
    Error Stack =
    Wf_Notification.SendGroup(~WF_ADHOC-1446, XXCCVOTP,
    MSG_REMINDER_CREDIT_COMM, 07-APR-10, WF_ENGINE.CB)
    Wf_Engine_Util.Notification_Send(XXCCVOTP, 154009, 186344,
    XXCCVOTP:MSG_REMINDER_CREDIT_COMM)
    Wf_Engine_Util.Notification(XXCCVOTP, 154009, 186344, RUN)
    Kindly help.
    Thanks,
    Amit

    The users list was null for the role, which was causing the error. The query populating the user list was not returning any row.

  • Using user parameter for

    Hello,
    I have created a report using an xml pds. I am using a servlet for the xml data stream source. Everything works great with the url to the servlet hard-coded between the <xml></xml> tags (ex. <xml>http://10.3.35.119:9004/ssapp/servlet/ScheduleDataServlet</xml>) but when I try using a user parameter between the tags (so I will be able to dynamically change the url to this servlet) it bombs. Please see my source code and error message below. Any help would be greatly appreciated, I've been stuck on this for days! Thanks!
    <rw:report id="recoveryCenterScheduleReport" parameters="server=myreportserver&userid=ssstage/ssstage@DEVL&p_xmlDataURL=http://10.3.35.119:9004/ssapp/servlet/ScheduleDataServlet">
    <rw:objects id="objects">
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    <report name="XMLscheduleReport" DTDVersion="9.0.2.0.0">
    <xmlSettings xmlTag="XMLSCHEDULEREPORT" xmlPrologType="text">
    <![CDATA[<?xml version="1.0" encoding="&Encoding"?>]]>
    </xmlSettings>
    <data>
    <userParameter name="XML_HTTPS" datatype="character"
    pluginClass="oracle.reports.plugin.datasource.xmlpds.XMLDataSourceFactory"
    width="255" defaultWidth="0" defaultHeight="0" display="no"/>
    <userParameter name="p_xmlDataURL" datatype="character" width="100"
    precision="10" defaultWidth="0" defaultHeight="0"/>
    <dataSource name="QP_1">
    <plugin
    factoryClass="oracle.reports.plugin.datasource.xmlpds.XMLDataSourceFactory"
    majorVersionNumber="1" minorVersionNumber="2"
    signOnParameter="XML_HTTPS">
    <![CDATA[<xmlpds DTDVersion=" 1.0">
    <dtd>null</dtd>
    <schema>file:///C:/Practic Workspace/Practice/WEB-INF/xsd/scheduleReport.xsd</schema>
    <XSQLschema>null</XSQLschema>
    <XSQLWithDTD>false</XSQLWithDTD>
    <type>false</type>
    <xmlWritten>true</xmlWritten>
    <validate>true</validate>
    <xml>&<[b]p_xmlDataURL></xml>
    <xsl>null</xsl>
    javax.servlet.jsp.JspException: rwlib-1: REP-0002: Unable to retrieve a string from the report builder message file.
    REP-0069: Internal error
    XMLPDS-63004:Generic error while parsing the URL stream name instead of <.
    REP-4111: Fail to create pluggable data source 'QP_1'
         at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:180)
         at jsp.reports._schedule._XMLscheduleReport._jspService(_XMLscheduleReport.java:87)
    ....

    Never mind, I discovered the problem. I wasn't using the necessary xml escape characters for the user parameter embedded in the xml.

Maybe you are looking for