Printing line only after all the records of line item are finished

HI
I have the following table :
FieldA   FieldC       FieldD
10           1               CM
10           3               CCM
20           6               M
Right now i am able to print in samrtform like this
FieldA   FieldC       FieldD
10           1               CM
               3              CCM
20           6               M
My requirement is this:
FieldA   FieldC       FieldD
10           1               CM
               3              CCM
20           6               M
How can I do it?

hi,
when you work with smartforms, you can do this
1. declare under the tab "Table" of your table-element, 2 lines with the same structure (1 linetype with the line under it, and 1 linetype without the underlining)
2. under the tab "Data", at the Sort-criteria, sort on FieldA and mark the check-box "Event on Sort End"
3. In your main-area you can use the linetype without the underlining
4. In the area that is created for the event "on Sort End", you use the linetype with the underlining
kind regards
Tom

Similar Messages

  • Request is active after all the records loaded

    Dear Experts,
    I am extracting data from R/3 through custom Data source. While creating data source, I used custom Function Module.
    I have checked in RSA3, 9565 Records are available.
    When I start extract from BW side all the records (9565) fetched, but request still in yellow. Same way I have checked in R/3 side in SM37 job status is “Active” (After 5 Hours also).
    Please provide the solution.
    Thanks in Advance.
    Regards,
    Selva

    hi,
    in the monitor screen select that requestselect refresh request for 1 more 2 minutes. otherwise come out the screenwait for some time-go to that request check it out.
    select your requestselect details tabsee error.
    if helpful provide reward points
    regards
    harikrishna N

  • How to fetch all the records from ztable

    Hi 
    My program is outbound program.
    According to the requirement i have to fetch all the records from ztable which are not tranmitted before to the third party and once the records are extracted and written to output file they will be marked as 'X' in the "status" field of that ztable for the next days run.
    How to fetch the records.Please suggest me.
    Thanks,
    Neelima

    HI,
    Fetch all the records whose status is equal to 'X' as whatever data is sent to third party system is marked as 'X' in status field of table after sending.
    You need to first fetch the data into internal table using the select statement where status EQ space. You get the data which is not yet transmitted to third part. And later in the program after trasmitting the data to third party modify the Records in the DB table which are transmitted with Staus eq 'X'.

  • My hp 7160 wants to print in black only after replacing the yellow cartridge. Any suggestions?

    My hp 7160 wants to print in black only after replacing the yellow cartridge. Ink level shows full amount. Test page prints fine.
    I have tried different programs to color print in, all return the same error message.

    Hi @obxgirl,
    Welcome to the HP Support Forums! I see you are running into some print quality issues on your HP Photosmart 5510, you are unable to print in black ink.
    I would like you to continue here: Printer Does Not Print Black Ink or Color Ink, or Prints Blank Pages, I understand you may have done some of these steps already but I need you to complete all steps in order to resolve the missing black issue you are experiencing.
    Please note: There are three printhead cleaning stages. Complete all three stages if necessary. If the printhead is badly clogged, it might require another cleaning cycle. If so, wait 30 minutes after the last (third) cleaning stage to start the first stage of the cleaning process over again.
    If you are still unable to print in black ink, I suspect the issue may be the printer and not the cartridge. Please let me know which Country/Region you are in as well as the product Warranty status: HP Warranty Checker
    I hope to hear from you soon.
    Thanks,
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • How do I set up a mail group on mac mail?  All the advise on line seems to refer to 'address book' and I only have 'contacts'.  The guidance does not work when using 'contacts' - can anyone help me?

    How do I set up a mail group on mac mail?  All the advise on line seems to refer to 'address book' and I only have 'contacts'.  The guidance does not work when using 'contacts' - can anyone help me?

    Create a group and send mail
    http://www.dummies.com/how-to/content/how-to-create-a-basic-contact-group-in-mac -os-x-li.html
    http://www.macworld.com/article/1165582/how_to_email_groups_with_mail.html
    Best.

  • How to update all the record for a particular column in a table based on search criteria.

    Hi All,
    I am new to ADF. I have a requirement, where i have to perform mass update on a table.
    Scenario:
    Ex: I have a dept manual search region. where i search with deptId: 20. I get 20 records in my table. now i have  another region where i have a inputchoice list which contains all the columns names that exists in dept table. Beside that i have a input text box and an update button
    Now user, first searches with dept id:20 and clicks on search button, where it shows 20 record in the table. He then select a column from input choicelist(ex: ManagerId), then enters new value in the input box(ex: abc) then clicks on update button.
    Now i want, all the records in the ManagerId column with dept id:20 to be updated with the new value "abc"
    Can anyone help me with the code.
    Thanks in advance..

    Hi,
    If you go to your VO and generate the ViewObjectImpl, in there you can create a method which will contain two parameters, 1 the attribute name and 2 the value.
    Then you can follow something like explained in this post:
    ADF Tutorial: How to apply bulk actions to a view object rows
    The only difference is that you will need to create a method like this:
    public void updateAttribute(String attribute, Integer value){
            RowSetIterator iter = createRowSetIterator(null);
            while (iter.hasNext()){
                Row row = iter.next();
                row.setAttribute(attribute, value);
    Then you expose that as a client interface and then after you filter your table by your criteria you just need to execute this method passing the right parameters.
    Regards

  • Why does my line attenuation change all the time?

    Why would my line attenuation have gone from 65dB to 72.3dB?  I think there is a bad connection on my line, but BT's test equipment says my line is fine.
    1st ADSL Line Status
    Connection Information
    Line state:
    Connected
    Connection time:
    0 days, 00:52:21
    Downstream:
    1.372 Mbps
    Upstream:
    659.6 Kbps
    ADSL Settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.5 Annex A
    Latency type:
    Interleaved
    Noise margin (Down/Up):
    6.2 dB / 5.8 dB
    Line attenuation (Down/Up):
    65.0 dB / 43.9 dB
    Output power (Down/Up):
    15.0 dBm / 12.4 dBm
    FEC Events (Down/Up):
    113157 / 9145
    CRC Events (Down/Up):
    421 / 240
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    HEC Events (Down/Up):
    1850 / 810
    Error Seconds (Local/Remote):
    169 / 215
     2nd ADSL Line Status
    Line state
    Connected
    Connection time
    2 days, 12:34:52
    Downstream
    928 Kbps
    Upstream
    446 Kbps
    ADSL Settings
    VPI/VCI
    0/38
    Type
    PPPoA
    Modulation
    G.992.5 Annex A
    Latency type
    Interleaved
    Noise margin (Down/Up)
    6.2 dB / 11.9 dB
    Line attenuation (Down/Up)
    72.3 dB / 44.0 dB
    Output power (Down/Up)
    1.4 dBm / 0.8 dBm
    Loss of Framing (Local/Remote)
    0 / 0
    Loss of Signal (Local/Remote)
    0 / 0
    Loss of Power (Local/Remote)
    0 / 0
    FEC Errors (Down/Up)
    5666 / 0
    CRC Errors (Down/Up)
    442 / 0
    HEC Errors (Down/Up)
    2257 / 0
    Error Seconds (Local/Remote)
    87 / 0

    I got a reply from the chairmans office
    I’ve spoken with BT
    Wholesale again today and I’m waiting on a report coming in from the Chief
    Engineers Office.
    What I’ve
    been doing
    I’ve also gone
    through all the history available of the work that has been done on your line
    and can confirm the following:
    Your line is
    all copper and is on the best E and D side cables available.
    We have changed
    the network equipment in the exchange on multiple occasions.
    And it doesn’t
    look like there is any more physical work can be carried out.
    The report I’m
    waiting for from BT Wholesale is about a known issue that we have had with
    certain exchange equipment which is used to make the phone ring when it is
    being called and causing the broadband connections to drop, I need this to
    confirm if your line is affected by this specific issue.
    I think you
    have spoke with Donal earlier today and discussed the option of moving onto an
    8meg service instead of the upto 20meg, and you told him this has been tried
    before and did not work, can you remember roughly when this was so I can check
    it with BT Wholesale?
    What happens
    next
    There is still
    an engineer on his way out to you tomorrow between 1pm and 6pm. I’m not sure
    what this engineer will be able to do given that we have had it confirmed that
    you are already on the best lines available but we will see how he gets on and
    take it from there. (Might get a nice surprise!)
    I’ll give you a
    call tomorrow to confirm the update from the chief engineers office and also
    see if the engineer has been out on site with you.
    Best Wishes
    Chris
    My reply
    Hi,
    Thanks for the reply, some of the information in your email isn’t correct.
    The D-side is only the “best lines available” because it’s the only one available!
    I had the BB disconnecting when the phone rang, long before going on the new equipment.
    They have exchanged the network equipment on “multiple occasions”, even though I told them not to bother because I knew it would make no difference.
    The facts are:
    NO WORK has been done on my D-side (apart from the connections directly outside my property)
    Many people that have had the same fault have told me it turned out to be the D-side
     I was told by a BT Openreach engineer that they would not do any work on my D-side because part of it was aluminium.  But this now turns out not to be true, so I have no idea why they will not do any work on my D-side.
    At the cab, the broadband is the correct speed and works fine.
    My caller display, often doesn't work. I think this is the same line fault that causes this.
    A leakage to earth was detected on my line, but was never fixed.
    My phone often rings 2 or 3 times, when I finish a call. I think this is the same line fault that causes this.
    When the BB speed goes up, the router records a huge amount of errors.
     A few years ago my BB failed altogether, it turned out to be the connection outside my property.  The connection was green and in bad condition. There are loads more of these connections between my house and the cab, they will be just as old or older.
    A BT engineers test equipment detected a change in resistance somewhere on my D-side, I haven’t heard if that was ever looked into.
    Every piece of evidence points at a bad connection on my D-side, so you can see why I will not rest until I know that all the connections have been replaced.  BT wholesales answer of “that there is nothing wrong with your line” just isn’t good enough because the fault still exists.

  • Displaying all the records in a tabular form on a single page

    Hello,
    After setting up a data entry page, I have hit an unexpected problem.
    The logic in my page requires that all the records in my tabular form should be displayed .
    The tabular form is based on a collection, and the user selects rows through a checkbox.
    Any reload of the page due to pagination will break the logic, as some calculation and display events occur during page load,
    based on the previous page.
    I need to display about 25 rows.
    I have changed the report attribute to display 50 rows, but it displays rows only up to the bottom of the screen,
    i.e. 11 rows.
    Unfortunately I only just added some new rows and saw this behaviour else I would not have gone that way,
    as I expected APEX to display all rows if required.
    Some help will be much appreciated.
    Regards
    Leckraj

    leckj wrote:
    Hello,
    After setting up a data entry page, I have hit an unexpected problem.
    The logic in my page requires that all the records in my tabular form should be displayed .
    The tabular form is based on a collection, and the user selects rows through a checkbox.
    Any reload of the page due to pagination will break the logic, as some calculation and display events occur during page load,
    based on the previous page.
    I need to display about 25 rows.
    I have changed the report attribute to display 50 rows, but it displays rows only up to the bottom of the screen,
    i.e. 11 rows.
    Unfortunately I only just added some new rows and saw this behaviour else I would not have gone that way,
    as I expected APEX to display all rows if required.Pagination settings are cached for the duration of the session. For this change to be instantly visible, either log out, restart the brower, and log in again, or manually re-request the page from the browser address bar, adding 'RP' in the ClearCache position in the URL.

  • Database adapter not returning all the records

    I've taken over a BPEL from a developer who left the organization and have been having an issue during our User Acceptance Testing. We are querying a table that will return the insurance enrollment information for employee's and their dependants. When an employee change plans, or adds people, the old plan is terminated and a new once is created. When this happens there will be two records on the database to show the old plan and the new plan.
    When we run the SQL thru JDEV or SQLDeveloper, the data comes out fine. When we run it through a BPEL Database Adapter we are only getting one of the rows returned.
    I have created a small tester BPEL that is easily modified and deployed to run the same query to try multiple configurations changes within the DBAdapter. What I have found is all the records are returned when the "Return single result set" box on the DBAdapter Wizard is unchecked. When it's checked then it only returns one record for the employees with an old and a new plan.
    Can someone explain what the "Return single result set" option does, and what the impact will be if it's unchecked?

    Hello,
    In same way i am using two parent-child(header-line) tables. they have one to many relationship.
    I want to generate XML which contains multiple line items under a child elements for header elements.
    I have tried it but i am getting only one line under that child item. i am using jdev10.0.3.3.0
    can u help me please.
    -regards
    satyendra

  • DB adapter polls all the records regardless of the MaxTransactionSize

    Hi All,
    I have a requirement that I need to poll only 10 records per minutes from DB2 database, regardless of how many ever records in the database at the time of the polling. I used the DB polling with custom sql, to fetch only first 10 records, as well as MaxTransactionSize set to 10 and PollingInterval to 60 (sec), PollingStrategy as LogicalDeletePollingStrategy. But when I test it out, if I have 100 records in the database, it updated all 100 records with the MarkReadValue and gave me all 100 records. I tried with disabling the SkipLocking as well, but doesn't seem to work. I also tried using the throttling in DB adapter in the composite.xml, but though the composites are showing up one by one based on the throttling time interval, in the database, it updated all the records right away, which is unacceptable as per business logic. Can someone please guide me how I can implement this? Thanks in advance.
    Note: I am using SOA 11.1.1.5. In 10.1.3.4, we have implemented this and it is working well, but can't make it to work in 11.1.1.5.
    Hruthayah

    Thanks for responding, Narsing.
    Please Note that MaxRaiseSize property doesn't behave the same in Database Adapter as it does in File Adapter Polling...
    MaxTransactionSize = Database Rows Per Transaction
    MaxRaiseSize = Database Rows Per XML Document
    In Database Adapter, MaxRaiseSize means the maximum number of records it can get in an XML Document...Yes, I do understand that, and that is why since I want one record per each instance, I have MaxRaiseSize set to 1.
    in the steps of configuring DB Adapter, you can select the 'Do Synchronous Post to BPEL' option in the 'Operation Type' screen in the adapter configuration wizard. This will generate an empty response message type for output variable. In the BPEL process add the reply activity at the end of the process by selecting output variable and also add the reply activities in the end of catch and catch all blocks in the exception handling.I had done what you have suggested. But I have seen two issue.
    1. Although only one instance is being showing up for the first time in EM, in database, all the records are being marked as "Reserved". (which is unacceptable as per the business requirement)
    2. Next instances are showing up right after first one is done. (meaning, all the instances are showing up one by one without waiting for the polling interval)
    Is this because of the DB2 database? I even tried updating the "PoolingService-or-mappings.xml" file to include the custom sql so that it will exactly fetch first 10 records.
    <query name="EOneEvents" xsi:type="read-all-query">
    <timeout>0</timeout>
    +<call xsi:type="sql-call">+
    +<sql>SELECT E1GS2A, E1VALU, E1UKID, E1ACTN, E1AA20, E1GPSP, E1LL, E1GS1A, E1GS1B, E1HBST1, E1HBST2, E1HBST3, E1HBST4, E1HBST5, E1CRTU, E1CRTJ, E1CRTT, E1WRKSTNID, E1HBOPID, E1UPMB, E1UPMJ, E1UPMT, E1JOBN, E1PID FROM F57MTE01 WHERE ((E1GS2A = 'LOT') AND (E1GPSP = '0')) ORDER BY E1CRTJ, E1CRTT ASC fetch first 3 rows only</sql>+
    +</call>+
    <reference-class>PollingService.F57mte01</reference-class>
    <cache-usage>primary-key</cache-usage>
    <lock-mode>none</lock-mode>
    <container xsi:type="list-container-policy">
    <collection-type>java.util.Vector</collection-type>
    </container>
    </query>
    </queries>
    I would appreciate if you can guide me if I am doing something wrong here.
    Hruthayah

  • Checkbox taking all the records irrespective of selection

    HI All,
    This is my code
    for i in 1..htmldb_application.g_f02.count
    loop
    insert into nam values(htmldb_application.g_f02(i));
    end loop;
    Here i'm trying to insert the selected things but its taking all the records whatever is displaying in the report
    Kindly help me to get rid of the issue
    And guide me how cai insert only checked in records

    hi
    I'm not a pro but maybe I can share some experience.
    First I would create a textfield for debugging.
    This helps to find out what data you are really working with.
    My textfield's name is "PX_SELECTED_ITEMS"
    I filled the textbox with a process in "On submit - After Computations and Validations"
    BEGIN 
      :PX_SELECTED_ITEMS :=
        HTMLDB_UTIL.TABLE_TO_STRING(HTMLDB_APPLICATION.G_F01);
    END;I'm not sure how your values are seperated.
    In my application I hat to replace the seperator from ':' to ','
    Therefore I created another textfield "PX_SELECTED_ITEMS_replaced"
    and added following code to the process:
    :PX_SELECTED_ITEMS_replaced := replace(:PX_SELECTED_ITEMS,':',',');Now I have two textfields wich should contain your selection.
    The second one ("PX_SELECTED_ITEMS_replaced") with the comma seperated data should be good for a "where-filter" in an SQL statement.
    Here is the PL-SQL-syntax I used for a standard SQL report:
    declare
      v_sql varchar2(32767);
    begin
      v_sql := 'select * from  my_table';
      if :PX_SELECTED_ITEMS_replaced is not null then
        v_sql := v_sql ||' where My_ID in ('||:PX_SELECTED_ITEMS_replaced||')';
      else
        v_sql := v_sql ||' where 1=0';
      end if;
      return v_sql;
    end;This Report should contain your selected items.
    Note: This does NOT work with Interacive Reports.
    I hope this helps you finding the issue.
    Edited by: pAT on Nov 26, 2010 4:45 AM

  • How can i get all the records from three tables(not common records)

    Hi
    I have four base tables at R/3-Side. And i need to extract them from R/3-Side.
    And i dont have any standard extractor for these tables .
    If i create a 'View' on top of these tables. Then it will give only commom records among the three tables.
    But i want all the records from three base tables (not only common).
    So how can i get the all records from three tables. please let me know
    kumar

    You can create separate 3 datasources for three tables and extract data to BW. There you can implement business login to build relation between this data.

  • 'You can post in new year only after closing the previous year

    Hello Experts,
    I am also getting same error while executing depreciation run AFAB ''You can post in new year only after closing the previous year''.
    I found one OSS Note 18800 and it is saying solution as below ...
    At the first depreciation posting in the new fiscal year after a shortened fiscal year, the fiscal year variants must, in all cases, still be entered in asset customizing and in FI customizing for the affected company code. If necessary, all periods for the following fiscal year must be maintained with the variant of the shortened fiscal year.
    Up to 2.2D the following correction must also be installed:
    Please carry out the syntax check only in main program SAPLAFAR.
    But in my case there is no shortended fiscal year.
    Can I apply this OSS note correction instructions ?
    Please suggest me.

    Hi
    I don't think so. Moreover that is applicable till 2.2D.
    Moreover depreciation is to be run for all periods you have not run earlier. Please check upto which period dep run has happened. Thereafter close the fiscal years in order thro AJAB.
    S Jayaram

  • Validate whether all the records are present in the list before writing

    Hi,
    I have the below code:-
    List<CustomerVO> custlist = new ArrayList<CustomerVO>();
    for (CustomerVO customerVO : custlist) {
    try {
    saveRecord(customerVO);
    } catch (Exception e) {
    custlist.add(customerVO);
         if(){ // Here i need to compare whether all the records in the list are processed and there is no more records
    // if so i wrire the all the error details at once by calling the writeErrorDetails
         writeErrorDetails(frbVOlist);
    Here in the if block I need compare whether all the records in the list are processed and there is no more records to process ,
    if so write all the error details at once by calling the writeErrorDetails in the .TXT file.
    The problem here is, how i will know whether the all the records are processed from the custList, so that I can write all of then atonce.
    If the If conditional block is not there, then for each record failure a separate .txt file will be created. Hence if there are 4 failed records
    then 4 .txt error file will be generated. Which should be avoided and i want to write all the 4 failed records in a single .txt file.
    Hence, what may be the If condition i need to check from the list whether all the records are processed. Please , let me know your opinion.
    Thanks.

    797836 wrote:
    List<CustomerVO> custlist = new ArrayList<CustomerVO>();
    for (CustomerVO customerVO : custlist) {
    try {
    saveRecord(customerVO);
    } catch (Exception e) {Look at the following statement in the catch block.
    custlist.add(customerVO);Is this correct? Why are you adding the faild record to the custlist again? I think, it should be like,
    frbVOlist.add(customerVO);
         if(){ // Here i need to compare whether all the records in the list are processed and there is no more records
    // if so i wrire the all the error details at once by calling the writeErrorDetails
         writeErrorDetails(frbVOlist);
    }Call the writeErrorDetails(frbVOlist) after the end of the for loop by checking the size of the frbVOlist > 0.

  • Iterate through all the records in a table using Java API

    Hi All,
    What is the easiest way to iterate through all the records in a given table using Java API? I cannot find any methods that will return all records in a table and the only way I can use is to perform a free form search with a condition that is always true. The code works but is pretty ugly. Is there an alternative to this approach?
    Thanks!
    Kenny

    Hi Kenny,
    You can construct a new Search object with your table's code name, a new ResultSetDefinition object for your table and just execute this search using the GetResultSet method of CatalogData.
    Please look at the following code:
    Search search = new Search(<code name of your table>);
    ResultSetDefinition rsd = new ResultSetDefinition(<code name of your table>);
    rsd.AddField<code name of a field>);
    rsd.AddField(<code name of a field>);
    String sortField = <code name of your sort field>;
    boolean sortAscending = true;
    int page = 0; //page number
    A2iResultSet rs = <your CatalogData object>.GetResultSet(search, rsd, sortField, sortAscending, page);
    for (int i = 0; i < rs.GetRecordCount(); i++)
        Value fieldValue = rs.GetValueAt(i, <code name of a field>);
    Hope this helps,
    Nir
    PS - I really recommend you to start using the new API, as it is much more efficient and straight-forward.

Maybe you are looking for

  • K9N Platinum Bios flash

    Hello, I got a K9N Platinum and I did flash is succesfull to 1.8, but did screw my windows vista drivers  :( . so np, C:/ is only windows for me, my files are on other drives and I installed windows again. but after a few restart system files get dam

  • Low resolution warning?

    I have the Nikon D80 and have it set to fine and large file format and can't seem to enlarge bigger than an 8 x 12. Is Aperture possibly compressing the files somehow, or changing the mega pixels when I export the photo?

  • Invoice Tax left after create credit memo (Receivable)

    Hi All, I have problem after creating Credit Memo(CM) in Receivable. The invoice line become 0 but invoice tax still appear. It's caused the tax in CM is 0, even the line value have match value. Can anyone help me? Best regards, Erie

  • Use of Containers in BPM

    hey guys wats the main use of container elements in BPM,i know they are used as variables to store value during the design time but wat purpose they serve by storin values,also do we need to have separate containers for every step in BPM? thanx ahmad

  • Image asking for Logon (Userid/Password) for an anonymous user

    Hello,    I have created the HTML file in <b>Portal -> Content Administration-> KM Content -> root -> documents -> MyFolder</b> which I have access through an KM Document iView which contains the <b>text</b> and <b>image</b>. Also I have changed the