Reg:How to get XML publisher output in different language like German,frenc
Hi all,
I am using data source from Oracle RDF. and i created Layout using RTF template. I too registered that in oracle apps to get output in English by choosing territory (US) and Language (english).
My doubt, Is the same way to get the out for other countries like france, italy, germany by choosing territory and language will registering multiple layout for that single datasource. Plz clarify my doubt with your suggestion.
If not, Explain the steps to get multiple layout o/p for multiple language.
I am beginner to xml publisher report creation.
Need all expert's help. So that this will help people like me when they are start working in xml publisher.
Thanks in advance..
Raj
Hi all,
Can we have .xlf file like below to handle german, french, italy and danish. I am having Single RTF file which is in en-GB format. want to translate this RTF layout to all 4 language. Please guide me.
sample code:-
<?xml version = '1.0' encoding = 'utf-8'?>
<xliff version="1.0">
<file source-language="en-GB" target-language="fr-FR" datatype="XDO" original="orphan.xlf" product-version="orphan.xlf" product-name="">
<header>
<prop-group name="ora_reconstruction">
<prop prop-type="TemplateCode">XX_STD_PROD</prop>
<prop prop-type="extractorVersion">5.6.3_120.1</prop>
</prop-group>
</header>
<body>
<trans-unit id="2b7f43c_3" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
<source>PURCHASE ORDER NO.</source>
<target>N ° de commande.</target>
<note>Text located: body/table/table/table footer</note>
</trans-unit>
</body>
</file>
<file source-language="en-GB" target-language="it-IT" datatype="XDO" original="orphan.xlf" product-version="orphan.xlf" product-name="">
<header>
<prop-group name="ora_reconstruction">
<prop prop-type="TemplateCode">XX_STD_PROD</prop>
<prop prop-type="extractorVersion">5.6.3_120.1</prop>
</prop-group>
</header>
<body>
<trans-unit id="2b7f43c_3" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
<source>PURCHASE ORDER NO.<source>
<target>ORDINE D'ACQUISTO NO.</target>
<note>Text located: body/table/table/table footer</note>
</trans-unit>
</body>
</file>
<file source-language="en-GB" target-language="de-DE" datatype="XDO" original="orphan.xlf" product-version="orphan.xlf" product-name="">
<header>
<prop-group name="ora_reconstruction">
<prop prop-type="TemplateCode">XX_STD_PROD</prop>
<prop prop-type="extractorVersion">5.6.3_120.1</prop>
</prop-group>
</header>
<body>
<trans-unit id="2b7f43c_3" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
<source>PURCHASE ORDER NO.</source>
<target>Bestell-Nr.</target>
<note>Text located: body/table/table/table footer</note>
</trans-unit>
</body>
</file>
<file source-language="en-GB" target-language="da-DK" datatype="XDO" original="orphan.xlf" product-version="orphan.xlf" product-name="">
<header>
<prop-group name="ora_reconstruction">
<prop prop-type="TemplateCode">XX_STD_PROD</prop>
<prop prop-type="extractorVersion">5.6.3_120.1</prop>
</prop-group>
</header>
<body>
<trans-unit id="2b7f43c_3" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
<source>PURCHASE ORDER NO.</source>
<target>INDKØBSORDRE NR.</target>
<note>Text located: body/table/table/table footer</note>
</trans-unit>
</body>
</file>
</xliff>
Thanks in advance
--Ben
Similar Messages
-
How to get XML PUblisher Desktop Software
Hi
Everbody, can anybody please help me in getting XML publisher desktop software or just send me the link from where can i download. It will be a great help for me,i think this software can act as an alternative to Microsoftword ,is it correct.
Regards
Sourav*.us.oracle.com are internal Oracle sites. Those links will not work. Use http://edelivery.oracle.com and search under Windows and Oracle Business Intelligence. Then click on Oracle Business Intelligence Media Pack. Download part number B29943-01.
-
Getting report (rdf) output in different language format other than english
I have a report registered in apps with the output type as pdf.when i run it,the output comes in pdf but in a language other than english.
when i run the report in the reports builder the output in pdf comes in english.I am using EBS R12.
pls suggest.....Thanx in advance...
Regards,
Kranthi>
Can you help me how can i implement using xliff file.
>
nice guide - Translating Reports - http://docs.oracle.com/cd/E10415_01/doc/bi.1013/e12187/T421739T432386.htm
>
To generate an XLIFF file from an RTF template
Open your template in Microsoft Word with the Template Builder for Word installed.
From the Template Builder menu, select Tools > Translations > Extract Text.
BI Publisher extracts the translatable strings from the template and exports them to an XLIFF (.xlf) file.
Save the file to the desired location.
>
>
One more clarification if i am going for 'create lang-template per lang' then do i need to have MLS configured in my EBS.
>
not sure about your point
what do you mean "configured" ?
mls is the ability to run you application on different language like italian, russian ....
so if you want check how many lang do you have then
select nls_language from fnd_languages where installed_flag in ('B','I');for my test instance i have only "AMERICAN"
but i can run my report with 'lang-template per lang' in different lang
so when you run your concurrent then click "options" and indicate "template language"
if you have
template name: XXTMP_ru.rtf lang: Russian
template name: XXTMP_en.rtf lang: English
then you can choose for "template language" - Russian and English -
How to get XML format output from Hyperion Financial Reporting
Dears,
We are using Hyperion Financial Reporting to replace FSG in fusion. I found that Hyperion FR report can be exported to html/excel/pdf format. However, I would like the report to export to xml format.It means I only need the xml data source.
Anyone who knows how to get the xml format output from Hyperion FR, is there any avaiable API?I think if you export the report, you will be able to open the .des file in Notepad/Wordpad and see xml content.
-
XML Publisher Output in different forrmat
Hi,
Any help with the below problem would be highly helpful.
I have an xml data file which has the folloing looping structure:
-<G_REPORT>
-<G_HEADER>
<NAME>xyz</NAME>
<ADDR1>111</ADDR1>
</G_HEADER>
-<G_LINE>
<LINE_NUM>1</LINE_NUM>
<TRX_NUM>11<TRX_NUM>
</G_LINE>
-<G_LINE>
<LINE_NUM>2</LINE_NUM>
<TRX_NUM>22<TRX_NUM>
</G_LINE>
-<G_LINE>
<LINE_NUM>3</LINE_NUM>
<TRX_NUM>33<TRX_NUM>
</G_LINE>
</G_REPORT>
My template looks something like this:
=============================
Header:
Name: <?NAME?>
Addr1: <?ADDR1?>
<for each: G_LINE>
Line:
Line Number: <?LINE_NUM?>
Transaction: <?TRX_NUM?>
<end: for each>
=============================
The output is expected as below:
=============================
Name: XYZ
Addr1: 111
Line Number: 1
Transaction: 11
Line Number: 2
Transaction: 22
Line Number: 3
Transaction: 33
=============================
The header part is expected to print in a single page, Each line part is expected to print in a new page. Thus the above report should be printing in 4 different pages.
But my report prints the output with line 1 continuing soon after the header, line 2 continuing after the line 1 and line 3 continuing after line 2.
Please help me in printing each of these lines in a different page.Two options:
1. If your motive is just to have a line break, then use <?split-by-page-break:?> before end for-each group
2. use for-each@section, if you want to reset page numbers/print group information in header/footer -
On a PC i have Windows 7 in running in German, and Firefox also in german. My MacBook Pro is running in English, so Firefox also does.
When Firefox is syncing, both language phrases are synced. The English version adds "Recently Bootmarked" and "Recent Tags" ... the German Version adds "Kürzlich als Lesezeichen gesetzt" und "Kürzlich verwendete Schlagwörter". These entries are the same, only language sensitive.
How can i fix this?Hi Carolyn,
Thanks for this.
Do you think there is any way to get the content of the libraries onto one account?
Would home sharing work just to facilitate the movement of the tracks?
Thanks again! -
How to trigger xml publisher API (ex:Delivering Documents via e-Mail)?
Dear All:
How to use xml publisher API ?
In user's guide always talk API's code.(ex:Delivering Documents via e-Mail
// create delivery manager instance
DeliveryManager dm = new DeliveryManager();
// create a delivery request
DeliveryRequest req =
dm.createRequest(DeliveryManager.TYPE_SMTP_EMAIL);
// set email subject
req.addProperty(DeliveryPropertyDefinitions.SMTP_SUBJECT, "Invoice");
// set SMTP server host
req.addProperty(
DeliveryPropertyDefinitions.SMTP_HOST, "mysmtphost");
// set the sender email address
req.addProperty(DeliveryPropertyDefinitions.SMTP_FROM,
"[email protected]");
// set the destination email address
req.addProperty(
DeliveryPropertyDefinitions.SMTP_TO_RECIPIENTS,
"[email protected], [email protected]" );
// set the content type of the email body
req.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_TYPE,
"text/html");
// set the document file name appeared in the email
req.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME,
"body.html");
// set the document to deliver
req.setDocument("/document/invoice.html");
// submit the request
req.submit();
// close the request
req.close(); )
Not say how to use this code to account effect !!
Having anybody to use API before?
Please tell me how to use that,thanks!!
BY Emily_yeHi Emily
I had the same question. After much research and a lot of deduction I produced the following:
import oracle.apps.fnd.cp.request.*;
import java.io.*;
import java.sql.*;
import java.util.Vector;
import oracle.apps.fnd.util.*;
import oracle.apps.xdo.XDOException;
import oracle.apps.xdo.common.pdf.util.PDFDocMerger;
import oracle.apps.xdo.delivery.DeliveryException;
import oracle.apps.xdo.delivery.DeliveryManager;
import oracle.apps.xdo.delivery.DeliveryPropertyDefinitions;
import oracle.apps.xdo.delivery.DeliveryRequest;
import oracle.jdbc.driver.OracleCallableStatement;
public class RunTravProgram implements JavaConcurrentProgram {
CpContext mCtx; // global reference to concurrent program context
LogFile logFile; // global reference to context logfile
OutFile outFile; // global reference to context outfile
Connection mConn = null;
ReqCompletion lRC;
//File Separator
private String mFileSeparator;
// globals for template
String XDOAppShortName = "";
String XDOtemplateCode = "";
// hard-wired constants for template addition
final String XDOLanguage = "en";
final String XDOTerritory = "US";
final String XDOFinal_format = "PDF";
final String XDOtemplateType = "TEMPLATE_SOURCE";
String PDFFile = "";
String outFilePath = "";
String progShortName = "";
String progDesc = "";
Integer iRequestID = 0;
String sWatermark = ""; // watermark text
String emailAddress = ""; // Not Implemented
String emailServer = "";
public static final String M_SUCCESS = "SUCCESS";
public static final String M_ERROR = "ERROR";
public static final String M_WARNING = "WARNING";
* Create a Java FND ConcurrentRequest objec to call fnd_request.submit_request
* The first three parameters are:
* Application Short Name -- Application Short name (ie. WAHC)
* Current Program Short Name -- Concurrent Program being called
* Current Program Description -- description for above
* These should be the first three parameters passed by the concurrent
* program in this order. The next two are constants set to null
* These are followed by the parameters passed by the first concurrent
* program that are being passed to the next concurrent program.
* I am limiting the parameter list to ten for now.
// Dynamic PLSQL statement used to get a concurrent request completion status
// This is necessary because the java class does not provide this method :-(
String mGetCompleteStatus =
"DECLARE R_VAL BOOLEAN; " + "b_phase VARCHAR2 (80) := NULL; " +
"b_status VARCHAR2 (80) := NULL; " +
"b_dev_phase VARCHAR2 (80) := NULL; " +
"b_dev_status VARCHAR2 (80) := NULL; " +
"b_message VARCHAR2 (240) := NULL; " + "BEGIN " +
"r_val := fnd_concurrent.wait_for_request (:1,5,1000," +
"b_phase,b_status,b_dev_phase,b_dev_status,b_message); " +
":2 := b_phase; " + ":3 := b_status; " + ":4 := b_message; " + "end;";
public RunTravProgram() {
// no constructor necessary for now
* Concurrent Processing provides an interface 'JavaConcurrentProgram' with abstract method
* runProgram() which passes the concurrent processing context 'CpContext'. The concurrent
* program developer will implement all of their business logic for a concurrent program in
* runProgram(). The main() method, implemented by AOL, will call runProgram() after
* performing all of the required initialization for the concurrent program, including
* establishing a database connection, initializing the required contexts, and setting up
* the log and output files. CpContext will have the request specific log and output
* file input methods
public void runProgram(CpContext pCpContext) {
mCtx = pCpContext;
OracleCallableStatement lStmt = null;
boolean bCompletion = true;
String sPhase = "";
String sStatus = "";
String sMessage = "";
//get handle on request completion object for reporting status
lRC = pCpContext.getReqCompletion();
// assign logfile
logFile = pCpContext.getLogFile();
// assign outfile
outFile = pCpContext.getOutFile();
// assign fileseparator
mFileSeparator = getFileSeparator();
// get the JDBC connection object
mConn = pCpContext.getJDBCConnection();
outFilePath =
((new File(outFile.getFileName())).getParent() == null ? "" :
(new File(outFile.getFileName())).getParent() +
mFileSeparator);
logFile.writeln("OutFile File Path: -> " + outFilePath, 0);
// get parameter list object from CpContext
// these come from the concurrent program
ParameterList lPara = pCpContext.getParameterList();
// create a temporary array and retrieve the parameters created by
// the program. Currently limiting the number of parameters to 10 for now
String pvals[] = new String[10];
int pcount = 0;
while (lPara.hasMoreElements()) {
NameValueType aNVT = lPara.nextParameter();
pvals[pcount] = aNVT.getValue();
pcount++;
if (pcount > 9)
break;
// send parameter values to the log file
logFile.writeln("Arg 1: APPL_SHORT_NAME -> " + pvals[0], 0);
logFile.writeln("Arg 2: CURR_PROG_SHORT_NAME -> " + pvals[1], 0);
logFile.writeln("Arg 3: CURR_PROG_DESCRIPTION -> " + pvals[2], 0);
logFile.writeln("Arg 4: TEMPLATE_CODE -> " + pvals[3], 0);
logFile.writeln("Arg 5: P_PLANT_CODE -> " + pvals[4], 0);
logFile.writeln("Arg 6: P_BATCH_NO -> " + pvals[5], 0);
logFile.writeln("Arg 7: P_SHOW_PROMISE -> " + pvals[6], 0);
logFile.writeln("Arg 8: P_WATERMARK -> " + pvals[7], 0);
XDOtemplateCode = pvals[3]; // store the template name globally
progShortName = pvals[1]; // store the program short name globally
XDOAppShortName = pvals[0]; // store the application short name
sWatermark = pvals[7]; // store the watermark globally
progDesc = pvals[2];
try {
// create a concurrent request object
ConcurrentRequest cr = new ConcurrentRequest(mConn);
// use the parameters to call fnd_request.submit_request
cr.addLayout(XDOAppShortName, XDOtemplateCode, XDOLanguage,
XDOTerritory, XDOFinal_format);
Vector param = new Vector();
param.add(pvals[4]); // plant code
param.add(pvals[5]); // batch ID
param.add(pvals[6]); // Show SO info flag
iRequestID =
cr.submitRequest(XDOAppShortName, progShortName, progDesc,
null, false, param);
mConn.commit();
// send the request ID to the log file
logFile.writeln("-- Request ID: ->" + Integer.toString(iRequestID),
0);
// call fnd_concurrent.wait_for_request to wait until the request
// has ended - use this to check the request status before proceeding
lStmt =
(OracleCallableStatement)mConn.prepareCall(mGetCompleteStatus);
lStmt.setInt(1, iRequestID);
lStmt.registerOutParameter(2, java.sql.Types.VARCHAR, 0, 255);
lStmt.registerOutParameter(3, java.sql.Types.VARCHAR, 0, 255);
lStmt.registerOutParameter(4, java.sql.Types.VARCHAR, 0, 255);
lStmt.execute();
// get the results of the completion
sPhase = lStmt.getString(2);
sStatus = lStmt.getString(3);
sMessage = lStmt.getString(4);
lStmt.close();
// send the results of the request processing to the log file
logFile.writeln("-- Phase: -> " + sPhase, 0);
logFile.writeln("-- Status: -> " + sStatus, 0);
logFile.writeln("-- Message: -> " + sMessage, 0);
// test here to make sure it completed correctly
if (sPhase.equals("Completed") && sStatus.equals("Normal")) {
// construct the PDF file name generated by the called request
PDFFile = progShortName + "_" + iRequestID + "_1.pdf";
// add a watermark to the generated PDF
// create an output stream for the existing PDF
// and set ouput to append
OutputStream pdfout =
new FileOutputStream(outFilePath + PDFFile, true);
// create an inputstream array (required by calling method)
InputStream pdfin[] = new InputStream[1];
pdfin[0] = new FileInputStream(outFilePath + PDFFile);
// add the watermark passed as a parameter
bCompletion = addWatermark(pdfin, pdfout);
// assign the modified file to the context out
// this will print using this request
if (bCompletion)
outFile.setOutFile(outFilePath + PDFFile);
// release the connection object
// and set the completion status for the request
if (bCompletion) {
pCpContext.getReqCompletion().setCompletion(ReqCompletion.NORMAL,
} else {
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
pCpContext.releaseJDBCConnection();
} catch (SQLException s) {
logFile.writeln("SQL Error: Exception thrown w/ error message: " +
s.getMessage(), 0);
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
pCpContext.releaseJDBCConnection();
} catch (IOException ioe) {
logFile.writeln("IO Error: Exception thrown w/ error message: " +
ioe.getMessage(), 0);
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
pCpContext.releaseJDBCConnection();
} catch (Exception e) {
logFile.writeln("General Exception: " + e.getMessage(), 0);
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
pCpContext.releaseJDBCConnection();
} finally {
try {
if (lStmt != null)
lStmt.close();
pCpContext.releaseJDBCConnection();
} catch (SQLException e) {
logFile.writeln(e.getMessage(), 0);
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
* addWatermark()
* @param pdfin
* @param pdfout
* @return boolean
* This method will work for an existing document or a newly generated
* one. Set the outputstream append flag to false for a new document
* and true for an existing one.
* NOTE: PDFDocMerger requires an inputstream array even if it only
* contains one document.
private boolean addWatermark(InputStream[] pdfin, OutputStream pdfout) {
if (!sWatermark.equals("")) {
try {
PDFDocMerger docMerger = new PDFDocMerger(pdfin, pdfout);
//docMerger.setTextDefaultWatermark(sWatermark);
docMerger.setTextWatermark(sWatermark, 80f, 50f);
docMerger.setTextWatermarkAngle(25);
docMerger.setTextWatermarkColor(1.0f, .50f, .50f);
docMerger.setTextWatermarkFont("Garamond", 100);
docMerger.process();
docMerger = null;
return true;
} catch (XDOException e) {
logFile.writeln("Watermark process Failed: " + e.getMessage(),
0);
return false;
return true;
* Returns the file separator
private String getFileSeparator() {
return (System.getProperty("file.separator"));
* EBSEmailDelivery
* @return
* Just for testing right now.
private boolean EBSEmailDelivery() {
if (!emailAddress.equals("")) {
try {
// create delivery manager instance
DeliveryManager delMgr = new DeliveryManager();
// create a delivery request
DeliveryRequest delReq =
delMgr.createRequest(DeliveryManager.TYPE_SMTP_EMAIL);
// set email subject
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_SUBJECT,
"EBS Report:" + progDesc +
" for request: " + iRequestID);
// set SMTP server host
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_HOST,
emailServer); // need to supply the email smtp server
// set the sender email address
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_FROM,
emailAddress);
// set the destination email address
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_TO_RECIPIENTS,
emailAddress);
// set the content type of the email body
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_TYPE,
"application/pdf");
// set the document file name appeared in the email
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME,
PDFFile);
// set the document to deliver
delReq.setDocument(outFilePath + PDFFile);
// submit the request
delReq.submit();
// close the request
delReq.close();
return true;
} catch (DeliveryException de) {
logFile.writeln("email process Failed: " + de.getMessage(), 0);
return false;
return true;
This is the class for a JCP I created to perform the following:
1) Launch an existing Concurrent Program that produces PDF output
2) Grab the PDF and apply a watermark based on user input or conditions
3) associate the modified PDF to CP output for PASTA printing
It isn't elegant but it is fairly simple. I added the email capability and tested it but am not implementing it at the present time.
there is a fair amount of information out there that explains how to create a JCP councurrent program but very little that demonstrates the class needed.
I hope this helps -
Problem to display a negative number in XML Publisher output in excel
Hi All,
I am facing problem in displaying a negative number in XML Publisher output in excel.
My requirement is that I have to display a negative number in brackets when the output is taken in excel format. Eg: If the value is -123 then i have to display it as (123).
I have put these brackets using a formula column in the RDF, but it is the default functionality of excel that whenever there is a number in brackets then it automatically displays that as a negative value.
Can anyone please help me how I can display this negative number within brackets and not as a negative digit. Is there any special tag or is there any formula which can be used to convert this into text and written in the Help text of RTF template.
This is very urgent. If someone knows please reply asap.
Regards,
ShrutiThis is very urgent. If someone knows please reply asap.We are all volunteers here, so no ones questions are more urgent then other ones.
If its that urgent it would have helped if you had chosen the correct forum to ask your question BI Publisher -
XML Publisher: where's XML Publisher output?
Hi,
The XML file created by report is in FND_Concurrent_Requests.outfile_name.
Where's the XML Publisher output?
I want copy the file generated (PDF or EXCEL) using utl_file.fcopy because bursting fail whe template is Type=>XSL-XML.
Do your guys have any suggestion with this case? any input is very appreciated.
thanks in advance
RobertWelcome to the forums !
Pl see if MOS Doc 305307.1 (How To Modify Print PO Report POXPOPDF With Custom Template) can help
HTH
Srini -
How to get the Query output to Excel
Hi ,
Can you tell me how to get the Query output to excel with out using any third party tool?
Can you tell me how to write the code in Webservice and call it..
Please explain it Elaboartly..
Thanks in Advance!!!
Miniwhats your source system?
you can use Live office, or query as a webservice if you are getting data from universe
if you're getting data from SAP BI query and you have a java stack on your netweaver then you can get the data directly using sap bi connector in xcelsius.
good luck -
How to get automatic message output
Hi,
How to get automatic message output while creating po cause i have done all setting in the config but still it does not work what else i have to do.
And 1 more thing how we can maintain condition record for Printoutput & External send for one output type.
Regards,
AnantHi,
Please follow the below steops for the Output of Purchase Order
1. Condition Table
SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
Select:
Purchasing Doc. Type, Purch. Organization, Vendor
2. Access Sequences
SPRO -> -> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
3. Message Type
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
*4. Message Determination Schemas*
4.1. Message Determination Schemas
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
4.2. Assign Schema to Purchase Order
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
5. Partner Roles per Message Type
SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
6. Condition Record
Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data-Messages- MN04
Here you can maintain the condition record.
All above steps u can do from transacton NACE also
now when u create po in the messages u will get the out put method as u have maintained in the above steps.
Regards,
Manish -
Hi All,
Can anybody suggest me how to get XML file of System form.
Means i want XML file of Sales order. Where i get it ?
Thanks,Hi Harish,
Lets try this code.It will solve ur problem.
Public Class SystemForm
Private WithEvents SBO_Application As SAPbouiCOM.Application
Private oOrderForm As SAPbouiCOM.Form
Private oNewItem As SAPbouiCOM.Item
Private oItem As SAPbouiCOM.Item
Private oFolderItem As SAPbouiCOM.Folder
Private oOptionBtn As SAPbouiCOM.OptionBtn
Private oCheckBox As SAPbouiCOM.CheckBox
Private i As Integer
Private Sub SetApplication()
Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
SboGuiApi = New SAPbouiCOM.SboGuiApi()
sConnectionString = Command
SboGuiApi.Connect(sConnectionString)
SBO_Application = SboGuiApi.GetApplication()
End Sub
Private Sub AddItemsToOrderForm()
oOrderForm.DataSources.UserDataSources.Add("OpBtnDS", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
oOrderForm.DataSources.UserDataSources.Add("CheckDS1", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
oOrderForm.DataSources.UserDataSources.Add("CheckDS2", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
oOrderForm.DataSources.UserDataSources.Add("CheckDS3", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
oItem = oOrderForm.Items.Item("126")
For i = 1 To 3
oNewItem = oOrderForm.Items.Add("CheckBox" & i, SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
oNewItem.Left = oItem.Left
oNewItem.Width = 100
oNewItem.Top = oItem.Top + (i - 1) * 19
oNewItem.Height = 19
oNewItem.FromPane = 5
oNewItem.ToPane = 5
oCheckBox = oNewItem.Specific
oCheckBox.Caption = "Check Box" & i '
oCheckBox.DataBind.SetBound(True, "", "CheckDS" & i)
Next i
oItem = oOrderForm.Items.Item("44")
For i = 1 To 3
oNewItem = oOrderForm.Items.Add("OpBtn" & i, SAPbouiCOM.BoFormItemTypes.it_OPTION_BUTTON)
oNewItem.Left = oItem.Left
oNewItem.Width = 100
oNewItem.Top = oItem.Top + (i - 1) * 19
oNewItem.Height = 19
oNewItem.FromPane = 5
oNewItem.ToPane = 5
oOptionBtn = oNewItem.Specific
oOptionBtn.Caption = "Option Button" & i
If i > 1 Then
oOptionBtn.GroupWith("OpBtn" & i - 1)
End If
oOptionBtn.DataBind.SetBound(True, "", "OpBtnDS")
Next i
End Sub
Public Sub New()
MyBase.New()
SetApplication()
End Sub
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
If ((pVal.FormType = 139 And pVal.EventType <> SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD) And (pVal.Before_Action = True)) Then
oOrderForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
If ((pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD) And (pVal.Before_Action = True)) Then
oNewItem = oOrderForm.Items.Add("UserFolder", SAPbouiCOM.BoFormItemTypes.it_FOLDER)
oItem = oOrderForm.Items.Item("138")
oNewItem.Top = oItem.Top
oNewItem.Height = oItem.Height
oNewItem.Width = oItem.Width
oNewItem.Left = oItem.Left + oItem.Width
oFolderItem = oNewItem.Specific
oFolderItem.Caption = "User Folder"
oFolderItem.GroupWith("138")
AddItemsToOrderForm()
oOrderForm.PaneLevel = 1
End If
If pVal.ItemUID = "UserFolder" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And pVal.Before_Action = True Then
oOrderForm.PaneLevel = 5
End If
End If
End Sub
Private Sub SBO_Application_AppEvent(ByVal EventType As SAPbouiCOM.BoAppEventTypes)
Select Case EventType
Case SAPbouiCOM.BoAppEventTypes.aet_ShutDown
SBO_Application.MessageBox("A Shut Down Event has been caught" & _
vbNewLine & "Terminating 'Order Form Manipulation' Add On...")
End
End Select
End Sub
End Class
Regards
Mohana -
How to get into Publisher Main Window
Hi Experts,
To strat MDM publisher, I have done as followings:
1) start up MDM publisher gui
2) in "Connect to MDM Repository" window, choose one repository which I can access from MDM Data Manager.
3) enter my user and password
4) click OK to continue
Afterwards, I can see that a pop up window named "Select MDM Layout Server" is also showing up. There are list of the PC names for me to choose to connect. As MDM Layout Server has been installed on my local, I just choose my pc name from the drop down list and confirm it with OK. But it asks me again and again even I have already chosen. If I click Cancel. Publisher Window has been aborted.
Can you tell how to get into Publisher Main window ?
Thanks very much for your help.
Kind regards,
Wei DonaHi Jitesh,
Thanks for your reply.
I have checked from the Services that the status of the Layout Server is in "Started" status with Startup Type in "Automatic".
Could you let me know how to check the version of both Publisher and Layout Server ?
Regards,
Wei Dona -
How to display the Form output in multiple languages ? ------ Urgent
How to display the Form output in multiple languages ? -
UrgentHi,
Do u mean the Form output in 2-3 languages ...like form output will be having english russian etc...
for the above case , what u have to do ...
first have to get the transalations for all the fields
say for example : if the english word is PO Number , then u have to get the transalation text for PO Number :
after this , what u have to is ,,, Log on to SAP with russian language , then in the form o/p u have to paste that russian test ( translation text ) ...
do like this for all the components in the form .
Reward Points if it is Useful.
Thanks,
Manjunath MS -
Need help in developing XML Publisher Report in Multi Language
Hi Tim,
We have requirement to develop XML Publisher report in Multi language.
I know we can upload multiple Templates, one for each language.
Can any one help me in knowing the process other than uploading multiple templates.
Any documents or setup process related to this will be of great help.
I appretiate your help.
Thanks & Regards,
SahooHi,
Lets say you have two smart styles with X and Y, and runtime based on the number of pages, if you would like to modify the style, then check any standard table or structue which holds and responsible for the holding the style value.
If you can trace that, based on the coding we can modify accordingly.
Regards,
Santhosh.
Maybe you are looking for
-
How Can I sync iTunes album artwork with album folders on my Mac
Small Issue, I just got a new macbook pro and uploaded copied the iTunes music folder from my PC, to an external hard drive then to the "music" folder in the Finder on my Mac. I then went into iTunes and added my library via the "add music" link (or
-
Manual Standby on Standard Edition
Hey, I try to setup a manual standby on standard edition 10gR2. Source is a RAC database (standard edition on sles10 sp3) I created a node and created a oracle instance on this node. This node is using the filesystem for the oracle files. I did a hot
-
Hi experts, My MIGO(101) date is 5/1/2008. In MIRO my user has input the posting date as 1/1/2008. So system is allowing to post it. How to stop it? Plz explin me........ Thank you Sap MM
-
Upgrade agents from OEM 10.2.0.5 from 12c not using Upgrade Console
Hi, As we have to upgrade more than 100 agents from OEM 10.2.0.5 to OEM 12.1.0.3, don't have oracle account passwords (OEM 10g agents are runing as the oracle accout), and PAM authentification is not working for our environnement (SR open) we want to
-
KM How to Change Sandard Folder Symbols to Images
Hi I try to change the stanadard folder symbols on a km repository directory to specific images or symbols. Is it possible to set up a folder layout that looks like the thumbnails layout. I changed the Resource Renderer Settings or try to add additio