Custom KFF on custom form not querying concatenated data

Hi ,
A custom form is created ,which has a custom KFF field(which pops up a form with segment field).Both form field and segment1-n fields are based on same table ,the KFF field is inserting data into table,but unable to query concatenaed segment data into the KFF field fnd_flex.event call are made from pre-query,post-query,pre insert,pre update and when new item instance (form level triggers).pls help
Thanks,

The KFF view did not get created in case of custom KFF,Is that the reason?
Thanks,

Similar Messages

  • Form not committing the data

    I'm a newbie in Apex development.
    We are working in Apex 4.0.
    I have created a form on a table with report.
    Form updates work fine with automated row processing(DML) but when I replace
    this process with a PL/SQL process (calling our internal procedures to handle the
    journalling, replication etc.) then form does not commit the new field values.
    My Pl/SQL block is something like this
    DECLARE
    v_rec_sid NUMBER := 0;
    v_sqlcode NUMBER := 0;
    v_sqlerrm VARCHAR2(132) := NULL;
    BEGIN
    v_rec_sid := :P11_REC_SID;
    P_TABLE
    , IO_REC_SID => v_rec_sid
    , O_SQLCODE => v_sqlcode
    , O_SQLERRM => v_sqlerrm
    , I_FORENAME => :P11_FORENAME
    , I_LOGIN_ID => :P11_LOGIN_ID
    , I_MIDDLE_NAMES => :P11_MIDDLE_NAMES
    , I_SURNAME => :P11_SURNAME
    , I_TITLE => :P11_TITLE
    -- Report any problem
    IF v_sqlcode <> 0 THEN
    htp.p('PV - ' || to_char(v_sqlcode)||': '||substr(v_sqlerrm,1,80));
    END IF;
    :P11_REC_SID := v_rec_sid;
    EXCEPTION
    WHEN OTHERS THEN
    htp.p('Error - ' || TO_CHAR(SQLCODE)||': '||substr(SQLERRM,1,80));
    htp.nl;
    END;
    This process is 'On Submit-After Computations and Validations' and while running the form
    it shows the Process Success Message but when it goes back to report page it shows that it
    has not updated the data.
    When I compared the session state between automated row processing and my process the difference
    is that the status of all page parameters (except the primary key which shows the actual value)
    is 'blank' for automated row processing and 'Reset to Null' for my process.
    When I print the page parameters value (after header section) it shows the value in all parameters.
    I have tried using the COMMIT inside my pl/sql block but it does not make any difference.
    What am I missing.
    Thanks
    Dino

    910226 wrote:
    I'm a newbie in Apex development.Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and ensure you've updated your profile with a real handle instead of "910226".
    We are working in Apex 4.0.You'll get a faster, more effective response to your questions by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    With APEX we're fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    My Pl/SQL block is something like thisAlways post code wrapped in tags<tt>\...\</tt> tags to preserve formatting and special characters.
    DECLARE
      v_rec_sid     NUMBER        := 0;
      v_sqlcode     NUMBER        := 0;
      v_sqlerrm     VARCHAR2(132) := NULL;
    BEGIN
        v_rec_sid := :P11_REC_SID;
    P_TABLE
    , IO_REC_SID            =&gt;  v_rec_sid
    , O_SQLCODE             =&gt;  v_sqlcode
    , O_SQLERRM             =&gt;  v_sqlerrm
    , I_FORENAME                =&gt;  :P11_FORENAME
    , I_LOGIN_ID                =&gt;  :P11_LOGIN_ID
    , I_MIDDLE_NAMES            =&gt;  :P11_MIDDLE_NAMES
    , I_SURNAME                 =&gt;  :P11_SURNAME
    , I_TITLE                   =&gt;  :P11_TITLE
    :P11_REC_SID := v_rec_sid;To find out what's going on, get rid of this</a>:
      --  Report any problem
      IF v_sqlcode &lt;&gt; 0 THEN
          htp.p('PV  - ' || to_char(v_sqlcode)||': '||substr(v_sqlerrm,1,80));
      END IF;
    EXCEPTION
      WHEN OTHERS THEN
          htp.p('Error - ' || TO_CHAR(SQLCODE)||': '||substr(SQLERRM,1,80));
          htp.nl;http://tkyte.blogspot.com/2008/01/why-do-people-do-this.html
    END;

  • Data form not saving enter data after hit of submit

    Hi,
    Entered data on Data from not saving after hitting the submit button in smartview.
    A rules is attached to the same data from and its running on save, after retrieve it's not display enter data.
    it's urgent, please help.
    Regards

    You need to have the below updates done on the affected PC.
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings]\
    "ReceiveTimeout"=00dbba00 (hexadecimal)
    "KeepAliveTimeout"=300000 (decimal)
    "ServerInfoTimeout"=300000 (decimal)
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]\
    "ReceiveTimeout"=00dbba00 (hexadecimal)
    "KeepAliveTimeout"=300000 (decimal)
    "ServerInfoTimeout"=300000 (decimal)
    if its windows 7 machine the same key has to be added under wow6432node under same path.
    once the changes are done reboot the machine and try launching the BR. Hope it works !!!
    Thanks
    Amith

  • Custom secure views report is not restricting the data

    Hi,
    I have created few custom secure views reports and in which I have used the per_people_f , per_assignments_f secure views but when I am running this report from different responsibilities like (US Resp, UK Resp) it is producing the same number of records. From US resp it should produce the US employees and from UK it should produce the UK employees but this is not happening currently.it is a simple sql script which I registered as sql*plus executable.
    Can any one suggest if I am missing some thing? Urgent help would be appreciated.
    Thanks,
    Ashish

    Pl post details of OS, database and EBS versions. How have you implemented security ? What kind of concurrent program are you using ? Pl provide details. Also see these MOS Docs
    How To Enable Hr Security on Custom Reports?          (Doc ID 369345.1)
    Understanding and Using HRMS Security in Oracle HRMS          (Doc ID 394083.1)
    Need Custom Security Profile To Restrict Based On Employees Organization          (Doc ID 445142.1)
    HTH
    Srini

  • Forms Builder - form not pulling the data from the DB into the datablock

    I'm working on a school project, and I'm not sure if I'm doing something wrong, or if something is wrong with my setup.
    I created a basic form, 3 fields, and ID, firstname and lastname
    the wizard connected fine, pulled the three fields into forms builder
    I setup a canvas - type content with the a form format layout of the three fields.
    saved the form.
    When I run the form and it's displayed, nothing gets pulled into the fields (all blank).
    Shouldn't it pull at least the first row from the table?
    it says it's on record 1/1
    XP, Oracle 10g, Form builder 10.1.2,
    I'm not getting any errors
    I want to get this basic form working first, before I start adding to it, and it doesn't seem to want to cooperate.
    I've done the same steps as in the tutorials....

    I did find that, if I put data in the ID, first and lastname on the form, and click Execute & Save on the Menu, it does add it to the database.
    Maybe what I'm missing, is how do I get the form to read from the database when it starts up?

  • Update form not returning correct data selection in dropdown menu

    Using CS3 DW along with SQL 2008 R2. I have a number of dropdown menus on an entry form (using VBScript/ASP) that are feed by SQL queries. All data is accepted in the entry form and writes to the table in the database without any issues. I created an Update form and based on a Rec ID clicked on from a list the Update form is presented with all the data in the correct fields except for one dropdown menu. All the other menus go to the correct selection except for the one. Spent 2 days attempting to resolve this. If I change the dropdown menu to a field the correct data is presented when the form comes up, but doesn't allow the user to make a selection from the menu. When I change it back to a dropdown menu the saved selection is not selected - just lists the entire list of items in the menu. Any help or ideas on this is greatly appreciated.

    Hello All,
    Once more thank you. I have sorted the issue out.
    I observed that I was selecting the wrong field. I selected the field matching the record set of the select instead of the field matching the record set of the table I am working as seen on the image belew
    I was selecting this - This is the record set of the table that hold values for the city select list
    Instead of this. This is the record set of the table behind the form I am working on
    My issue is now re-solved.
    Mike

  • In Query mode, date items does not accepts more than 10 characters..Why?

    Dear All,
    In my form, While querying my date items, it does not accepts more than 10 Characters. Could it be changeable.
    Actually i want to search like greater than specified date( >01/01/2007 ).
    But i can specify like >01/01/07. After tabbing out from that item, it displays like >01/01/200.
    How to overcome this issue.
    Please help.
    Regards,
    Balaji

    You are absoletely correct Francois!
    Previously i have made a mistake that both of my maximum length and query length property to 20. That time it was not worked. Now i changed my maximum length to the old one like 11 and i changed only the query length to 20.
    Now it is working. I understood the concept wrongly.
    Thanks Francois!

  • How to make a form not running offline

    Hi, I've built my own form, which need to be submitted to a java servlet.
    Is there a way to avoid that a user saves the pdf form and submit it when he shouldn't?
    I've tryed with "preSave" event, but it cannot be canceled.
    Any suggestions?
    Thank you.

    If the form is not reader extended, the user can save only a copy of the blank form (not with filled data), provided the end user should use only Adobe Reader.
    Nith

  • Custom Master Detail form not working In EBS

    Custom Master Detail form not working In EBS
    Hi all,
    I have two custom tables -- 1) XXX_DIE_Headers
    2) XXX_DIE_LINES
    I developed a Master Detail form based on above tables. XXX_DIE_Headers is the Master Block (Single record) & XXX_DIE_LINES is the detail block ( Multi line block ).
    Yes, I used Appstand,Template.fmb for developing this form. The Master block has three fields out of which Two are required fields and i have given initial value for them.
    As i deployed it in APPS(EBS),everything about it is working fine (insert,delete,master-detail behaviour) except querying.
    When i press F-11 , It pops up a message "Do you want to save changes you have made" Choice - yes,no,cancel.
    I don't want this message to pop up.
    The scenario is :- I open the form.( without entering ) Press F11 . The message Pops up.
    Please give me suggession on how to work it around so as form directly goes to query mode ,without popping the message.
    regards
    ravi

    It seems that you are changing a database value in your form, do you have any changes in WHEN-NEW-FORM-INSTANCE???
    what the form is trying to tell you that you have changed something, do you want to save it?
    I suggest you debug your form and see what's happening step by step.
    Tony

  • Custom D2k form not displayed correctly in Oracle Apps 12.1.1

    Hi,
    I have created a custom form for Oracle Apps 12.1.1 using Oracle Forms 10g. This form was registered on DEV instance and it was working fine there. Recently the DEV instance is refreshed by cloning CRP2 instance. I used FNDLOAD to download the settings for my custom menu, function and form settings into LDT files. Also copied custom form FMB file.
    I uploaded my setting for menu, function and form from LDT files using FNDLOAD on the DEV1 instance (refreshed DEV) and copied FMB file to custom top location and regenerated the FMX using frmcmp_batch command. The FMX is created successfully.
    Now when i am opening this form, the form appears but the controls/items on the form are not appearing correctly.
    I tested the same form on an another instance TST (cloned vision instance) using the same process i did on DEV1 instance then there it is displaying correctly but not on DEV1.
    Can anybody help..
    Thanks
    Farrukh

    Farrukh,
    This forum is for general Oracle Forms questions. Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • CUSTOMIZED BENEFITS ENROLLMENT FORM NOT PRINTING PROPERLY

    Hi there,
    I customized the benefits enrollment form HR_BEN_ENRO and I am trying to print the form in HRBEN00CEWB but only the first page is printing and not all the plans are showing up even if th employee is enrolled in more than one plan.I dont know on what basis its getting the information and showing up.When I do a print preview of the form in SE71 the form shows up all the pages but when i goto transaction HRBEN00CEWB its not printing all the pages.Its just printing the first page even in print preview.i didnt modify the standard program.I modified the form and assignmend to the print program in the config.Any solutions??Please help
    Karthik.

    May be because the Main window is placed halfway in the second and third page. If you are using a single page may be you have restricted other windows by specifying conditions "only on first page".
    To rectify this you can copy the first page into second page and altering the position of the main window. Now assign the next page of first page as second and next page of second page as second page itself.
    Revert back if you have doubts.
    Regards
    Karthik D

  • Custom reports in R12 not returning any data

    I'm seeing an issue of custom reports in R12 not returning any data. So far what I've been able to dig into is that the report query itself is referring to APPS synonyms that are secured under MOAC. What I am able to do is run the query in SQL Developer after having run mo_global.set_policy_context and I receive the data I'm looking for. This is not the case when running the report through the concurrent programs request.
    Secondly, I've also configured the concurrent program request to run as single operating unit mode. This aided in fixing any issues with LOVs on the parameter form. However, still no results from the report itself. I've also searched around quite extensively and added a P_CONC_PROGRAM_ID user parameter in reports developer, as well as adding SRW.USER_EXIT('FND SRWINIT') to the before report trigger and SRW.USER_EXIT('FND SRWEXIT') to the after report trigger as well. No luck. I've also tried running mo_global.set_policy_context on the before report trigger and no such luck.
    Has anyone seen similar issues with this and could shed some light? At this point, the workaround I would see is to just change the query to use respective all tables and match up against the orgid, but I'd rather not do that.

    I am facing exactly the same issue with 2 of my custom Reports in R12.1.3. We did our level best to find out the issue. It was always a hit and trial fix.
    But the following were our observations and workarounds
    0) The reports Conc Prog were in MOAC - Single mode. Both the reports had SRW INIT, EXIT and P_CONC_REQUEST_ID
    1) The reports which caused the issues[NO data fetched for MOAC] had multiple Queries in the data model and one Query fetches data and the 2nd one doesnt. Both the queries when run from SQL developer after setting the org gave results.
    Workaround for Report1
    a) We deleted the data link connecting the 2 columns in both the queries and added a bind variable instead in the 2nd /child query to refer to the column in the parent query and linked the 2 groups.
    Workaround for Report 2
    a) In report 2 the queries were not linked to each other. Only one query used to return results and the 2nd one returned 0 rows. The workaround was to use the "where" conditions as lexical parameters after having set the value for the same in before report trigger.
    Both the work around looks illogical. Still It worked..!
    Thanks
    Biju Radhakrishnan

  • Redirect to a custom error page when Forms Server shuts down

    Hi,
    I want the forms application to redirect to a custom error page whenever Forms Server goes down. (like network issues, unscheduled shutdown...) Whenever this happens, the user gets a pop up with FRM messages and user has to acknowledge the pop up. Since the application is used in the shop floor, there will not be any user always in front of the screen and will be a very big issue as there are at least 70-80 PC's on the floor which will be attended fewer times(only when there is issue with the machine) other wise the application displays important events of the machine,etc.,
    I am trying to develop a simple HTML error page(may be with applet) which will keep querying the forms server and once the forms server is up and running, the error page will revert back to the application which the user was working earlier to shutdown. Other option is the redirect to main menu of the application (this may be a PSP or a JSP or a Oracle Forms Menu ).
    Is there any event in forms to capture the loss of connection to forms server ??
    BTW, I am using Oracle Application Server 10g Forms and Reports on Windows 2000 Server...
    Any ideas...
    Thanks in advance
    Purush

    I don't think it will be easily possible in Forms for a couple of reasons.
    1. In Forms you do not have query rights, and as soon as you want to edit data, you have to log in. In Forms you log in once, and this sets your rights for the whole session. You will have to do some programming in Forms to achieve what you want. E.g. as soon as you hit the Save button you are asked for a username and password.
    2. A refresh cannot be done in Forms. Remember that Forms is a Java applet. The URL in the browser is just pointing to the startup page only. If you refresh your screen, you are taken back to the login screen of Forms again.
    Well, there will probably be ways around these problems. I'm thinking in the line of calling every form in a separate URL instead of starting a Forms application where one form is called from another form. The default 'query only' form can be called from a startup html page. This page can be refreshed. As soon as the user wants to update data, he clicks on a link or button and is taken to a login form.
    If the refresh is unsuccessful you are taken to a custom error page, like in your ASP application.
    A problem with an automatich refresh may be hanging sessions. Forms server does not always kill sessions.
    And also, how would you avoid a refresh if a user is currently using the form?

  • Customer Exit - Fill variable depending on query view name

    Hi
    We're running BW 7.0
    We have a query which is used for broadcasting and as well for user input. That's why we have a variable which is default filled by a customer exit. This variable is the week and is default filled: fist week of year up to actual week.
    But now we have for the same query different selection requirenments.
    The same query should be send by email with
    - first week of year up to actual week
    - previous week
    Because of dynamic variables the calweek needs to be filled by customer exit and worked until now fine - until a second requirenment was coming (separat broadcast only with previous week).
    I don't like the idea to copy the query because of maintenance work.
    I'd like to have several views - and depending on the view name etc. I would fill the customer variable. But I don't get the query view name into customer exit - right?
    Do you have any other ideas?
    How do you handle such requirenments?
    Thx
    Roger

    Hi Helder,
    I understand your requirement but I don't understand the solution you are using. I think it's a bit tricky.
    What I would do is:
    Create three variables:
    - VAR1: Single value, mandatory, ready for input, customer exit. Used to store "User input date"
    - VAR2: Select option, customer exit, not ready for input. Used to store Valid From restriction.
    - VAR3: Select option, customer exit, not ready for input. Used to store Valid to restriction.
    Then, use this code:
    WHEN 'VAR2'.
    IF I_STEP = 2.
    READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE
    with key VNAM = 'VAR1'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'LE'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    WHEN 'VAR3'.
    IF I_STEP = 2.
    READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE
    with key VNAM = 'VAR1'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'GE'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    I think this should work, and you'll have three independent variables used for one purpose each.
    Hope this helps.
    Regards,
    Diego

  • I added a custom field into my form in BC but it wont render.

    I added a custom field into my form on BC but I cannot get it to show up whhen I preview it. Does anyone know why this is happening?

    Check out this http://ellenmemorialhcc.businesscatalyst.com/contact-us.html  In this site I am just trying to add a 4 checkboxes. I have tried previewing it and everything and it will not make the changes. How do i get these checkboxes to show up on my site. I found where in business catalyst to access them and I enabled those features in BC but i cannot figure out how to get this to show up live on my business catalyst site.

Maybe you are looking for

  • IPhone 6 Trade-In Promotion Code That Works

    Okay, loads of posts about not getting the promotional amount and so on. I am in the same boat EXCEPT I haven't shipped my old iPhone back yet. I have been on the phone with Verizon three times trying to figure out how to get the trade-in page on the

  • Audigy 4 - 7.1 .. & 5.1 inspi

    Hi, am not a techy but here goes.. I have an Audigy4 7. card cost loads :-s i can't afford speakers yet.. So I have got to use my Creative Enspire 5. speaker set. the sound quality and everything is great, i am very happy with my card :-) ..but I can

  • Suppress zero in grid

    Hi Experts, is there a way to suppress zeros values with Grid object? thanks Paolo

  • Application Flash Lite version - Adobe Mobile Packager

    After I open a new packager project, Application Flash Lite version is not able to selected. It sets 3.1 as default version of flash lite. How can I make that enable and pick the version of flash lite I would like ?

  • Confusion about number datatype size

    I created following table, in which i determined the size of field 100. As I have study in a book it is given that range of ora number dt is 84 to 127, but here it doesn't work and it yield following error number ORA-012727._ I am unable to understan