File attachment in XML file of inbound interface

Hi friends
Working in ERP EHP6.0 and SRM7.0
I attached DMS file in PR document at ERP and transferred to SRM using interface PurchaseRequestERPSourcingRequest_out.
But PR generated XML in ERP does not have the attachment file eventhough they have attachment folder.
How to debug this ? which Func module attach the file to interface generated XML file?
Trying to use CPPR and transfering PR via BADI ME_REQ_Source_Cust.
I tried using saving file in content server and transfer using PR but attachment is not picked up in XML file while checking in SXMB_MONI.
Does the note: SAP Note 974332 - No attachments transfer within external requirements
is referring my problem?
I doubt whether the above is pointing for RFC transfer program...is it not?
Pls confirm.

Hi Prince,
Check with BAPI_DOCUMENT_CHECKIN , it may help you.
Regards,
Ravindra

Similar Messages

  • Problem in attaching a xml file in Email Notification

    Hi,
    I am new to BPEL. I am using 10.1.3.4 Jdev. Facing a problem in attaching a xml file in Email Notification process. I do not get any email when ever the attachment is a xml. Whereas when the attachment is a pdf, i get the pdf in the mail. I have put the mime type as text/xml. Used ora:doc() to read the xml. Dont know what i am missing. Please help me out. Thanks.
    Edited by: friendsforever on Oct 6, 2010 1:05 AM

    actually i want that when a user open my website register form then he must attached their resume in it
    so i want to know how can i make a field of attaching.
    please reply
    I am waiting for your reply

  • Attach a xml file to Business object type BUS2081

    Hi All,
    How to attach a xml file stored on application server to business object 2081(transcation MIR4)?
    Thanks,
    Namrata.

    Hi,
    provided link is helpful.
    But I am looking for attaching a file from application server to BUS2081.
    Thanks,
    Namrata.

  • Loading an xml file from an xml file

    I'm trying to load an xml file from an xml file, but I'm
    having problems. My first xml file is really simple - it only
    contains one attribute with the name of another xml file in it
    (eventually I will have multiple xml files in here and run a loop
    on them...this is why I want to load an xml file from an xml file).
    Currently, with the code below, I can get the main xml file
    to load ("main.xml"), but I cannot get the secondary xml files to
    load FROM the main.xml.
    I want to then take childNode values from the secondary xml
    file and use them within my .swf in text boxes and whatnot.
    Any guidance? I think I'm going wrong on the line where I'm
    saying "i.newxml.load(i.attributes.location);"
    - How can I get this to work?

    johnypeter:
    I tried changing the code inside the loop to use just
    "newxml" instead of "i.newxml", and I declared with "var newxml =
    new XML();" - was this what you were thinking?
    kglad:
    The reason I tried to use the loadXML() function in the loop
    was so that for each node in my "main.xml" it would load the new
    xml file listed - this is a no-no? Do you have any ideas as to what
    I could do?
    For the for-loop, what should I change in it? I'm not great
    with loops so I tried to modify some code from another loop I found
    in another forum thread - not the right way to do it here?
    Also, what should I trace? The value of the _root.address, or
    i.attributes.location? I have created dynamic text boxes on my
    stage to see if the correct value from the xml file loads (ie. the
    name of the xml file within the xml file) and it does, but now I
    don't know how to put that information into ANOTHER loadXML()
    function and get the node information from it - does that make
    sense???
    Below are the examples of the xml files I am using. In the
    first one, main.xml, I will have a list of multiple xml files, each
    with the same nodes and elements as in the details.xml file
    (different values, of course).
    This is just to give you an example of what I'm trying to
    accomplish - pulling ALL the addresses and phone numbers from
    multiple xml files. I cannot manually collect this information, as
    it is dynamic, and will be updated in each individual details.xml.
    I was hoping to collect the information by simply adding to and
    updating ONE xml file - main.xml.
    Do you think this can be done? Am I going about it the wrong
    way? I'm quite limited in AS knowledge, which is why I'm piecing
    together code from other posts!

  • How to refer an xml file within a xml file?

    Hi
    I would like to refer a xml file within a xml file from where i would like to extracts some elements & attributes.
    Plz, suggest me hot to do.
    Thank you.

    You mean you want to link the file thru some resource pointer and then make the external file availabe for parsing and other processing operations?

  • Skipping the content conversion if the input file is an xml file.

    Hi,
    My source folder contains both text files and xml files.
    I want to skip the content conversion if the input file is an xml file and the same Content conversion as to work if the input file is a text file.
    Is there any way to achieve this?
    Regards
    Divia

    Hi,
    I think u hv to create 2 separate Communication Channels.............. 1 for XML (without Content Conversion), & other for TXT with Content Conversion.
    In 1st CC give file name as *.xml & in 2nd give file name as *.txt
    Thanks,
    Maheshwari

  • Pooling data from an XML file to another XML file using File Adapter

    Hi,
    I am trying to Pool data from an XML file to another XML file using File Adapter. I have added "Target Namespace" in both the XML and XSD.The problem is "At the destination given in the FileAdapter" only a blank XML file is created and it doesnot have any data.
    Kindly suggest me some methods
    Thanks in Advance.

    Ok here is a solution with external tables.
    SQL> CREATE DIRECTORY my_xml_dir AS 'E:\oracle\Log_files\UTL_AKIVATST'
    2 /
    Directory created.
    SQL> DROP TABLE my_xml_et
    2 /
    Table dropped.
    SQL> CREATE TABLE my_xml_et
    2 ( EMPNO NUMBER,
    3 EMPNAME VARCHAR2(10),
    4 JOB VARCHAR2(10),
    5 HIREDATE DATE,
    6 SAL NUMBER
    7 )
    8 ORGANIZATION EXTERNAL
    9 (
    10 TYPE ORACLE_LOADER
    11 DEFAULT DIRECTORY my_xml_dir
    12 ACCESS PARAMETERS
    13 (
    14 records delimited by "</EMP>"
    15 badfile my_xml_dir:'empxt%a_%p.bad'
    16 logfile my_xml_dir:'empxt%a_%p.log'
    17 FIELDS
    18 (
    19 filler char(2000) terminated by "<EMP>",
    20 EMPNO char(2000) enclosed by "<EMPNO>" and "</EMPNO>",
    21 EMPNAME char(2000) enclosed by "<ENAME>" and "</ENAME>",
    22 JOB char(2000) enclosed by "<JOB>" and "</JOB>",
    23 HIREDATE char(2000) enclosed by "<HIREDATE>" and "</HIREDATE>",
    24 SAL char(2000) enclosed by "<SAL>" and "</SAL>"
    25 )
    26 )
    27 LOCATION ('emp.xml')
    28 )
    29 PARALLEL
    30 REJECT LIMIT UNLIMITED
    31 /
    Table created.
    SQL> SELECT * FROM my_xml_et
    2 /
    EMPNO EMPNAME JOB HIREDATE SAL
    7369 SMITH CLERK 17-DEC-80 800
    7499 ALLEN SALESMAN 20-FEB-81 1600
    This is the XML file i used emp.xml
    <EMPLOYEES>
    <EMP>
    <EMPNO>7369</EMPNO>
    <ENAME>SMITH</ENAME>
    <JOB>CLERK</JOB>
    <HIREDATE>17-DEC-80</HIREDATE>
    <SAL>800</SAL>
    </EMP>
    <EMP>
    <EMPNO>7499</EMPNO>
    <ENAME>ALLEN</ENAME>
    <JOB>SALESMAN</JOB>
    <HIREDATE>20-FEB-81</HIREDATE>
    <SAL>1600</SAL>
    <COMM>300</COMM>
    </EMP>
    </EMPLOYEES>
    Use this external table to insert into your table.
    Thanks,
    Karthick.

  • 1 xml file to multiple xml files with 200 records in each

    Hello Experts,
    I have below scenario.
    Please suggest me which might be the best approch to work on.
    1) XML file to XML file
    I will have 1 pretty huge XML file which i need to break in multiple XML files with 200 records each.
      1) first approch i can have bpm in which i can split the file according to my requirement.
      2) Second approch i can create 2 scenarios in which 1st scenario will pick up XML file and create multiple flat files with File content conversion. Second scenario will pick up all these flat files and create XML files.
    2) XML file to XML file
    Or i can have multiple files with 1 record per file and i need to merge in multiple XML files with 200 records in each.
    So its kind of 1:N or M:N scenarios.
    Please tell me which is might be better performance and design wise.
    Or if you have any idea in any other way i can do this, then please reply as soon as possbile.
    Please tell me if you have OS command for the same or some script to run or anything which i can implement.
    Thanks,
    Hetal

    what is your senario? is it File to File?
    You can use multi mapping concept without BPM. You can handle the 200 records per message logic in the multimapping.
    Regards,
    Praveen Gujjeti.

  • In Forms Central, attempting to do file attachment, but "select File" option is grayed lout/unavailable - how do I make it available?

    in Forms Central, attempting to do file attachment, but "select File" option is grayed lout/unavailable - how do I make it available?

    Is it necessary that all the files are on the local hard disks? In the case of the laptop I could understand this if the laptop is also used outside the network, but the desktops should stay in place, no?
    It could be as easy as to make a shortcut on all the computers to the samba-share and tell the inlaws that they have to use the samba-share to store their (shared) files.
    You are correct about this but I doubt they would remember to use this all the time so I want to sync the folders just in case.
    Assuming the laptop is always going to be in the same IP address when it connects to the network (which is unlikely in default configurations), you could create a script that checks for the existence of the machine on the network then perform a sync.  I had a script written in Python somewhere that would check to make sure the server side was up and run unison, but it could be modified to check for the laptop and copy files.  Let me know if that's something you're interested in and I can post it for you.
    This sounds like what I'm looking for. Also I wander If it could be done by NetBIOS  name instead of ip address? This way It wouldn't matter.
    The script sounds like what I'm looking for though
    Thanks for the help!

  • Regd. Excel FIle Covert into xml file

    Friends,
    I want to conver the .xls file into the .xml file......will you pls. help me out .
    Hitesh

    Open the file in Excel. Click the "Save" button and change the "Save as Type" box to "XML Spreadsheet (*.xml)".

  • Add XML Tag to XML File (Idoc to XML File)

    Hi there.
    Just a question regarding the addition of a tag header in an XML file please?
    Idoc - > XI -> file (XML File)
    We have a need to add something like this below in bold to XML Tag Header in the inbound file:
    <?xml version="1.0" encoding="UTF-8"?>
    <?POSTEN SND="SE03220037090" SNDKVAL="1" REC="SE03220669500"
    MSGTYPE="ORDERS"?>
    Any ideas on how this can be managed would be apreciated please?
    Thank you.
    Mick.

    Hi Carlos.
    Thanks for your reply. I like what you are suggesting, however, I have no knowledge of Java and how to implement this Java addition to the mapping interface.
    I would appreciate any hints you may have. The value that I am trying to add to the tag header is exactly as it is below(the value in bold) and it can in fact be fixed, i.e. I am not looking to dynamically determine the values in the additional tag but just add the value as it is below...
    <?xml version="1.0" encoding="UTF-8"?>
    <?POSTEN SND="SE03220037090" SNDKVAL="1" REC="SE03220669500"
    MSGTYPE="ORDERS"?>
    I would appreciate any input from you on that.
    Thanks in advance Carlos.
    Mick.

  • Comparing an excel file to and xml file and appending data to the xml file

    I have an xml file (mapsource) and an excel file. One of the columns in the excel file matches up with a node in the xml file. I want to be able to loop through both files and add a new node to the xml file where the one of the columns in the excel file matches a node in the xml file.
    I can create a query object out of the excel dosument using the cfspreadsheet tag.
    I'm able to use xmlparse to create a xml document object from the xml file.
    What I would like to do is add col_3 from the excel spreadsheet as a new node when col_2 is equal to gpx.wpt.name.xmltext of the xml object.
    Any help or direction would be very helpful!

    Hi,
    Thank you for your reply. But I have to attach an excel file from a particular path (C:\TEMP\TEST.XLS) and I have to send that excel file to the user inbox.That excel file has multiple sheets with data. Can you please provide me any code is available.
    Thanks and Regards
    venkat.

  • Receiver File channel for XML files: with carriage return

    Hi all,
    we are using a receiver FILE channel to generate an XML file that is sent to an external partner.
    The XML file looks good in a parser (IExplorer). But in fact there are not carriage return / line feeds between the XML tags
    of the XML payload in the file.
    Our partner now requires the XML file in a more vertical structure which means: for every tag a separate line (like it is displayed in a parser)
    Does anybody know a more general way to convert to a vertical XML structure (so with carriage return line feed).
    There is one entry in the SDN dealing with this topic but suggesting using an UDF. I think this is a very specific way.
    I don't think it is a good way to change/enhance the message mapping just because of a general formating change.
    Is it better to use an XSLT mapping as a second step in the interface mapping or a JAVA adapter module to convert ?
    any experiences? suggestions? examples?
    Thank you very much
    best regards
    Hans
    examples:
    original by XI receiver FILE adapter
    <?xml version="1.0" encoding="UTF-8"?>
    <MT_batchStatus><type>BS</type><header><message><messageSender>SENDER</messageSender><messageDate>20090723143720</messageDate> ... and so on
    required:
    <?xml version="1.0" encoding="UTF-8"?>
    <MT_batchStatus>
    <type>BS</type>
    <header>
    <message>
    <messageSender>SENDER</messageSender>
    <messageDate>20090723143720</messageDate>
    ... and so on

    >
    Hans Georg Walter wrote:
    > Is it better to use an XSLT mapping as a second step in the interface mapping or a JAVA adapter module to convert ?
    > any experiences? suggestions? examples?
    In such a case, the best is to write an generic XSLT or Java mapping that will attempt to do the pretty printing/formatting of the xml.
    The advantage of a generic one is that you can reuse the same class/jar for many other scenarios.
    so the flow will be as below in your interface mapping;
    1. your specific source to target mapping
    2. the generic formatting class

  • How to include an xml file in an xml file ?

    Hello,
    Is there an xml tag to include the content of an xml file in another ? So the parser, parsing the first one, automaticaly parse the second one (included one) when reaching the tag.
    Thanks.
    William T.

    You can use an entity reference to point to the next xml file.
    An entity reference in an xml file is preceded by the & And then the name of the reference i.e.
    <mytag>&nextFile</mytag>. Your DTD for the xml file must have a corresponding <!ENTITY> tag that says how to dereference the entity reference in the xml file to an actual resource. If you want to handle entity references via a SAXParser, then you will need to implement the EntityResolver interface and register this with the parser. I think it should be possible in the entity resolver to create a new parser object to handle the new file.
    Hope this helps.

  • OESB File Adapter (Read .xml file to Write .xml)

    Hi All,
    The fileRead adapter of reading xml format file not writing the content to another xml file.
    In detail, I have a xml file of type (myschema.xsd) to pick using read operation will transform to output directory as xml format (pls find attachment as myschema1.xsd) is not writing the content in out xml file rather writing an empty elements. The same thing working with CSV to CSV.
    Has anybody come across the same? Also found out the same issue with BPEL file adapter as well.
    Any light on this will very much appreciated
    myschema.xsd
    +<?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.example.org" targetNamespace="http://www.example.org/readFile" xmlns:ns1="http://www.example.org/readFile" elementFormDefault="qualified">
    <xsd:element name="Opportulity">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Customer" type="ns1:Customer" />
    <xsd:element name="Account" type="ns1:Account" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:complexType name="Customer">
    <xsd:sequence>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Account">
    <xsd:sequence>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>+
    myschema1.xsd
    +<?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.example.org" targetNamespace="http://www.example.org/writeFile" xmlns:ns1="http://www.example.org/writeFile" elementFormDefault="qualified">
    <xsd:element name="Customer">
    <xsd:complexType>
    <xsd:sequence>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>+
    Regards
    Venkata Madhu

    xslt
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="WSDL">
    <schema location="readFile.wsdl"/>
    <rootElement name="Opportulity" namespace="http://www.example.org/readFile"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="WSDL">
    <schema location="writeFile.wsdl"/>
    <rootElement name="Customer" namespace="http://www.example.org/writeFile"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.3.0(build 070615.0525) AT [TUE FEB 03 17:58:26 GMT+05:30 2009]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns0="http://www.w3.org/2001/XMLSchema"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/writeFile/"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:imp1="http://www.example.org/readFile"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns2="http://www.example.org/writeFile"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/readFile/"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/file/"
    exclude-result-prefixes="xsl plt pc ns0 jca imp1 tns hdr ns1 ns2 bpws ehdr hwf xp20 xref ora ids orcl">
    <xsl:template match="/">
    <ns2:Customer>
    <ns2:RoleType>
    <xsl:value-of select="/imp1:Opportulity/imp1:Customer/imp1:RoleType"/>
    </ns2:RoleType>
    <ns2:FirstName>
    <xsl:value-of select="/imp1:Opportulity/imp1:Customer/imp1:FirstName"/>
    </ns2:FirstName>
    <ns2:LastName>
    <xsl:value-of select="/imp1:Opportulity/imp1:Customer/imp1:LastName"/>
    </ns2:LastName>
    <ns2:CustomerID>
    <xsl:value-of select="/imp1:Opportulity/imp1:Customer/imp1:CustomerID"/>
    </ns2:CustomerID>
    <ns2:Nationality>
    <xsl:value-of select="/imp1:Opportulity/imp1:Customer/imp1:Nationality"/>
    </ns2:Nationality>
    <ns2:Phone>
    <xsl:value-of select="/imp1:Opportulity/imp1:Customer/imp1:Phone"/>
    </ns2:Phone>
    <ns2:EmailAddress>
    <xsl:value-of select="/imp1:Opportulity/imp1:Customer/imp1:EmailAddress"/>
    </ns2:EmailAddress>
    <ns2:AddressLine1>
    <xsl:value-of select="/imp1:Opportulity/imp1:Customer/imp1:AddressLine1"/>
    </ns2:AddressLine1>
    <ns2:AddressLine2>
    <xsl:value-of select="/imp1:Opportulity/imp1:Customer/imp1:AddressLine2"/>
    </ns2:AddressLine2>
    <ns2:City>
    <xsl:value-of select="/imp1:Opportulity/imp1:Customer/imp1:City"/>
    </ns2:City>
    <ns2:State>
    <xsl:value-of select="/imp1:Opportulity/imp1:Customer/imp1:State"/>
    </ns2:State>
    <ns2:County>
    <xsl:value-of select="/imp1:Opportulity/imp1:Customer/imp1:County"/>
    </ns2:County>
    <ns2:Postal>
    <xsl:value-of select="/imp1:Opportulity/imp1:Customer/imp1:Postal"/>
    </ns2:Postal>
    <ns2:Country>
    <xsl:value-of select="/imp1:Opportulity/imp1:Customer/imp1:Country"/>
    </ns2:Country>
    </ns2:Customer>
    </xsl:template>
    </xsl:stylesheet>
    Venkata Madhu

Maybe you are looking for