RFC to PI Junk Payload

We are having typical issue in RFC-PI integration.
SAP sending data to PI via RFC. For which we have imported the BAPI. When the data is send by SAP, it is coming to PI as truncated one. For eg First field SAP is of 8 char length internal table but it has value of only 5, than next 3 char are filed by second field and all all other fields become junk. like 5 from first + 3 from second..
We tried to recreate the mapping, re import BAPI, created all ID objects again, Stopped/deactivate the RFC channel ..etc... etc.. but nothing seems to be working and we are getting truncated/concatenated data in Payload in PI
Pls let me know if you have solution for this issue
Thanks

Is your sender system unicode? If no, could you try to change the RFC destination in R/3 conecting to PI to unicode and try again.
Regards,
Prateek

Similar Messages

  • RFC to XI: Empty payload xml

    Hello everyone,
    We have a very simple scenarion RFC -> XI -> JDBC.
    When the rfc is executed in the backend R/3 i can see the xml in sxmb_moni
    BUT the payload is empty.
    The remote function uses TABLE instead of IMPORT / EXPORT parameters.
    Any ideas?
    Thanks in advance
    Dimitris

    Hi,
    RFC is sending the table name , check.What are all the Return values in terms of structure and also check the struture of the return /response message,
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    Problem passing a table parameter in rfc call using the function control
    /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    Regrads
    Chilla
    <i>reward points if it is helpful..</i>

  • How to use payload from standard RFC MessageType in a RFC Lookup function

    Hello
    We have a DB sender to call an BAPI. The DB receiver gets the BAPI response.
    It is an easy scenario with one mapping.
    But the RFC Mapping Lookup is very awful. You have to rebuild all open and close tags to get the RFC payload. A lot of concat functions are a must. The error search in such a mapping is not easy and seems like EAI developing 1990 (Hand am Arm).
    Ok, it is better as a BPM, but it is not well for first level support person and release changes and trouble shooting.
    How can I use a XML payload from first mapping in my RFC Mapping lookup (second mapping)? There must be a way with two mappings and an easy RFC lookup.
    Currently (one mapping):
    DB sender format -> ( RFC lookup self-made RFC XML structure) DB receiver format
    My dream (two mappings):
    DB sender format -> RFC SAP XI standard Format ->(RFC lookup by using Payload from first mapping) DB receiver format
    I hope someone can help me with an example.
    Daniel

    Hi Daniel,
    If i understood correctly, urs is a 'Asynch' scenario JDBC to JDBC with a RFC lookup in Mapping.
    If its so, then i think wat u r expecting can be done. In Interface Mapping, u can add more than one message mappings.
    So first do a Mapping for DB sender format - RFC input standard format,
    then another one for RFC sender Format - RFC receiver format, (look up code goes in this mapping).
    Then third one from RFC receiver format to DB receiver format.
    The order n which u add in Interface Mapping is also important. This is a suggestion, i havent tried this, but still i think u can give it a try.
    Regards,
    P.Venkat

  • Error while executing WS to RFC sync on 7.4 single stack

    Hi Experts
    I am working in ws..>sap pi..>Rfc sync scerio
    when  I have entered the data in RFC its working fi9 but I am using SOAPUI to test it, it's giving me error:
    <text>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: functiontemplate from repository was &lt;null>
    pls note that I have reimported the RFC 
    pls suggest!

    Refer to question no 16 under the below note
    730870 - FAQ XI 3.0/ PI 7.0/ PI 7.1/ PI 7.11/ PI 7.2/ 7.3 RFC Adapter
    Q 16: While sending a message to the RFC Adapter the error "... functiontemplate from repository was <null>" is shown. What is the reason?
                  A: After receiving a message from the Adapter Engine, the RFC Adapter extracts the payload from the message. Normally this should be an XML document in the RFC-XML format. In this format the root element of the XML document represents the name of the function module and is enclosed in the fixed RFC namespace 'urn:sap-com:document:sap:rfc:functions'. But this only will be checked at a later point, when the conversion from XML to native RFC is done. As prerequisite of this conversion the structures and types of the function module parameters has to be known. This is also called metadata or function template. To get this function template the name of the function module is extracted from the root element of the XML document and is queried against the metadata repository of the communication channel. If the metadata repository doesn't have a function module with this name, the exception named above is thrown. Possible reasons are
    The XML document, which was sent to the RFC Adapter, is not a RFC-XML document. So the root element name of this document is not the name of a function module and thus can't be found in the metadata repository.
    The metadata repository doesn't contain an entry for this function module name. Normally the metadata repository will be an R/3 system and it's function module repository can be searched with the transaction SE37.

  • JDBC to RFC- Error in RWB

    Gurus,
    Background :We have fresh installation of SAP PO 7.3 (Single Stack ) on SQL Server 2013.
    Scenraio is : JDBC to RFC async scerio; i can pull data from SQL database but not able to post to SAP
    Please advise what to do.
    I always provide points for helpful answers

    Hi V Jay - Did you check the below thread?
    RfcClientException: functiontemplate from repository was <null>
    Q 16: While sending a message to the RFC Adapter the error "... functiontemplate from repository was <null>" is shown. What is the reason?
                  A: After receiving a message from the Adapter Engine, the RFC Adapter extracts the payload from the message. Normally this should be an XML document in the RFC-XML format. In this format the root element of the XML document represents the name of the function module and is enclosed in the fixed RFC namespace 'urn:sap-com:document:sap:rfc:functions'. But this only will be checked at a later point, when the conversion from XML to native RFC is done. As prerequisite of this conversion the structures and types of the function module parameters has to be known. This is also called metadata or function template. To get this function template the name of the function module is extracted from the root element of the XML document and is queried against the metadata repository of the communication channel. If the metadata repository doesn't have a function module with this name, the exception named above is thrown. Possible reasons are
    The XML document, which was sent to the RFC Adapter, is not a RFC-XML document. So the root element name of this document is not the name of a function module and thus can't be found in the metadata repository.
    The metadata repository doesn't contain an entry for this function module name. Normally the metadata repository will be an R/3 system and it's function module repository can be searched with the transaction SE37
    Reference :  730870 - FAQ XI 3.0/ PI 7.0/ PI 7.1/ PI 7.11/ PI 7.2/ 7.3 RFC Adapter

  • SOAP sync to RFC - Multiple lines in the RFC 'input'

    Hello everyone!
    I need a little 'insight help'/opinion.
    I had a cenario that was working just fine, SOAP Async to iDoc. In the cenario I received 1:n lines and send it to the iDoc. No problem at all.
    Now,  the analyst asked us to change this cenario to: SOAP Sync to RFC (I opposed that but.. it's their decision..)
    So, I created a RFC with NO IMPORTING AND EXPORTING and 2 TABLES. One table to receive 1:n lines as inputs of the data, and other table to give 1:n line as response of the process of that line.(the RFC is remote, so can be used by PI)
    When I test this RFC in R3 using transaction SE37, I am able to enter 1:n line in the input table, and get the 1:n line in the response table. And also, the data is inserted in my table. Perfect.
    When I import and use this RFC in PI, everything seems to be fine during mapping procedures and such, but when I execute the SOAP call, I get an mapping error. I was able to see that:
    1 - The Response from the RFC using PI is 'blank'. I mean, the mapping from the response of the RFC to my SOAP is 'null', that's why I´m getting the error mapping.
    2 - Tha data WAS NOT inserted into the table using PI. This worries me more.
    So, my question is, does PI understand the use of 2 tables (one as 'input' and other as 'output') from the RFC? - the RFC has no importing and exporting, only tables, as I've mentioned.
    Also, is this what I am trying to achieve here, possible? I mean, can I expect to use a RFC with multiple line as 'input' or PI only accepts 'parameters' as input?
    Thanks for the insight help!
    Ricardo Sancio Lóra
    Brazil

    but when I map anything from the response to my output, I get the mapping error, but if I map something constant it
    worked
    Did you test the mapping in IR using the Test tab of Interface/ Message mapping? If it is working for Constant and not for runtime (or other) values then it means that the mapping logic is not proper.
    But did you see when I say that the item was NOT inserted into the table in R3?
    Now the last check-point in XI.....is your RFC channel showing proper payload in RWB --> Component Monitoring --> Adapter Engine --> CC Monitoring?
    Regards,
    Abhishek.

  • PI process  Large Xml payload?

    HI experts:
       in my scenario,  i call a RFC and the RFC have a response ,the  response  payload  have   10M, and the my java crushed with the error:out of memory,is there any way to expand the pi java memory?
    thanks ,best regards

    Hi Raja Sekhar Reddy T :
    thanks for  your response. my scenario is  abap proxy<-> PI<->RFC. when i call the Proxy use the abap code . the RFC's response ,message payload is tremendous. so pi crashed with the error out of memory.  the response message structrue is like folllwing:
    <Persons>
    <Person>
    <personname></personname>
    <***></***>
    </Person>
    <Person>
    <personname></personname>
    <***></***>
    </Person>
    </Persons>
    the Person element is 0~unbounded. so i can split the message into small  piece . but i have some doubt:
    1.where can i  split the message . if i split  message in the mapping.because the original message is tremendous,the jvm will be crash when  response message load into the jvm memory before  starting message splitting.
    2. if the splitting is success.how the RFC which call the abapproxy receiver the response muti-message.
    thanks very much.

  • Hi please need suggestion for best design for jdbc-rfc-file

    Hi Gurus,
    actually our scenario is jdbc->XI( <-RFC->)->File
    Here our payload is around 5000 records
    can it be advisable to use rfc synchronous communication.
    The scenario will be exected only in night times.so can we schedule the adapter as we are using sp9.
    If not what must be the good design approach.
    And also after scheduling to a perticular period ,if there is any down time of XI server,will the process start immediately after the sever up or it will again watch for that perticular time.

    Hi,
    >>>can it be advisable to use rfc synchronous communication.
    - No, if there is no business requirement for realtime response.
    >>>can we schedule the adapter as we are using sp9
    - Not necessary.
    >>>Here our payload is around 5000 records
    - Is it requirement to send all 5000 records at once?? if not then distribute load whole day if possible.
    If you provide more information then maybe we can assist you.
    Regards,
    Gourav
    <i>Reward points if it helps you</i>

  • Quicktime Dynamic Payload Support

    Hi -
    I have created a streaming server using the RTSP/SDP/RTP protocols and I am having a little trouble getting a dynamic payload to work with my server. I am trying to stream a mu-law encoded file at 11025 Hz sampling rate and 8 bits per sample. The standard is 8000 Hz and my server handles that just fine. However, when I try and stream the 11025 Hz audio Quicktime tries to connect to the internet because it doesn't understand the file. When I save the file to my computer and play it Quicktime plays the file back just fine.
    The relevant part of my SDP is as follows:
    m=audio 5004 RTP/AVP 98
    a=rtpmap:98 PCMU/11025
    I am not sure if the PCMU title is correct for this stream.
    I have the format list listed in the SDP RFC (RFC4556), but my payload is not defined there. Does anyone have a list of all the codecs that Quicktime supports for streaming purposes?
    Thanks for any help!

    Perian should add Flash support to QuickTime
    <http://perian.org>

  • Payload Convertion

    Hi,
    I am doing interface like RFC to SOAP and SOAP to RFC .Response.
    The payload of the soap response is below. Can some one help to create the SOAP Response structure based on the below structure to map to the BAPI Response.
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Inbound Message -->
    <AddressValidatorResponse xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/geostan3/AddressValidator">
       <AddressValidatorResult>
          <xs:schema id="AddressCheck" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="">
             <xs:element name="AddressCheck" msdata:IsDataSet="true">
                <xs:complexType>
                   <xs:choice maxOccurs="unbounded">
                      <xs:element name="Address">
                         <xs:complexType>
                            <xs:sequence>
                               <xs:element name="Addline1" type="xs:string" minOccurs="0"/>
                               <xs:element name="Addline2" type="xs:string" minOccurs="0"/>
                               <xs:element name="URB" type="xs:string" minOccurs="0"/>
                               <xs:element name="Lastline" type="xs:string" minOccurs="0"/>
                               <xs:element name="Location" type="xs:string" minOccurs="0"/>
                               <xs:element name="OutBlock" type="xs:string" minOccurs="0"/>
                               <xs:element name="OutCBSA" type="xs:string" minOccurs="0"/>
                               <xs:element name="MatchCode" type="xs:string" minOccurs="0"/>
                               <xs:element name="LocationCode" type="xs:string" minOccurs="0"/>
                               <xs:element name="DPVConfirm" type="xs:string" minOccurs="0"/>
                               <xs:element name="DPVFalse" type="xs:string" minOccurs="0"/>
                               <xs:element name="FootNote1" type="xs:string" minOccurs="0"/>
                               <xs:element name="FootNote2" type="xs:string" minOccurs="0"/>
                               <xs:element name="FootNote3" type="xs:string" minOccurs="0"/>
                               <xs:element name="Msg" type="xs:string" minOccurs="0"/>
                            </xs:sequence>
                         </xs:complexType>
                      </xs:element>
                   </xs:choice>
                </xs:complexType>
             </xs:element>
          </xs:schema>
          <diffgr:diffgram xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
             <AddressCheck xmlns="">
                <Address diffgr:id="Address1" msdata:rowOrder="0" diffgr:hasChanges="inserted">
                   <Addline1>220 W MAIN ST</Addline1>
                   <Addline2/>
                   <URB/>
                   <Lastline>LOUISVILLE, KY  40202-1395</Lastline>
                   <Location>-85754010, 38256144</Location>
                   <OutBlock>211110049001067</OutBlock>
                   <OutCBSA>31140</OutCBSA>
                   <MatchCode>SE1</MatchCode>
                   <LocationCode>AS0</LocationCode>
                   <DPVConfirm/>
                   <FootNote1/>
                   <FootNote2/>
                   <FootNote3/>
                   <Msg>OK</Msg>
                </Address>
             </AddressCheck>      </diffgr:diffgram>
       </AddressValidatorResult>
    </AddressValidatorResponse>

    Hi,
    I had such a similar issue, that was my source message:
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP-ENV:Body>
          <NewOrder xmlns="http://tjkure.no">
             <ds>
                <xs:schema id="InputDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
                   <xs:element msdata:UseCurrentLocale="true" msdata:IsDataSet="true" name="InputDataSet">
                      <xs:complexType>
                         <xs:choice minOccurs="0" maxOccurs="unbounded">
                            <xs:element name="Header">
                               <xs:complexType>
                                  <xs:sequence>
                                     <xs:element type="xs:string" minOccurs="0" name="user_name"/>
                                     <xs:element type="xs:string" minOccurs="0" name="password"/>
                                     <xs:element type="xs:string" minOccurs="0" name="language"/>
                                     <xs:element type="xs:string" minOccurs="0" name="reference_number"/>
                                     <xs:element type="xs:string" minOccurs="0" name="po_is_urgent"/>
                                  </xs:sequence>
                               </xs:complexType>
                            </xs:element>
                            <xs:element name="Parts">
                               <xs:complexType>
                                  <xs:sequence>
                                     <xs:element type="xs:string" minOccurs="0" name="sp_code"/>
                                     <xs:element type="xs:string" minOccurs="0" name="sp_quantity"/>
                                  </xs:sequence>
                               </xs:complexType>
                            </xs:element>
                         </xs:choice>
                      </xs:complexType>
                   </xs:element>
                </xs:schema>
                <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
                   <InputDataSet xmlns="">
                      <Header>
                         <user_name>1000078?</user_name>
                         <password>abc</password>
                         <language>FR</language>
                         <reference_number>FFAIT2040_P06112509562</reference_number>
                         <po_is_urgent>N</po_is_urgent>
                      </Header>
                      <Parts>
                         <sp_code>C00900019</sp_code>
                         <sp_quantity>1</sp_quantity>
                      </Parts>
                   </InputDataSet>            </diffgr:diffgram>
             </ds>
          </NewOrder>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    And I had to extract the bold part(InputDataSet). I solved the problem by implemeting
    an adapter module that uses a customized sax parser combined with an XMLDataSetFilter.
    Regards,
    Emiliano

  • Custom error message in mapping-Alert

    We are using XSLT mapping and We are raising custom error message based upon some conditions i.e if vendor number is invalid or blank.If it doesn't meet the requirement,mapping will fail and it will throw error message as" IDoc XXXXXXXXX is having invalid vendor number".
    My question is,we would like to send this custom error message to email receipients through RWB-AFW.
    How do we capture this custom error message is alert category or alert rule?

    SOLVED!!!!
    UDF call to RFC-FM by passing payload dato in t it

  • BPM not working in SP21,but working in SP15

    Hi
    I have a BPM scenario where I have a send step followed by a receive step.
    The send step invokes a proxy in R/3 and that sends back a RFC to XI.
    These both are related by correlation.
    Now the strange thing I am seeing is the BPM is not able to correlate the response message coming with namespace urn: sap-com: document: sap: rfc: functions in the payload.
    Same BPM is identifying the return message if the namespace in payload is http://xyz.com/XI/ABC.
    This same BPM without any changes is running fine in PI7.0 SP15; I am facing this problem after the upgrade to SP 21.
    I have tried cache refresh but no use.
    Please suggest a solution
    Regards
    Nichol

    Now the strange thing I am seeing is the BPM is not able to correlate the response message coming with namespace urn:
    sap-com: document: sap: rfc: functions in the payload.
    Same BPM is identifying the return message if the namespace in payload is http://xyz.com/XI/ABC.
    In this case the BPM is not at fault.....check what namespace your BPM-interface has.....is it the same which is coming from SAP?
    Regards,
    Abhishek.

  • SAP BC -- XI thru. BC Adapter

    Hi all,
    I'm planning to receive IDOC orders from a BC server with XI. My scenario like this:
    R/3 -(RFC)-> BC -(XML)-> XI -(IDOC)-> R/3
    But BC cannot send the IDOC to XI and getting the following error in defaultTrace.trc
    Could not prepare to receive message due to com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=TESTBC;TP=;FS=DEV_200;TS=;AN=ORDERS.ORDERS05;ANS=urn:sap-com:document:sap:idoc:messages;
    I've setup the Business system and corresponding sender / receiver channel. Also the party for alternative identifiers for both Business system ... Any idea ?
    Thanks.
    Regards,
    Maine

    Here's update.
    I get another error message after I've created a Sender Agreement with "Party" = TESTBC, "Service" = DEV_200, "Interface" = ORDERS.ORDERS05.
    Could not prepare to receive message due to com.sap.aii.af.ra.ms.api.ConfigException: Configured MessageProtocol is 'RFC-XML' but message payload has ContentType 'application/x-sap.idoc'. Only ContentType 'application/x-sap.rfc' is possible.
    As I'm trying to receive IDOC from a SAP BC 4.7, I've setup the SenderChannel as below.
    Adapter Type: BC
    Transport Protocol: HTTP
    Message Protocol: RFC XML with Envelope
    Adapter Engine: Integration Engine
    Any idea ?
    Regards,
    Mainen

  • Problem with grafical Mapping

    Hello experts,
    I create the following scenario:
    I get a pdf file, that has a filename including the sap ordernr e.g. 5443323.pdf. So I only need the filename for calling a RFC module vial RFC adapter. The file adapter server take the file, sets a adapter specific message attribute e.g. fileName. So I create a udf mappping to read the filename via dynamic configuration:
       //write your code here
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String filename = conf.get(key);
    return filename;
    The filename will be mapped to a field of the rfc structur. But if I try to test I get the following error:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping Fatal Error: com.sap.engine.lib.xml.parser.Parser~
    Anyway I do not map the incoming pdf document to the rfc structure. I only the read the filename. Thus, what can I do to prevent those kind of errors. Furthermore, I try to archive the pdf file. But when I try to open the archived file, I get an error, that this file includes errors and it is not a valid pdf document anymore.
    I hope you can give me some hints or a solution.
    Kind regards,
    Erkan

    Hey
    Could you please give us the total error message you are getting in message mapping.
    I somehow have this feeling that since you are trying to read PDF file (i assume you haven't used any adapter module on sender file adapter) you may get error in graphical message mapping,since it expects a well formed XML structure.
    Can you please try to use Java or XSLT mapping and get the filename.
    Even though you are not mapping the PDF to RFC but the incoming payload is verified against the outbound message interface at the time of message mapping and will throw error is there is any mismatch.
    Thanks
    Aamir
    Hello Aamir,
    here is the total error message:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/__PDF_to_RFC_: Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I use udf mapping, because Pareek also recommend me to work with this. Furthermore I do not use an adapter module. I only use the adapter specific message attributes to get the filename..
    Kind regards,
    Erkan

  • Can't get File content conversion to produce CSV file

    Hi Guys
    Have no problem at all getting XML file created via an RFC
    Structure is something like this
    From MONI message monitor inbound message    payload
    <?xml version="1.0" encoding="UTF-8" ?>
    - <rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <IP_CUSTOMER_HEADER>
      <CUSTOMERID>100853</CUSTOMERID>
      <COMPANY>Bram Van Tuyl Coldstore</COMPANY>
      <SHORT_NAME>VAN TUYL</SHORT_NAME>
      <STREET>Middelkampseweg 1</STREET>
    etc
    </IP_CUSTOMER_HEADER>
      </rfc:Z_XI_005_RFC>
    Receiver Grouping  payload
    <?xml version="1.0" encoding="UTF-8" ?>
    - <rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <IP_CUSTOMER_HEADER>
      <CUSTOMERID>100853</CUSTOMERID>
      <COMPANY>Bram Van Tuyl Coldstore</COMPANY>
      <SHORT_NAME>VAN TUYL</SHORT_NAME>
      etc.
    With no conversion xml file is created on output directory 
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:MT_customer_header xmlns:ns1="http://avenue.com/xi/test"><customerid>100853</customerid><company>Bram Van Tuyl Coldstore</company> 
    etc
    Now trying to use File content conversion with the simplest possible conversion -- just insert a colon after all the fields in the structure.
    Following parameters
    Adapter type FILE
    receiver box checked
    Message protocol  File Content conversion
    File access etc as before
    Content conversion parameters
    Recordset :  IP_CUSTOMER_HEADER
    (have also tried Z_XI 005_RFC)
    Name
    CUSTOMERID.fieldSeparator  :        (colon)
    MONI shows message received by XI and processed correctly  but NO outfile gets written to the target directory.
    what am I doing wrong --it's probably something stupid.
    The data into XI is a ONE RECORD structure -- not a table etc.
    Cheers
    jimbo

    Hi guys -- both solutions STILL not working
    all I'm now getting is just a file with garbage in it
    Payload is fine on XI system
    Here's the payload
    <?xml version="1.0" encoding="UTF-8" ?>
    - <rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <IP_CUSTOMER_HEADER>
    - <item>
      <CUSTOMERID>65013</CUSTOMERID>
      <COMPANY>OY PANDA AB</COMPANY>
      <SHORT_NAME>PANDA</SHORT_NAME>
      <STREET>P.O.Box 3</STREET>
      <STREET2 />
      <STREET3 />
      <STREET4 />
      <POSTCODE>3331 GT</POSTCODE>
       etc etc  until end of customer mmaster details
    </item>
      </IP_CUSTOMER_HEADER>
      </rfc:Z_XI_005_RFC>
    Without conversion file is generated on target directory
    Here's the XML output file  sent to the directory
    (for testing I only usec the ist 3 fields)
    Not sure why <item>   disappeared  - maybe that has something to do with it ?
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_customer_header xmlns:ns1="http://avenue.com/xi/test">
      <CustomerId>65013</CustomerId>
      <company>OY PANDA AB</company>
      <shortname>PANDA</shortname>
      </ns1:MT_customer_header>
    RFC call from R3 system  is fine (otherwise I wouldn't get the message into XI. Transaction SM58 as well on R3 shows no RFC errors
    Converted file is just a blank with nl character at the end ??????
    cheers
    jimbo

Maybe you are looking for

  • My ipod touch is stuck on the black screen with apple logo?

    Yesterday I restored my Ipod Touch back to factory settings...thought everything was fine until I realized my wifi option was grey and unclickable and read "no wifi", so I went to settings and hit "restore network settings". The ipod shut off and won

  • Processing Items  Pick up: Available today.

    Hi guys and Happy Thanksgiving,      So I just ordered a new Macbook pro online( my first btw to order online) and  received an email saying Processing Items Pick up: Available today this. Does this mean that I can pick up my product right or there w

  • T41 Freezing-

    Hello Folks, I hope some of you having good technical knowledge on Thinkpads and can help me in resolving my T41 Freezing problem. T41-2372 model started giving me some problem few days back. It just don't boot up or don't shows anything on the scree

  • Infotype 0416 User exit

    Hi, I am using PA30 with infotype 416. While displaying, I am getting two radio buttons namely  - Automatic and manual compensation. But while creating, i do not see this two radio buttons. Is there any user exit which can be used to remove / make in

  • Tecra A11-110 (PTSE1E) Does not charge

    Hi all, Recently my laptop stopped charging. The battery is new and worked for a while. It does work on another laptop. When i connect the charger, the laptop receives the power but it won't charge. I guess it's always bypassing. Is this some error i