How to call translation template from bursting control file.

Hi All,
Greetings!!!!!!!!!!!!!
Need help on calling translation template from the bursting control file.
While calling the translation template from bursting control file it ends in error. Following is the error
[063010_063059160][][EXCEPTION] The URL ( xdo://XXX.XXXPOXPRPOL.fr.CA/?getSource=true ) is invalid.
But same control file is working for standard tempalte.
Here is the sample control file.
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
<xapi:request select="/XXXPRPOLXML/LIST_G_MANUAL_PO_NUM_TYPE/G_MANUAL_PO_NUM_TYPE/LIST_G_HEADERS/G_HEADERS">
<xapi:delivery>
<xapi:email id="123" server="nasmtp.us.XXX.com" port="25" from="${C_ORIGINAL_BUYER_EMAIL}" reply-to ="">
<xapi:message id="123" to="${C_VENDOR_CONTACT_EMAIL}" cc="" bcc=""
attachment="true"
subject="Purchase Order ${POH_PO_NUM} revision ${POH_REVISION_NUM} from XXX">
${POH_VENDOR_CONTACT_NAME},
${C_MAIL_SUBJECT}
PO number ${POH_PO_NUM} revision ${POH_REVISION_NUM}
Please reply to ${C_ORIGINAL_BUYER_EMAIL} - ${POH_ORG_ID}
Thank you,
${POH_BUYER}
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="${POH_PO_NUM}-rev${POH_REVISION_NUM}" output-type="pdf" delivery="123">
<xapi:template type="rtf" location="xdo://XXX.XXXPOXPRPOL.en.US/?getSource=true" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !=''and POH_ORG_ID = 54]"></xapi:template>
<xapi:template type="rtf" location="xdo://XXX.XXXPOXPRPOL.fr.CA/?getSource=true" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !='' and POH_ORG_ID = 161]"></xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
Please let me know how to call a translation template from bursting.
Thanks
Rajesh

Got the solution...
This is how we have to call a translation template from bursting file.
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
<xapi:request select="/XXXPRPOLXML/LIST_G_MANUAL_PO_NUM_TYPE/G_MANUAL_PO_NUM_TYPE/LIST_G_HEADERS/G_HEADERS">
<xapi:delivery>
<xapi:email id="123" server="nasmtp.us.XXX.com" port="25" from="${C_ORIGINAL_BUYER_EMAIL}" reply-to ="">
<xapi:message id="123" to="${C_VENDOR_CONTACT_EMAIL}" cc="" bcc=""
attachment="true"
subject="Purchase Order ${POH_PO_NUM} revision ${POH_REVISION_NUM} from XXX">
${POH_VENDOR_CONTACT_NAME},
${C_MAIL_SUBJECT}
PO number ${POH_PO_NUM} revision ${POH_REVISION_NUM}
Please reply to ${C_ORIGINAL_BUYER_EMAIL} - ${POH_ORG_ID}
Thank you,
${POH_BUYER}
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="${POH_PO_NUM}-rev${POH_REVISION_NUM}" output-type="pdf" delivery="123">
<xapi:template type="xsl-fo" location="xdo://XXX.XXXPOXPRPOL.fr.CA" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !='' and POH_ORG_ID = 161 and CLANGUAGE2 = 'fr']"></xapi:template>
<xapi:template type="rtf" location="xdo://XXX.XXXPOXPRPOL.en.US/?getSource=true" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !='' and POH_ORG_ID = 54 or POH_ORG_ID = 56 or (POH_ORG_ID = 161 and CLANGUAGE2 = 'en')]"></xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
where
XXX - Application shortname
XXXPOXPRPOL - Template Code
Hope this helps!!!!!!!!!!!!!!!!!!!!!
Regards
Rajesh

