Show The Word Original or Duplicated When Xml Have lots of Invoices

Hy! i have a template of a invoice with have multiple invoices and i print all the original and duplicated invoice sucessefull. If i have a xml with 4 invoices it prints me 8 invoices! Now i have one issue that i cant solve! in the headers i want to print original or duplicated!
<?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,2,1)?> this allow to print the original and duplicated invoices
<?xdoxslt:set_variable($_XDOCTX,DUPE,position())?> this is a variable to control the position of the for each to know if writes "original" or "duplicate"
<?choose:?><?when:xdoxslt:get_variable($_XDOCTX,DUPE)=1?>ORIGINAL<?end when?>
<?otherwise:?>DUPLICADO<?end otherwise?><?end choose?>
<?for-each@section:/R55AVPAG/View_F0413___F0414_S1_Group/On_Address_Number_S3/On_Payment_Item_Number_S4?> this allows if xml contains more than one invoice to show all
<?for-each:View_F0413___F0414_S1?> this is for each for the lines
<?choose:?><?when:xdoxslt:get_variable($_XDOCTX,DUPE)=1?>ORIGINAL<?end when?>
<?otherwise:?>DUPLICADO<?end otherwise?><?end choose?>
this piece of code works if the xml only have one invoice. it prints the "original and "duplicate" correctly. my problem is when i have one more than one invoice! in the first page of the first invoice i have "original" and in other all invoices i have "duplicate" word. And what i want is "original" "duplicated", "original" "duplicated". My problem is the Variable DUPE! i thought that this variable value was 1 efor each iteration of this <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,2,1)?> , but not. This variable is iterating for each invoice. Exist Any way to reset this variable when one invoice finish? what i want is: I print first invoice "original" , than first invoice "duplicated". When the program start's to print the second invoice this variable backs to position1.
any help? Thanks

This can happen if you drag a tab slightly down in the browser window while clicking.
Firefox has a feature called tear-off tabs
You can detach a tab from the current window and open it in a new window by dragging a tab in the browser window.
You can also do this via the right-click context menu of a tab: Move to New Window
You can drag that tab back to the tab bar in the original window to undo that detaching.
* https://addons.mozilla.org/firefox/addon/bug489729-disable-detach-and-t

