How to use if condition in XML Publisher Desk Top
Hi..,
How to use if condition in XML Publisher desk Top.
Please guide me.
Thanks,
Suresh.
What kind of condition you want to use?
You can use Condition like this:
<?xdofx:if condition then value1
else if condition then Value2
else Value3
end if?>
Please go thru XML Publisher User Guide.
Thanks
Ravi
[email protected]
Similar Messages
-
How to migrate rtf Templates in XML Publisher ?
Hi All,
I want the script so that i can download and upload the RTF files directly from my development instance to my production instance.
For this i have come across 3 links
How to migrate rtf Templates in XML Publisher?
http://download.oracle.com/docs/cd/B40089_10/current/acrobat/120xdoig.pdf
unable to migrate physical files using XDO Loader utility
and from here i am running this command from /home/aryan directory
java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD -DB_USERNAME apps -DB_PASSWORD fnd -JDBC_CONNECTION sharp.apps.com:1522:tst1 -LOB_TYPE TEMPLATE -APPS_SHORT_NAME CUSTOM -LOB_CODE ZEMP -LANGUAGE en -TERRITORY US
but it is giving me error "ksh: java: not found". could anyone can tell me how and from where i have to run the download and upload command
Thanks
AryanHi Hussein,
I tried with applmgr also and still for java -version it is giving me error ksh Java not found
and for which java it is giving me error no java found in different directories path.
Thanks
Aryan -
Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher where date should be displayed as date only not string.
I've tried to use hierarchy node variables, but it seems like you can't specify a attribute of the hierarchy such as level. So with the WBS hierarchy, if you create a hierarchy node variable, you specify the WBS value to select (If I understand this correctly). I wish I could instead specify "give me all the WBS nodes that happen to have the value of the level attribute greater or equal to 3. If I understand Juergens post, he is saying make security access so that only certain WBS levels can be returned in the query. I suppose we can try that, but that would then preclude getting the level 1 and 2 in the future if the authorization is global.
-
How to use upload condition record program RV14BTCI
Hi
how to use upload condition record program RV14BTCI.
kathir.Hi,
To run this program we have to maintain Upload file in Application Directory,
We have to maintain 3 levels of records in that file.. my feel you upload through BDC or LSMW.
For your information,
The batch input program RV14BTCI reads the parameters is necessary
Giving sequential file and creates (depending on the data
In the file seq) one or more batch input sessions.
The data are seq file in the following structure expected:
- The session a session intent (Table KOBTCI, Record 0)
All other records until the next session, the intent
Last session assigned to read
- The head condition Sentence (Table KOBTCI, record 1)
All other records until the next condition,
Last read head appropriate rate
This includes the corresponding condition
Condition table
- The key sentence of a Main (Table KOBTCI, record 2)
It must be directly on the head set to follow
It contains the key condition of the table
+ Detail fields
- The season record has a subordinate clause (Table KOBTCI, record 3)
The teams relate to the key sentence in the main
Best Regards,
KSK -
How to use Euro symbol in xml tags?
How to use Euro symbol in xml tags?
What do you mean by "in xml tags"? Can you post a three-line XML snippet showing what you hope to achieve?
-
Can I use another monitor with my iMac desk top?
Can I use another monitor with my iMac desk top? Our monitor screen is going out and would like to have another option then replacing the whole thing! I think A LCD TV would be less expensive than the repairs to our iMac.( OS 10.6.8 )
Yes, but we need to know exactly which year model you have? So that we can advise you on exactly which adapter you need for you iMac.
see > How to identify iMac models
Plus, adding that Computer Monitors make better displays than TVs and comparatively cost a little less than TVs.
For examples of monitors that have both DVI and VGA inputs:
see > LG 21.5" Widescreen FlatPanel LED HD Monitor E2242T - Best Buy
or > HP 20" Widescreen FlatPanel LED Monitor W2071D - Best Buy -
How do I transfer adobe reader from a desk top computer to a laptop
how do i transfer adobe reader from my desk top to a new lap top?
You move it as you would move any other data files or documents; nothing special about PDF files.
Easiest way is to copy them to a memory stick.
Another way is to upload them to Files or Workspaces at Acrobat.com -
# Question
before starting fire fox I can use the mouse to highlight my desk top icons. After ffox is loaded the mouse will point to the icons but will no longer high light them. When I click it just opens the icon.To attempt a new chat session...
For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
http://helpx.adobe.com/x-productkb/global/service1.html -
How to user page-number in If Condition of XML PUBLISHER
Hi,
Can any body help me regarding my issue...
I have to control footer to display in first-page only...but not in other pages.
for this i am going in this way..
my thought is to use IF condition by checking Page-number =1
but in practice i am unable to put the same in Syntax
by using <?fo:page-number?> i could able to display page-number , but how could use the same in IF condition....
Please help me asap.
Thanks in advance
srinivas poda.Hi srinivas,
Different First Page and Different Odd and Even Page Support
If your report requires a different header and footer on the first page of your report; or, if
your report requires different headers and footers for odd and even pages, you can
define this behavior using Microsoft Word’s Page Setup dialog.
1. Select Page Setup from the File menu.
2. In the Page Setup dialog, select the Layout tab.
3. In the Headers and footers region of the dialog, select the appropriate check box:
Different odd and even
Different first page
4. Insert your headers and footers into your template as desired.
At runtime your generated report will exhibit the defined header and footer behavior.
search in this forum, for this first page display only, you can find quite number of solutions.
and you cant chekc like page-number == 1 ,
as the pages are rendered at time runtime, at that time only the numbers will be available.
if you cnat find in this forum, please open this thread again. -
Issue using data link in XML Publisher
Dear All,
I am new to XML Publisher, for the first time trying data link concept in XML Publisher tool. The issue is very simple, I have two queries Q1(say it fetches sales_order_number, application_name ) and Q2 (say it fetches sales_order_number , error_number, error_description). And sales_order_number is passed as input using data link to Query Q2 from query Q1 and Q2 will retrive more than one row for a given sales_order_number.
Say for a given dept_name 1001 the output will be something similiar like
Q1:
SO# | Appl.Name
1001 | 'Invoice '
Q2:
SO# | Error.# | Error Desc
1001 | 1512 | No Data Found
1001 | 1513 | Invalid Entry
1001 | 2674 | Error while inserting the record
and the query which I have used in XML template goes like this
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[select sales_order_number, application_name
from T1
where sales_order_number = :in_sales_order_num]]>
</sqlStatement>
<sqlStatement name="LINES">
<![CDATA[
select sales_order_number , error_number, error_description
from T2]]>
</sqlStatement>
<link name="Dummy_LINK" parentQuery="Q1" parentColumn="sales_order_number" childQuery="Q2" childColumn="sales_order_number" condition="="/>
</dataQuery>
<daraStructure/>
And the grouping is as follows
<group name="G_Q1" source="Q1">
<element name="sales_order_number" value="sales_order_number"/>
<element name="application_name" value="application_name"/>
<group name="G_Q2" source="Q2">
<element name="sales_order_number" value="sales_order_number"/>
<element name="error_number" value="error_number"/>
<element name="error_description" value="error_description"/>
</group>
</group>
And in the RTF template I have properly used <?for-each:G_Q1?> <?for-each:G_Q2?>- --
<?end for-each?><?end for-each?>
Ideally the header (Q1) should have one row and the lines (Q2) should have 3 rows. But the issue here is even Q1 produces 3 rows.
If in case Q2 has 4 records, then Q1 also plots 4 records in the report output. Hope I am explaining the issue correctly. Any help to resolve the issue would be a great. Thanks in advance.
Regards,
Antony.try like this
<?if: (TYPE='A') or (TYPE= 'B')?><TABLE STRUCTURE><?end if?>
or
<?if:contains('A~B', TYPE )?><TABLE STRUCTURE> <?end if?> -
How-to use Excel for the XML file input?
Hello all,
Following our discussion with Gerhard Steinhuber on the very nice tutorial from Horst Schaude , "How to upload mass data via XML File Input" , I am starting this new discussion.
In the comments section of this previous cited tutorial, Rufat Gadirov explains how to use a generated XML from Eclipse instead of your XSD file as your source in Excel.
However, in spite of all the instructions, I am still facing the same issue in Excel when I try to save my file as XML : "The XML maps in this workbook are not exportable".
What I try to do is to create one or more Sales Orders with multiple Items in it from a XML File Input, using excel to enter data.
The part with the File input is working (if I directly upload my file to the webDAV, it creates a sales order instance with multiple items).
The only missing part is the Excel data input that I cannot make work. Any help on this matter would be greatly appreciated.
Here is my XML file that I try to use as a source in Excel before inputing data from Excel:
<?xml version="1.0" encoding="UTF-8"?>
<p:MySalesOrderUploadedIntegrationInputRequest xmlns:p="http://001365xxx-one-off.sap.com/YUUD0G3OY_" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<MessageHeader>
<CreationDateTime>2015-03-02T12:00:00.000Z</CreationDateTime>
</MessageHeader>
<List actionCode="01" listCompleteTransmissionIndicator="true" reconciliationPeriodCounterValue="0">
<MySalesOrderUploaded>
<MySalesOrderUploadedID>idvalue0</MySalesOrderUploadedID>
<MyBuyerID schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeID="token">token</MyBuyerID>
<MyDateTime>2015-03-02T12:00:00.000Z</MyDateTime>
<MyName languageCode="EN">MyName</MyName>
<MyBillToParty schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyBillToParty>
<MyDateToBeDelivered>2001-01-01</MyDateToBeDelivered>
<MyEmployeeResponsible schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyEmployeeResponsible>
<MySalesUnit schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MySalesUnit>
<MyItem>
<MyItemID>token</MyItemID>
<MyItemProductID schemeAgencyID="token" schemeID="token">token</MyItemProductID>
<MyItemDescription languageCode="EN">MyItemDescription</MyItemDescription>
<MyProductTypeCode>token</MyProductTypeCode>
<MyRequestedQuantity unitCode="token">0.0</MyRequestedQuantity>
<MyConfirmedQuantity unitCode="token">0.0</MyConfirmedQuantity>
<MyNetAmount currencyCode="token">0.0</MyNetAmount>
</MyItem>
</MySalesOrderUploaded>
<MySalesOrderUploaded>
<MySalesOrderUploadedID>idvalue0</MySalesOrderUploadedID>
<MyBuyerID schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeID="token">token</MyBuyerID>
<MyDateTime>2015-03-02T12:00:00.000Z</MyDateTime>
<MyName languageCode="EN">MyName</MyName>
<MyBillToParty schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyBillToParty>
<MyDateToBeDelivered>2001-01-01</MyDateToBeDelivered>
<MyEmployeeResponsible schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyEmployeeResponsible>
<MySalesUnit schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MySalesUnit>
<MyItem>
<MyItemID>token</MyItemID>
<MyItemProductID schemeAgencyID="token" schemeID="token">token</MyItemProductID>
<MyItemDescription languageCode="EN">MyItemDescription</MyItemDescription>
<MyProductTypeCode>token</MyProductTypeCode>
<MyRequestedQuantity unitCode="token">0.0</MyRequestedQuantity>
<MyConfirmedQuantity unitCode="token">0.0</MyConfirmedQuantity>
<MyNetAmount currencyCode="token">0.0</MyNetAmount>
</MyItem>
</MySalesOrderUploaded>
</List>
</p:MySalesOrderUploadedIntegrationInputRequest>
Thank you all for your attention.
Best regards.
Jacques-Antoine OllierHello Jacques-Antoine,
I suppose that as you have tried to construct a map from the schema, you have taken the elements from the List level down. In this case I also can't export the map.
But if you take the elements from the level MySalesOrderUploaded down, you'll get the exportable map (screenshots)
Best regards,
Leonid Granatstein -
Using dataTemplate on standalone XML Publisher doesn't work?
Hi guys, I'm using standalone XML Publisher. I created a report based on the next Data Template:
<dataTemplate name="BasicQueryDT" description="Simple query data template" dataSourceRef="rec_hum">
<dataQuery>
<sqlStatement name="basicQuery">
<![CDATA[
select to_char(sysdate, 'dd/mm/yyyy') today
from dual
]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_Main" source="basicQuery">
<element name="TheDate" value="today"/>
</group>
</dataStructure>
</dataTemplate>Then I defined a RTF template to display the results, I used the Word Template Builder for this. The template is very simple and it is just a one column table with these place holders:
<?for-each:G_Main?> <?TheDate?><?end for-each?>But when I run the report it shows nothing, just the header of the table. I know the query is executed because if I place a syntax error into the query I can see the java.sql.Exception on the XMLPSERVER console (I'm running it local by now).
Can someone help me and point out what I'm doing wrong here?
I'd really appreciate it.
Thank you all.
Mensaje editado por:
Fer DominJust run the XML first without a template, you get:
<BasicQueryDT>
<LIST_G_MAIN>
<G_MAIN>
<THEDATE>12/06/2006</THEDATE>
</G_MAIN>
</LIST_G_MAIN>
</BasicQueryDT>
Per default we always the generate Upper Case field names. So <?THEDATE?> should work in the template.
Thanks,
Klaus -
How to Use MAX condition using Query Report
Hi SAP Abap Expert,
Can we use the MAX condition in Query Report (SQ01/SQ02) ?
I have created one sample query using table VBRP and VBRK then i need to use max condition to get the MAX record in VBELN.
Please Help ???Hi Ashishsingh,
According to your description, you want to know how to use MAX function in SQL Server Analysis Services MDX Query, right? In this case, please refer to the link below which describe the syntax and sample of MDX function.
http://technet.microsoft.com/en-us/library/ms145601.aspx
http://www.mdxpert.com/Functions/MDXFunction.aspx?f=64
Hope this helps.
Regards,
Charlie Liao
TechNet Community Support -
How to save pdf output of xml publisher
Hi to all,
I have just created a new report with xml publisher and I have associated the execution to a concurrent.
When I see the output of my concurrent, I see the correct report.
Now, I need to save the output of this concurrent from pl/sql, without open the concurrent.
I'm new of xml publisher.
Do you know how can I solve my problem?
Thanks
PierHello
The BI Publisher forum is here :
BI Publisher
Regards -
How to Avoid Blank Page in XML Publisher oracle report
Hi,
I am running a report in xml publisher. The output of the report prints 2
pages, one page with correct report output and other page is a blank page
with header details.
I want to avoid this blank page. Is there something wrong? Please help to fix this issue!
Thanks!I am running a report in xml publisher. The output of the report prints 2
pages, one page with correct report output and other page is a blank page
with header details.
I want to avoid this blank page. Is there something wrong? Please help to fix this issue!Is the issue with this specific XML Publisher report only?
Do you have all the patches in (Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]) applied? -- Search for "blank page".
Thanks,
Hussein
Maybe you are looking for
-
Just downloaded a new version of itunes on windows 7 and is not responding
Just downloaded a new version of itunes on windows 7 and is not responding
-
I was in Tahiti. I used an adapter to charge my IPhone
MY Iphone & Ipad will no longer charge>
-
Market Salary Survey - Generating Composite Results
Is it possible to generate composite results by location? What other aspects can be used to generate composite results? Thanks!
-
Hi All, we are using a standard Print program for Delivery . Now i have to write a select query to fetch few more data which can't be done in the standard print program. Can you guys throw some light on how to write query in the Script form itse
-
Migration/5.1.2/Avid Codecs/Late night call to fix old project
Sound familiar? Well -- Last time I updated this project was in September. Since then, I've changed computers from G4 PPC to IntelPro, upgraded from 5.1 to 5.1.2. I know there's a post SOMEWHERE on this forum for converting these old AVID codec clips