Using  variables in etext template

Hello All,
I have a requirement where in I have to print totals in each trailer of a batch. I have to do totals only for a particular set of records.
For doing sum there is a value column under each outboundpayment record. say /payment/value
Output contains the following
header
body
trailer
for each batch the above 3 will be repeated .
say for batch 01 there will be a header, 2 records in the body and 1 record in the trailer section. Now in the trailer section I have to print sum only for batch 01.
When Iam doing sum(payment/value) it is printing the sum of all the batches as there is no condition while doing sum.
outboundpaymentinstruction
outboundpayment - 01
outboundpayment - 01
outboundpayment - 03
outboundpayment - 03
outboundpayment - 04
outboundpayment - 04
outboundpaymentinstruction
Can anyone provide some guidance. Is there a possibility of using variables ?
Regards,
Swetha

The pop-up menus you mention are not DW Template compatible.
It's a good
thing, really. Read this -
http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
There are MUCH better ways -
Check the uberlink and MacFly tutorials at PVII -
http://www.projectseven.com/
and the Navbar tutorial/articles at Thierry's place
http://tjkdesign.com/articles/dropdown/
Or this one (more recent article):
http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
Or to get it done fast, go here -
http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"BezierBoy" <[email protected]> wrote in
message
news:fpsq3u$3mq$[email protected]..
>I was about to post a similar question.
>
> I've been trying to build a template that includes
navigation buttons that
> will contain mouse-over behaviors, specifically pop-up
menus. I can
> successfully build the page as html, but when I try to
build it as a
> template,
> the "Show Pop Up Menus" selection in the behaviors panel
is grayed-out.
>
> What am I missing? I'm on a Mac running DW MX.
>
> Thanks,
>
> Jim
>