Similar Messages

  • How to call a function from a JAR file

    Hi ALL,
    I am trying to call a Public function from a JAR file from my JAVA
    file. Can you please provide an example or suggest a good resource?
    Basically my java file Test.Java should call a function called 'export_a_doc' from a JAR file Export.jar. How do I refer this in my Java file and call 'export_a_doc'?
    Thanx

    Hi,
    HERE IS MY JAVA FILE
    // We need this for Starting our Export Process
    import com.newexport.Myclass;
    public class MyTest {
         // Our function to Start Export
         protected static void test(String[] args) {
         System.out.println("Starting. \n---------------------");
         Myclass p = new Myclass();
         try {
    p.Start_Export(args);
    System.out.println("Finished. \n---------------------");
         } catch(Exception e) {
    e.printStackTrace();
         public static void main(String[] args) {
         test(args);
    HERE IS THE BATCH FILE TO BUILD AND RUN
    cd \JNI\Srcs
    echo "-------------"
    c:\JBuilder7\jdk1.3.1\bin\javac -classpath C:\JNI\Export.jar MyTest.java
    echo "-------------"
    \JBuilder7\jdk1.3.1\bin\java.exe -classpath c:\JNI\Export.jar MyTest
    The Export.jar uses other jar files
    Raj

  • How to call different templates from EBS 11i?

    Hi,
    I have three templates having same layout but different page width and heigth.
    How can i call these three templates conditionally from main template in EBS.
    Need urgent help
    Thanks,
    Mahesh

    Register them as subtemplates in Main template using syntax given below
    <?import:xdo://SDS.SDSCOMINVHDBG.en.US?>
    (<?import:xdo://<Application short name>.<Template name as registered>.<language>.<Territory>?>)
    and call them in main template based on condition as relevant.
    Thanks
    Kamalakar.G

  • How to call java methods from different java file.

    Hi, i create 2 files:
    CircleCalculationMethod.java
    Main.java
    In Main.java, How can i call method in CircleCalculationMethod.java ?
    Should i put everything in same folder ??
    Should i do something like "import CircleCalculationMethod.java"
    Should i do something like create a package
    Thanks
    P/S: i use Eclipse software

    As I suggested in your OTHER threads - the BEST WAY to learn, and often the fastest, is to TRY THINGS yourself.
    Just posting code you get from the internet and asking others to modify it for you won't teach you anything.
    Go through The Java Tutorials. There are trails for ALL of the basic functionality that include working, sample code.
    This is the trail on 'Packages':
    Lesson: Packages (The Java™ Tutorials > Learning the Java Language)
    And this is the one on 'Classes and Objects'. This trail includes sections for methods and how to define and use them.
    Lesson: Classes and Objects (The Java™ Tutorials > Learning the Java Language)

  • Multiple template language in Bursting Control File

    Hello,
    I have created a tempalte in English language. I have used translation for French and Polish Language using .xlf file
    How to call them in the Bursting control file?
    I am calling the French language as
    <xapi:template type="xsl-fo"
    location="xdo://XXNCV.XXNCV_AR054_03.fr.00"
    </xapi:template>
    But it still shows the English output.
    Please help. Thanx in advance.
    my email is [email protected]

    Hi, just thought I'd mention I managed to get the bursting and translation working via an xlf file and bursting control file, e.g.
    <xapi:template type="xsl-fo"
    location="xdo://xxxAR.xxx_XML_PRINT.en.US"
    locale="fr-US"
    translation="/usr/tmp/xxx_XML_PRINT_fr_US.xlf"
    filter=".//G_INVOICE_HEADER[PRINTING_OPTION='PRI']" >
    </xapi:template>
    Unfortunately, parameter passing doesn't seem to work when bursting translations, e.g. Page: &1 of &2; I've logged this in an SR.

  • How to remove bursting control file?

    Hi,
    I attached a bursting control file to a data definition to test the functionality. Now I want to get rid of it, unfortunately I don't see a delete button or anything similar in XML Publisher Administrator. How can I delete the file?
    Thanks,
    Arthur

    Hi Arthur,
    unfortunately, you can't set any inactive_date or delete the file on the whole. But you can, if you have access to the database the following option, to vanish the file:
    DELETE
    FROM XDO_LOBS
    WHERE LOB_CODE=<DATA_DEFINITION_CODE>
    AND LOB_TYPE='BURSTING_FILE';

  • Re:Bursting control file with multiple sub templates

    Hi
    Can any one let me know how to create a bursting control file for multiple sub templates. I.e I have one main template which will invoke other templates. the normal bursting control file which i have created is sending
    an output with no data , but i can see an output in the concurrent program.
    Thanks in advance.

    Add it as parameter in your xml file.

  • XPath Exception on Bursting Control File Template Filter Expression

    I am getting the following exception for this bursting control file in EBS 11.5.10.2 on the template filter expression:
    oracle.xml.parser.v2.XPathException: Unknown expression at EOF: (./XXCUS_DIST_CODE='P')[1].
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
         <xapi:request select="/XXCUS_RAXINV/LIST_G_DIST/G_DIST">
              <xapi:delivery>
                   <xapi:email server="${XXCUS_EMAIL_SERVER}" port="${XXCUS_EMAIL_PORT}" from="[email protected]">
                        <xapi:message id="einv" to="[email protected]" bcc="[email protected]" content-type="text/html" attachment="true" subject="Invoice ${LIST_G_INVOICE/G_INVOICE/TRX_NUMBER}">
    <![CDATA[
    <html>
    <body>
    Message
    </body>
    </html>
    ]]>
                        </xapi:message>
                   </xapi:email>
              </xapi:delivery>
              <xapi:document output="Invoice_${LIST_G_INVOICE/G_INVOICE/CUSTOMER_NUMBER}_${LIST_G_INVOICE/G_INVOICE/TRX_NUMBER}" output-type="pdf" delivery="einv">
                   <xapi:template type="xsl-fo" location="xdo://XXCUS.XXCUS_COMMON_RAXINV.en.US/?getSource=true" filter="./XXCUS_DIST_CODE='E'" />
              </xapi:document>
         </xapi:request>
         <xapi:request select="/XXCUS_RAXINV/LIST_G_DIST/G_DIST">
              <xapi:delivery>
                   <xapi:print id="print" printer="${XXCUS_PRINTER_NAME}" />
              </xapi:delivery>
              <xapi:document output-type="pdf" delivery="print">
                   <xapi:template type="xsl-fo" location="xdo://XXCUS.XXCUS_COMMON_RAXINV.en.US/?getSource=true" filter="./XXCUS_DIST_CODE='P'" />
              </xapi:document>
         </xapi:request>
    </xapi:requestset>According to the docs, you can use any valid XPath expression. Any idea on what might be wrong here? I am trying to exclusively print or email based on the data. Currently, it prints AND emails all documents regardless of the value of XXCUS_DIST_CODE.
    Thanks,
    Kurz

    Error lies on this line --- filter="./XXCUS_DIST_CODE='P'"
    you need to use it like this --
    Suppose you want condition on name in following XML Struction
    <STUDENT>
    <Name> Jatin </NAME>
    </STUDENT>
    the it should be ...
    filter=".//<STUDENT>[NAME = 'Jatin']"
    Not in your case ui suppose it should be filter=".//XXCUS_RAXINV/LIST_G_DIST/G_DIST[XXCUS_DIST_CODE='P']".
    Hope it solves the problem.

  • How to call a function from asp

    Hi!, I'd like to know how to call a function from an asp page. I've written:
    set rs = server.createobject("Adodb.recordset")
    rs.open "call dbo.sf_Obt_Des_Producto ('0000161')",Conn
    if err.description <> "" then
    response.write ("No se pudo! :(")
    else
    response.write ("rs: " & rs(0))
    end if
    rs.close
    set rs = nothing
    but there is an error:
    ORA-06576: not a valid function or procedure name
    Please is very urgent!!!
    Thanks.
    Angie.

    You need to use the syntax "{call <procedure_name>}".
    The {call } syntax tells the OLE DB provider that it needs to translate the call into whatever the database's procedure calling syntax is. This means that even though different databases have different syntax for calling stored procedures, your OLE DB code can be run against any of them without changing.
    Justin

  • How to call a subroutine from sap script

    hi friends,
    Can anybody tell me How to call a subroutine from sap script .
    thanks n regards .
    Mahesh

    hi..
    Calling ABAP Subroutines: PERFORM 
    You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
    PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
    The system does not execute the PERFORM command within SAPscript replace modules, such as TEXT_SYMBOL_REPLACE or TEXT_INCLUDE_REPLACE. The replace modules can only replace symbol values or resolve include texts, but not interpret SAPscript control commands.
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
    The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (‘First page’, ‘Next page’, ‘Last page’) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY ‘PAGE’.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY ‘NEXTPAGE’.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE OUT_PAR WITH KEY ‘BARCODE’.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = ‘|’. "First page
    ELSE.
    OUT_PAR-VALUE = ‘||’. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = ‘L’. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    regards,
    veeresh

  • How to call a form from report? in 6i

    How to call a Form from Report? In Developer 6i of oracle. Plz tell me tex.

    try this
    declare
       AppID PLS_INTEGER;
    begin
         AppID := DDE.App_Begin('ifrun60 module=myform.fmx userid=scott/tiger@mydb maximize=no', DDE.App_Mode_Maximized);
    exception when others then
          srw.message(1,'Errror');
    end;Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • How to call a package from the Report in Oracle Application Express

    How to call a package from the Report in Oracle Application Express

    Hello,
    What do you mean? Something like SELECT mypackage.function( par1, par2) from dual?
    Or do you want to execute a procedure when something happens on the page, like clicking a button?
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • How to call business service from xquery transformation in OSB ??

    Hi All,
    How to call business service from xquery transformation in OSB ??
    I need to assign the response variable of Business Service to a target element in XQuery Transformation Mapper file.
    It's urgent.
    Regards,
    Jyoti Nayak

    Transformation is to mapping the source and target of 2 different schemas.
    In your case you should have a XQuery transformation between, your Business Service output schema and the target schema.
    Thanks,
    Vijay

  • How to call  java program from ABAP

    Hi Experts,
         My requirement is to call java programs from ABAP. For that i have set up SAP JCO connection by using this link http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/739. [original link is broken] [original link is broken] [original link is broken] Connection gets sucessfully. After this how to call java program from ABAP as per our requirement. Please help me out.
      Also i tried this way also.. but while executing the DOS Command line appear & disappear in few seconds. So couldnt see the JAVA output. Please help me out to call java programs in ABAP..
    DATA:command TYPE string VALUE 'D:Javajdk1.6.0_20 injavac',
    parameter TYPE string VALUE 'D:java MyFirstProgram'.
    CALL METHOD cl_gui_frontend_services=>execute
    EXPORTING
    application = command
    parameter = parameter
    OPERATION = 'OPEN'
    EXCEPTIONS
    cntl_error = 1
    error_no_gui = 2
    bad_parameter = 3
    file_not_found = 4
    path_not_found = 5
    file_extension_unknown = 6
    error_execute_failed = 7
    OTHERS = 8.
    Thanks.

    This depends on the version of your Netweaver Java AS. If you are running 7.0, you will have to use the Jco framework. The Jco framework is deprecated since 7.1 though. If you want to build a RFC server in 7.1 or higher, it is adviced that you set it up through JRA.
    Implement an RFC server in 7.0:
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/82343ecc7f892ee10000000a114084/frameset.htm
    Implement an RFC server in 7.1 or higher:
    http://help.sap.com/saphelp_nwce72/helpdata/en/43/fd063b1f497063e10000000a1553f6/frameset.htm

  • How to call the RFC from R/3 to SRM, when we use webdynpro abap? (Urgent)

    Hello
    We use SRM Server 5.5 with classic scenario.
    We want to call RFC in R/3 from webdynpro ABAP.
    How can we do that?
    We are developing the web report using webdynpro abap.
    So we need some of R/3 data such like PR(EBAN)and PO(EKKO,EKPO).
    When user choose the search parameter, report diplay the Shopping cart, PR and PO data on webdynpro.  So we call the R/3 RFC to display the PR, PO data.
    But I tired to call the RFC in R/3, We could not call it.
    How to call the RFC from R/3 to SRM, when we use webdynpro abap?
    Thank you,
    Best Regards,
    SH.

    Hi
    <b>Please look at the following threads as well -></b>
    WebDynpro in SRM
    BAPI's /RFC's in SRM
    BAPI to Change Shopping Cart by RFC
    SRM60 and webdynpro
    Webdynpro Services Exception
    WebDynpro using BAPI has an error
    SRM60 and webdynpro...
    <b>SAP uses META Function modules in SRM to get data from R/3 back-end.</b>
    <u>For getting Purchase requistion data, use the function modules -></u>
    META_REQUISITION_CHANGE        Change purchase requisition              
    META_REQUISITION_CREATE        Create Requisition                       
    META_REQUISITION_DELETE        Delete/close purchase requisition        
    META_REQUISITION_GETDETAIL     Display requisition details              
    META_REQUISITION_GETITEMS      Display requisition items                
    META_REQUISITION_GETRELINFO    Get Releasease Info for requisitions
    <u>For getting Purchase order data, use the function modules -></u>
    META_PO_CREATE                 Create purchase order                    
    META_PO_DELETE                 Delete reservation                       
    META_PO_GETDETAIL              Display purchase order details           
    META_PO_GETITEMS               Display purchase order items             
    META_PO_GETRELINFO             Display purchase order release information
    Hope this will definitely help. Do let me know.
    Regards
    - Atul

Maybe you are looking for

  • IPhone 4s (iOS 7) not syncing with iTunes 11.1.3 for Mac

    A few weeks ago, my iPhone ceased to sync with my computer. When I plug it into my computer, it charges, but does not appear in iTunes. I have searched the communities here and some folks suggest deleting and reinstalling iTunes, but my computer says

  • Variables in Oracle HRMS

    Is there any document or query that would return the variable values from database and application tier ?? Examples: Application tier such as: <COMMON_TOP> <APPL_TOP> <OA_HTML> <OA_JAVA> <OA_JRE_TOP> <COMMON_TOP>/util <COMMON_TOP>/clone <COMMON_TOP>/

  • Add a button near execute button

    Hello Experts, I want to add a button near the execute button on the selection screen.Based on this button I would be displaying some radio buttons on the selection screen. Kindly help me with some sample code as to how can i go about in adding a but

  • Error: I::000

    Hi, I am getting this error in my IDoc-IDOc scenario.Can you please let me know what i am missing. <!--  Call Adapter   --> - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnder

  • Multiple Assets in One Track - Errors

    I am having problems with clips cutting to black after a chapter break. The audio continues to play, but the video disappears. This occurs randomly when multiple videos are added to the same track. Does anyone have any info? Thanks in advance.