Current VO row is empty for flexfield

I am implementing "Address Location" DFF and I am getting the below error message when testing.
Current VO row is empty for flexfield
I made sure that the VO is initialized. Populated the VO instance and segment list too
vo.setMaxFetchSize(0);
vo.executeQuery();
vo.insertRow(vo.createRow());
OARow row = (OARow)vo.first();
Any suggestions?

hi,
Please share more details and put some SOPs to check values for OARow row = (OARow)vo.first(); and other places.

Similar Messages

  • Highligh current row not working for classic report in 4.1

    Hello experts,
    One of our customers is migrating applications from APEX 3.0 to 4.1.
    All their applications use classic reports because interactive reports didn't exist in 3.0.
    The end users of the applications like the row color changing when they hover there mouse over the rows (highlight current row) and they insist on keeping this "functionality" in the applications.
    For some reason, this "functionality" doesn't work anymore after the migration to APEX 4.1.
    I thought it was something theme related so I created a new application with a classic report, tried some APEX built-in themes, and with none of them, I manage to get the highlight current row working.
    For interactive reports it is not an issue.
    Is this an undocumented no-longer-available feature of APEX 4.x or has there changed something which caused this functionality to stop working??
    Regards,
    Bart

    Hi,
    I created a service request for this issue, and the support analyst that helped me confirmed that this is a bug:
    "I have created the bug :
    Bug 13584762 - ROW HIGHLIGHTING NO MORE WORKS IN CLASSIC REPORT IN APEX 4.1
    While working on the problem , I have found the following solution in order to make the Row HighLightng work in APEX 4.1
    In the apex_4_1.min.js (file located in images\javascript ) , Search for :
    function setRowHighlight(a){apex.jQuery("#report_"+a+" .highlight-row").live("hover",function(b)
    and replace "hover" by "mouseover mouseout" :
    After the modification :
    function setRowHighlight(a){apex.jQuery("#report_"+a+" .highlight-row").live("mouseover mouseout",function(b)
    A refresh in the browser may be necessary in order to "reload" the file apex_4_1.min.js"
    I implemented the suggested workaround and this solved the problem!
    HTH,
    Matthias Hoys

  • How to avoid submitting a page when tabular form rows are empty

    Hi,
    I have a master detail form in my application. There are 2 tables that are used Table A and Table B. Table A contains Ticket number and Table B refers to Table A through a foriegn key and Table B have columns like Date,Name, Age, ticket_id (that refers to the ticket_number of the Table A).
    This is how the application works:
    In a page there is a field for Ticket Number, once the user enters the Ticket Number and click Add Details, a tabular Form with 5 empty field appears... (Done through Page Process->Data Manipilation->Add Rows)
    This form contains fields Date, Name and Age. Once the user fills in all the details and click Submit button, the page is submitted. Whatever values that was entered is saved in Table B. Page Sucess message appears. This works fine.
    But once the Ticket Number is entered and Add Details is clicked, and without entering the values in the Tabular Form, if Submit button is clicked, there is no error showing up neither I see Page success message. But this should not be allowed. There should be some error showing up...
    Tabular Form Validations works only when user enters some values in the Tabular Form and click Submit. For the above scenario, where the form is untouched the validation doesnt work.
    How can I get this done? Any ideas?

    Hello Suzi,
    >> if (document.wwv_flow==null)
    The document.wwv_flow is an object representing the current form that was just rendered on your screen. As such, it can never be null.
    >> How to avoid submitting a page when tabular form rows are empty
    The correct way, especially for versions prior to APEX 4.0 is to use JavaScript, but for that, you need to know and understand how APEX generates your tabular form, HTML wise.
    To be very brief, APEX attached a unique ID to every updatable cell in the tabular form, using a certain pattern – each updatable column is getting a unique name (e.g. ‘f01’,’f02’ etc.) and the ID of a cell is a combination of this name with the serial row number the cell is on. For example, a cell on the third row in an updatable column called ‘f04’ will be given an ID of f04_0003. (More detailed explanation, with an example, can be found in my book).
    What you should do is to check these cells according to your validation policy (e.g. is all five row must be filled, is all the columns in a specific row must be filled, etc.).
    Regards,
    Arie.
    ♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    ♦ Author of Oracle Application Express 3.2 – The Essentials and More

  • Number of currently displayed rows in report with pagination?

    Maybe I'm thinking to complicated, but ...
    In my report I use the HTMLDB_ITEM.CHECKBOX function in order to display a checkbox for each row:
    HTMLDB_ITEM.CHECKBOX(1,"ID",NULL,:P311_ASSIGNED,':') " "
    Some of the checkboxes are selected depending on whether there is an entry for them in a database table.
    As the report returns hundreds of rows, I use pagination (e.g. 15 rows per page).
    After checking/unchecking the checkboxes and submitting the page by clicking the save button, I want to do the following: For each row CURRENTLY DISPLAYED on the screen (1) check, whether its checkbox is currently checked or not (2a) If it is checked and there is not yet an entry -> add row to the db table (2b) If it is unchecked and there is an entry in the db table -> remove row from db table.
    How can I, on the server side, find out which rows (row ids) are currently displayed (using pagination), so that I check each of the currently displayed row ids for their existence in the database table? Is there any item stored on the server side, which tells me the row number of the first row currently displayed? Is there an item I can refer to, which tells me the amount of rows, which are displayed on one page?
    Your help would be very much appreciated!
    Konrad

    Hi Konrad,
    I will jump in. :-) Just have a few minutes before a meeting.
    I think you don't have to make it that complicated, where you have to know the current pagination.
    1) Your HTMLDB_ITEM.CHECKBOX has to contain as checked value #ROWNUM# as the row selector would do it.
    2) You have to create a hidden item where you store your customer id
    3) create another hidden item where you store if the customer has already the assignment
    4) In your process you are now able to loop through your arrays.
    DECLARE
        vRowNumber BINARY_INTEGER;
        vFound BOOLEAN;
    BEGIN
        -- insert new event assignments
        FOR ii IN 1 .. WWV_Flow.g_f01.COUNT -- your checkbox
        LOOP
            vRowNumber := WWV_Flow.g_f01(ii);
            -- no assignment yet?
            IF WWV_Flow.g_f03(vRowNumber) IS NULL -- your hidden field where you store if you have an assmnt
            THEN
                INSERT INTO xxx VALUES (WWV_Flow.g_f02(vRowNumber)); -- your customer id
            END IF;
        END LOOP;
        -- delete old event assignments
        FOR ii IN 1 .. WWV_Flow.g_f03.COUNT -- your hidden field where you store if you have an assmnt
        LOOP
            -- only if the event was already assigned
            IF WWV_Flow.g_f03(ii) IS NOT NULL
            THEN
                vFound := FALSE;
                FOR jj IN 1 .. WWV_Flow.g_f01.COUNT -- your checkbox
                LOOP
                    -- is the event still checked?
                    IF WWV_Flow.g_f01(jj) = ii
                    THEN
                        vFound := TRUE;
                        EXIT;
                    END IF;
                END LOOP;
                IF NOT vFound
                THEN
                    DELETE xxx WHERE CUSTOMER_ID = WWV_Flow.g_f02(ii);
                END IF;
            END IF;
        END LOOP;
    END LOOP;Haven't tested the code, but I think it should show the idea.
    Hope that helps
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com

  • Current Header Rows Not Appearing on FBL1N - A/P Detailed Line Item Report

    Our A/P staff somehow turned off the header rows at the top of the FBL1N report.    The rows contain the various variables related to the report such as vendor name, vendor address, city, state etc.
    Does anyone know how I can change the report so that these variables once again appear on the report?
    Thanks,

    Michael,
    Do you mean that you can not access via the following link?
    http://service.sap.com/notes
    Well, if this is your case, I will copy note 181592  here since there is only text information and not code correction. I am sorry but the format is not good, but I think this note will help you to insert header again.
    If this note does not help you, let me know and I will check the other notes that I have provided.
    Please kindly check the note text below:
    Best Regards,
    Vanessa Barth.
    ==============================================================
    SAP Note No. 181592                          20.01.2009           Page 1
    Number              181592
    Version             6 from 03.03.2000
    Status              Released for Customer
    Set on              02.03.2000
    Language            EN
    Master language     DE
    Short text          Line item: Setting-up the headers
    Responsible         Christian Auth
    Component           FI-GL-GL-D
                         Reporting/Analysis/Display
    Long text
    Symptom
    You want to display information in the headers or change information
    preset in the headers for the following: line item display for vendors,
    G/L accounts customers or customer information on an account.
    Additional key words
    Program RFITEMAP, RFITEMGL, RFITEMAR, Transactions FBL1N, FBL3N, FBL5N,
    layout variants, layout headers
    Cause and prerequisites
    You are not familiar with the option of individually setting header
    information or how to use maintenance transactions.
    Solution
    1.  Overview
         In the line item report you can display information in the header of
         the list (given that this information is equal for all items
         displayed).
         For example, a customer accounts clerk wants to display the
         following data in the header: account number and name of the
         customer, name and telephone number of the responsible accounting
         clerk for the customer, current date.
         You can use information taken from the account master data. General
         variables like the time and date are also available.
         The following describes how you can set up the layout of header
         information yourself. A header layout is always assigned to the
         particular display variant of the list which you set on the bottom
         of the selection screen or which you can choose using CTRL+F9 on the
         display ('Choose' button). You can therefore personalize the header
         layout as well as the remaining display layout.
         The header layout is output if the account number group is changed,
         if the list has been sorted according to the 'Account' field, and if
         a page break has been set for this field. You can maintain these
                                                                       Page 2
            settings under the menu option Edit -> Subtotal (Ctrl+F1).
         2.  Setting up the headers
             Choose from the menu
             Settings -> Display Variant -> Current header rows
             You now see rows in which you can arrange variables. Using the
             pushbuttons in the function bar, you can create or delete rows.
             When you position the cursor at the start position and choose
             function "Gen. variables" (Shift+F5) or "Characteristics..."
             (Shift+F8) a new variable is positioned in the header area. From the
             following dialog box, you can choose the variable (also called
             characteristic) from an inventory.
             Under "Text type", you determine whether the label for the variable
             (for example, the label 'Customer') or if the value itself should be
             used (that is, the appropriate customer number for the items
             displayed in each case). You can display pairs as follows:
             <Label>: <Value>
             for example,
             Customer: 47110815
             If the value is a key for a short or long text (either a name or a
             description), you can also select this under "Text type".
             After selecting and positioning the characteristics, save and return
             to the list. The headers are displayed immediately with correct
             values so that you can check your results right away.
         3.  Save the list variant
             Choose "Save" (Ctrl+F12) in the list. In the following dialog box,
             you can enter a name and a label for the list variant that will be
             stored together with your header layout.
             Note that general variants visible to every user have a name
                                                                           Page 3
           starting with the character '/'. User-specific variants on the other
           hand must begin with a letter and are only visible to you.
           Standard variants delivered by SAP in general start with a number
           and have preconfigured headers. You cannot change the SAP variants,
           but you can use them as template for your own enhancements, which
           you can store under another variant name.
       Valid releases
       Software Component                        Release
                                                 from            to
       SAP_APPL
            SAP Application
                                                 46C          - 46C
                                                 46A          - 46B          X
       Further components
       FI-AP-AP-D
        Reporting/Analysis/Display
       FI-AR-AR-D
        Reporting/Display/Credit Management
       Reference to related Notes
       Number    Short text
       306225    Line item: page break when printing lists
       213144    Line item: Header information disappears
       181697    Line item: Header information is missing

  • Re: Getting the current selected Row & column in adf table

    Hi,
    Our requirement is we have to retrieve both the current row and column in adf table.
    We can retrieve the current row in the backing bean like
    ViewObject view = getViewObject();
    view.getCurrentRow();
    Is it possible to retrieve selected column id or column header text as we are getting for row?
    please give some sample.
    Thanks,
    Vijay.
    Edited by: Vijayakumar Palanisamy on Jun 23, 2011 2:23 AM

    Hi John
    My exact requirement,
    1.     We have collection of records in adf table
    2.     Each cell in the row has commandImageLink (Like adding approver, edit approver, delete etc)
    Currently it’s working fine for me in the commandImageLink listener, but the problem is table is refreshed 2 time,
    while selecting a record and commandImageLink is clicked, I have to avoid 2 times refreshing,
    If it’s possible to identify a particular cell in the row selection, I can avoid the image link listener.
    we are using Jdeveloper11.1.1.4.0
    Please suggest.
    Thanks,
    Vijay

  • Row level Security for BI Author Role

    Hi All,
    We are using OBIEE 11.1.1.5 in our project. We have a requirement where we need to configure row level security on certain column.
    We are currently using external table and session variable approach to configure this. This security works fine for the users with BI Consumer
    roles. But we are facing issue with configuring row level security for BI Author role.
    BI Author can create any analysis in BI Answers and suppose he/she creates a report which does not contain the column on which row level
    security is applied than he can see all the data. For eg.
    We have one dimension Products having two levels Product Division and Brand. I want to configure security based on Product Division column.
    But if BI Author create a report with only Brand and Measures than row level security is not working.
    Does anyone has face this issue before.
    Please let me know if you want any other information from my side.
    Regards,
    Vikas

    If you are using a multidimensional cube you can use the "permit" command to control access to dimension members or provide cell level security within the cube. The OLAP database documentation provides on how to use the PERMIT command.
    If you are using relational tables and/or views with additional CWM metadata mapped using OEM then you need to refer to the database documentation relating to Virtual Private Databases and Label Security
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • FBL5N - Current Header Rows

    hi,
    I want to know from where the header details are getting displayed in fbl5n (Choose Settings -> Layout -> Current Header Rows -> Characteristics).
    I'm not interested in line Items (the structure RFPOS & RFPOSX) but customer line
    E.g. in KNA1 there is the field NAME3, which is not available in header
    regards

    Hi,
    Please check the structure RFPOSXEXT for the output display and it is actually using the fm FI_ITEMS_DISPLAY.
    Regards,
    Venkat Appikonda

  • Show rows with empty values

    Hello,
    We are creating a cross tab report, with products as the columns, and relationship managers with direct and shared revenue displayed across the rows.
    For Eg
    Relationship Manager    Coverage         Product1   Product2   Product3   Product4
    Bob                                Direct                 100,           0,               35,            50
                                          Shared                0,              0,               15,            0
    Alex                               Direct                  15,            25,             40,            10
                                          Shared                5,              0,               5,               0
    George                          Direct                  0,               0,              0,               30
                                          Shared                0,               0,              0,               5
    The problem lies when either one of the products has no values, or one of the relationship managers has no direct or shared revenues. If one of the products has no revenues, it disappears, and also when one of the RMs has no direct or shared revenues, the Direct or Shared row disappears.
    I have tried to create a second query just included the Coverage variable, and using this variable in Query 2 with the RM variable from query 1, along with checking the "Show Rows with Empty Measure values", "Show Rows with Empty Dimension Values" and "Show when empty", but it still does not appear to work.
    It only shows rows with values in them, and shows the rows with empty values at the end with no RM.
    I have not tried to solve for empty columns yet.
    Help with this would be much appreciated!!!!!!!!
    Thank you

    Hi ,
    I think you can resolve this issue following ways ,
    you need create another query  ( Ex :Qauery2 ) add Product object and RM (Direct,shared) object only without  conation. So now query2 result wil have all product and RM(Direct,shared).
    Merge the Product object and RM  between query1 and query2
    Now create table using Product and RM from query2 and measure value from query1.  Now you will get row even there is no data.
    If you want try this sample report using efasion unvierse.
    1) Add year ,state and Discount objects  and apply condition Year Not in list "2004"  and state Not in list "California "
    2) run this query and create the cross tab table . Now you will not get 2004 column  and California row in table.
    3) Create query2 add Year and State only without any condition , run the query. Now query 2 will display all state and year .
    4) Merge the column Year and State between query1 and query2
    4) Create the cross table ussing Year and state from query2 and Discount from Query1
    Now cross table will show 2004 and California ,even there is not in query 1.
    I hope this will help you.
    Ponnarasu
    Edited by: ponnarasuk on Dec 7, 2011 12:48 PM

  • Transpose a column to a row in Numbers for IOS

    I want to transpose a column to a row in Numbers for IOS, and none of the usual formulas are working. Any thought?

    In Numbers '09 (the current Mac OS X version) the formula below will transpose rows and columns. The transposition is to a second table, and transposes entered data and the results of formulas.
    =OFFSET(Table 1::$A$1,COLUMN()-1,ROW()-1)
    If this solution does not work in Numbers for iOS, I'd suggest reposting in the iWork for iOS community. This area is for Numbers for Mac OS X topics.
    Regards,
    Barry

  • We can able to load master data through manually FIRST ROW IS EMPTY

    Hi,
        we can able to load master data through manually without loading but in that screen where we we type the data FIRST ROW IS EMPTY.PLZ tell me why that is empty

    Becasue SAP BW already creates a Blank Line, it cannot create a new one again for you.
    So, when you loaded the Blank like with description, it uses the existing blank line and creates test for it.
    Each row in the table will have a SID.
    e.g.,
    12345 text1
    23446 text2
    You cannot have
    12345 text1
    12345 text2
    If you load the above, you will have "12345 text2" in the table.
    Same way, you cannot have two SIDs for the same key, so your new text is used for the existing Blank Key value.
    SAP creates this:
    Key, Description
    when you loaded the Master Data, you have:
    " ", "whatever you loaded".
    Edited by: Ananda Theerthan on Apr 27, 2010 7:03 AM

  • Highlighting currently selected row in a Report-Form page

    Hi,
    I have a page with Report - Form layout. On the top of the page there is a classical report (not IR). When the user click a row then I display a detail form below it. It would be nice if I could highlight the row the user clicked last time, to indicate to which row the detail data below the report belongs to. Did any body do something similar?
    Regards, Tamas

    It's relatively simple to achieve this&mdash;without JavaScript&mdash;using a named column report template and CSS:
    http://apex.oracle.com/pls/apex/f?p=34839:27:0
    We'll assume a page item (or items) already exists for receiving the master row primary key value(s). In the example this is P27_DEPTNO. Give the master report region a static ID for use in CSS selectors. Here this is department.
    If the master primary key value(s) are used as links in the report, then [column link] columns need to be created to replace them in the report attributes.
    Create a named column report template as required by your report query, including an HTML ID attribute for the report row element that contains column references to the primary key value(s). Replace column references in the row template for any primary key link columns with the [column link]s created previously. In the example, [column link] (ref #4#) replaces DEPTNO (ref #1#) as we need to reference the original DEPTNO value in the row ID:
    Row Template
    <tr id="dept-#1#">
      <td class="t17data">#4#</td>
      <td class="t17data">#2#</td>
      <td class="t17data">#3#</td>
    </tr>We then just need to use the selected P27_DEPTNO value via substitution in a page HTML Header to create a descendant selector that will apply a highlight to the cells in the currently selected row (along with some others to make it easier to select the row):
    CSS
    <style type="text/css">
    /* Make the whole table cell a link target */
    #department td {
      padding: 0;
    #department td a:link {
      display: block;
      padding: 2px 8px;
    /* Universal Selector sucks */
      font-size: 9pt;
    /* Highlight the selected row */
    #department tr#dept-&P27_DEPTNO. td {
      background-color: #eee;
    </style>

  • Af:table: copy values of currently selected row to other attribute bindings

    Hello,
    I'm using JDev 11g.
    Copying a value from one attribute value binding to another one is easy when you are clicking a button, with a setActionListener:
    <af:setActionListener from="#{bindings.SourceField.inputValue}" to="#{bindings.DestinationField.inputValue}"/>What I want to do is the same behaviour, but instead of clicking a button, the triggering event should be the selection of a row on an af:table. The source field is a column of the currently selected row. The destination is another attribute value binding outside of the table.
    Jspx:
    <af:table value="#{bindings.EmployeesView1.collectionModel}" var="row">
      <af:column ... >
        <af:inputText value="#{row.bindings.SourceField.inputValue}" ... />
      </af:column>
    </af:table>
    <af:inputText ... value="#{bindings.DestinationField.inputValue}" />
    ...Page Def:
    <bindings>
      <tree IterBinding="EmployeesView1Iterator" id="EmployeesView1">
        <nodeDefinition ... >
          <AttrNames>
            <Item Value="SourceField"/>
          </AttrNames>
        </nodeDefinition>
      </tree>
      <attributeValues IterBinding="EmployeesView1Iterator" id="SourceField">
        <AttrNames>
          <Item Value="SourceField"/>
        </AttrNames>
      </attributeValues>
      <attributeValues IterBinding="SomeOtherIterator" id="DestinationField">
        <AttrNames>
          <Item Value="DestinationField"/>
        </AttrNames>
      </attributeValues>
    </bindings>What needs to happen in this simplified case is everytime a row is selected in the table, the value of the SourceField column (that also has an attribute value binding) should be copied to the DestinationField of some other iterator. Analogous to the setActionListener, but without a button. And in the real case, there are more columns of the selected row that need to be copied to more fields.
    How can this be done? I already created a custom selectionListener for the table in a backing bean. In this selectionListener, the first thing I do is call the default "#{bindings.EmployeesView1.collectionModel.makeCurrent}". Then I fetch the current row, which is also no problem. So I now have access to the value of SourceField in my selectionListener in the backing bean. The only thing that is left now is copying this value to the "#{bindings.DestinationField.inputValue}" in Java, and that's where I'm stuck. :-)
    Or even better ofcourse, is there a declarative way to do this without Java code?
    Help would be greatly appreciated!
    Chris

    Hi Chris,
    You should be able to use this utility method from JSFUtils class (part of FOD)
        public static void setExpressionValue(String expression, Object newValue) {
            FacesContext facesContext = getFacesContext();
            Application app = facesContext.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = facesContext.getELContext();
            ValueExpression valueExp =
                elFactory.createValueExpression(elContext, expression,
                                                Object.class);
            //Check that the input newValue can be cast to the property type
            //expected by the managed bean.
            //If the managed Bean expects a primitive we rely on Auto-Unboxing
            Class bindClass = valueExp.getType(elContext);
            if (bindClass.isPrimitive() || bindClass.isInstance(newValue)) {
                valueExp.setValue(elContext, newValue);
        }edit... just realized you need this too
        public static FacesContext getFacesContext() {
            return FacesContext.getCurrentInstance();
        }John

  • Data Entry Layouts - Rows not ready for inputs - Multiple records

    Hi,
    I have created a simple layout using a predefined simple structure for rows (FS Items) and a data driven one for columns (for the period value in LC).
    Some cells show some data in them and are not available for input because there are multiple transaction records behind the numbers.
    The transaction records share the same breakdowns except for the Currency Translation Indicator (it is empty for original records and shows '1' for records created during currency translation) and the currency key for transaction currency (sometimes it is empty).
    It would be much appreciated if you let me know a way to introduce new data with layouts for FS Items (accounts) which already have transaction records.

    Hi Roberto,
    Data may not be ready for input because of different reasons. The most I met were - you didn't expand the rows structure until the leaves (not nodes) or you marked the column as display only.

  • Current Header Rows from FBL5N in custom report

    Hi,
    If you go to transaction FBL5N into settings -> Layout -> Current Header Rows, you're able to change the header outputs at the top of each ALV List. I'm trying to do the same with my custom report, but when I go to settings -> Layout, I dont have the option to choose current header rows. How can I add this feature to my custom program?
    Thanks in advance,

    Hai JJ,
    Here u can full the data in Vendor master record in Payment Transaction u can fill the data like Cityn, Bank key and Bank account, and one payment transaction in code code data here also u can maintain House Bank then execute the FBL1N definetly system showing the House bank.
    Regards
    Madhu I

Maybe you are looking for