Similar Messages

  • How to use XDOXSLT in rtf template layout for etext template creation

    <DEFINE CONCATENATION>     BookDetails
    <BASE LEVEL>     Category
    <ELEMENT> Name || '/' || Price     
    <DELIMITER>      '/'
    <END DEFINE CONCATENATION>     BookDetails
    With EFTProcessor the above details are created in xsl file as follows
    <xsl:template name="CONCAT_BookDetails">
    *I need to declare one more variable here
    EG: <xsl:value-of select="xdoxslt:set_variable($mycount, count(.//Category))"/>
    --and use this variable for any dyanamic process inside this template. How to achieve this in rtf template by declaring a xdoxslt function. How to declare this
    syntax in rtf layout so that it creates a varibale in xsl template using the EFTProcessor. Please help me out. The main point here is to include xslt functions in
    rtf template layout for etext template creation.*
    <xsl:for-each select=".//Category">
    <xsl:call-template name="CONCAT_BookDetails_V"/>
    </xsl:for-each>
    </xsl:template>

    in the next time use BI Publisher forum - BI Publisher
    <?format-number(ENTERED_CR,'##,##0.00')?>it's works for me
    output:
    444    ->  444.00
    444.55 ->  444.55

  • Using Variable in the Data Template

    Hi All,
    I am on BIP 10.1.3.4.1 and DB is SQL Server. My Data Model is a Data Template wherein I have written multiple SQL Statements. I want to use a variable in my Data Template, assign it a value and use that variable to limit one of the SQL statements in the where clause like
    declare @cnt int;
    set @cnt = select count(asset_id) from asset
    How do I use in the data template. I tried using it in a separate SQL statement but it throws me an error when i run the report like
    "Need to declare the scalar variable '@cnt'
    Can we have a variable section like parameter section we have in the data template to declare the parameters?
    Any help would be highly appreciated.
    Thanks,
    Ronny

    Sorry for the shot follow up, can anybody please reply on this?

  • Save output of BIP report that uses etext template

    Hi,
    I have made a BIP report using etext template and when I click on View, it displays the data fine. But I want to save this as a text file with all the formatting intact. If I try to Export, the formatting goes haywire in the resultant txt file.
    Can anyone advise me how to save this as a txt file without disturbing the formatting?
    Thanks
    MS

    HI ,
    I'm new to Bi Publisher.Please help in creating the etext format. Can u exlpain me the step by step basic procedure.Is it a word or rtf format but while loading giving an etext file. Because only etext format can be burt to csv file. pleasse help me . maile me to [email protected]

  • Etext templates using the API

    HI All, I'm trying to create a Etext template using the API.
    EFTProcessor processor = new EFTProcessor();
    String template = TemplateLocator.getTemplateFullName(mergReq.getTemplateType(), mergReq.getTemplateName());
    processor.setData(input);
    processor.setTemplate(template);
    processor.setOutput("c:\\test.txt");
    processor.process();
    This output looks like it creates the xsl and not the text file. Am I missing a step?
    Any help would be greatly appreciated...
    Thanks,
    Matt
    BI standalone 10.1.3.4

    Hi,
    IINM, user hooks are available in other modules (like Sales & Marketing, Asset Management, ..etc). If you are looking for certain module, and you cannot find the proper APIs, please log a SR.
    Thanks,
    Hussein

  • How to Print multiple Records under one level in Etext templates.

    Hi,
    I am working on the Etext templates and customizing the standard template “US NACHA PPD FORMAT”.
    This standard template don’t have a addenda record.. I have modified and it is working for single Addenda records. But when I have multiple ADDENDA records to be printed in one particular *<outboundpayment>* level, it is not printing.
    How do I modify the template so that Multiple Addenda records get printed?
    Note:     I have multiple *<MyPayables>* tags under *<OutboundPayment>* tags.
    Please help me in understanding this…
    Regards
    Pradeep G

    What you probably need to do is generate each bio
    individually with the
    <cfdocument...> tag just the way you want them. And
    then use some of
    the advanced <cfpdf...> functionality that allows you
    to append two or
    more individual PDF's into a single large PDF.
    Here are some resources that describe some of the
    <cfpdf...> functionality.
    http://www.coldfusionjedi.com/index.cfm/2007/7/9/ColdFusion-8-Working-with-PDFs-Part-1
    http://www.coldfusionjedi.com/index.cfm/2007/7/10/ColdFusion-8-Working-with-PDFs-Part-2
    http://cfpdf.blogspot.com/
    http://cfpdf.blogspot.com/2007/06/cfpdf-action-merge_27.html
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=cfpdf_02.html

  • Preview Etext template in XML Publisher Desktop (Template Builder)

    Is there a way, or are there plans, to be able to preview an eText template using the template builder, in MS Word, like you can with PDF type templates. This is a great feature when creating PDF output and saves a lot of time. It would be great to be able to do the same for eText templates.
    Cheers,
    Dave

    You can create a dummy data definition and dummy template(etext) in xml publisher admin responsibility.
    For the Data definition , in the bottom if you scroll down you will see a link for upload preview xml data file.
    After uploading the xml file access your template and you can see a preview icon.If you click it you will see a txt file popping up
    thanks
    prasanna

  • How Can I apply a RTF Function on a variable in RTF Template in XML Publisher Report

    Hi Everyone,
    I am developing a RTF Template of XML Publisher Report, I have a variable lv_counter which I can declare using below syntax
    <?xdoxslt: set_variable($_XDOCTX, 'lv_counter',0)?>
    I can access this variable in the template as <?xdoxslt: get_variable($_XDOCTX,'lv_counter')?>
    My need is to print the variable in words in the RTF Template. I am using <?xdofx: to_check_number(xdoxslt: get_variable($_XDOCTX,'lv_counter'))?>
    But this is not working. any help will be appreciated thanks in advance
    The XML Publisher Desktop version which I am using is 10.1.3.3.0
    Please let me know where I can post this question, if this is not the appropriate discussion forum.
    Thanks in Advance.

    Hi,
    Can you elaborate your requirement little bit clear with some example like what is your expected output.
    And you can post you BI related question in the BI publisher forum
    https://forums.oracle.com/community/developer/english/business_intelligence/business_intelligence_foundation/bi_publisher/content?filterID=contentstatus[published]~objecttype~objecttype[thread]
    Regards
    Sri

  • Can we have a for loop/ the loop control construct in an etext template?

    Hi All,
    Can we have a loop control construct in etext templates?
    I have to print a remittance advice of only 11 invoices per page only. How can I do this?
    Your help in this regard is really appreciated.
    Rgds,
    Kiran Panditi

    Hi Ravi,
    Do you use SharePoint Designer 2007?
    Have you tried to use sequence approval workflow with participants in serial order?
    http://office.microsoft.com/en-001/sharepoint-designer-help/understand-approval-workflows-in-sharepoint-2010-HA101857172.aspx
    If you use SharePoint Designer 2013, there is an "loop" operation available you can take a look.
    http://prasadtechtactics.blogspot.in/2012/07/sharepoint-designer-2013-workflows-part_24.html
    Thanks
    Daniel Yang
    TechNet Community Support

  • Creation of sequence in etext template

    Hi All,
    I am creating a custom etext template for a invoice payment which will be forwarded to bank.
    The file will be generated for each invoice payment made one at a time.
    So, I have a requirement where in need to generate a sequence number in of the fields of the extext template. When the first file is send to bank, the sequence should be 1, for the second run the sequence should display 2 and so on.
    Here we cannot use the <RESET AT LEVEL> as RECORD or LEVEL as we need to control the sequence outside the etext template and in the database. So, I believe we should use PERIODIC_SEQUENCE that controls the value in database level.
    My question is how to achieve the relation between the database value and the etext template value.
    ex:
    <DEFINE SEQUENCE> allrecordsequence
    <RESET AT LEVEL> PERIODIC_SEQUENCE
    <INCREMENT BASIS> /outboundtransaction/paymentsequence[sequencename=allrecordsequence]/lastvalue + 1
    <END DEFINE SEQUENCE> allrecordsequence
    In the etext template
    sequence(allrecordsequence)
    The value in the etext template is always generation as 1, as the database record paymentsequence/lastvalue is null.
    Here is the user guide notes:
    Reset at Level
    The reset at level subcommand defines where the sequence resets its starting number. It is a mandatory subcommand. For example, to number the payments in a batch, define the reset at level as Batch. To continue numbering across batches, define the reset level as RequestHeader.
    In some cases the sequence is reset outside the template. For example, a periodic sequence may be defined to reset by date. In these cases, the PERIODIC_SEQUENCE keyword is used for the reset at level. The system saves the last sequence number used for a payment file to the database. Outside events control resetting the sequence in the database. For the next payment file run, the sequence number is extracted from the database for the start at number (see start at subcommand).
    But the sequence value in the database is not getting incremented.
    Appreciate an early response as it is really urgent.
    Thank you in advance.

    I have developed the solution using the below approach-
    Requirement - ( My requirement was a little different to what was mentioned above)
         To generate a sequence number in the e-text template of a invoice payment file.
         In a day when the first file is send to the bank, the sequence should be 1, for the second file the sequence should be 2.
         For the next day run the sequence value should be reset to 1.
    Approach 1) Use the IBY_FD_EXTRACT_EXT_PUB hook and Use sequence in the e-text template.
    GET_INS_EXT_AGG procedure is called once only for the payment instruction.
    It will add XML data element under OutboundPaymentInstruction tag.
    Add a new XML tag with the successful count of the formatted payments in a day.
    SQL query.
    SELECT COUNT (1)
    INTO v_payment_count
    FROM iby_payments_all a
    WHERE UPPER (a.org_name) = <org_name>
    AND UPPER (a.payment_profile_sys_name) =
    'profile system name'
    AND TRUNC (a.creation_date) = TRUNC (SYSDATE)
    AND a.payment_service_request_id <
    (SELECT MAX (b.payment_service_request_id)
    FROM iby_payments_all b);
    In the e-text template use the sequence number
    <DEFINE SEQUENCE>     RecordSeq1
    <RESET AT LEVEL>     OutboundPaymentInstruction
    <INCREMENT BASIS>     LEVEL
    <START AT>          1
    <END DEFINE SEQUENCE >     RecordSeq1
    While referring to the sequence use :- SSPN_PAYMENT_COUNT + SEQUENCE_NUMBER(RecordSeq1)
    to get the latest count of payment files.
    Approach 2) Using payment system
    <DEFINE SEQUENCE>      RecordsSeq1
    <RESET AT LEVEL>      PERIODIC_SEQUENCE
    <INCREMENT BASIS>      LEVEL
    <START AT> /PaymentSequence[SequenceName=’RecordsSeq1’]/LastValue + 1
    <END DEFINE SEQUENCE > RecordsSeq1
    By using a PERIODIC_SEQUENCE it will periodically generate the numbers.
    SEQUENCE_NUMBER(RecordsSeq1) is used to generate the number.
    I believe we need to have a payment system defined and associate the same to a Payment Process Profile.
    Only then can it have association with the last sequence number in the database.
    Please correct me if the Approach#2 set up is incorrect.
    Since Payment system was not necessary for the payment profile that we have used I have used approach 1
    Approach 2 can be used as a guideline :)

  • Dynamic URL Configuration using variable range - WAD

    Hi,
    I am trying to configure a URL dynamically using variable range values. There are two variables which I pass to the URL, Sales Document Number and Posting Date. Sales Document Number has a single value and Posting Date is a range variable. The single value for sales document is passed to the URL but the date range is not passed and hence the web template gets the blank value for the date and shows the variable screen as this is mandatory. The URL is as follows.
    CONCATENATE
    l_web_protocol
    l_portal_server
    Initial URL
    '/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE='
    l_web_template
    '&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE'
    '&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING'
    '&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING='
    l_var_value  "variable value
    '&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE='
    l_var_name   "Variable for info object
    '&BI_COMMAND_2-BI_COMMAND_TYPE=SET_SELECTION_STATE_SIMPLE'
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR=INTERVAL_SELECTION'
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_LOW_MEMBER-ATTRIBUTE_MEMBER_SELECTION-
    INFO_OBJECT=0PSTNG_DATE'
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_LOW_MEMBER=MEMBERS_EXIT'
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_LOW_MEMBER-MEMBERS_EXIT='
    l_range_var_name  "Customer Exit Variable
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_LOW_MEMBER-MEMBER_NAME='
    l_range-low     "Variable Value - Low
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_HIGH_MEMBER-ATTRIBUTE_MEMBER_SELECTION- INFO_OBJECT=0PSTNG_DATE'
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_HIGH_MEMBER=MEMBERS_EXIT'
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_HIGH_MEMBER-MEMBERS_EXIT='
    l_range_var_name     "Customer Exit Variable
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_HIGH_MEMBER-MEMBER_NAME='
    l_range-high      "Variable Value - High
    '&BI_COMMAND_2-RANGE_SELECTION_SIGN=INCLUDING'
    '&BI_COMMAND_2-TARGET_DATA_PROVIDER_REF_LIST=DP_TAB'      "Tab in the Web Template
    into  l_url.
    Can someone tell me asto what's going wrong with this URL? I passed single value for Posting Date and it worked fine.
    Thanks and Regards,
    Arya

    Thanks for the reply. However I did not understand couple of things. Should I try the URL like below?
    BI_COMMAND=&
    BI_COMMAND-TARGET_DIALOG_REF=l_var_name&
    BI_COMMAND-BI_ADVANCED=DLG_VARIABLE_vsc_DropdownVariants& "Which value to be passed?
    BI_COMMAND-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&  "Which value to be passed?
    BI_COMMAND-PASSIVE_ID=DLG_VARIABLE_vsc_DropdownVariants_combobox& "Which value to be passed?
    BI_COMMAND-PASSIVE_VALUE=l_var_value&
    BI_COMMAND_1=&
    BI_COMMAND_1-TARGET_DIALOG_REF=l_range_var_name&
    BI_COMMAND_1-BI_ADVANCED=DLG_VARIABLE_vsc_CommonVariablesList_VAR_1_VARINPUT& "Which value to be passed?
    BI_COMMAND_1-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&
    BI_COMMAND_1-PASSIVE_ID=DLG_VARIABLE_vsc_CommonVariablesList_VAR_1_VARINPUT_inp& "Which value to be passed?
    BI_COMMAND_1-PASSIVE_VALUE=l_range_low-l_range_high&
    BI_COMMAND_2=&
    BI_COMMAND_2-TARGET_DIALOG_REF=l_range_var_name&
    BI_COMMAND_2-BI_COMMAND_TYPE=OK
    Thanks and Regars,
    Arya

  • Problem in Formatting Number in eTEXT template

    Hi All
    We want to format the payment amount for check in the eTEXT template.
    We want a number with 2 digits after decimal point and a comma before 3 digits to the decimal point.
    We tried using
    Number, ####,###.##
    But for the data 135 it is printing 0000135.00, But we want it in 135.00
    Similary for data 1356.7, we would like to have 1,356.70
    I tried with some trial and errors, but no luck.
    your help is appreciated.
    Thanks & Regards
    Naga

    it should work,
    I would like to see your template,
    drop me xml and template to my id , its in profile.

  • Date formats and etext templates

    I have been working with etext templates in the last few days and am struggling with date conversion. My XML file has dates in the format DD-MON-YY and my output requires DDMMYYYY. It seems that the format conversion in etext template only works when the xml date is in the format YYYY-MM-DD. I thought I would convert the DD-MON-YY using a combination of TO_DATE and TO_CHAR but TO_CHAR doesn't seem to accept the date mask in etext templates. It looks like I will have to modify the original report unless someone has a way to achieve this in the template.
    Thanks,
    Dave

    I had to change the report. You may be able to change the setup in the reports server to alter the default date format but I didn't want to do that in case it affected the output of any of the other reports that are being run. (N.B. I haven't tried this myself so not sure it can be done).
    The change to the report is pretty simple, I just added a formula column that took a copy of the standard column in the report and used to_char to reformat the date. In my case I reformatted to YYYY-MM-DD so that I could use the template to change the format to the required style. This is just in case there is a later change in the output style so I won't have to modify the report again.
    When the date in the XML is in the format YYYY-MM-DD the documented formatting options work (e.g. "Date , DDMMYYYY" would convert "2005-10-26" to "26102005").

  • Using variables in Illustrator

    Hi,
    I am trying to create templates which I can re-use for wireframing purposes, and I'm trying to find similar functionality as in OmniGraffle, where I can define generic fields, such as "Author", "Copyright" "Date", or "Description", and then insert them into the document.
    Within the document in OmniGraffle, they are typically inserted by a variable convention that looks like this
    <%CreationDate%>.
    Some of those fields are then populated by the system (such as the creation date) or they can be filled in through a panel interface (such as description).
    I did some research, but all I could find seems to be related to batch operations such as replacing graphics. Are there at least some basic variables that can be created?

    Illustrator does have the option to use variables (Window - Variables).  However the variables capabilities of Illustrator isn't nearly as robust as InDesigns and it's also a lot more difficult to use as you can't just create a nice easy to follow Excel CSV file and use that, instead it uses an XML sheet with a naming convention that is more difficult to follow.  The general concensus is to avoid Illustrator's variables and use InDesign unless you absolutely must.  It's rather unfortunate that Adobe has added better usable to the variables in Illustrator, it could be extremely handy.

  • Error using variables in BEx

    Hi experts
    We use NW 04s BI SP09 and NW 04s EP SP09. We have made two queries that work fine. We have tested them in RSRT and the variables (both have customer exits and manual input) are filled. They work fine if we run them in our portal one by one. If we put one of the queries in a web template it still works fine. The problem occurs when we put two or more queries (with customer exits in both queries) into one template and use the variable screen. If we don’t use the variable screen (VARIABLE_SCREEN = OFF) the error don’t occur. I pasted a typical error message we get below (using variable screen).  The error message is displayed after the variable screen has been filled out (0P_KAYD2) and checked. 
    Specify a value for variable 0P_KEYD2
    Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    System error in program SAPSRRK0 and form APPEND_KHANDLE_1-02- (see long text)
    Log ID: 0003BA0F39140062000007F200004B9A0004233B75B61056
    Initial cause
    Message:
    Termination message sent ERROR BRAIN (629): Specify a value for variable 0P_KEYD2  MSGV1: 0P_KEYD2ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION  MSGV1: SAPMSSY1  MSGV3: UNCAUGHT_EXCEPTION
    Does anyone have the same problem?
    Kind regards
    Erik

    Yes, we are getting the same issue.  Check out thread Error while executing query on portal-SAPMSSY1 method : UNCAUGHT_EXCEPTION
    On my current project, the SAP team member said the fix would also be coming in Support Pack 11 at the end of Dec 2006.

Maybe you are looking for

  • Can't create loops in Logic 8.  This *****.

    What is wrong with apple loops utility. I load an audio file in it and when I press save, it then says that "the file could not be saved. check the destination disk's available space and try again or choose a different location." It however shows whe

  • Bluetooth not working after upgrading to Vista

    Hi All, I called tech support and they pretty much informed me that I'm s.o.l. so I thought I'd turn here.  I'm running a T60 (model 8744).  I was running Win XP and getting blue screened to death.  So I upgraded to Vista Business.  I now have everyt

  • Reverse AUC line items

    Hi, can any one tell me how to reverse line items posted to an AUC. I can see both debit and credit amounts posted and i want to reverse them and post them again with a new distribution rule. best regards genie

  • How to automatically show print dialog as soon as pdf opens?

    A pdf template was created using adobe livecycle, then the final pdf is created using pdfMerger. Is there a way to invoke the print dialog as soon as the pdf is open?

  • Break-point in field Exit

    Hi Gurus, How can we keep a break point in filed exit . can any one help me . I Kept break point in the  functional module(field exit) but when i execute cursor is not stopping at break point. can any one help me thanking in advance. Thanking you, Ra