SRM XML PO Output

Hi Guys,
We have XML output enabled on our vendors in SRM 5 and the purchase orders and attachments are outputting perfectly to XI/PI. An issue we noticed is that the SAP-XML PO coming out does not have an attachment reference to the SOAP content-id.
Looking in SXMB_MONI we see the PO XML comes out with an attachment reference such as this:
<Attachment id="1 .Testing for attachments %25252D" filename="Testing for attachments %25252D 03%25252Etxt">Testing for attachments - 03</Attachment>
One would assume that the ID attribute would be the reference to the actual attachment in the mime/soap message, but if you check the SOAP_BODY in sxmb_moni you see the following for the attachment.
--SAP_4cda9980-5c05-11de-8fbf-001b78b8b8f6_END
content-id: payload-977C394ACDF9EC64E100000095C342AAsap.com
content-type: text/plain
One would assume the attachment ID in the XML should be the reference to the "content-id" field in the mime message.
I would expect something more like this:
<Attachment id="payload-977C394ACDF9EC64E100000095C342AAsap.com" filename="Testing for attachments %25252D 03%25252Etxt">Testing for attachments - 03</Attachment>
Can anyone shed some light on this or know where the "payload-977C394ACDF9EC64E100000095C342AAsap.com" value is generated so we can enhance the outbound badi for the PO to include that value in the PO XML.
Regards,
Joe

Hi Joe
payload is purely XI part.
SAP Note 1082111 - Mapping of messages with empty payload
An XI message is made up of several parts, such as:
o a main header that contains, for example, the message ID, sender
and receiver of the message,
o a payload,
o any other attachments,
o a manifest containing the references to the payload and the
attachments.
plz consultant xi folks
br
muthu

