Repeat Output based on Quantity

Hi all,
I have created a report that prints order number and line number with some other information at each page. One page prints detail for one line.
The requirement is that if there is more than one quantity for the item in the line then output for that line should repeat for the number of quantity.
Please guide on how we can meet this. I can provide with the template and xml if needed.
Thanks,
Suresh

Re: FOR loop in XML Publisher
Do - for loop :)
<ROWSET>
<ROW>
<DEPT>Z1</DEPT>
<DATA>2112</DATA>
</ROW>
<ROW>
<DEPT>A1</DEPT>
<DATA>7985</DATA>
</ROW>
<ROW>
<DEPT>B1</DEPT>
<DATA>8452</DATA>
</ROW>
<ROW>
<DEPT>B2</DEPT>
<DATA>2159</DATA>
</ROW>
</ROWSET>
Then use this
<?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
<?for-each:/ROWSET/ROW?> <?DEPT?> <?end for-each?>
<?end for-each?>

Similar Messages

  • How to group the output based on DAYS field

    Hi
    I am modifying the predefined ALV report "RFTMBL01" .I had added the days field to that report output and I have to group the output based on the DAYS field
    Records within 0-10 days in one group
    Records within 10-30 days in one group
    Records above 30 days should be  one group
    No of days may repeat that means with no of days 10 .many records will be there
    There is also a field by name "AMOUNT" in my output.
    I have to calculate SUBTOTALs at the end of every group and at the end of the report i should caluculate GRAND TOTAL.
    Please remember that i should not use any any BLOCKED ALVs and for Totals i should not use the SYMBOLS provided in the application toolbar of the report
    Thanks in Advance

    <b>>>>The file has to be routed based on the Company Code</b>
    check with xpaths.
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    <b>>>>different file should have different file name again based on the company code.</b>
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii

  • How to repeat output billing documents

    Hi Guru;
    How to repeat output billing documents ; because after VF04 maintain billing due list,
    all intercompany billing doucments can not be printed throught our local printer. We are using Biling type as intercompany billing and output as print.
    Regards,
    Raj

    Hi Raj,
    Please use T-Code VF31,output from Billing
    under Message Data select the output type that you need,  enter the  transmission medium as print  and select processing mode as Repeat processing.
    And in   billing data mention the correct billing document for which you want repeat output.
    Hope Above will resolve your problem for Repeat output for Billing Documents.
    Regards,
    Sandeep

  • 2 Repeating Frames based on the same group

    I have this report which contains 3 groups, I have the requirement to break the 2nd group so that I create a 'footer' based on the 2nd group.
    I have created 2 repeating frames (one which holds the account number, payment terms, currency) and the 2nd repeating frame based on the same group which contains the bank details
    My report looks like this:
    (1st Group)
    Customer xxxxx
    Address xxxxx
    (2nd Group)
    Account No xxxxx
    Payment Terms xxxxx
    Currency xxx
    (3rd Group -repeating)
    Trans id xxx
    amount xxx
    (2nd Group)
    Bank Details xxxxxxxxxx <--will only have one per account
    I had originally designed the report using 2 identical frame structure.
    e.g.
    Main
    Repeating Group Customer
    Repeating Group Account
    Repeating Group Transactions
    Footer
    Repeating Group Customer
    Repeating Group Account
    This format worked when the Main group did not go over a page. The 2 Account Groups were coordinated.
    When the Main group extended to more than one page, the 2 Account Groups did not match.
    The jest of what I am trying to do is a footer of the bank details be printed at the bottom of the page always.
    Any suggestions would be greatly appreciated!!!

    I didn't realise that this was such a difficult problem to solve. The requirements are quite simple (I thought)
    1) Query
    3) Groups
    a) Company
    b) Accounts
    c) Transactions
    My report needs to look like this:
    {page 1}
    COMPANY XXXXX
    ACCOUNT: 123
    Invoice ID Amount
    aaaaaaaaaa 111.11
    bbbbbbbb 111.11
    Sub Total 222.22
    --> To be printed at a predefined space on the physical page on each page. bold Bank Details for Account 123: xxxx bold
    {page 2}
    COMPANY XXXXX
    ACCOUNT: 456
    Invoice ID Amount
    aaa 10
    bbb 20
    ccc 30
    ddd 40
    ....<as many records that will force a second page
    --> but..this still needs to print!!!To be printed at a predefined space on the physical page on each page. bold Bank Details for Account 456: xxxx bold
    {page 3}
    zzz 100
    Sub Total 1000
    --> To be printed at a predefined space on the physical page on each page. bold Bank Details for Account 456: xxxx bold
    Say the next records in the query are for
    COMPANY XXXXX, ACCOUNT 789 with one detail record.
    COMPANY XXXXX, ACCOUNT 321 with multiple details records which will force a second page.
    What is happening at the moment is that the 2 repeating frames based on the Account Group,
    the first 2 pages will print out correctly, however, because the 2nd account goes over 2 pages and how I have this set the structure of the report (see above post), the bottom Account Group thinks that the account number is now 789 when in fact the top account group is still on 456
    I really hope that this is clearer.
    I am working on Reports 10g on a 10g database
    I have tried to create a ref cursor & separate the query to bring back bank details. but with no luck.
    A person had suggested that I create a separate frame and hold the bank details, which is fine. but as I previously stated, those bank details need to print on every page at a specific area on the physical page.
    If this might be of use:
    Repeating Frame Group Customer, Vertical & Horizontal elasticity Fixed
    Repeating Frame Group Account, Vertical Elasticity: Variable & Horizontal - Fixed
    Repeating Frame Group Transations, Vertical Elasticity: Expand & Horizontal - Fixed

  • Import of item prices based on quantity ranges??

    I know how to setup different prices in B1 for an item based on quantity ranges (e.g. $10 qty <20, $5 qty 20 - 50, $1 qty > 50),  However, I have thousands of inventory items so I am wondering if anyone knows of a way to import the prices and quantity ranges.  From my research I have found no way to do this.
    Thanks

    Check this thread:
    DTW 2nd set of price break not added well

  • Repeat Output in FI Invoice

    Hi All,
    Please help me finding the repeat output flag for prinitng the invoice. layout driver program has ITCPP and ITCPO as print control structure.
    Which field contains repeat output flag.
    as per that flag I have to put a msg in layout.
    Regards,
    Ashutosh Kumar

    I think you need to look at NASE VERMO field for that record to check if its a repeat output
    Rgds
    Hema

  • Repeat Output not comming properly

    hi
    when i issue output and see the print prevew every thing is comming properly in the layout.
    but when i click on button Repeat output button and if i issue the output again some of the data is missing in the layout can any one tell me what can be the reason
    thanks

    Hi Ram ,
    You check the refresh statement and clear statement in the code.... may be that u have used one of these and ur contents get deleted when again its executing.....
    Thanks & Regards
    Ashu Singh.

  • Layout is not proper when viewed through repeat output option

    hi
    when i issue output and see the print prevew every thing is comming properly in the layout.
    but when i click on button Repeat output and if i issue the output again some of the data is missing in the layout can any one tell me what can be the reason
    thanks

    it is highly probable that at the time of repeat output
    some data is not passed to the form....

  • Repeat Output without edit document PO

    Hi Expert,
    I confused for repeat output in SRM...
    How concepts repeat output when create PO in SRM?
    It's posibble, if change repeat output from e-mail to print or from print to e-mail?
    It's possible, if change repeat output without edit the document PO? If edit the document, the status back to awaiting approval....
    Need your response ASAP
    Thanks and Regards,

    Hi,
    Please open PO document and go to something header -> output.
    You can "manually" trigger PO output.
    Regards,
    Masa

  • PO repeat output

    Hi guru's
    the PO Automatic output determination-Print immediately is set with Z form attached in NACE
    the Output is printed. the Changed PO is printed.
    I can also have repeat output (N numebr of times) of the original PO (message line item without change indiactor) from ME22N-Messages or from ME9F
    My Question:
    if i select repeat output for PO message line item with change indicator, the message line item is generated but with error in processing "No fields relevant to Change". the status is red and spool does not get generated.
    Has anybody come accross such a situation. Please help

    Hello
    As u said - if i select repeat output for PO message line item with change indicator, the message line item is generated but with error in processing "No fields relevant to Change". the status is red and spool does not get generated.
    See u are assigning the change indicator athough there are no Print relevant changes done in the PO, thats y spool is not getting generated, you can simply repeat the output without change indicator it will work.
    Best regards
    Vineet

  • Setting time critical digital output based on axis position (PCI-7358)

    HI,
    I need to set a time critical digital output based on encoder position (this will switch fast acting valves). I was planning to try the general purpose DIO but I can't find any examples, I have been through the manuals, searched the site etc. Where can I find help with this, all the examples only seem to deal with digital input triggering or RTSI? I'm thinking of an onboard program that just monitors encoder positions and sets digital outputs.
    Some time back I seem to remember reading that general purpose DIO should not be used for time critical operations, is that correct? And if so what are the other options - RTSI going to another DIO board? The DIO really needs to be deterministic, is RTSI the only option?
    Any advice appreciated / Martin
    Certified LabVIEW Architect

    Even with an onboard program you will always get a delay of several milliseconds between your axis has crossed the position and until the digital outputs are set. If this is ok for you then you could choose this approach.
    For the case that you only want to toggle one digital line the Breakpoint feature should be the best solution as it toggles the breakpoint output almost immediately when the breakpoint positions are reached.
    If you need to change a whole pattern instead of only a single line then the approach you mentioned would be the best solution (RTSI and high-speed DIO like the 653x boards). Combine this approach with the breakpoint feature by routing the breakpoint output to RTSI and using this as a update clock signal for the DIO board.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • XML PO is getting released from SRM only when Repeat Output is performed

    Dear Experts,
    Extended Classic Scenario(SRM-XI-SUS) inwhich SRM and SUS have on same SRM Server 7.0 but with differentt clients.
    XML communication is being happened between SRM and SUS.
    PO is created and ordered from SRM but it is releasing to SUS only when Purchaser in portal  is performed  Repeat Output manually or can say "Process for  BBP_PO_SEND_XML Is Started" only when we click Repeat Output button by purchaser in portal login.
    Replicating Steps :
    1. Create shopping cart by Employee, Approve by Manager and PO is created(for say : 21111).
    2. Open PO (21111) by Purchaser Login.
    3. Go to Header Tab then Output sub tab.
    4. Then i have to click Repeat Output button then only "Processing BBP_PO_SEND_XML Badi Is Started"  otherwise not.
    Thanks in advance.
    Regards,
    Pawan Keshwani

    Hi,
    Thanks for your reply.
    I have configured  Application Control Workflow correctly ( I am using Workflow without approvals for PO (BUS2201))
    And in Rz20, I am getting below messege ("SHD : MTE class BBP_PO , Client 901 : No MTEs currently available*) for PO in Rz20 given below path
    (CCMS  monitor sets -> SAP (CEN) EnterpriseBuyer Monitors -> Purchase Order)
    I am configured ESOA Architecture in XI  for SRM-SUS , and my root issue is " I am not able to generate XML messeges in SRM".
    Not getting any messege in SXMB_MONI in SRM.
    Regards,
    Pawan Keshwani

  • Repeat Output Function module

    Hi SDN,
      Is there is any standard function module for repeat output in the shipments(VL02N)?
    Call the transaction VL02N , go to "GOTO" from the menu and choose "OUTPUT". Then select a output type and then press the button "REPEAT OUTPUT".

    Hello Ricky
    To transform ABAP to XML you can use the simple transformation, e.g.:
    DATA:
      gt_itab    TYPE TABLE OF knb1,
      gd_xml   TYPE string.
    * Select data into gt_itab
      CALL TRANSFORMATION id_ident
        SOURCE abap = gt_itab
        RESULT XML gd_xml.
    You could place this coding into a function module having an IMPORTING parameter of type TABLE (generic table type). However, this generic type will not work for a RFC-enable function module.
    Regards
      Uwe

  • AUC distribution and settlement based on quantity

    we have a requirement. my client want to procure 100 air conditioners under AUC, and want to capitalize it at the time of putting it to use. So, we need to capitalize the asset based on quantity. Is there any method to distribute/settle based on quantity. As i can only find option of percentage and amount in distribution rule.
    regards

    hi,
    did you try it with
    Equivalence number for order settlement
    The costs collected in the sender object are distributed to the settlement receivers, in proportion to the equivalence numbers.
    Kind Regards
    Tarik

  • Control analog output based on analog input

    Dear forumers,
    I am pretty new to the labview programming so excuse me if this was posted before.
    I use: Labview 8.5 + PCI 6229
    I want to create a real time feedback: to control analog output based on analog input. The task is very simple - if the ai1 (analog input 1) voltage is larger than a constant, then decrease the voltage of the ao1 (analog output 1) by a constant. Otherwise increase the voltage of ao1 by the same constant.
    All should work for 10 seconds.
    I have tried to implement this using 2 daq asistants and various methods. The problem is that I get the whole signal recorded from the ai1 ( 10 seconds) and then modified and released to the output (another 10 seconds). The execution takes 20 seconds instead of 10 and it is not realtime at all.
    Is it a must to make vi in "run continuous" mode to make it work ?
    Please help :}.
    I am attaching 2 examples.
    1. Main idea what I am trying to accomplish
    2. Very simple example that still does not work in real time simultaneously.
    Attachments:
    example-main.vi ‏180 KB
    example-simple.vi ‏147 KB

    nooto wrote:
    Thank you for your suggestion.
    I understand the simple arithmetic you are talking about. However I do not understand why it takes 20 seconds instead of 10 to complete the task. In other way to say - why it reads the whole input first (10 seconds) then write the output ( 10 seconds).
    Why doesn't ir read and write simultaneously?
    If I use Elapsed Time function - what feedback response time can I expect ? Is it good to use Elapsed Time if i need fast response time? In my application i would I need about 1 milisecond response time. Currently in the example the rate is 50 Hz, later I would like to change the rate to 1000.
    You simply don't understand the underlying paradigm of LabVIEW -
    dataflow. You have a dependency between the first DAQ Assistant and the
    second. The second simply will not start until the first finishes. There
    is no way around that given your condition that the output depends on
    what you read.
    If you want 1 millisecond response time then you will have to swithc to a real-time OS. Windows does not have that kind of resolution and there is way to much jitter.

