Display Invoice Details in 3 pages only, as per the tags, data is overflown

Hi,
I have a requirement to display invoice details in pdf output from XML Source using rtf template.
The PDF output will display invoice details for One address number per page.
When I execute the report in JDE standard version I get the pdf output in three pages as expected.
from the blank template when I executed the report for a data selection of One business unit and three address numbers. Below is the query.
SELECT * FROM PRODDTA.F03B11 WHERE RPDIVJ =110037 AND LTRIM(RTRIM(RPMCU))=03285 AND RPAN8 IN(204346,204352,202370).
The XML source in the printqueue shows me five address number tags instead of three as per the data selection given above. The data in the second tag has overflown to third and similarly from 4th to 5th tag.
When I take the said XML source it is displaying 5 pages. Is there way to design the rtf template where it can print only 3 pages.
Below I have given the actual source code.
<?xml version="1.0" encoding="WINDOWS-1252" standalone="no" ?>
- <!-- Generated by EnterpriseOne Universal Batch Engine
-->
- <R553505>
+ <Properties>
<Version>HES0002</Version>
<Title>Comprehensive Invoice</Title>
<Machine>HIES10</Machine>
<Host>HGN11</Host>
<Environment>DV900</Environment>
<User>VRDDU</User>
<Role>*ALL</Role>
<Company>HDSD</Company>
<OneWorldRelease>E900</OneWorldRelease>
<Date>7/15/2010</Date>
<Time>5:58:57</Time>
</Properties>
+ <PageFooters>
- <Page_Footer_S20>
<audit_info_in_event_rules_ID6>audit info in event rules</audit_info_in_event_rules_ID6>
<PLEASE_MAKE_CHECK_PAYABLE_TO___ID3>PLEASE MAKE CHECK PAYABLE TO :</PLEASE_MAKE_CHECK_PAYABLE_TO___ID3>
<NameAlpha_ID5>Trey McAfee</NameAlpha_ID5>
</Page_Footer_S20>
- <Page_Footer_S20>
<audit_info_in_event_rules_ID6>audit info in event rules</audit_info_in_event_rules_ID6>
<PLEASE_MAKE_CHECK_PAYABLE_TO___ID3>PLEASE MAKE CHECK PAYABLE TO :</PLEASE_MAKE_CHECK_PAYABLE_TO___ID3>
<NameAlpha_ID5>Trey McAfee</NameAlpha_ID5>
</Page_Footer_S20>
- <Page_Footer_S20>
<audit_info_in_event_rules_ID6>audit info in event rules</audit_info_in_event_rules_ID6>
<PLEASE_MAKE_CHECK_PAYABLE_TO___ID3>PLEASE MAKE CHECK PAYABLE TO :</PLEASE_MAKE_CHECK_PAYABLE_TO___ID3>
<NameAlpha_ID5>Trey McAfee</NameAlpha_ID5>
</Page_Footer_S20>
</PageFooters>
+ <Columnar_S7_Column_Headings Language="">
<Invoice_Date_ID28>Date</Invoice_Date_ID28>
<Document_Number_ID22>Number</Document_Number_ID22>
<Document_Type_Description_ID42>Type</Document_Type_Description_ID42>
<Pay_Item_ID34>Item</Pay_Item_ID34>
<Due_Date_ID30>Due Date</Due_Date_ID30>
<Remark_ID32>Remark</Remark_ID32>
<Amount_ID48>Amount</Amount_ID48>
<Taxable_Amount_ID16>Amount</Taxable_Amount_ID16>
<Document_Company_ID44>Doc Co</Document_Company_ID44>
<Address_Number_ID36>Address Number</Address_Number_ID36>
<Tax_Amount_ID40>Tax Amount</Tax_Amount_ID40>
<Co___ID46>Co</Co___ID46>
</Columnar_S7_Column_Headings>
- <Columnar_S7_Group>
+ <On_Address_Number_S8>
<Date_01_ID31>2010-02-06</Date_01_ID31>
<Remit_To_Constant_ID98>Remit To:</Remit_To_Constant_ID98>
<Date_Constant_ID106>Date:</Date_Constant_ID106>
<Account_Constant_ID108>Account:</Account_Constant_ID108>
<AddressNumber_ID28>204346</AddressNumber_ID28>
<Company___Address_Line_1_ID36>HKJHKLKJLKJLKLK, LLC</Company___Address_Line_1_ID36>
<RefNo_ID126>10000106001</RefNo_ID126>
<Refer.No__ID125>Refer.No:</Refer.No__ID125>
<Company___Address_Line_2_ID38>JHJKLH Bank, 925 All Rd</Company___Address_Line_2_ID38>
<Company___Mailing_Name_ID34>JHKJHK Trophy LLC</Company___Mailing_Name_ID34>
<Page_Number_ID89>1</Page_Number_ID89>
<Page_Constant_ID110>Page:</Page_Constant_ID110>
<Company___Address_Line_3_ID40>Clifton NJ 07012</Company___Address_Line_3_ID40>
<Lease_Number_Constant_ID122>Lease Number:</Lease_Number_Constant_ID122>
<Customer_Address_Constant_ID102>Customer Address:</Customer_Address_Constant_ID102>
<Billing_Address_Constant_ID100>Billing Address:</Billing_Address_Constant_ID100>
<Customer___Alpha_Name_ID116>AEGON</Customer___Alpha_Name_ID116>
<Customer___Mailing_Name_ID73>400 ket Street</Customer___Mailing_Name_ID73>
<Customer___Address_Line_1_ID75>Su 400</Customer___Address_Line_1_ID75>
<Customer___Address_Line_2_ID77>Lolle K 40202</Customer___Address_Line_2_ID77>
<a_ID123>a</a_ID123>
<Notification_Constant_ID104>Please be advised that your account has been debited or back-charged as follows:</Notification_Constant_ID104>
- <Columnar_S7>
<Invoice_Date_ID27>2010-02-06</Invoice_Date_ID27>
<DocVoucherInvoiceE_ID21>10000106</DocVoucherInvoiceE_ID21>
<Document_Type_Description_ID41>Manual Billing</Document_Type_Description_ID41>
<Pay_Item_ID33>001</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>JAN 10 CLEANING INVOICES</Remark_ID31>
<Amount_ID47>1176.16</Amount_ID47>
<Taxable_Amount_Value_ID15>1176.16</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>204346</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
- <Columnar_S7>
<Pay_Item_ID33>002</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>FEB 10 CLEANING</Remark_ID31>
<Amount_ID47>872.00</Amount_ID47>
<Taxable_Amount_Value_ID15>872.00</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>204346</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
- <Columnar_S7>
<Pay_Item_ID33>003</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>ADMIN FEE</Remark_ID31>
<Amount_ID47>143.37</Amount_ID47>
<Taxable_Amount_Value_ID15>143.37</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>204346</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
<Total_Invoice_Amount_Value_ID2>2191.53</Total_Invoice_Amount_Value_ID2>
<Total_Amount_Invoiced_Constant_ID190>Total Amount Invoiced</Total_Amount_Invoiced_Constant_ID190>
<Tax_Amount_Constant_ID192>Tax Amount</Tax_Amount_Constant_ID192>
<Balance_Due_Constant_ID184>Balance Due</Balance_Due_Constant_ID184>
<Balance_Credit_Due_Value_ID6>2191.53</Balance_Credit_Due_Value_ID6>
<Transaction_Currency_ID47>USD</Transaction_Currency_ID47>
<Credit_Due_Constant_ID194>Credit Due</Credit_Due_Constant_ID194>
</On_Address_Number_S8>
- <On_Address_Number_S8>
<Page_Breake_S21 />
<Date_01_ID31>2010-02-06</Date_01_ID31>
<Remit_To_Constant_ID98>Remit To:</Remit_To_Constant_ID98>
<Date_Constant_ID106>Date:</Date_Constant_ID106>
<Account_Constant_ID108>Account:</Account_Constant_ID108>
<AddressNumber_ID28>204352</AddressNumber_ID28>
<Company___Address_Line_1_ID36>Lou Trophy, LLC</Company___Address_Line_1_ID36>
<RefNo_ID126>10000109001</RefNo_ID126>
<Refer.No__ID125>Refer.No:</Refer.No__ID125>
<Company___Address_Line_2_ID38>ValBank, 925 All Rd</Company___Address_Line_2_ID38>
<Company___Mailing_Name_ID34>Loui Trophy LLC</Company___Mailing_Name_ID34>
<Page_Number_ID89>1</Page_Number_ID89>
<Page_Constant_ID110>Page:</Page_Constant_ID110>
<Company___Address_Line_3_ID40>Clifton NJ 07012</Company___Address_Line_3_ID40>
<Lease_Number_Constant_ID122>Lease Number:</Lease_Number_Constant_ID122>
<Customer_Address_Constant_ID102>Customer Address:</Customer_Address_Constant_ID102>
<Billing_Address_Constant_ID100>Billing Address:</Billing_Address_Constant_ID100>
<Customer___Alpha_Name_ID116>Commn Bank</Customer___Alpha_Name_ID116>
<Customer___Mailing_Name_ID73>400 Market Street</Customer___Mailing_Name_ID73>
<Customer___Address_Line_1_ID75>Suite 140</Customer___Address_Line_1_ID75>
<Customer___Address_Line_2_ID77>Lo KY 40202</Customer___Address_Line_2_ID77>
<a_ID123>a</a_ID123>
<Notification_Constant_ID104>Please be advised that your account has been debited or back-charged as follows:</Notification_Constant_ID104>
</On_Address_Number_S8>
- <On_Address_Number_S8>
- <Columnar_S7>
<Invoice_Date_ID27>2010-02-06</Invoice_Date_ID27>
<DocVoucherInvoiceE_ID21>10000109</DocVoucherInvoiceE_ID21>
<Document_Type_Description_ID41>Manual Billing</Document_Type_Description_ID41>
<Pay_Item_ID33>001</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>JAN 10 CLEANING INVOICES</Remark_ID31>
<Amount_ID47>75.00</Amount_ID47>
<Taxable_Amount_Value_ID15>75.00</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>204352</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
- <Columnar_S7>
<Pay_Item_ID33>002</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>FEB 10 CLEANING</Remark_ID31>
<Amount_ID47>385.00</Amount_ID47>
<Taxable_Amount_Value_ID15>385.00</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>204352</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
- <Columnar_S7>
<Pay_Item_ID33>003</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>ADMIN FEE</Remark_ID31>
<Amount_ID47>46.00</Amount_ID47>
<Taxable_Amount_Value_ID15>46.00</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>204352</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
<Total_Invoice_Amount_Value_ID2>506.00</Total_Invoice_Amount_Value_ID2>
<Total_Amount_Invoiced_Constant_ID190>Total Amount Invoiced</Total_Amount_Invoiced_Constant_ID190>
<Tax_Amount_Constant_ID192>Tax Amount</Tax_Amount_Constant_ID192>
<Balance_Due_Constant_ID184>Balance Due</Balance_Due_Constant_ID184>
<Balance_Credit_Due_Value_ID6>506.00</Balance_Credit_Due_Value_ID6>
<Transaction_Currency_ID47>USD</Transaction_Currency_ID47>
<Credit_Due_Constant_ID194>Credit Due</Credit_Due_Constant_ID194>
</On_Address_Number_S8>
+ <On_Address_Number_S8>
<Page_Breake_S21 />
<Date_01_ID31>2010-02-06</Date_01_ID31>
<Remit_To_Constant_ID98>Remit To:</Remit_To_Constant_ID98>
<Date_Constant_ID106>Date:</Date_Constant_ID106>
<Account_Constant_ID108>Account:</Account_Constant_ID108>
<AddressNumber_ID28>202370</AddressNumber_ID28>
<Company___Address_Line_1_ID36>Lou Trophy, LLC</Company___Address_Line_1_ID36>
<RefNo_ID126>10000112001</RefNo_ID126>
<Refer.No__ID125>Refer.No:</Refer.No__ID125>
<Company___Address_Line_2_ID38>Val Bank, 925 All Rd</Company___Address_Line_2_ID38>
<Company___Mailing_Name_ID34>Lou Trophy LLC</Company___Mailing_Name_ID34>
<Page_Number_ID89>1</Page_Number_ID89>
<Page_Constant_ID110>Page:</Page_Constant_ID110>
<Company___Address_Line_3_ID40>Clifton NJ 07012</Company___Address_Line_3_ID40>
<Lease_Number_Constant_ID122>Lease Number:</Lease_Number_Constant_ID122>
<Customer_Address_Constant_ID102>Customer Address:</Customer_Address_Constant_ID102>
<Billing_Address_Constant_ID100>Billing Address:</Billing_Address_Constant_ID100>
<Customer___Alpha_Name_ID116>Ern Young</Customer___Alpha_Name_ID116>
<Customer___Mailing_Name_ID73>Suit 0</Customer___Mailing_Name_ID73>
<Customer___Address_Line_1_ID75>22 6th Street</Customer___Address_Line_1_ID75>
<Customer___Address_Line_2_ID77>Mp N 55402</Customer___Address_Line_2_ID77>
<a_ID123>a</a_ID123>
<Notification_Constant_ID104>Please be advised that your account has been debited or back-charged as follows:</Notification_Constant_ID104>
</On_Address_Number_S8>
+ <On_Address_Number_S8>
+ <Columnar_S7>
<Invoice_Date_ID27>2010-02-06</Invoice_Date_ID27>
<DocVoucherInvoiceE_ID21>10000112</DocVoucherInvoiceE_ID21>
<Document_Type_Description_ID41>Manual Billing</Document_Type_Description_ID41>
<Pay_Item_ID33>001</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>FEB 10 CLEANING</Remark_ID31>
<Amount_ID47>110.00</Amount_ID47>
<Taxable_Amount_Value_ID15>110.00</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>202370</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
+ <Columnar_S7>
<Pay_Item_ID33>002</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>ADMIN FEE</Remark_ID31>
<Amount_ID47>11.00</Amount_ID47>
<Taxable_Amount_Value_ID15>11.00</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>202370</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
<Total_Invoice_Amount_Value_ID2>121.00</Total_Invoice_Amount_Value_ID2>
<Total_Amount_Invoiced_Constant_ID190>Total Amount Invoiced</Total_Amount_Invoiced_Constant_ID190>
<Tax_Amount_Constant_ID192>Tax Amount</Tax_Amount_Constant_ID192>
<Balance_Due_Constant_ID184>Balance Due</Balance_Due_Constant_ID184>
<Balance_Credit_Due_Value_ID6>121.00</Balance_Credit_Due_Value_ID6>
<Transaction_Currency_ID47>USD</Transaction_Currency_ID47>
<Credit_Due_Constant_ID194>Credit Due</Credit_Due_Constant_ID194>
</On_Address_Number_S8>
</Columnar_S7_Group>
</R5503B505>