Similar Messages

  • Help in XML Report output

    Hi Experts,
    I have created the XML report which will generate the output in EXCEL format. I have used the template(rtf) to generate the output. I am facing the critical issue the output file (excel) is giving output with headings( ex: empno,ename,job..)even if there is no record count in the query.
    But some times it gives the empty file(excel) without the heading information if the record count is zero.
    Could anyone suggest me to solve this error.
    Any solution or link will be great help for me. Waiting for your valueable reply
    Thanks in Advance,
    Ravi.

    Hi,
    Please see if this thread helps.
    XML publisher output report in excel format
    Re: XML publisher output report in excel format
    Regards,
    Hussein

  • 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,
    Shruti

    This 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

  • How to include input user parameter values in XML report output?

    How can i include input user parameter values in XML report output. I a have a report which can be run by providing start date and end date. I would like to include value of these parameters in XML output to enable me to figure out dates for report, just by looking at XML output.
    Rgds,
    manish

    I think all the XML attributes can contain lexicals. If you bring up the property palette against the report object you can just set the following:
    XML Tag Attributes: myParameter="&<P_1>"
    where P_1 is your user parameter.

  • 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
    Robert

    Welcome to the forums !
    Pl see if MOS Doc 305307.1 (How To Modify Print PO Report POXPOPDF With Custom Template) can help
    HTH
    Srini

  • XML data output in a custom grid table

    Hi!
    I was wondering if it is possible to display xml data output in a custom-made grid table? Important is the ability to
    arrange the fields on the grid layout (not a fixed layout with columns and rows).
    I am using the latest JDeveloper release.
    Thanks!

    See [url http://docs.oracle.com/cd/E14072_01/server.112/e10592/functions251.htm#CIHGGHFB]XMLTABLE
    For example:
    -- INSERT INTO <your table name>
    WITH x AS
    (SELECT XMLTYPE('<?xml version="1.0"?>
    <ROWSET>
    <ROW>
    <EMPNO>7782</EMPNO>
    <ENAME>CLARK</ENAME>
    <JOB>MANAGER</JOB>
    <MGR>7839</MGR>
    <HIREDATE>09-JUN-81</HIREDATE>
    <SAL>2450</SAL>
    <DEPTNO>10</DEPTNO>
    </ROW>
    <ROW>
    <EMPNO>7839</EMPNO>
    <ENAME>KING</ENAME>
    <JOB>PRESIDENT</JOB>
    <HIREDATE>17-NOV-81</HIREDATE>
    <SAL>5000</SAL>
    <DEPTNO>10</DEPTNO>
    </ROW>
    <ROW>
    <EMPNO>7934</EMPNO>
    <ENAME>MILLER</ENAME>
    <JOB>CLERK</JOB>
    <MGR>7782</MGR>
    <HIREDATE>23-JAN-82</HIREDATE>
    <SAL>1300</SAL>
    <DEPTNO>10</DEPTNO>
    </ROW>
    </ROWSET>') myxml
    FROM DUAL)
    SELECT *
    FROM   x
    ,      XMLTABLE('/ROWSET/ROW'
             PASSING x.myxml
             COLUMNS empno, ename, job, mgr, hiredate, sal, deptno);

  • Barcode's in R12.1.1 xml report output's (English and Arabic)

    Dear Frednds,
    we are using R12.1.1 and we need to get the barcode output's (in place of numbers) in out xml report output's.
    We need it in English report and also in Arabic reports (it has seperate arabic template file)
    Please let us know the method?
    Regards,
    DB

    Desar Hussein,
    1) we have downloaded and installed the Font Code128bWinLarge.ttf on windows PC.
    2)Set the barcode font for the required field in the rtf Template.
    3) Copied the font file, Code128bWinLarge.ttf to $OA_JRE_TOP/lib/fonts
    4) Copied xdo.cfg file from our local desktop where we have BI publisher installed to
    $OA_JRE_TOP/lib Directory.
    5)added these lines locating barcode font location ($OA_JRE_TOP/lib/fonts
    /Code128bWinLarge.ttf)accordingly.
    Now For English reports we are getting the barcode
    But for Arabic reports we are getting junk characters
    so is there any other font available for Arabic barcode.Plerase suggest
    Regards,
    DB

  • Unwanted / Special Characters in XML File Output

    Hello Seniors,
    I am downloading an XML File which has some code from include's. The XML file is well formatted and the output is fine when I downloaded programs. But this include is from user exits and the code has some commented lines in it also with a blank line in between. Now the problem is that I am getting a "VT" in the XML file which is an unwanted character where there is a blank line in the include "ZXRSAU01". Other than this include, all other includes are downloaded fine.
    Here is the code from the include "ZXRSAU01":
         select single * from knvv where kunnr = l_s_icctrcst-kunnr
                                    and  vkorg = l_s_icctrcst-vkorg
                                    and  vtweg = l_s_icctrcst-vtweg
                                    and  spart = l_s_icctrcst-spart.
    Here is the output in the XML File:
         select single * from knvv where kunnr = l_s_icctrcst-kunnr
                                    and  vkorg = l_s_icctrcst-vkorg VT
                                    and  vtweg = l_s_icctrcst-vtweg
                                    and  spart = l_s_icctrcst-spart.
    Please give me a solutions for this. Each of your answers are very important and will addressed with the best deserved.
    Thanks and regards,
    Chaitanya.

    Hello Madhan,
    Firstly, Thank You for the reply. We cannot remove the space in that include because the system is not the original system. Please let me inform you that this is a 4.6C system. We have used CDATA to get the code as it is onto the XML file. I observed that, firstly, the character "#" has come into the internal table with the read report itself. In the debug I saw it to be "0B" in the binary format, but in the downloaded XML file output, it is displayed as "VT". Please let me know how to get rid of this special/unwanted character.
    Thanks and regards,
    Chaitanya.

  • Using XML based output of rq*Eval() for generating graphical views

    I've been trying the standard example used in training manuals of generating RandomRedDots.
    (Scripts that donot involve images are working fine)
    While using rqTableEval() the output format
    1. using select clause (select cast(value as longvarchar(32000)) from dual)
    2. 'png'
    is throwing ORA-29400: data cartridge error
    ORA-24333: zero iteration count
    ORA-06512: at "RQSYS.RQTABLEEVALIMPL", line 7
    ORA-06512: at line 4
    3. 'xml' type is generating output as desired with two columns name, value.
    When this xml query is used in physical table with columns - name as int, value as longvarchar(32000) as output is clob ,
    the execution(view data) results as 'no data'.
    Can i get help in how to utilize this xml output so that graphs can be made available in obiee dashboard ultimately.
    Thanks

    Hi,
    R script to be executed is as follows:
    begin
    sys.rqScriptDrop('Example6');
    sys.rqScriptCreate('Example6',
    'function(n){
         res<-1:10
    plot( 1:n, rnorm(n), pch = 21,
    bg = "red", cex = 2 )
         res
    end;
    set long 20000
    set pages 1000
    select id,image
    from table(rqTableEval(
    cursor(select 100 n from dual),
    NULL,
    'PNG',
    'Example6'));
    ERROR message:
    select id,image
    ERROR at line 1:
    ORA-29400: data cartridge error
    ORA-24333: zero iteration count
    ORA-06512: at "RQSYS.RQTABLEEVALIMPL", line 7
    ORA-06512: at line 4
    when tried with xml as output format since 'png' was not working
    select name,value
    from table(rqTableEval(
    cursor(select 100 n from dual),
    NULL,
    'XML',
    'Example6'))
    there is xml output in sqlplus
    NAME
    VALUE
    <root><R-data><vector_obj> <ROW-vector_obj><value>1</value></ROW-vector_obj><ROW
    -vector_obj><value>2</value></ROW-vector_obj><ROW-vector_obj><value>3</value></R.......so on
    How to utilize this output in physical layer of rpd, in table with select clause
    I tried select dbms_lob.substr(value,100000,1) to convert the clob of xml to varbinary but then there is no output in sqlplus.
    If the above is used as select clause for physical table it throws ORA:00904 "value" invalid identifier.
    Can I please get help in getting this output in physical layer tables and eventually to presentation layer.
    Have i missed something or some configuration needs to be done for acquiring the images
    (ps: this is occurring for images and scripts involving number type are working fine.
    I've included png and other packages in RProfile.site file)

  • Query on sorting  XML using XSLT and getting the same XML as output !

    Hi,
    Looking for one information regarding sorting XML using XSLT , with the sorted XML as output. For eg. my XML is :
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="sort1.xsl"?>
    <levelone>
         <child ID="1" sort="5">
              <name>Paul</name>
         </child>
         <child ID="2" sort="1">
              <name>Adam</name>
         </child>
         <child ID="3" sort="2">
              <name>Will</name>
         </child>
    </levelone>
    and XSL :
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/levelone">
         <xsl:copy>
         <xsl:apply-templates>
              <xsl:sort select="@sort"/>
         </xsl:apply-templates>
              </xsl:copy>
         </xsl:template>
         <xsl:template match="child">
              <xsl:copy-of select="."/>
         </xsl:template>
    </xsl:stylesheet>
    This does the sort based on Name. But I want to get the same xml as output with the name sorted. Eg.
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="sort1.xsl"?>
    <levelone>
         <child ID="2" sort="1">
              <name>Adam</name>
         </child>
         <child ID="1" sort="5">
              <name>Paul</name>
         </child>
         <child ID="3" sort="2">
              <name>Will</name>
         </child>
    </levelone>
    Any pointers will be highly appreciated.
    - Thanks

    Don't you want <xsl:sort select="name"/> rather than <xsl:sort select="@sort"/>?

  • Character is converting as Number in XML EXCEL Output

    Hi Every One
    I created the RDF Report and i registered as concurrent program Output Type is "XML" when i ran XML Report in PDF output Part number is coming as it is in Data base for Example "0998893745"
    But When i ran Same Report with Output of EXCEL Part number is Automatically changing to Number it's Truncating the First "ZERO" Means that it giving "998893745" Instead of "0998893745"
    Kindly Help Me to Get the Part number as it is there in Data Base "09988937450" In XML EXCEL output
    Regards
    Sandeep.Y

    concatenate with double space to report columns
    Example
    ' '||msi.segment1 like that

  • 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.

  • Order05 Idoc mapping in SRM XML Structure

    Hello All,
    I need to map Idoc order05 from ERP system into SAP provided SRM XML Structure.
    Anyone has done this sort of mapping before.
    Let me know the details as XML has got some 4800 fields and Idoc has some 800 fields and SRM XML seems to be superset of Idoc from ERP.
    Regards,Pankaj

    Hello,
    this is the java map code.just compile it and made a .zip file import it and use it Interface Mapping.
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.AbstractTrace;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    import java.util.Map;
    import java.io.*;
    public class PayloadToXMLField1 implements StreamTransformation {
        String strXML = new String();
       //Declare the XML tag for your XML message
       String StartXMLTag = "<DocumentBody>";
       String EndXMLTag = "</DocumentBody>";
       //String StartXMLTag1 = "<Code>";
       //String EndXMLTag1 = "</Code>";
        AbstractTrace trace;
        private Map param = null;
        public void setParameter(Map param) {
            this.param = param;
        public void execute(InputStream in, OutputStream out) {
            trace =
                (AbstractTrace) param.get(
                    StreamTransformationConstants.MAPPING_TRACE);
            trace.addInfo("Process Started");
            try {
                StringBuffer strbuffer = new StringBuffer();
                byte[] b = new byte[4096];
                for (int n;(n = in.read(b)) != -1;) {
                    strbuffer.append(new String(b, 0, n));
                strXML = strbuffer.toString();
            } catch (Exception e) {
                System.out.println("Exception Occurred");
            String outputPayload =
                StartXMLTag
             + "<![CDATA["
             + strXML
             + "]]>"
             + EndXMLTag;
            try {
                out.write(outputPayload.getBytes());
             trace.addInfo("Process Completed");;
            } catch (Exception e) {
                trace.addInfo("Process Terminated: Error in writing out payload");;

  • Need to join the two xml type output in plsql function

    Hi,
    I need to join the two xml type output in plsql function. Could you help me out?
    Sample function:
    function func_ret_stk return xmtype
    xmloutput_stk xmtype;
    xmloutput_desp xmtype;
    begin
    xmloutput_stk := --------;
    xmloutput_desp :=---------;
    return xmloutput_stk + xmloutput_desp;
    end ;
    Thanks in Advance,

    Hello,
    this is the forum for the tool {forum:id=260}.
    Please ask your question in {forum:id=157} or {forum:id=34}
    Regards
    Marcus

  • XML Report output location

    Hi All,
    I want to move my xml report output of type Excel to another location but if i try to open the file it is xml file not excel
    Path i got from fnd_concurrent_requests
    i want excel how to get that can any one tell its very urgent

    user8669197 wrote:
    Hi All,
    I want to move my xml report output of type Excel to another location but if i try to open the file it is xml file not excel Do you mean to say you can open the report from the application in Excel format but when you download/move it then it does open in XML format?
    Path i got from fnd_concurrent_requests
    i want excel how to get that can any one tell its very urgentPlease see old threads for similar discussion -- https://forums.oracle.com/forums/search.jspa?threadID=&q=XML+AND+Excel+AND+Output&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

Maybe you are looking for