Maybe you are looking for

  • How do I add an MP3 Soundtrack to my animation in Adobe Edge?

    Sorry if this has been discussed, I can't find a way to search the discussions I simply want to include an MP3 soundtrack to run during my animation - import does not allow MP# files to be imported. Thank you!

  • Network Conenctivity Error in 11.1.2

    Hi All, I am able to login Admin Console.However when I am trying to connect Essbase server i am getting below error netwrok error [10061]:Unable to connect to [ServerName:1423]. The Client Timed out waiting to connect to Essbase agent using TCP/IP.C

  • IC Webclient Startup

    I'm setting up IC Webclient on CRM 5.0. I've activated all the necessary services but I am running into a problem when launching the webclient. The page opens but displays only the scratchpad, channel selector and reject icons. I would appreciate any

  • Newsstand for Yosemite?

    When will Apple do the right thing and release Newsstand for Yosemite? I thought the big hype around this new operating system waas to make information available across all ios platforms? I dont have a ipad anymore, and reading my mag subscriptions i

  • Is there a way to access MY movies without having iTunes on???

    I want to watch without my laptop having to be on...purchased stuff shows up, but not my personally owned content.  Is there a way to trick itunes into thinking that my personal movies (purchased on DVD/BluRay or personal home movies) are purchased s