Conditions vs .rtf filter

Working with FM 9.2p250 and a silly request …
1. I open a document where I've been tracking changes with conditions since 2002. Only the last release's changes are visible, 'cause that's what I've specified with Show/Hide Conditional Text.
2. I select "Show All" and click [Apply]. All the conditionalised text becomes visible, as I'd hope.
3. Disdainfully, I select File > Save As… and save the file as .rtf 1.6
4. I open the .rtf in Word 2003, our current corporate standard: no sign of any of the conditionalised text visible at the moment of creating the .rtf
Is this the normal behaviour? I have no problems with it, but would just like to know.
Thanks in advance.
N

FM->RTF filters included with the different FM versions (including FM9) convert any hidden conditional text to hidden text in the exported RTF file.
To inspect this, open the RTF in Microsoft Word, then use the Ctrl-Shift-8 keyboard shortcut to toggle the display of hidden text.
Other than using the excellent Mif2Go FM->RTF export filter by Omni Systems, you can create a temporary copy of your FM file, delete any hidden conditional text (by deleting the condition itself) and the save as RTF.
Shlomo Perets
MicroType, http://www.microtype.com
FrameMaker/TCS training & consulting * FM-to-Acrobat TimeSavers/Assistants
"Improve Your FrameMaker Skills" web-based training sessions

