How to  hide information on the rtf template based on some condition

Hi,
I'm writing a new rtf template for our custom PO print program in EBS 11.5.10.. In reports 6i, you can have a format trigger on a frame or repeating frame and you can achieve this.. Can you please let me know if this is possible in XMLP and how can i do it..
Thanks,
Shree

Hi Shree,
see for example if you want to get the employees record group by department number then...in this case if you want to hide some columns of employees then use if condition...where you are using ur column name.....
like this .....if you want to hide salary column for dept no 20 then
if dept no<> 20 then sal end if;...... use this at the column def....
its like a dynamic data column generation.....for the exact code you can refer to XML Publisher User Guide......Chapter is Creating RTF Template.....section is dynamic Data Columns...
Regards
Ravi

Similar Messages

  • How can i end the Process chain based on some condition

    HI All,
    I have a scenario where i have a main pc chain which call  the  new chain at the end which in turn again call pc1. So its more like a closed loop .
    pc1-->pc2->pc1
    What main chain does is it reads some field value from a dso and assign that to some variable and set some flag to identify that value has been used. My second chain just run the report using the same variables assign by first chain. Now i have to design the main chain such that when all the values have been read from the dso, it should exit and should not trigger 2nd chain. How can i achieve this scenario.
    Thanks
    Prashant

    Hi,
    For this try using Process Type-"Decision between multiple Alternatives" in your main chain.It helps you the set condieion based on some formulas
    Pls refer links
    Decision Between Multiple Alternatives
    thanks
    nilesh
    Edited by: npathak on Aug 11, 2010 1:16 PM

  • How do i export the table data based on some condition for backup

    Is is syntax correct
    exp scott@orcl92 file=emp_29aug.dmp tables=emp
    query=\"where emp_no in (1,2,3,4) \".
    How do i take the backup of more than one table?
    what is the syntax for that
    Thans

    Thanks for your response
    If i want to add more than one condition in the query, then how do i do that
    exp scott/tiger@orcl file=scott.dmp tables=(emp, dept) query=\"where deptno = 30\" and emp_no in (1,2,3,4);
    how do i do that

  • Need to delete few rows in the query output based on some condition

    Hi all,
    My  requirement is
    Period    KF1      KF2      KF3
    09 ........10......  20.......   30
    08........  5......    -2....      .33
    08......    5......    -1......     37
    If i restrict for period 08 in the query,the output should be
    Period    KF1      KF2      KF3
    08......     5......     -2.....      33
    08......     5.....      -1......     37
    Note that here KF3 is not cummulative....i have used <=period in the restriction

    Hi,
    As i said when i restrict the period to 08,instead of getting output
    Period KF1 KF2 KF3
    08...... 5...... -2..... 33
    08...... 5..... -1...... 37
    i am getting it as
    Period KF1 KF2 KF3
    08...... 5...... -2..... 3
    08...... 5..... -1...... 4
    But i need to get the value as
    Period KF1 KF2 KF3
    08...... 5...... -2..... 33
    08...... 5..... -1...... 37
    Let me know if it is still confusing

  • How to dynamically add/remove a button from the ribbon based on some condition? (Ribbon XML)

    Hi,
    I have a ribbon (done using ribbon XML) with menu options. I need to remove few buttons from the menu dynamically based on some condition. Also, I want to change the label of another button. How to achieve this programmatically? (C#)
    Thanks in advance.
    Thanks Prasad

    Hello Prasad,
    Use callbacks for populating Ribbon controls such as menu, dropDown, gallery and etc. Then you can use the
    Invalidate or
    InvalidateControl methods of the
    IRibbonUI interface to get your callbacks invoked when required. Thus, you will be able to delete the required item(s).
    You will find the following articles in MSDN helpful:
    Chapter 11: Creating Dynamic Ribbon Customizations (1 of 2)
    Chapter 11: Creating Dynamic Ribbon Customizations (2 of 2)
    To change the label of your controls at runtime you need to use the getLabel callback and call the Invalidate or InvalidateControl methods of the IRibbonUI interface. The following series of articles describe the Fluent UI in depth:
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)

  • Xdo loader is not replacing the RTF template

    Hi ,
    I am using the below syntax to upload the RTF template. It has to replace the existing template. But it is not doing.
    java oracle.apps.xdo.oa.util.XDOLoader UPLOAD -DB_USERNAME apps -DB_PASSWORD $apps_pw -JDBC_CONNECTION $p_host:$p_port:$p_instance -LOB_TYPE TEMPLATE_SOURCE -APPS_SHORT_NAME XXNIN -LOB_CODE XXNINOMPRICELISTAUDIT -LANGUAGE en -TERRITORY US -XDO_FILE_TYPE RTF -FILE_CONTENT_TYPE 'application/rtf' -FILE_NAME $XXNIN_TOP/patch/115/import/US/R_4057_PRICE_LIST_AUDIT.rtf -CUSTOM_MODE=FORCE
    Regards
    Lokesh

    i used
    java oracle.apps.xdo.oa.util.XDOLoader UPLOAD -DB_USERNAME apps -DB_PASSWORD $apps_pw -JDBC_CONNECTION $p_host:$p_port:$p_instance -LOB_TYPE TEMPLATE -APPS_SHORT_NAME XXNIN -LOB_CODE XXNINOMPRICELISTAUDIT -LANGUAGE en -TERRITORY US -XDO_FILE_TYPE RTF -FILE_NAME $XXNIN_TOP/patch/115/import/US/R_4057_PRICE_LIST_AUDIT.rtf -OWNER APPS -CUSTOM_MODE FORCEfor your sample data
    for more info plz see
    How To Use XDOLoader to Manage, Download and Upload Files? [ID 469585.1]

  • XML Publisher:Concurrent Prg not picking the RTF Template

    Hi All,
    We developed the rdf report and design the layout and we registred it.when we run the concurrent program program is not picking the RTF template.
    We are using the Following version.
    Oracle Apps 11.5.10
    xml pub is 5.6.2
    So please do the need ful, pleaseeeeeeee
    Thanks & Regards
    Leela

    that suggests you haven't got the setup of the data definition and/or the layout template right.
    Go into the XML Publisher administrator responsibility and select 'Data Definition'
    You need to make sure that when you create the data definition it has the same code as the concurrent program short name and application. This is the connection between the two.
    Having create the data definition, click on the 'Templates' tab and create a template. It should connect with the data Definition you have just created.
    Now upload your layout template file.
    If you have this right, then you will be able to see the layout template from the onsite setting tab.

  • How can i display image in RTF template when Oracle Apps running in Windows

    Can any body help how can i display image in RTF template when oracle apps running in Windows Server.
    Thanks
    Ravi

    Hi Ravi,
    You can add images into your rtf template using MS Word Insert Picture feature.
    Did you try this method?
    Thanks
    Ravi
    [email protected]

  • HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL

    HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL USING 10g Database and 10g Application Server
    we have developed an application using oracle forms 10g with
    oracle database 10g and Application server 10g
    Application uses a single Oracle User name to connect to database
    where as at Application level there are different users (these are not database users)
    Now how can we get the information about the user/his machine etc. at database level. earlier in 6i/8i we use to get by using
    USERENV('TERMINAL')
    we had written a triggers on tables on Insert/Update where we used to update a database field Last user terminal with USERENV('TERMINAL')
    but not this information is comming to be the machine name of application server where as we wish this to be the machine name of Client. Any Way outs
    thanks
    Chaand Kackria

    hi, you can use the sys_context function, like this:
    select sys_context('userenv','current_user'),
         sys_context('userenv','os_user'),
         sys_context('userenv','host'),
         sys_context('userenv','ip_address'),
         sys_context('userenv','instance'),
         sys_context('userenv','sessionid'),
         sys_context('userenv','terminal')
    from dual;
    Is this what you 're looking for?

  • How to put information in the different tabs of same excel sheet

    Hi all,
    How to download information in the different tabs of same excel sheet.
    EG data.xls is the excel sheet name
    and sheet1 , sheet2 , sheet3 are different tabs of it.
    Is there any standad function module for this .
    If somebody is having idea abt it , Please guide.
    Regards,
    Shikha Jain

    Hi Shikha,
    You can do this by using the DOI interface for spreadsheets. Take a look at:
    http://help.sap.com/saphelp_47x200/helpdata/en/e9/0be83b408e11d1893b0000e8323c4f/frameset.htm
    Regards,
    John.

  • Anyone knows how to hide or dim the menu bar ?

    Anyone knows how to hide or dim the menu bar ?

    MagicMenu, but it may no longer work.
    Auto-hide the dock and menubar on a per-app basis .
    Hide Your Mac Menu Bar and Dock for a Cleaner Desktop.
    All found doing a Google search. Why not give that a try first before posting here.

  • How to Override Cost Center in IT 1 based on certain conditions

    Hi,
    I have a pretty good understanding on how Cost Center gets defaulted based on Org Structure.  The standard SAP solution for Cost Center will not work for my client and I need to determine the cost center based on certain conditions. I understand that I have to write custom code in some user exit or badi. I tried user exit EXIT_SAPFP50M_001, but it did not work.
    Here is my code:
    DATA: I0001 LIKE P0001.
    CASE INNNN-INFTY.
        WHEN '0001'.
          CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
            EXPORTING
              PRELP = INNNN
            IMPORTING
              PNNNN = I0001.
    This is just an example to test the concept
    I0001-kostl = 'COST_CENTER'.
         CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
            EXPORTING
              pnnnn = i0001
            IMPORTING
              prelp = innnn.
    endcase.
    When I change IT 1 record and hit enter, I can see that my code is being executed. I can see cost center being updated on the screen, but when I save it, its not able to retain that new cost center value. This might be because cost center is not an open field.
    How can I change my code so it retains its value after saving?.
    Thanks!

    Contd to manoj
    Cost Center will be a Open feild when the value of   the  switch PLOGI ORGA  should be balnk if it is haveing 1 than it will not default the value kindly check

  • How to make a region mandatory based on some conditions using CO Extension?

    Dear All,
    I want to make Attachments region in a seeded page mandatory, based on some conditions. I am able to make fields mandatory using CO Extension, but i am not able to make the attachments region mandatory. Please help.
    Thanks
    Raj

    Raj,
    I have not tried but check if you could get the rowcount which shows how many attachment are upload or not. Then by checking this throw exception if the rowcount is o.
    Thanks
    --Anil
    http://oracleanil.blogspot.com/

  • How to create a hyperlink in RTF template to navigate within the report

    Hi,
    I have an RTF template for one of my report and in that i want to provide hyperlink "Top" which will take the user to the beginning of the report. The output of the report is in HTML format which gets displayed on the browser.
    Since the report has some many tables and is very lengthy i wanted to provide an hyperlink which will navigate to the top at the end of each table.
    I formatted my report title as "Heading1" and created an hyperlink at the bottom of the table in the template and pointed it to the above heading. But still i am not able to navigate to the top from the HTML report that gets generated.
    I have the template and the sample xml file at the following shared location:
    \\Rakumara-pc\TO_XMLPUB_GURU folder.
    Please take a look and help point out what am i doing wrong.
    -thanks
    Ramesh K

    Hey Ramesh
    Thats cheating ... the forum is meant for customers not O developers ;o)
    Can you send your template link (I cannot get into your PC) to the xmlp ML and we'll help there.
    Regards, Tim

  • How to hide or make the row invisible in RTF report?

    Hi ,
    I am setting a flag = 'Y' in one condition as i want to display records only if flag = 'Y'. It is not displaying data in case flag != 'Y'.But it is displaying empty row in report for the record which does not have flag = ' Y'. How to hide those empty rows?
    See following code for example:
    <?for-each: LIST_G_STORE_ID/G_STORE_ID?>
    <?xdofx: if STORE_ID = '' then '-' else STORE_ID?>
    <?for-each: LIST_G_TRANSACTION/G_TRANSACTION?>
    <?for-each: Q1?><?if: PLAN_CODE = 'PLN'?><?xdoxslt:set_variable($_XDOCTX,'flag', 'Y')?><?end if?><?end for-each?>
    <?if: xdoxslt: get_variable($_XDOCTX,'flag') = 'Y'?><?xdofx: if TRN_DATE = '' then '-' else TRN_DATE?><?end if?>
    <?for-each@inlines:LIST_Q1/Q1?>
    <?if: xdoxslt: get_variable($_XDOCTX,'flag') = 'Y'?><?xdofx: if INVC_NUM= '' then '-' else INVC_NUM?><?end if?>
    <?for-each@inlines:LIST_Q1/Q1?><?if: xdoxslt: get_variable($_XDOCTX,'flag') = 'Y'?><?xdofx: if substr(PLAN_CODE,1,3) != 'PLN' then PRODUCT_CODE?><?xdofx: if PLAN_CODE!= 'PLN' then ','?><?end if?><?end for-each?>
    <?end for-each?><?xdoxslt:set_variable($_XDOCTX,'flag','N')?>
    <?end for-each?>
    <?end for-each?>
    please advice or let me know if more detail is needed.
    Thanks in Advance!!

    <?for-each:LIST_G_STORE_ID/G_STORE_ID [PLAN_CODE ='PLN' ]?> will only show the rows where that value of xml field PLAN_CODE is equal to 'PLN'.
    Hope this helps
    Domnic
    Edited by: Domnic_JDE_BIP on Apr 12, 2010 5:47 PM

Maybe you are looking for