Similar Messages

  • When email goes out from my IPhone, it shows the word "Primary" as the sender and not my name. How so I change this?

    When email goes out from my IPhone, it shows the word "Primary" as the sender and not my name. How do I change this?

    What is available in the Name field with the email account settings?

  • The word "ORIGINAL" is not appearing in the print out of documents

    Hi,
    For some reason the word "ORIGINAL" does not appear in the print outs (A/R Invoice, etc) anymore. But the word "COPY" appears when we reprint the documents. We could not see any setting in SAP that relates to this, and no changes in the PLD has been made prior to this issue. What could we be missing?
    Thank you,
    eric

    Hi Eric,
    The "Copy" remarks will be printed if you print a printed documents. Sometimes documents automatically change into "Open-Printed" event if we not actually print it.
    The solution is to chnge that remarks in the PLD to text "Original".
    Cheers

  • To show the list in complete format when creating an background job

    Hi ,
    I need to show the list in full format when after running a report in background.
    In sm37 after the job run the the full list is not shown.
    when I click on 'Show complete list 'it will show the complete list.
    My requirement is I want this option in default .Is there any thing we can do by configuration or is there any chance of enhancement
    kindly help
    thanks and regards,
    Subeesh Kannottil

    Hi Subeesh,
    It is one of the standard setting provided by SAP for extracting spool output.In most of the case it is sufficient. Incase of special requirement we can do as below.
    In SM37,open the spool and click the icon Display in Maximum Width or (Shift+F4). Then the complete list will be displayed.
    Regards,
    Kannan

  • How do I show the details of a customer when they are logged in a secure zone?

    How do I show the details of a customer when they are logged in a secure zone?
    I want to show the customer details as well as some customer CRM fields that are applied to the customer. None of these are entered via a form, they would be entered by the client. The customer would need to be able to log in to view the information and get an email alert when it is updated. Help!?

    Hi,
    You might want to look into customer service zones which allows customers once logged in to see their case, order and own details. 
    - http://kb.worldsecuresystems.com/133/bc_133.html
    - http://kb.worldsecuresystems.com/kb/customer-service-area-orders.html
    - http://kb.worldsecuresystems.com/kb/allowing-customers-view-update-crm.html
    Kind regards,
    -Sidney

  • HT1338 After I updated my MacProBook a box appeared showing the word "password" and I'm stuck here with no way to continue

    After I upgrade my MacProBook a box appeared showing the word "password" and I'm stuck here

    Can you Force Quit? 
    What did you upgrade? 

  • Hi,  We are developing quite a few excel worksheet reports. The reports dont show the cells if contain formulas ( when opened in iPad or ipod  ),  is there any good solutions .

    Hi, 
    We are developing quite a few excel worksheet reports.
    The reports dont show the cells if contain formulas ( when opened in iPad or ipod  ),
    Is there any good solutions .
    Thanks.

    There is no version of Excel for iPads.  iPads come with something that lets you view the contents of Excel files but it implements only the common easy features and there are (literally) hundreds of things you can do in Excel that it doesn't know how to show on the screen, including some functions.
    If you intend to work with spreadsheets on an iPad I suggest you buy Numbers for iPad
    http://www.apple.com/apps/iwork/numbers/
    which understands more (but still not 100%) of the things that Excel does.  It is so cheap that you can probably afford to buy a copy just to see whether it does what you want.
    If you are doing things with spreadsheets and intend to be primarily working on iPads then I suggest you actually use Numbers on a Mac as well, rather than using Excel at all.

  • HT2729 after downloading a tv show the words don't match the lips any fix for that?

    After downloading a tv show the words don't match the lips, is there any fix for that? 

    Do you live in a country where you can redownload tv shows?
    Learn more about which content types are supported for iTunes in the Cloud by country, as well as where iTunes Match is available.

  • I am having problems with the month of October.  When I have the full month view, the synced items from google calendars won't show.  But they do for all the other months.

    I am having problems with the month of October.  When I have the full month view, the synced items from google calendars won't show.  But they do for all the other months.  There is definitely a glitch somewhere because if I am on day view and try to click on day 15 of October, it will not let me.  It totally is acting weird.

    Free fonts, fonts from a reliable foundry?
    Have you tried removing them temporarily?
    Do you still have problems if you create a new Windows user account and log in with that? How about if you start in Safe Mode?
    And I would run a memory checker and see Troubleshoot font problems | Windows

  • HT204389 Can any tell me how i stop siri sayin the words i am typing when typing a message??

    Can any tell me how i stop siri sayin the words i am typing when typing a message??

    Hellooo Frndz....:)  i have to use UISplitviewController.and I want to do add UISplitViewController To UINavigationController but problem is that i can't do this...:(   i use MGSplitViewController Bt I Dont know Perfectly Use Of MGSplitViewController...
    so , plz give me answer for how to add UISplitViewController to UINavigationController ???
    --THNKS>>

  • When i turn on my iphone 5s gold,it keeps on showing the apple logo then turns off. i have put it in recovery mode twice. it will work a week or two then back again. please help! thanks you

    when i turn on my iphone 5s gold,it keeps on showing the apple logo then turns off. i have put it in recovery mode twice. it will work a week or two then back again. please help! thanks you

    hi
    ... i  have  a similar problem
    but  just  with  the sleep botton.
    fist use  your adapter with other iphone/itouch ... is posible itś the  problem
    second ..  let your  phone charging
    ...normally if  we  conect  our  phone ... after  some minuts  it's put on.
    after 2 hours ... trate   to use  it ... if  after  it  your phone continue same... could  be qaa electrical/physic problem
    please  if you  have a guaranty use it.
    im  sorry but  my english   is terrible.

  • Is there a way to ensure that data has been wiped from my iphone 3g. It shows the "connect to itunes" screen when turned on.

    Is there a way to ensure that data has been wiped from my iphone 3g. It shows the "connect to itunes" screen when turned on.

    That is how it appears brand new out of the box.

  • ITunes never shows the word "device" so, I cannot backup, sync etc

    I rarely plug into iTunes, update, sync because iTunes does not show the word "Device" and does not show an icon for my device. I cannot find help no this topic under the help topic and it is becoming so time consuming as I am pretty much iPhone iTunes dumb. Can someone help. I don't even know whether I will be able to find my way back to this community. So, if someone has an response and they don't get a thank you from me it is because I am lost in the system. Very frustrating. My email addy is [email protected].if someone finds me..
    Thank you community

    Hi CLHunter,
    If you have recently updated iTunes and are having issues, including device recognition issues, you may find the following articles helpful:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    Regards,
    - Brenden

  • HT201263 my ipad still will not start. When connected to wall charger it shows the connect to itunes. When connected to computer it is a black screen and slightly blinks

    my ipad still will not start. When connected to wall charger it shows the connect to itunes. When connected to computer it is a black screen and slightly blinks

    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Home button not working or unresponsive, fix
    http://appletoolbox.com/2013/04/home-button-not-working-or-unresponsive-fix/
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
     Cheers, Tom

  • HT2515 When I'm on iChat, it doesn't show the video chat icon. When I try to change it, it tells me my camera doesn't support video chats. Please help :(

    When I'm on iChat, it doesn't show the video chat icon. When I try to change it, it tells me that my camera doesn't support video chats. Please help

    A lot of folks fix these kinds of issues with a simple re-start of the phone.
    Regards
    TD

Maybe you are looking for