Similar Messages

  • Multiple conditions in a filter of Bursting control file

    Hi All,
    I am trying to use multiple conditions in a filter of Bursting control file and it throws me an error.
    Can you please correct me on this.
    <xapi:template type="rtf" location="xdo://AR.XXRAXINVOPCO.en.00?getSource=true" filter=".//G_INVOICE[BILL_CUST_NAME='ABC COMPANY'] and .//G_INVOICE[BILL_CUST_NAME='ABC COMPANY']">
    Thanks,
    --John.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I have made little progress and now I am able to connect to the printer but its not printing.It prints a blank paper saying this printer is not setup for direct PDF printing.Can anyone help?
    [073112_025517889][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] initConfig(): loading default properties :{TEMP_DIR:String=/usr/tmp, BUFFERING_MODE:Boolean=true}
    [073112_025517890][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] createRequest(): called with request type :ipp_printer
    [073112_025517890][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] createRequest(): exiting
    [073112_025517890][][STATEMENT] status message:
    [073112_025517890][][STATEMENT] xdo.bursting.IPP_RESPONSE_CHECK_INTERVAL=null
    [073112_025517890][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): Called
    [073112_025517890][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] setDefaultServerProperties(): Default properties of server 'xslcisd2' are loaded. {URI:String=ipp://xslcisd2.southernco.com/ipp, server-type=ipp_printer}
    [073112_025517891][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] setDefaultServerProperties(): properties defined in this request.
    [TEMP_DIR:String] [usr/tmp/073112_025446100]
    [server-type] [ipp_printer]
    [ASYNC_CHECK_INTERVAL:Integer] [60000]
    [SERVER_NAME:String] [xslcisd2]
    [IPP_ATTRIBUTE_CHARSET:String] [utf-8]
    [IPP_DOCUMENT_FORMAT:String] [application/octet-stream]
    [BUFFERING_MODE:Boolean] [true]
    [IPP_USE_CHUNKED_BODY:String] [true]
    [URI:String] [ipp://xslcisd2.southernco.com/ipp]
    [IPP_HTTP_RESPONSE_CHECK_INTERVAL:Integer] [0]
    [TEMP_FILE_PREFIX:String] [dlvr]
    [IPP_COPIES:Integer] [1]
    [RETRY:Integer] [0]
    [RETRY_INTERVAL:Integer] [60000]
    [TEMP_FILE_SUFFIX:String] [.tmp]
    [IPP_USE_FULL_URL:String] [false]
    [ASYNC_TIMEOUT:Integer] [86400000]
    [IPP_NATURAL_LANGUAGE:String] [en]
    [073112_025517891][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): BUFFERING_MODE is ON.
    [073112_025517891][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): TEMP_DIR found, start document buffering : /usr/tmp/073112_025446100
    [073112_025517891][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] backupDocument(): Starting document buffering.
    [073112_025517893][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] backupDocument(): Creating temporary file for buffering : /usr/tmp/073112_025446100/dlvr67s66bXmwi8695010679275918372.tmp
    [073112_025517894][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] backupDocument(): 69429 bytes have been written to the temporary file.
    [073112_025517894][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] filterDocument(): Starting document preprocessing.
    [073112_025517894][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] filterDocument(): No native command found for preprocessing, exiting.
    [073112_025517895][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] backupDocument(): Finished document buffering.
    [073112_025517903][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): Start reading the buffered document file. : /usr/tmp/073112_025446100/dlvr67s66bXmwi8695010679275918372.tmp
    [073112_025517903][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): Calling DeliveryRequestHandler.submitRequest()
    [073112_025517903][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Called
    [073112_025517903][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Opening HTTP URL: http://xslcisd2.southernco.com/ipp
    [073112_025517904][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): IPP request dump:
    IPP version: 10
    operation id: 02
    charset: utf-8
    request id: 3
    -- operation attrs --
    [1]attributes-charset:utf-8
    [1]attributes-natural-language:en
    [1]printer-uri:ipp://xslcisd2.southernco.com/ipp
    [1]document-format:application/octet-stream
    -- printer attrs --
    -- job attrs --
    [1]copies:1
    [073112_025517904][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): HTTP chunked mode : true
    [073112_025517904][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): IPP request header length : 181
    [073112_025517905][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Opening HTTP client.
    [073112_025517905][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] openRequest(request) called
    [073112_025517905][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] openConnection() called - opening xslcisd2.southernco.com:80
    [073112_025517905][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] openConnection(): Start non-SSL connection.
    [073112_025517908][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] generateRequestHeader() called.
    [073112_025517908][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] generateRequestHeader(): generated request header
    POST /ipp HTTP/1.1Host: xslcisd2.southernco.com
    User-Agent: Oracle XML Publisher 5.6.3
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: application/ipp
    <<<
    [073112_025517909][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] openRequest(): using ChunkedOutputStream.
    [073112_025517909][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Writing the document to the server stream.
    [073112_025518090][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): 69429 bytes have sent to the server.
    [073112_025518090][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] submitRequest() called
    [073112_025518122][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] submitRequest(): pIn.available(): 445
    [073112_025518122][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] Constructor called
    [073112_025518122][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] parseResponse() called
    [073112_025518122][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] pIn.available(): 445
    [073112_025518123][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [HTTP/1.1 200 OK]
    [073112_025518123][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] parseResponse() 1st line of response header: [HTTP/1.1 200 OK]
    [073112_025518124][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [Content-Type: application/ipp]
    [073112_025518124][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [content-type][application/ipp]
    [073112_025518125][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [Cache-Control: no-cache, no-store, must-revalidate]
    [073112_025518125][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [cache-control][no-cache, no-store, must-revalidate]
    [073112_025518126][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [Expires: THU, 26 OCT 1995 00:00:00 GMT]
    [073112_025518126][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [expires][THU, 26 OCT 1995 00:00:00 GMT]
    [073112_025518127][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [Content-Length: 242]
    [073112_025518127][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [content-length][242]
    [073112_025518128][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : [Server: Allegro-Software-RomPager/4.34]
    [073112_025518128][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] addResponseHeader(): [server][Allegro-Software-RomPager/4.34]
    [073112_025518128][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] readLine() : []
    [073112_025518128][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] parseResponse(): end of HTTP header
    [073112_025518133][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] parseResponse(): HTTP response body ascii dump
    0x01 0x00 0x00 0x01 0x00 0x00 0x00 0x03 0x01 G 0x00 0x12 attributes-charset 0x00 0x05 utf-8H 0x00 0x1b attributes-natural-la
    nguage 0x00 0x05 en-us 0x05 ! 0x00 0x06 copies 0x00 0x04 0x00 0x00 0x00 0x01 0x02 E 0x00 0x07 job-uri 0x00 ,http://xslcisd2.so
    uthernco.com/ipp/IPP_Job_8! 0x00 0x06 job-id 0x00 0x04 0x00 0x00 0x00 0x08 # 0x00 0x09 job-state 0x00 0x04 0x00 0x00 0x00 0x03 D
    0x00 0x11 job-state-reasons 0x00 0x04 none! 0x00 0x1a number-of-intervening-jobs 0x00 0x04 0x00 0x00 0x00 0x04
    0x03 <<<
    [073112_025518133][oracle.apps.xdo.delivery.http.HTTPResponse][STATEMENT] Exiting Constructor
    [073112_025518133][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] closeConnection() called
    [073112_025518133][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] closeConnection() exiting
    [073112_025518133][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Closing HTTP client.
    [073112_025518134][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): IPP response dump:
    IPP version: 10
    operation id: 01
    charset: utf-8
    request id: 3
    -- operation attrs --
    [1]attributes-charset:utf-8
    [1]attributes-natural-language:en-us
    -- printer attrs --
    -- job attrs --
    [1]job-uri:http://xslcisd2.southernco.com/ipp/IPP_Job_8
    [1]job-id:8
    [1]job-state:3
    [1]job-state-reasons:none
    [1]number-of-intervening-jobs:4
    [073112_025518134][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequestHandler][STATEMENT] submitRequest(): Exiting submitRequest()
    [073112_025518134][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] closeConnection() called
    [073112_025518135][oracle.apps.xdo.delivery.http.HTTPClient][STATEMENT] closeConnection() exiting
    [073112_025518135][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): Finished calling DeliveryRequestHandler.submitRequest()
    [073112_025518135][oracle.apps.xdo.delivery.ipp.IPPDeliveryRequest][STATEMENT] submit(): Process done successfully. Exiting submit()
    Thanks,
    --John.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Using OR condition in RTF Template

    Hi,
    How to use OR condition in RTF?
    say for example,consider the EMP table.
    I want to show the employees of department 10 and 20 in my XML Publisher report.
    How can i write --
    if deptno = 10 or deptno =20 in RTF template

    you can add the condition in RTF template
    <?if:XMLfield=30 or XMLfield=10 ?> to display <?end if?>

  • Between condition in rtf

    hi all,
    can i have between condition in RTF. i'm trying to use <?if:+ExpirationDate+ between StartDate and EndDate ?> but doesn't work.
    any idea about this?
    please share your experience.thx
    rgrds,
    dityo

    No,
    There is no syntax called Between.
    But you can use, > and < , if the dates are in canonical format.

  • IF Condition in RTF Help text

    Hi,
    I have RTF template which contains the field to display the column name. Below are my help text.
    COLUMN1 is my XML tag and displaying AQUA color in my excel output.
    <?COLUMN1?><xsl:attribute xdofo:ctx="block" name="background-color">Aqua</xsl:attribute>From above scenario, i need to add one more condition if there is no value in my XML tag then don't display the field in my excel output. For example. I have COLUMN1 and COLUMN2 XML Tag. Only COLUMN1 contains the value but COLUMN2 not. In my excel output the COLUMN2 value should not display.
    Thanks

    Please see if (How to make condition using XML tags to check NULL values in XML Publisher templates? [ID 414022.1]) helps.
    Also, see XML Publisher Guide which can be accessed via http://www.oracle.com/technetwork/documentation/applications-167706.html
    Thanks,
    Hussein

  • "Or" condition in RTF Template

    Hello,
    In my RTF template, I try to test a statement for two values. I tried
    <?xdofx:if :A!='0' or B!= '0'?>
    <?if:A!='0' or B != '0'?>
    It doesn't work : there isn't any error but the result is wrong.
    Is there another syntax I've got to use ?
    Thanks
    Version : BI Publisher 10g
    Edited by: jbg on 4 oct. 2011 23:49

    Condition usage looks fine.
    Do these conditions individually work? Whats is your requirement?
    If possible paste a sample xml here

  • If like condition in rtf (template for oracle report)

    i'm begineer developer in oracle ebs i'm using report builder and rtf (xml) template to build report
    can anyone help my i want to make 2 layout in 1 template (1 rtf file) and give condition with if, lower and like (in sql i'm use like) but is error
    i give this query in my rft template:
    <?if: lower(WORK_ORDER_TYPE) like 'breakdown'?>
        <?start:body?>
            my_template
        <?end:body?>
    <?end if?>please help my for this problem
    thank you very much

    You can use choose too,
    note: the conditions are same
    <?choose:?>
    <?when: SHIP_COUNTRY_CODE=’IT’?>
    <?concat(‘Iscrizione Registro AEE n.’,WEEE_REG_NUM)?>
    <?end when?>
    <?when: SHIP_COUNTRY_CODE=’IT’?>
    <?concat(‘WEEE Registration No.’,WEEE_REG_NUM)?>
    <?end when?>
    <?end choose?>

  • Color format upon condition in RTF

    Hi
    will anyone help me in this issue i've a column i want when it be a negative value to display its font in red . how can i apply that in rtf template ???

    See this related thread - BI Publisher conditional formatting
    Srini

  • Menu parameter and condition in rtf template

    Hello Guys,
    I have a problem with the .rtf xml condition for my
    menu parameter.
    <?sum(COUNT
    (../P_TIME_2 =2011)
    )?>
    the above does not work. I was wondering if a "IN" clause
    or something is needed but I dont know the syntax well.

    Hello AlexAnd,
    Thanks for your reply. Unfortunately I cant post the XML here (I dont even know how to see the xml).
    Let me explain what I did so far:
    I just added a field using the BI publisher Word Plugin (.rtf).
    BI Publisher Tab - > ab¦Field - > select fied and "sum" as caluclation method in window and that popped up- > double click on field and look
    at the code.
    Now this code says
    <?sum(mySalaryCount)?>
    I want to sum up mySalaryCount from the database but only when the column for a specific row
    has the right year value.
    lets say the one that has the value 2011. So I extend to code.
    <?sum(mySalaryCount)
    (../menuParamter_selected_year =2011)
    ?>
    the problem is, the above does not work. it works for "normal" parameters but does not seem to work for
    menu parameters (as set in the bi publisher data model)
    I guess the menuparameter is a list/array and hence the = is not the right operator.
    *in my case a menu parameter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • SUM function with condition in RTF template

    Hi All,
    I have a problem in calculating the SUM in RTF template with condition,
    Here is the XML
    - <LIST_G_LINE_NOTES>
    - <G_LINE_NOTES>
    <LINE_TRX_ID>1567856</LINE_TRX_ID>
    <LINE_ID />
    - <LIST_G_TRX_LINE>
    - <G_TRX_LINE>
    <CF_ITEM_NO>SDCN1144B</CF_ITEM_NO>
    </G_TRX_LINE>
    </LIST_G_TRX_LINE>
    - <LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
    - <G_LINE_EQUIVALENT_UNIT_PRICE>
    <LINE_EQUIVALENT_UNIT_PRICE>-15.99</LINE_EQUIVALENT_UNIT_PRICE>
    <LINE_EXCHANGE_EXTENDED_AMOUNT>-223.86</LINE_EXCHANGE_EXTENDED_AMOUNT>
    <CUSTOMER_TRX_LINE_ID>1567856</CUSTOMER_TRX_LINE_ID>
    </G_LINE_EQUIVALENT_UNIT_PRICE>
    </LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
    - <LIST_G_TRX_LINE>
    - <G_TRX_LINE>
    <CF_ITEM_NO></CF_ITEM_NO>
    </G_TRX_LINE>
    </LIST_G_TRX_LINE>
    I need the summation of field LINE_EXCHANGE_EXTENDED_AMOUNT with the condition CF_ITEM_NO!=''
    can anybody help me with the solution.
    Thanks in Advance

    Kavipriya,
    Here is the XML
    <LIST_G_LINE_NOTES>
    <G_LINE_NOTES>
    <LINE_TRX_ID>1567856</LINE_TRX_ID>
    <LINE_ID />
    <LIST_G_TRX_LINE>
    <G_TRX_LINE>
    <LINE_DELIVERY_ID />
    <DISCOUNT>0</DISCOUNT>
    <CP_LN_TAX_AMT />
    <CF_ITEM_NO>SDCN1144B</CF_ITEM_NO>
    </G_TRX_LINE>
    </LIST_G_TRX_LINE>
    <LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
    <G_LINE_EQUIVALENT_UNIT_PRICE>
    <LINE_EXCHANGE_EXTENDED_AMOUNT>-223.86</LINE_EXCHANGE_EXTENDED_AMOUNT>
    </G_LINE_EQUIVALENT_UNIT_PRICE>
    </LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
    </G_LINE_NOTES>
    Edited by: user13012317 on Mar 10, 2011 11:00 PM

  • I have to use count function  in "if-else" condition in rtf tempelate

    I have a nedd to use count fucntion in my rtf fucntion in IF-ELSE condition like this :
    if
    (count INVOICE_LEVEL from xml where (INVOICE_LEVEL=SM_SUMMARY_LEVEL)) =  (count coloumn_A from xml ) --- if the count matches
    THEN print "NO DATA FOUND"
    else --- if not
    end if ;
    --------XML------
    <COMP123>
       <SM_SUMMARY_LEVEL>2</SM_SUMMARY_LEVEL>
      <SM_CHARGE_HEAD>2</SM_CHARGE_HEAD>
      <INVOICE_LEVEL>2</INVOICE_LEVEL>
      <RCVR_ADDRS3_PART1>SG</RCVR_ADDRS3_PART1>
      <RCVR_ADDRS3_PART2>ASIA ,</RCVR_ADDRS3_PART2>
      <TXN_CSTMR_REF>ABC-DEF</TXN_CSTMR_REF>
      <TAX_ID>PCT-ID</TAX_ID>
      </COMP123>
    <COMP123>
       <SM_SUMMARY_LEVEL>2</SM_SUMMARY_LEVEL>
      <SM_CHARGE_HEAD>2</SM_CHARGE_HEAD>
      <INVOICE_LEVEL>2</INVOICE_LEVEL>
      <RCVR_ADDRS3_PART1>SG</RCVR_ADDRS3_PART1>
      <RCVR_ADDRS3_PART2>ASIA ,</RCVR_ADDRS3_PART2>
      <TXN_CSTMR_REF>ABC-DEF</TXN_CSTMR_REF>
      <TAX_ID>PCT-ID</TAX_ID>
      </COMP123>
    can any one help me to write the correct syntax and logic for this .
    THANKS!

    I am using the below way but it is not working as desired it is always printing the derived value.
    <?xdofx:if (xdofx:round((to_number(to_char(SYSDATE,'JSSSSS'))-to_number(to_char(to_date(DOB_DATE, 'YYYY-MM-DD'),'JSSSSS'))) div 100000)) <= 30 then '(1-30)' else '(1-100)' end if?>
    Let me know if i missed anything..
    Thanks,
    Jana

  • Maximum Conditions in a Filter

    I have a user that is unable to update their security group membership filter because SQL is saying the query is too deep. The filter looks like:
    Any of the following
    All of the following
      - some condition
      - some condition
      - some condition
    All of the following
      - some condition
      - some condition
    All of the following
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
      - some condition
    The last sub-condition currently has 30 conditions. If we try to add to that last subcondition it will fail with the FIM event log error:
    Requestor: urn:uuid:4a0ceb97-7b08-487e-ba3e-da77194dbbed
    Microsoft.ResourceManagement: Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.Data.SqlClient.SqlException: Reraised Error 50000, Level 15, State 1, Procedure ReRaiseException, Line 37, Message: Reraised Error 50000, Level 15, State 1, Procedure ReRaiseException, Line 37, Message: Reraised Error 191, Level 15, State 1, Procedure ?, Line 672, Message: Some part of your SQL statement is nested too deeply. Rewrite the query or break it up into smaller queries.
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader()
    at Microsoft.ResourceManagement.Data.DataAccess.DoRequestCreation(RequestType request, Guid cause, Guid requestMarker, Boolean doEvaluation, Int16 serviceId, Int16 servicePartitionId)
    --- End of inner exception stack trace ---
    at Microsoft.ResourceManagement.Utilities.ExceptionManager.ThrowException(Exception exception)
    at Microsoft.ResourceManagement.Data.Exception.DataAccessExceptionManager.ThrowException(SqlException innerException, TransactionAndConnectionScope scope)
    at Microsoft.ResourceManagement.Data.DataAccess.DoRequestCreation(RequestType request, Guid cause, Guid requestMarker, Boolean doEvaluation, Int16 serviceId, Int16 servicePartitionId)
    at Microsoft.ResourceManagement.Data.DataAccess.CreateRequest(RequestType request, Guid cause, Guid requestMarker, Boolean doEvaluation, Int16 serviceId, Int16 servicePartitionId)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(CreateRequestDispatchParameter dispatchParameter)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, Boolean maintenanceMode, String synchronizationSequenceIdentifier)
    at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, String synchronizationSequenceIdentifier)
    at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Put(Message request)
    Am I stuck telling the user to rewrite the filter or is there something I need to change?

    <Going through old threads>
    They probably need to rewrite their filter.
    This error is thrown by SQL Server under several conditions.
    http://thedailywtf.com/Articles/SQL-Error-191-Nested-Way-Too-Fing-Deeply.aspx
    https://connect.microsoft.com/SQLServer/feedback/details/381679/error-inserting-a-string-built-using-480-concantenations
    One of the ways has to do with simply too many concatenations rather than nesting of subqueries (which is limited to 32 times). http://technet.microsoft.com/en-us/library/ms189575.aspx
    In the former case there was a fix made that became available with SQL 2012 or SQL 2008 R2 (see the connect bug -- link above).
    Either way that many conditions is a bit much. You might need to have them create several groups and then one group that references all of the groups membership
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • How to Print Footer details conditionally in RTF template ( XML Bi report)

    Hi,
    I have a XML ( BI) report. in which i am printing carry frwd / running total/ sub group total values in the footer section.
    I have add one more condition to display the footer values based on the <xdofo:show-carry-forward ...> values.
    Please suggest and help me on this, how to handle this case.
    Regards,
    KAP.

    Hi,
    Thanks for the reply...
    Actually i am looking for the following scenarios :
    1. i want to Hide/ Don't show last 3-pages Footer information in the report.
    2. While i am displaying the Carry forward information in the report
    a. if the page/ running total is 0, i don't want to display the footer information.
    b. only case if the page/ running total is > 0, i want enable footer information dynamically for each page.
    i have done as follows :
    in the Template main body :
    *<?template:footer?>*
    **1000* *1000**
    *<?end template?>*
    and for behind 1000 currently :
    <xdofo:inline-total display-condition="exceptlast" name="RUNAMT"><xdofo:show-carry-forward name="RUNAMT" format="99G999G999D00"/></xdofo:inline-total>
    it was printing the " RUNAMT " calculated page total sucessfully. but here if the Total = 0 then i don't want to show the value in FOOTER...
    Thanks in Advance.
    Please let me know, if more information required to help..
    KAP..

  • How to use multiple values in an IF condition in RTF

    Hi,
    I have a scenario as mentioned below.
    IF column value in ('A','B')
    display C;
    end if
    IF column value not in ('A','B')
    display D;
    end if
    My query is how to provide multiple values in an IF condition.?
    Thanks,
    Anand

    But suppose "x.jar" needs a library from "y.jar". How do you put another JAR on the classpath of an applet in a Web page?
    <applet code="z.class" archive="a.jar,b.jar,c.jar">

  • If - else condition in RTF

    Hello,
    I have four columns. The value of the fourth column depends on the first three columns. Here are the conditions. Col1 is always 0 or less than 0.
    1) if col1 = 0, then col4 = 0
    2) if (col2 + col3) + col1 >0, then col4 = col1
    3) if (col2 + col3) + col1<0, then a) if col2 + col3 >0 then col4 = col1 - (col2 + col3)
    b) if col2 + col3 <0 then col4 = 0
    How can I write the if-else statements for the above mentioned conditions?
    Please Help!

    I would suggest handling this at the query level using a case statement.

Maybe you are looking for

  • Business partner of organizational unit is not consistent

    Hi, Client is on SRM 4.0. When we are trying to search a user in the org structure, and when clicking on "Check" for this user, it was showing fine. But when we are searching any BP in the org strucutre, then immediately the BP name is vanishing agai

  • How do I save attachement from my e-mail to my I pad

    Pleas I need to save some file or an attachement on my e-mail address inbox to my ipad3 but  I found it difficult . And which application do I need to do this. Am seriously concussed and I can't go further. This is seriously hinder my work in the off

  • Complicated Mask Causes Motion 3 to Slow then Crash

    I have a very frustrating problem with Motion 3. I'm rotoscoping a person in a clip from FCP. Essentially, I'm making him color and the background B&W. Making the mask went fine and the first few frames keyframing were also fine. After a couple of mi

  • I need to chat online with an advisor - I cant find the option anywhere, where is it?

    PLEASE HElP - I was chatting with an advisor the other day via chat online to try and fix my iPhone, he told me to install something, restart my laptop which I did then I couldnt work out how to get back onto the chat. Anyone any ideas how I can open

  • SRM and DMS linkage

    Hi SAP Gurus, Hi SAP Gurus, 1) How will we link DMS content server to the SRM server, like we do with SAP R/3 and content server. the senario is the vendor has to see the documents stored in DMS along with other details in SRM and reply suitably, rig