Thanks for your response Shastry, but I am having trouble understanding it. Not sure how the above steps will read the current date.
To be more specific, I want to display only that cost that falls in fiscal year.
In above example now since it is 03/26/2011 and my fiscal year starts on 04/01 . I want to display cost from row 1 and when the same report will be run after 04/01/2011 it should display cost from  row 2.
Like wise if the report is run after n number of years , it should display cost as per the fiscal year at that time.
So i guess the formula should really depend on system date/current date/ print date
Thanks!

Similar Messages

  • "my home page only start from the tabs bar I don't see the top of the homepage

    I have a problem loading my Home page I don't see the top of the home page as the home page only starts from the tab bar I don't see the backward and forward arrows or the menu please tell me how to reload FireFox so that the full home page loads.
    == This happened ==
    Every time Firefox opened
    == Home page only start from the tabs bar I want to see the top part of the home page

    Press ALT or F10 in your keyboard to make the Menu Bar temporarily visible. If you want it to be permanently visible, go into ''View > Toolbars > Menu Bar'', or right-click the Navigation Toolbar (the Reload button, for example) and select ''Menu Bar''.
    If this doesn't help, right-click the navigation toolbar, select ''Customize...'' and click ''Restore Default Set''. If it doesn't appear right away, try pressing ALT or F10. You can go into ''View > Toolbars > Menu Bar'' to make it permanently visible, or right-click the Navigation Toolbar and select ''Menu Bar''.
    If none of this helps, you may be having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Try disabling all add-ons (just to check), to see if Firefox goes back to normal.

  • Invoice Footer printing on every page of invoice instead of first page only

    Hi,
    I am working on an AR invoice report. I have a RTF template (template is 1 page only) and the output is PDF. The invoice has invoice header ( bill to , pay to ) and invoice line details. On the bottom of the first page of every invoice , I need to show the "customer address" and other details such as "total amt , customer no etc".. If the invoice line details overflow , only that information should be printed on the next page..
    Right now , I have put the portion which needs to be displayed only on the first page in the "footer" section of the RTF. Due to footer , it gets repeated on every page of invoice..
    I tried to get the current page number(<fo:page-number>) and compare it to 1 , but somehow its giving me syntax eorror...
    Can someone please provide me directions on how to do this.. I can send the template and XML data if needed...
    Thanks

    Do you have any solution for this problem? I am facing the same for A/C Statement.
    thanks

  • I want to display invoice details(MIRO) in REPORT

    Hi,
       i am new for abap can any one please send code for to display miro details in a report based on below logic.
    Pass the RSEG-BELNR & RSEG-GJAHR joined together into BKPF-AWKEY to get the MIRO Doc date BKPF-BUDAT, vendor invoice number BKPF-XBLNR& Vendor invoice date BKPF-BLDAT.
      Pass the RSEG-BELNR & RSEG-GJAHR joined together into BKPF-AWKEY to get the BKPF-BELNR & BKPF-GJAHR to pass this into BSEG-BELNR BSEG-GJAHR to get the BSEG-LIFNR, BSEG-DMBTR, BSEG-ZTERM corresponding to the vendor code.

    Set the option PRINT OBJECT ON to First Page, I think this might resolve your problem.

  • I want to display one field in first page only

    Hi All
    I have a tipical question. I am working on invoice report in which i need to display one field which should display in the first page only. For a second invoice that field should not get displayed. In the first page only it should get display. Is there any workarround for this.
    It would be greate help if anybody suggest the solution for this.
    Thanks in Advance
    Sudheer

    Hi
    Sorry. My Question is:
    I am generating the invoices. If particular invoice lines data extend to next page then invoice header should get repeted in the second page except one field. For each invoice, that filed should get display only first page of invoice and should not come in subsequent pages. For each invoice it should be like this. I am using @section loop to refresh the page numbers for each invoice.
    Is there any work arround to display the partiuclar filed in first page of invoice?
    Any suggestions highly appriciated?
    Thanks
    sudheer

  • Need ideas on how to display a footer on last page only on a dynamic document

    I have a document that is similar to this...
    Dear Customer,
    paragraph 1 content dkdk dkd alkfdjaldkjfa d
    dlkfajd;lkfja;dlkfj a.
    [repeating subform transaction data]
    Closing paragraph please contact us using one of the numbers listed below
    contact info
    The problem I am having is that I want the Contact Info block to appear as a footer on the last page only.  In addition, I want the Closing Paragraph to be on the same page as the contact info block.  The contact info is currently anchored to the bottom in the design view and when the transaction data repeats, it incorrectly pushes the closing paragraph into the contact area.  So basically if the closing paragraph starts to bleed into the contact info block, I want both closing paragraph and contact info to break to a new page.  I don't want to reduce the height of the content area because I want the transaction data to have the ability to display in the full length of the height if needed. 

    Every time you add an instance to you subform, you should hide the footer in the previous instance
    e.g.
    when adding an instance
    var intCount = _subform.count;
    _subform.addInstance(1);
    Reference_syntax.resolveNode("subform[" + intCount.toString() + "].footer").presence = "hidden"
    when removing an instance if applicable
    _subform.removeInstance(x);
    var intCount  = _subform.count - 1;
    Reference_syntax.resolveNode("subform[" + intCount.toString() + "].footer").presence = "visible";

  • Chek printng-restricting line items(invoice details) in first page of check

    I am printing a check and its invoice details(Item details) also in the same page.How it look means first page it consists of check part and document line items.  and second page check details are there.  But in case of these item details if it has more than 10 items(invoice details)  it should print on second page along with check details.where i have to write the code for it.whether in main widow or else where.please mention .
    thanks in advance.answer will be rewarded with points

    Hi AJay,
             Write the if condition for a counter to be greater than 10...then it should go
             to new page...
             Place the main window in the next page....along the check details...
             So, now when the item details are more than 10 then start in the new page
             main window and check details will also print in the second page...

  • How do I make pages only visible if the user touches a button?

    I'm creating a travel guide where I list out the attractions, give directions, and show a map of the area. Originally I was just going to have it set up like a book. Users would swipe to the attraction page, the next page would be the directions,  the following page would be a map, and then they would get to the next attraction. I've now set up buttons so that on the attraction page you can just touch the directions button or map button and you will go right there. Unfortunately the pages are still there in the app, so essentially the buttons serve no purpose.
    I want the maps and directions only visible if the user touches the button. Is there anyway to do this?

    I've moved your post to the DPS forum.
    This would best be created using a multi state object. You can set the options up using the slideshow pane in the folio overlays panel.

  • Ssrs to display Page header as per the group

    Hi All;
    I have a DataSet.
    I had group the table
    Used Page breaks so that the data gets dispalyed as per the parent group
    I need to display the Page header as well as per teh parent group
    Is this possible?
    Any help much appreciated
    Thanks
    Pradnya07

    Hi Simran08,
    According to your description, you added group to the table and added page break to the group. You want to show page header according to group.
    In Reporting Services, we can use ReportItems to refer to the value of the report design surface in corresponding textbox. For example, if you want to show the group name in each page header dynamically, we can refer to the following steps:
    Right-click anywhere of page header, click Insert, then click Text Box.
    Right-click the text box, and click Expression.
    In the expression text box, type the code like below:
    =ReportItems!name.Value
    The following screenshots are for your reference:
    Reference:
    ReportItems Collection References (Report Builder and SSRS)
    If you have any more questions, please feel free to ask.
    Best Regards,
    Wendy Fu

  • An Edit page: I always see the same data.

    Hello,
    I'm learning ADF.
    I have a problem with a very small web application I'm trying to develop. I have 2 pages, an overview page and an edit page.
    The overview page has a ADF read-only table which is based on a view on 1 table which has only 2 records. The table has an edit button and every row has a radio button, so I can choose a row, press the edit button and go to a detail page (the edit page) where I can change the data.
    To make these pages I've followed the steps in this tutorial http://www.oracle.com/technology/obe/obe1013jdev/masterdetail_adf_bc/master-detail_pagewith_adf_bc.htm#t7.
    The problem is that no matter which row I choose in the overview page, I always see data of the first record in the edit page.
    I've been through the steps in "Synchronizing the pages" of the tutorial twice, but can't find a step I missed or did different. Besides that I think it could have to do something with the Iterator I'm practically clueless.
    So, anyone who perhaps knows what I could have done wrong ?

    Right, found it :-).
    On the edit page I used a different view than on the overview page.

  • Display Links on welcome screen of SC as per the role in PFCG

    Hi All,
    We have created a Z ITS service from a Z transcation and want to give the link of this ITS service on welcome screen of EBP only to some specific users.
    We created a Z role in PFCG and attached the link of this ITS service using the option 'Generic Web Address (URL Template)'  from the popup that we get on clicking Other button in PFCG .
    How to check the role to display  this link on the welcome screen?
    We can not hardcode the link in ITS template because then it will be displayed for all users.
    We can not use the Z transcation directly instead of calling the corresponding ITS service because then it also shows menu options on screen using which the user can access SAP EASY ACCESS menu from screen.
    In PFCG it display under the Go Shopping folder:
    BW_GENERIC_TYPE-Report
    So how to check the role in ITS template and show the link only to specific users?
    Thanks,
    Anubhav

    Hi Deepti,
    Sorry for the confusing description.Let me explain in detail.
    We have a Z report which should be accessible from a link on welcome screen of EBP.
    For this we created a Z transcation of this Z report and selected Easy Web Transcation radio button and SAP GUI for HTML checkbox while creating this transcation.
    Added this Z transcation in a role in PFCG .But the problem here is , when the link on screen is clicked and transcation is opened in IE it shows Menu , Save as variant , Back , Cancel and System options in header, using these user can access all transcations as if he is loged in to SAP from SAP GUI.
    To avoid this we created an ITS service using this Z transcation and created corresponding service node in SICF .
    So we either have to remove the menu options from header when this Z transcation is displayed in WEB GUI ie. when we attach this Z transcation in PFCG OR instead of calling the Z transcation , this ITS service should be called so how to attach this ITS service to PFCG ?
    Further if it is a transcation we can check in the ITS Service BBPSTART Template BBPGLOBAL_650_EMP as follows...
    <!-- Modified standard code to call Z transcation-->
    repeat with idx from 1 to MENU_NODE_TAB-TEXT.dim;
      if(MENU_NODE_TAB-S_IDENT[idx] == "ZBUSRP"); <--Here we check if the ZRole has ZBUSRP transcation attached to it in PFCG if yes then only display the link.
        A_S_IDENT<i>      = MENU_NODE_TAB-S_IDENT[idx];
        A_GEN_URL<i>      = MENU_NODE_TAB-GEN_URL[idx];
        A_OBJECT_ID<i>    = "parent.launchpad.menu.M" & MENU_NODE_TAB-OBJECT_ID[idx] & ".root.name + parent.launchpad.menu.M" & MENU_NODE_TAB-OBJECT_ID[idx] & ".path";
        A_TEXT<i>         = "Vendor Report";
        A_INTRODUCTION<i> = "Business Card Report For Administrator";
        found = 1;
      end;
    end;
    if(found==1);i=i+1;found=0;end;
    How to apply this check when calling an ITS service that is in a role in PFCG?
    I hope it is a bit clearer now.
    Thanks,
    Anubhav

  • Page Version Count within the selected dates

    Hi,
    We have a folder of name General in our site.
    i have two SharePoint date time controls on the user control.
    Now i need to get the number of page versions within the selected dates.
    I am able to get all the pages under the 'General' folder as below
    SPFolder oGeneralFolder = list.RootFolder.SubFolders["General"];
     DataTable dt = new DataTable();
    dt.Columns.Add("Page Versions Count");
    foreach (SPFile file in oGeneralFolder.Files)
    dr["Page Versions Count"] = ?
    Now i need to get the number of page versions within the selected dates.
    Because i don't see any supporting property in SPFile object to filter the page version according to the date.
    Please share your ideas or thoughts on the same.
    Regards,
    Sudheer
    Thanks & Regards, Sudheer

    Hi Naga,
    Get item of File and do the following
      foreach (SPListItemVersion v in item.Versions)
    if(v.Created > daterange &&v.Created < daterange )
    count++;
    Within the foreach loop, check for specified date range and increase the count if it fine.
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • How to NOT display header details in every page when printed with PLD

    Hi All
    I am printing a report of all related activities of a business partner using PLD.  in the printout the header details of business partner such as name, phone details are printing in every page along with contents.  how to avoid this situation printing the header details in everypage except first page?
    SV Reddy

    Hi,
    Add a formula field to the page header.  The formula field will need to contain the following text on the Content tab.
    CurrentPage()
    Add another formula field, once again add the following to the Content tab
    Field_101=='1'
    in the example above, Field_101 is the field id for the first formula field you added.
    Now all you need to do is link the fields that you only want printed on the 1st page to the 2nd formula field you added.
    Regards,
    Adrian

  • Invoice details..

    HI pals,
    I have just done a tutorial in SAP XI. The Scenario was to Get Material from SAP R/3 into a thrid party system. So the appropriate BAPI called was BAPI_MATERIAL_GET_DETAIL.
    Now I have to try another Scenario,
    I am jotting down the Scenario below.
    <b>The invoice is generated. Now if I give an invoice number I have to get the Invoice details</b>. That is to get the Invoice details from SAP R/3 into a third party system. Please give the details of which BAPI is to be called and the procedures.
    Good details is appreciated and awarded. Please
    Regards
    Anil

    Hi,
    Please clarify , which invoice would you like to..
    see
    BAPI_ACC_INVOICE_RECEIPT_CHECK Accounting: Check Invoice Receipt (OAG: LOAD PAYABLE)
    BAPI_ACC_INVOICE_RECEIPT_POST Accounting: Post Invoice Receipt (OAG: LOAD PAYABLE)
    ACC6 Accounting: BAPIs for UPDATE II
    BAPI_ACC_INVOICE_REV_CHECK Accounting: Check Reversal of Invoice Receipt (OAG: LOAD PAYABLE)
    BAPI_ACC_INVOICE_REV_POST Accounting: Post Invoice Receipt Reversal (OAG: LOAD PAYABLE)
    MRM_BAPI Invoice Verification BAPIs
    BAPI_INCOMINGINVOICE_CANCEL Invoice Verification: reverse invoice
    BAPI_INCOMINGINVOICE_CREATE Invoice Verification: Post Invoice
    BAPI_INCOMINGINVOICE_GETDETAIL Invoice Verification: display invoice
    BAPI_INCOMINGINVOICE_GETLIST Invoice Verification: list invoices
    BAPI_INCOMINGINVOICE_PARK Invoice Verification: Park Invoice
    BAPI_INCOMINGINVOICE_RELEASE Invoice Verification: release invoice
    BAPI_INCOMINGINVOICE_SAVE Invoice Verification: Flag Invoice for Background
    BAPI_BILLINGDOC_CREATE.
    BAPI_ACC_INVOICE_RECEIPT_POST
    BAPI_BILLINGDOC_CREATEMULTIPLE
    BAPI_PO_GETDETIAL
    BAPI_PO_GET_LIST
    BAPI_PO_GETRELINFO
    See below links
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
    BAPI for creating sales invoice
    BAPI for Invoice

  • How to Display Record Count on Search page?

    Hi
    I am new to OAF and one of the requirement is to display record count on Search page . I followed the same steps in Emp Search page as an example and created my search page.
    I followed the following steps
    1) I created a transietn Attribute in VO by name RecordCount
    2) I had written a method in AMImpl
    public void getRecordCount() {
    OAViewObject vo = getXXG2SourceAcctSearchVO1();
    int fetchedRowCount = vo.getFetchedRowCount();
    String msg = fetchedRowCount + " are retrived by query ";
    System.out.println(msg);
    String xfetchedRowCount = Integer.toString(fetchedRowCount);
    System.out.println("xfetchedRowCount : " + xfetchedRowCount);
    OARow reportRow = (OARow)vo.createRow();
    System.out.println("in set attribute");
    reportRow.setAttribute("RecordCount",xfetchedRowCount); // I am using this way and trying to display record count into RecordCount view Attribute
    }//getRecordCount
    3) on the SearchPG, I created a new messageStyledtext by name RecordCount and assinged VO and viewAttribute accordingly
    I am not able to see record count when i run the page ?
    Am i missing any steps ?
    I see the messages in the log file but not in Record count box ?
    Any suggestions?
    Thanks
    Ravi

    Hi Anoop
    i made the code change according to you and because of the following condition, it is createing a" new row" in the search page
    Row row = vo.createRow();
    vo.insertRow(row);
    For every search it is creating a new blank row in search page .
    I did some more research and modified my code as
    public void getRecordCount() {
    OAViewObject vo = getXXG2SourceAcctSearchVO1();
    int fetchedRowCount = 0;
    fetchedRowCount = vo.getFetchedRowCount();
    String msg = fetchedRowCount + " are retrived by query ";
    System.out.println(msg);
    //vo.setMaxFetchSize(0);
    //vo.executeQuery();
    if (fetchedRowCount == 0 )
    Row row = vo.createRow();
    //row = (OARow)vo.first();
    row.setAttribute("RecordCount", "0");
    else
    String xfetchedRowCount = Integer.toString(fetchedRowCount);
    System.out.println("xfetchedRowCount : " + xfetchedRowCount);
    Row row = vo.createRow();
    //vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    // Set the primary key value for this single-row VO.
    row = (OARow)vo.first();
    row.setAttribute("RecordCount", xfetchedRowCount);
    and in AM , I am calling this method in PFR as follows
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am1 =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    am1.invokeMethod("getRecordCount");
    now i see the record count on the search page . but after 2-3 searches, the record count value is not populating the correct value. its weird
    Any suggestions
    Thanks
    Ravi

Maybe you are looking for

  • 5700 Dot, E3 Power Cube, Thermal

    Hi there. Im a new (happy?) buyer of a MSI 5700 TD-128. I dont know why, but my card seems not to monitor the GPU temp and FAN RPM, not even with the 3D Turbo Experience application from MSI. Is there a 3rd. party program to monitor these stuff? Or m

  • Adding text to a text area

    Im trying to add text from a result set to a text area but the text simply isnt showing. When i try String s =(res.getString("OrderID")); System.out.println(s); it prints the corretc result to the screen. However, when i try String s =(res.getString(

  • Ripple Edit/Delete - Can you restrict to single tracks ?

    What am I missing about Ripple Edit/Delete ? I have video with soundtrack and one music track. I can ripple edit or ripple delete perfectly. The video and it's sound move up to fill the gap - perfect. If I add a second song to the music track then ri

  • Veeam MP 65 - SCOM 2007

    Hello, I just rebuild a collector it has been seen by the Veeam Virtualization Extensions for System Center several ESX are on it... But when I try to use the "Resend Topology" within the SCOM Console it failed... where could I check why it is failin

  • Cant create java log

    hello to all members. I have a problem installing my java into my new server "/etc/init.d/ipw_jvms: /log/ipw_jvms.log: cannot create" <----how am i suppose to created the log file?? I thought java log will be auto created when installing java http://