Table format inserting incorrectly

I am using JHeadstart version 10.1.3.0.91 to create a wizard application. On one of the pages I have a table list of rows. These rows will be populated by a select statement ie by using a method in the Appplication Module Class which set the row status to STATUS_INITIALIZED by calling method setNewRowState.
eg
rs = pstmt.executeQuery();
XxRegExemptionsVOImpl exemptionVO = getXxRegExemptionsVO();
Row row;
while (rs.next()) {
String id = rs.getString("id");
String details = rs.getString("exemption");
row = exemptionVO.createRow();
row.setNewRowState(ViewRowImpl.STATUS_INITIALIZED);
row.setAttribute("Paper", id);
row.setAttribute("Details", details);
row.setAttribute("ExemptionCheckbox", Boolean.FALSE);
row.setNewRowState(ViewRowImpl.STATUS_INITIALIZED);
exemptionVO.insertRow(row);
//row.setNewRowState(ViewRowImpl.STATUS_INITIALIZED);
This is then called by an executable in the page def. The field ExemptionCheckbox is an updatable transient created in the VO of type boolean. On my screen i have a list of records in table format with checkbox for each row. If i check a checkbox then the record should be inserted into the target table when i click on the save button.
The problem is the first record is always inserted into the database table no matter whether it is checked or not. This works ok for all the other records based on their checked status.

Hi Steven
I do not really understand your response. My problem is i need to insert multiple rows into a table. The form is based on the target VO. The one i want to insert values into. To this end I prepopulate the target VO with the records to be listed on the page. See code included above. The status of the row is set to ViewRowImpl.STATUS_INITIALIZED. When a checkbox is selected
for a record the status will be updated causing the record to be inserted into the database. (I am using the wizard and this page is in the middle of the process.ie page 5 of 10).
The problem is the first row is always inserted no matter whether it is selected or not. I have no code after the initial insert specified above in this thread. Your response talks about code that iterates through the VO. This is not something i do.
It seems like a bug. However if you have an alternative method to achieve the same result i would be most oblidged.

Similar Messages

  • Using Pages, I have created a document and inserted a Table for use in logging an inventaory. When I came to print this off however the lines for the table were missing but the text was in the Table format, weird! How do I print the Table?

    Using Pages, I have created a document and inserted a Table for use logging an inventory. When I came to print this document the lines and boarders of the Table feature did not print however the text did print in the table format. How do I get the lines and boarders to print also?

    Using Pages, I have created a document and inserted a Table for use logging an inventory. When I came to print this document the lines and boarders of the Table feature did not print however the text did print in the table format. How do I get the lines and boarders to print also?

  • Search in Nested Tables and Insert the result into new Nested Table!

    How can I search in Nested Tables ex: (pr_travel_date_range,pr_bo_arr) using the SQL below and insert the result into a new Nested Table: ex:g_splited_range_arr.
    Here are the DDL and DML SQLs;
    Don't worry about the NUMBER( 8 )
    CREATE OR REPLACE TYPE DATE_RANGE IS OBJECT ( start_date NUMBER( 8 ), end_date NUMBER( 8 ) );
    CREATE OR REPLACE TYPE DATE_RANGE_ARR IS TABLE OF DATE_RANGE;
    DECLARE
       g_splited_range_arr   DATE_RANGE_ARR := DATE_RANGE_ARR( );
       g_travel_range        DATE_RANGE := DATE_RANGE( '20110101', '99991231' );
       g_bo_arr              DATE_RANGE_ARR := DATE_RANGE_ARR( DATE_RANGE( '20110312', '20110317' ), DATE_RANGE( '20110315', '20110329' ) );
       FUNCTION split_date_sql( pr_travel_date_range    DATE_RANGE,
                                pr_bo_arr               DATE_RANGE_ARR )
          RETURN DATE_RANGE_ARR
       IS
          l_splited_range_arr   DATE_RANGE_ARR;
       BEGIN
          SELECT start_date, end_date
            INTO l_splited_range_arr(start_date, end_date)
            FROM (WITH all_dates
                          AS (SELECT tr_start_date AS a_date, 0 AS black_out_val FROM TABLE( pr_travel_date_range )
                              UNION ALL
                              SELECT tr_end_date, 0 FROM TABLE( pr_travel_date_range )
                              UNION ALL
                              SELECT bo_start_date - 1, 1 FROM TABLE( pr_bo_arr )
                              UNION ALL
                              SELECT bo_end_date + 1, -1 FROM TABLE( pr_bo_arr )),
                       got_analytics
                          AS (SELECT a_date AS start_date,
                                     LEAD( a_date ) OVER (ORDER BY a_date, black_out_val) AS end_date,
                                     SUM( black_out_val ) OVER (ORDER BY a_date, black_out_val) AS black_out_cnt
                                FROM all_dates)
                    SELECT start_date, end_date
                      FROM got_analytics
                     WHERE black_out_cnt = 0 AND start_date < end_date
                  ORDER BY start_date);
          RETURN l_splited_range_arr;
       END;
    BEGIN
        g_splited_range_arr := split_date_sql(g_travel_range,g_bo_arr);
        FOR index_g_splited_range_arr IN g_splited_range_arr .FIRST .. g_splited_range_arr .LAST LOOP       
            DBMS_OUTPUT.PUT_LINE('g_splited_range_arr[' || index_g_splited_range_arr || ']: ' || g_splited_range_arr(index_g_splited_range_arr).start_date || '-'  || g_splited_range_arr(index_g_splited_range_arr).end_date );
        END LOOP;
    EXCEPTION
       WHEN NO_DATA_FOUND
       THEN
          NULL;
       WHEN OTHERS
       THEN
          NULL;
    END;Or can I create a VIEW with parameters of Nested Tables in it so I can simply call
    SELECT  *
      BULK COLLECT INTO g_splited_range_arr
      FROM view_split_date(g_travel_range,g_bo_arr);

    @riedelme
    For your questions:
    1) I don't want to store in the database as a nested table
    2) I don't want to retrieve data from the database. Data will come from function split_date() parameter and data will be processed in the function and function will return it in nested table format. For more detail please look at the raw function SQL.
    I have a SQL like:
    WITH all_dates
            AS (SELECT tr_start_date AS a_date, 0 AS black_out_val FROM travel
                UNION ALL
                SELECT tr_end_date, 0 FROM travel
                UNION ALL
                SELECT bo_start_date - 1, 1 FROM black_out_dates
                UNION ALL
                SELECT bo_end_date + 1, -1 FROM black_out_dates),
         got_analytics
            AS (SELECT a_date AS start_date,
                       LEAD( a_date ) OVER (ORDER BY a_date, black_out_val)
                          AS end_date,
                       SUM( black_out_val ) OVER (ORDER BY a_date, black_out_val)
                          AS black_out_cnt
                  FROM all_dates)
      SELECT start_date, end_date
        FROM got_analytics
       WHERE black_out_cnt = 0 AND start_date < end_date
    ORDER BY start_date;I want to change the tables black_out_dates and travel to Nested Array so I can use it in a function with Nested Array travel and Nested Array black_out_dates parameters and the function will return Nested Array of date ranges.
    Here is what I want in raw SQL:
        DECLARE
           g_splited_range_arr   DATE_RANGE_ARR := DATE_RANGE_ARR( );
           g_travel_range        DATE_RANGE := DATE_RANGE( '20110101', '99991231' );
           g_bo_arr              DATE_RANGE_ARR := DATE_RANGE_ARR( DATE_RANGE( '20110312', '20110317' ), DATE_RANGE( '20110315', '20110329' ) );
           FUNCTION split_date_sql( pr_travel_date_range    DATE_RANGE,
                                    pr_bo_arr               DATE_RANGE_ARR )
              RETURN DATE_RANGE_ARR
           IS
              l_splited_range_arr   DATE_RANGE_ARR;
           BEGIN
              SELECT start_date, end_date
                INTO l_splited_range_arr(start_date, end_date)
                FROM (WITH all_dates
                              AS (SELECT tr_start_date AS a_date, 0 AS black_out_val FROM TABLE( pr_travel_date_range )
                                  UNION ALL
                                  SELECT tr_end_date, 0 FROM TABLE( pr_travel_date_range )
                                  UNION ALL
                                  SELECT bo_start_date - 1, 1 FROM TABLE( pr_bo_arr )
                                  UNION ALL
                                  SELECT bo_end_date + 1, -1 FROM TABLE( pr_bo_arr )),
                           got_analytics
                              AS (SELECT a_date AS start_date,
                                         LEAD( a_date ) OVER (ORDER BY a_date, black_out_val) AS end_date,
                                         SUM( black_out_val ) OVER (ORDER BY a_date, black_out_val) AS black_out_cnt
                                    FROM all_dates)
                        SELECT start_date, end_date
                          FROM got_analytics
                         WHERE black_out_cnt = 0 AND start_date < end_date
                      ORDER BY start_date);
              RETURN l_splited_range_arr;
           END;
        BEGIN
            g_splited_range_arr := split_date_sql(g_travel_range,g_bo_arr);
            FOR index_g_splited_range_arr IN g_splited_range_arr .FIRST .. g_splited_range_arr .LAST LOOP       
                DBMS_OUTPUT.PUT_LINE('g_splited_range_arr[' || index_g_splited_range_arr || ']: ' || g_splited_range_arr(index_g_splited_range_arr).start_date || '-'  || g_splited_range_arr(index_g_splited_range_arr).end_date );
            END LOOP;
        EXCEPTION
           WHEN NO_DATA_FOUND
           THEN
              NULL;
           WHEN OTHERS
           THEN
              NULL;
        END;I must change the tables black_out_dates and travel in a way so it will be something like
    FROM TABLE( pr_travel_date_range )to get the result into l_splited_range_arr so it will be something like
              SELECT start_date, end_date
                INTO l_splited_range_arr(start_date, end_date)
                FROM (

  • New table format in FM 8?

    Why can't I define a new table format that includes static text and a static graphic in structured Frame 8? I can create a new table format, but it doesn't capture the static text that I defined. I need to create a NOTE table and a WARNING table format.

    Thank you, Russ.
    The autonumbering feature works well to set up the start of a note; for example, "CAUTION!" or "WARNING!," but I'd like to define several static notes that we use all the time. For example, "CAUTION!" Electrostatic Discharge (ESD) can damage sensitive components. Use ESD-protective devices and procedures," and autonumbering isn't designed to place long text like that. It doesn't wrap it.
    I tried to set up new table format by setting up a new icon paragraph style and a new text paragraph style (I drew a graphic frame on the reference page and placed a text box inside it and typed my long note. Then I set up a paragraph style based on that graphic frame ("frame above feature"). I then drew a two-column table, placed the icon paragraph in the first column and the graphic frame (with text) paragraph in the second column and saved it as a new table format. But when I insert that table format, I icon displays in both columns and the text is nowhere to be found.
    At your suggestion, in the EDD, I did set up some new note types in the Note element and defined prefixes for each. In my FrameMaker topic file, I then added the note element and chose the esd attribute type, for example, and got my full note text to display. However, I also would like to display an icon to the left of my notes (warning, ESD, or radiation), and I don't know if I can set up something in my prefix in the EDD to help me do that?
    graymatter

  • Table format used in the 'sums' table

    Hello,
    If you ask numbers to insert a table of the type 'sums', then a table is inserted which has a a thick white line above the last row.
    I have many tables and I would like to format them like the sum table.
    Therefore, I would like to know how I can insert a thick white line above the last row?
    Thanks,
    Sanjay

    Please open Numbers then click Help > Numbers User Guide, it contains much useful information. If after doing all that you cannot find your question or an appropriate answer to your question then by all means come back and ask your question. We'll be pleased to assist you.
    These discussions are user to user, not Apple employees answering the question. Questions will be answered as a user such as yourself finds time, desires to, or is willing to respond.
    Welcome to Numbers discussions, have fun.
    Sincerely,
    Yvan KOENIG (from FRANCE dimanche 2 novembre 2008 11:28:16)

  • Is it possible to set text and rotatation in stored table formats?

    I have a table that is a good candidate to be a table format because it will be resued many times.  The heading text will not change and some of the text is rotated, so I'd like to store that too.  Is there a way to do this in FM9?  Here's a sample of what I'm aiming for.  Any portion (text itself or rotation style) that can be set in the table format tag would be helpful.
    Thanks,
    Dave

    I'm reasobably sure that table formats can't have any text in them. Tables with formatting and canned text are one of the things I use most frequently in my Auto-Text definitions. Auto-Text is a plug-in I wrote that is useful for inserting canned items into FrameMaker documents. You can learn about it here:
    http://www.siliconprairiesoftware.com
    Steve

  • Address book report in table format

    I would like to print an address book for my planner in a table format. I can not get address book to print the information I want in a table (2 columns with several rows, dependent upon the paper size - 1/2 sheet). I have created a data base, and tried the reports, but I get one card per page instead of in a table format of several cards per page. More specifically, what I want is name, address, and general info in one columnn, and phone numbers in the other column, with several individuals on one page.
    imac   Mac OS X (10.4.9)  

    Hi bmj,
    Welcome to Apple Discussions and the AppleWorks forum.
    If your Address Book is an AppleWorks database, you've come to the right place, as this forum is for discussion of tips, techniques and issues with Apple's productivity application AppleWorks.
    But if you are asking how produce this list using the Address Book application bundled with current iMacs and other current Macs, that's outside the scope of this forum.
    I'm working on the assumption that you're using Appleworks.
    [W]hat I want is name, address, and general info in one column, and phone numbers in the other column, with several individuals on one page.
    The kicker here is going to be "General information." While each of the other pieces of information will take more or less the same amount of space in each record, the amount of "General information" will vary widely.
    While AppleWorks DB screen layouts can handle this by expanding a field to show its contents when the insertion point is placed in the field, layouts for printing do not have this flexibility the amount of space you allocate for a field is fixed when you create (or edit) the layout, and every record gets the same amount of space, whether the data leaves a large white space or fills the space (with some data hidden because it's too large).
    Given that restriction, you can set your layout up as either a Columnar report or as a Labels Layout. My preference would be the latter.
    Before doing either, I'd suggest creating two new Calculation type fields: 'Fullname' and 'CSZ'
    'Fullname' joins the contents of the 'First name' and 'Last name' fields with a space between them using this formula:
    'First name'&" "&'Last name'
    'CSZ' joins the contents of the fields 'City', 'State', and 'Zip' into a single line. Following USPS (and for my case, Canada Post) guidelines, it also converts all letters in this line to capitals, and puts two spaces to left and right of the two letter State (or Province) postal symbol. Data in the field 'State' must be the two letter symbol, not the full state name. Formula:
    UPPER('City'&" "&'State'&" "&'Zip')
    These two formulas help clean up the layout of your list, and are also useful if you later decide to make mailing labels.
    To create the printed address book using a labels layout, open your DB file, then go to Layout mode (go Layout > Layout).
    Go Layout > New Layout (Note: NOT New Labels Layout)
    Click the Labels radio button, leave the popup menu set to Custom, Click OK.
    In the Labels Layout dialogue, set Labels across the page to 1 and width to the full width of the page (minus margins). These two items are not adjustable once set.
    Increase the label height to 4 to give yourself some room to work in. (The height of each row of labels (ie. each 'card') can be adjusted at will.) Click OK.
    In the next dialogue double click each of the following field names (in this order) to move the fields from the left column to the right column.
    'Fullname'
    'Address'
    'CSZ'
    'General information'
    'Phone'
    Click OK.
    Your new layout will be created with the fields inserted onto it in a single column. Select the top four fields and resize them (width only) using the handles.
    Select and resize the Phone field, then drag it to its new position in the second column.
    Select and resize the General field to contain as much data as you expect to place there.
    Drag the Body boundary up to a position just below the General field. The position of this boundary controls the height of each card/label and the amount of space between it and the next one down the page.
    When the layout looks right, go Layout > Browse to view the results.
    You can adjust the number of cards that appear on a page by adjusting the Body boundary to make each card take more or less vertical space. You may need to also adjust the size of the fields, particularly the 'General' field and the size of type used.
    Regards,
    Barry

  • Table format problem - Please help

    Here is what I am trying to do:
    I have a set of documents in xml fomrat following the docbook standard.  In these documents there are too types of table.  The standard table with its element tag TABLE and an informal table with element tag INFORMALTABLE.
    When these are opened and my format file and EDD applied I want the Standard Tables to have a blue shaded header and the Informal Tables to have a grey shaded header.  I have created the appropriate table templates.  I cannot figure a way via the EDD to specify the table format type that works.  When I open an xml and apply the edd and the format all the tables open using the table format that is first in the list.
    What can I do to the EDD to achieve my goal?
    Thank you in advance

    Russ,
         Thanks for letting me know my messages were not getting through. I just replied to the original rather than going through the forums interfaces and had no idea there was a problem. I attempted to post twice on this thread today:
        The messages were:
    Russ,
       You are correct. An EDD can specify an initial table format. The word "initial" is key. It is the format that is used when a new table is created, whether the new table is created interactively by the user or by opening an SGML or XML document. Initial table formats do not affect existing tables. In fact, for a table created interactively, the initial table format determines the format that is highlighted when the Insert Table dialog first comes up. The user is free to choose another format if desired.
        and
    Qualar,
        R/w rules are not context sensitive so that if you are using a tgroup element within FM, they will not be able to help. The definition of tgroup in your EDD can set an initial table format of Format A if the tgroup is within the table element and Format B if the tgroup is within informaltable. Just make sure you have imported the EDD into the template before opening the XML document. As you've noticed, if you open the XML document and then import the EDD, the tables already exist and their format is not affected.
              --Lynne

  • Java corba ID CS5 7.0 Problem with table format import excel 2007 document

    hello,
    I want to import an excel 2007 document with a table into a textframe. This is the code to set import preferences:
         ExcelImportPreference pref = aplicacion.getExcelImportPreferences();
         pref.setTableFormatting(kTableFormattingOptionsExcelFormattedTable.value);
    but when I insert the file into de texframe and export in a pdf file i lose the table format, always apply this format: kTableFormattingOptionsExcelUnformattedTabbedText.value.
    This problem only happens with excel 2007. Excel 2003 files the import is ok.

    Apart from iTunes (which I rarely update since we never use it) they both had a Java update, which I'm installing now but I can't imagine that's connected (plus they both didn't have it). Both Macs are 10.6.8.
    I also repaired the permissions and cleaned caches on Friday. Today I created a new user/profile and tried the same thing on that. No luck.

  • How to straddled cells in a table format

    Hello,
    I've created a table format where the header straddles two columns and I've saved it every way I can think of(Update All, Global Update Options, etc.) but when I insert a new table using the format, it comes in with the header split into two cells.
    How can I have a table format that inserts a table with a header that straddles two cells?
    I'm running FrameMaker 8 on Windows XP Professional.
    Thanks,
    Tim

    Straddled cells are not stored as part of the table formats.
    If you need to use the same custom table, you can set up a sample table that you copy/paste from another document, from the same document (reference page), or use the AutoText plug-in (http://www.siliconprairiesoftware.com).
    Shlomo Perets
    MicroType * http://www.microtype.com
    FrameMaker training & consulting * FM-to-Acrobat TimeSavers
    "Improve Your FrameMaker Skills" live web-based training sessions

  • Need to display in a table format

    Hi,
    From my database i need to get the values for , UserName and Password and display in a table format .
    I could get the values from the database using
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("select * from Login");
    while(rs.next()){
    out.println(" <br> ");
    out.println(rs.getString("username");
    out.println(rs.getString("password");
    }it works fine and displays like below......
    user1  pwd1
    user2 pwd2
    .....    ...May i know how to get it in a tabular format as an output
    pls provide sample code for it.
    I would be thankful to u guys,
    Thanks & Regards,
    Raghu.

    From my database i need to get the values for ,
    UserName and Password and display in a table format
    .Really, really bad idea.
    There is never any need, in any implementation to display or even keep actual passwords.
    >
    May i know how to get it in a tabular format as an
    outputAs in a GUI? Then that is a GUI question not a JDBC one.
    Something else? Then you need to explain exactly what the destination is and what defines it as 'tabular'.

  • Report In Table Format in Email

    Dear sir,
    i want to send mail to user in format of report of issues in table Format in Body of mail.
    Actully i want to send mail daily to user with Pending Issues of user.
    HOD allote issue to user with Close target Date .Mail would be fire till tagget date >sysdate .
    There can be Multiple issue with user.
    so i want to create a list of All pending issue in report in table which are not Closed .
    Report should be display with that column
    eg. User 0010 has 3 Pending Issue
    Issue No-----subject-----Create On-----Target Date
    001---------ABC-------27-Mar-2011-------30-Jnn-2011
    002--------BHN-------23-Jun-2011---------06-July-2011
    003--------JHN--------05-Jun-2011---------02-July-2011
    That Report Should be sent to User in mail.
    My Code is
    DECLARE
    l_id number;
    to_add varchar2(1000);
    to_sub_by varchar2(1000);
    from_add varchar2(1000);
    l_body varchar2(4000):=:P33_DESCRIPTION;
    l_sub varchar2(1000):=:P33_SUBJECT;
    I_case varchar2(10):=:P33_CASE_ID;
    I_isue_dte date:=:P33_SUBMITTED_ON;
    l_regd    varchar(100);
    CURSOR C1 IS SELECT EMAIL_ID,(SELECT EMAIL_ID FROM USER_MAS WHERE USER_ID =:P33_SUBMITTED_BY_ID) AS D FROM USER_MAS WHERE USER_GR_ID=:P33_ASSIGNED_TO_GROUP_ID AND USER_ID NOT IN(:APP_USER);
    BEGIN
    if :P33_ASSIGNED_TO_GROUP_ID is not null then
    open C1;
    LOOP
    FETCH C1 INTO to_add,to_sub_by;
    EXIT WHEN C1%NOTFOUND;
    select email_id,user_name into from_add,l_regd from user_mas where user_id=:app_user;
    l_id:=APEX_MAIL.SEND(
            p_to        => to_add, -- change to your email address
            P_cc        => to_sub_by,
            p_from      => from_add,
            p_body      => 'Issue Information'||''||chr(13)||chr(10)||chr(13)||chr(10)||
                           'www.farhorizonindia.net:7777/crm'||''||chr(13)||
                           'Issue Title'||':'||l_sub||CHR(13)||chr(10)||
                           'Issue Number'||':'||I_case||CHR(13)||
                           'Issue Open Date'||':'||I_isue_dte||''||chr(13)||chr(10)||CHR(13)||chr(10)||
                           'Most Recent Comment'||':'||''||chr(13)||chr(10)||
                           l_body||chr(13)||chr(10)||''||CHR(13)||chr(10)||'Regards'||chr(13)||chr(10)||''||l_regd||CHR(13)||chr(10)||CHR(13)||chr(10)||'Please do not reply to this email.If you wish to update the call.please login to the issue Management.',
      P_subj      => I_case ||' Issue '||l_sub);
    end loop;
    close C1;
    end if;
    COMMIT;
    apex_mail.push_queue(
    P_SMTP_HOSTNAME => '102.111.0.9',
    P_SMTP_PORTNO => 25);
    commit;
    END;How can i create that format in Body Of sending Email.
    Thanks
    Vedant
    Edited by: Vedant on Jun 30, 2011 3:44 AM
    Edited by: Vedant on Jul 5, 2011 9:17 PM

    Look at using an interactive reports and subscription routine..: http://st-curriculum.oracle.com/obe/db/apex/r40/apexirr/apexirrdev/apexirrdev_ll.htm
    Death called while you were out, so I gave him your cell number.
    Thank you,
    Tony Miller
    Webster, TX

  • How can I convert my css code into table format?

    Wasn't sure how to word the title, but what I am trying to do is post my html code generated with Dreamweaver CS4 into craigslist for an advertisement I designed. Craigslist seems to only accept "TABLE FORMAT".  I just learned enough to design this AD using css, now do I have to go back and learn table cell coding? Is there something I am not aware of like a conversion or something that will work?
    Thank you very much for any help, I am very anxious to get my ad placed.

    Example of the accepted code:
    <table border="0" cellpadding="5" cellspacing="0" width="100%" id="table4" align="center">
    <tr><td width="125"><b><font size="2" face="Verdana">Contact Name:</font></b></td><td><font face="Verdana" size="2">Patrick</font></td></tr>
    You must have an old HTML editor because that isn't INLINE CSS CODE.  It's deprecated HTML code.  It might work OK on Craig's List... but <font> tags won't pass W3C validation in XHTML doc types.
    To express what you have above using inline CSS styles without tables would like this:
    <p style="font:16px Verdana, Arial, Helvetica, Sans-serif; text-align:center"><strong>Contact Name:</strong> Patrick</p>
    http://www.w3schools.com/CSS/css_howto.asp
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How to put check box in a table format at the out put ?  Urgent issue...

    Hi,
    I am working an assignment to assign multiple roles for multiplr user.
    In selection screen we have to enter mutiple EMPNO from ..to
    1)  in second screen we will get the empno, First name, last name,  Position,
        From  date, To date, Sap user ID, Email id in the table formate with first
        column  with Check box.
    2) In second screen below the table I have to place the multiple roles just like in
       the step  loop format and below this one Execute button should be there.
    If we select the multiple employees or single employee and place the multiple roles or single roles and if I click the execute button then the multiple roles will be assigned to the multiple employees. The empno and roles will come from table and step loop to internal table and the same will pass to the BDC.
    For this requirement I prepered recording for Transaction PFCG. But I can't understand how to design the second screen that table format and the step loop format. Can anybody give any idea or any coding to design  the second screen.
    and how to meet the requirement. This is urgent issue. Good SDN points will be reworded.
    Witing for kind response.
    Thanks in advance.
    Bansidhar

    Hi upendra
    There are slight changes in the sivas code.Where is the data coming into the table.If its from a Model Node then iterate each element of the source node get that value compare and set the corresponding value in the element of the node binded to table.
    Create a boolean attribute "select" in the table node and bind it to checked property of the check box.
    for(int i=0;i<wdContext.node<tablenode>()..size();i++)
    if(wdContext.node<tablenode>().get<tablenode>ElementAt(i).select())
    wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(true);
    else
    wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(false);
    See the attribute is boolean so pass true or false as a values in setter methods.
    Regards
    Kalyan

  • How can i  print reports to different printer by use Trigger on table after insert

    Hello,
    Please can any one tell me how can i print (any message) to different printer (network & local printer) by use Trigger on table after insert.
    regards,
    Linda.

    What you want to do cannot be done with PL/SQL, which does have any print utilities. However you could write something using Java Stored Procedures.
    Of course the "different printer" bit will have to be data driven as triggers are not interactive.
    rgds, APC

Maybe you are looking for

  • Waiting for a credit to be issued for a returned device that has been returned!

    Since November 12, 2013 we have been waiting for Verizon to issue a credit on a returned phone for $450. Verizon has the tracking number it was delivered to the warehouse 9/25/13...We have called numerous times at least 7 or 8 times, I have sent 16 e

  • Positioning of Flash Objects

    Because of the recent changes to IE i have had to embed flash into my html using Java script..... <script type="text/javascript" src="flashobject.js"></script> <div id="flashcontent"> This text is replaced by the Flash movie. </div> <script type="tex

  • SOA In a Day at India's Most Influential Business Technology Conference

    Business Technology Summit 2010 – India's First, Largest and Single-most Inspirational Technology Show Bangalore, July 12, 2010: Businesses are organizing themselves with Service-oriented architecture (SOA). SOA moved from exploration and experimenta

  • Mass deletion of Outbound deleveries

    Hi Can any one pls let me know if theres any transaction for mass deletion of Outbound deliveries? We have some 600 OBDs to be deleted. Jus want to know if theres any such trxn or we need to create a BDC prog for that? Thanks! BR, Sri..

  • Table to find the interfaces for a system

    Hi, I need to find the number of inbound and outbound interfaces for a particular system. Is there any specific table to find the total number of entries? <b>WE20</b> is a transaction to find it out manually. But I guess there is some table where we