FTP (XML) - XI - RFC (SRM)

Hi Folks,
I've implemented a simple scenario where the XI reads a XML file through a FTP Communication Channel and sends it straight to SRM, calling a RFC, without processing any interface mapping.
This Integration is working well, but I'm having some problems in inputting XFELD RFC parameters.
At the RFC Side, the String Parameters are filled correctly with the values inputted by the XML File, but the XFELD Parameters are filed with Junky Characters. Something like this:
"D43D43D43D43D43D43D43D43D43"
What is wrong with this process? Do I need to make any special configuration for XFELD parameters at XI?
Thanks for your help.

Hi Lopez,
    check that parameter XFELD in u r RFC from whcih field is mapped from Input XML strucutre.  Check your XML palyload, whether the payload contains these values(Which you are saying as Junky).
Hope it will helps
Cheers
Veera

Similar Messages

  • SAP BC  XML to RFC

    hi all ,
    I am new to SAP BC connector. I need to configure a scenario to send data from XML to rfc. Please tell the confguration steps to do the same.
    Yours help will be more appreciated.
    Thnz
    Faheem

    hi,
    Problem is with the response sturcture defined in the BAPI, eventhough ur scenairo is async, there will be a response message defined in BAPI.
    open the RFC MI in IR you will see the response message type also, handle that at XI or ask your abaper to supress that at R/3, your problem will be solved.
    Regards,
    Sukarna

  • XML to RFC Scenario

    Hi All,
    I am working on XML to RFC scenario. I've few questions.
    1) how do I map XML structure with RFC?
    2) The incoming XML file contains multiple records while BAPI can handle one record per time so how can I resolve this situation?
    Thanks in advance.
    Regards,
    Chintan

    >>1) how do I map XML structure with RFC?
    In Message mapping and Interface Mapping Choose the source interface as the input XML message type and the target message as the RFC request message and map it.
    >>2) The incoming XML file contains multiple records while BAPI can handle one record per time so how can I resolve this situation?
    You need to use BPM with mulitimapping. To call the RFC for every record you should define a Block step with mode as ForEach and add the Send step to RFC within the block.
    Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure By Piyush Gangwal
    Thanks
    SaNv...

  • How to ftp XML document into a XML type which is not created by itself.

    Hi,
    1.
    I have a table call SNPLEX_DESIGN which is created automaticly when I register a snplex_design.xsd XML schema.( Oracle creates it through the xdb:defaultTable="SNPLEX_DESIGN attribute). and it is created using SNPLEX user account.
    2.
    I also created a folder (resource) call /home/SNPLEX/Orders. which is used to hold all the incoming XML document.
    3.
    I created another user account call SNPLEX_APP, which is the only user account allowed to FTP XML document into /home/SNPLEX/Orders folder.
    Isuues,
    If I login as SNPLEX user, I can ftp XML document into the folder and TABLE (the file size = 0). But If I login as SNPLEX_APP user account, I can only ftp XML document into the folder, but Oracle doesn't store the document into the table( becuase the files size shows a number).
    I have granted all the ACL privileges on the /home/SNPEX/Orders folder to SNPLEX_APP hrough OEM.
    DO I miss anything. Any helps will be great appreciated. Resolve this issues is very import to us, sicne we are on a stage to roll system into production.
    Regards,
    Jinsen

    IN order for a registered schema to be available to other users the schema must be registered as a GLOBAL, rather than a LOCAL Schema. This is controlled by the third agument passed to registerSChema, and the default is local. Note that you will also need to explicity grant appropriate permissions on any tables created by the schema registration process to other users who will be loading or reading data from these tables.

  • Error 'Program not registered' while testing RFC - SRM to MDM / TCP/IP conn

    Hello All,
    While testing RFC connection in SRM, we are getting this error. This connection between SRM to MDM. Any inputs will be highly appreciated.
    Error Details LOCATION: SAP-Gateway on host <hostname> / sapgw<instance no>
    our server OS : windows 2008 server
    We are getting error while doing connection test in SRM.
    This is sm59 connection (TCP/IP ) connection.
    Connection Type: T / RFC destination Name: MDM_API_CATALOG
    Registered server program: hostname.MDS
    I checked smgw transaction ..Logged on clients...Program id is not showing. Any hint will be helpful.
    I Checked this MDM setup also.
    MDS setup
    In mdm server go to folder F:\usr\sap\DM1\MDS00\config
    Open MDM.ini file in notepad
    Add the below 2 entries.
    SAP RFC Gateways= GWHOST=XXXX.hostnamexxx.xxx GWSERV=sapgw00
    Trusted SAP Systems= XXD
    This will enable gateway connection between SRM and MDM and will enable trusted connection.
    For trusted connections to work, we created a service user called SRM_MDM_API with SAP_ALL in SRM  and also created the same user in MDM with Default role.
    Error message:
    Logon  Connection Error
    Error Details    Error when opening an RFC connection
    Error Details    ERROR: program XXXXXXXXPRD.MDS not registered
    Error Details    LOCATION: SAP-Gateway on host XXXXXXXXprd.xx.xxxxxxhostname.xxx / sapgw00
    Error Details    DETAIL: TP XXXXXXXXPRD.MDS not registered
    Error Details    COMPONENT: SAP-Gateway
    Error Details    COUNTER: 77326
    Error Details    MODULE: gwr3cpic.c
    Error Details    LINE: 1778
    Error Details    RETURN CODE: 679
    Error Details    SUBRC: 0
    Error Details    RELEASE: 700
    Error Details    TIME:
    Error Details    VERSION: 2
    Procedure Tried
    1)  This procedure is for Linux OS - Similarly we tried in Windows OS ( If any procedure is wrong also, Please correct us)
    To register the program login into the OS level as sudo su u2013 <sid>adm and execute the following command.
    rfcexec u2013g<program id> -a<gateway host name> -x<gateway service>
    rfcexec is the server program name, the <program id> can be obtained from SM59, it is case sensitive and should match with the entry in SM59. The <gateway host name> and <gateway service> can be obtained from the transaction SMGW. When this command is executed it goes to a hanging loop.
    The connection will fail once this command is terminated or the user executing this command logs off
    2)
    To avoid this, instead of using the above mentioned command an entry should be made in the file saprfc.ini
    To do this, execute the following command
    sudo su u2013 <sid>adm
    rfcexec u2013D<destination name>
    <destination name> is the RFC destination name in SM59
    In order to do above step 2,  we could not find saprfc.ini in windows 2008 server. Please let us know path where it will be usually?
    3) Already checked the notes sapnote_0000684841
    I know that it is generic error..This is happening to specific one of system only.
    Thanks
    Edited by: saptest2011 on May 20, 2011 5:36 PM

    Hello SM,
    Thanks for your quick reply.
    Thanks for sharing link for document ie Configure the MDM Administration_cockpit. It is helpful. I read that document.
    But still issue remain there.
    The same RFC connection works between SRM sandbox to MDM sandbox.
    Only issue with SRM Prod to MDM Prod (newly built system)
    difference between MDM Prod and MDM sandbox.
    MDM Prod runs: Windows server 2008 OS
    MDM Sandbox runs: Windows server 2003 OS
    Landscape: PI7.1, MDM 7.1 and SRM 5.5, SRM-MDM Catalog 3.0
    Even i did os01 tcode ping test using host name (specific IP address) from SRM prod to MDM prod, it is fine.
    Thanks a lot for your help.
    I checked these notes also
    Note 353597 - Registering a server program
    Note 44844 - No connection to registered RFC program
    Note: in smgw tcode in SRM system, the required program id is not showing in logged on clients
    Thanks
    Edited by: saptest2011 on May 23, 2011 5:00 PM
    Edited by: saptest2011 on May 23, 2011 5:39 PM

  • PI 7.1 can't FTP XML to XML.

    hi All,
    currently i was trying to configure the PI for very simple CASE like how to FTP file XML to XML follow the guide below
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00a4c567-f5f8-2b10-02af-c9e9033591ae?QuickLink=index&overridelayout=true
    but nothing happen after all the configuration for the variant1, the file doesn't created on target folder, anyway how i trace the error? thanks.
    Regards
    Hariyono

    Hariyono Yang wrote:
    communication channel : XiPatternChannel_FileReceiver
    adapter type File
    target directory C:\XiPattern2
    filename scheme XiPatternSenderFile1.xml
    communication channel : XiPatternChannel_FileSender
    adapter type File
    target directory C:\XiPattern1
    filename scheme XiPatternSenderFile1.xml
    if you are using file adapter, with the transport protocol as FTP, then the path name of the ftp location should be generally of unix format, and the directories generally start with /
    in somecases, if you are using filesytem(NFS) as transport protocol, its better to use forward slash e.g. C:/directory instead of C:\directory.
    regards,
    BJagdishwar.

  • How to map user-defined fields in XML communication on SRM site

    Hi All!
    We use the External sourcing scenario and we transfer requirements from ERP  in SRM through XI (PurchaseRequestERPSourcingRequest_In)
    We should transfer the user-defined fields, but we can not map it in SRM site.
    We have enhanced enterprise service in XI, have realized BADI PUR_SE_PRERPSOURCINGRQCO_ASYN on ERP site.
    I see the XML message with ours z-fields in tr.  SXI_MONITOR (into SRM), but I can not find it in BBP_PDISC.
    We try to use BADI BBP_SAPXML1_IN_BADI (there is no method for SC), and BADI /SAPSRM/BD_SOA_MAPPING (z-fields is empty)
    Someone can tell how to map user-defined field for SC?
    Thanks in advance
    Evgeny Ilchenko

    Hello, Julia
    We have found solution our problem
    We have enhanced standard service in a new enhancement name space and defined own enhancement elements in our namespaces. Then these enhancement elements refered to the SAP standard Enterprise Service.
    But In our new interfaces were different  XML namespaces
    When we have correct an error we could use the next BADI
    on ERP site: PUR_SE_PRERPSOURCINGRQCO_ASYN
    on SRM site: /SAPSRM/BD_SOA_MAPPING
    BR,
    Evgeny

  • XML Problem: RFC Function with XSTRING or raw table (4.6C)

    hello,
    I have a serialized XML-Document, i.e. a xstring or a raw table. Now I want to write a RFC Function Module that sends/receives this data. I'm running on 4.6C. Is this possible under 4.6C?
    I've managed to write a Function module with appropriate parameters (XML in a raw table) that works fine, but I can't declare it as a <b>remote</b> function module. Is there a standard method of importing binary XML Data via RFC in 4.6C?
    Regards,
      Alexander Schulz

    Can you please share the answer?

  • Pass ftp filename to RFC

    Hi
    I have a scenario in which I need to pull a file from a ftp location and move it to another ftp location. When I am doing this, I need to pass the file name to an rfc ( This is not synchronous..means the file name is passed to rfc and it will trigger a function to do some other process) . How I can achieve this?  Your suggestions highly appreciated
    Thanks
    Skaria

    Hi,
    1. Set Adapter-Specific Message Attribute in the sender file adapter.
    2. Use the following UDF to get the filename from the dynamic configuration and pass it to the RFC.
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName; 
    Thanks
    SaNv...

  • Ftp/xml: @ character at the end

    I receive a file from an AS/400 machine. The process is as follows: AS/400 generates an xml file. It ftps the file to a folder location. Biztalk uses the file adapter to pick this up.
    The weird thing that's happening is that the AS/400 generates a proper xml file. But when the AS/400 ftps this file to a Windows, it appends a bunch of @ characters at the end. Does somebody have an explanation? Additionally, can I workaround with this in
    Biztalk?

    Never seen a case when files from AS/400 had ‘@’ in it. Even you have secured ftp (FTP-S), the chances for some character to be appended at the
    end is less. I have seen BOM (Byter Order Marks) which appear at the beginning of the file content as opposed to end of the file content. Just to remove the probability of this problem due
    to “secured” part of ftp, drop (or ask the hosting team) the file manually at the ftp folder and see what comes to BizTalk. Just remove AS/400 from the picture and drop the file manually to see whether is it due to the end
    system (AS/400) to due to any process in the transportation (network infrastructure) add this extra character at the end of the file.
    If it’s the problem due to the source system (AS/400) or infrastructure, try to resolve the problem at their end, if not only solution is to use the custom receive pipeline component to remove the any additional characters from
    the file.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Ticking the 'portal vendor' in SRM not triggering the XML message in SRM?

    Dear experts,
    I have ticked the 'portal vendor' in the supplier master data in SRM.
    I have maintained the output medium as 'XML\XI'.
    The 'permit surrogate bidding' button is unticked.
    Then, I have saved the supplier master data successfully.
    Still no XML message is generated for the supplier transfer to PI  in the transaction SXMB_MONI.
    Could you please comment what things I should look for?
    Thanks and regards,
    Ranjan

    Dear Nikhil/Soumyaprakash,
    The XML message was not generated from the SRM system due to missing config details in the 'define system landscape directory' in the SRM system.
    Now, The SRM system is generating the XML message for supplier transfer. The PI system is successfully processing the messages. On the receiver side, the SUS system is also successfully processing the message.
    However, no supplier is created under the root vendor organization in SUS system. No mail is also triggered. I have also maintained the vendor and porg details in the table 'BBP_MARKETP_INFO'.
    Could you please check if anything is needed to trigger the creation of vendor record in SUS?
    Thanks in advance,
    Ranjan
    Ranjan Sutradhar

  • Xml to RFC(BAPI) using BPM

    hi
    i have a scenario that is XML file TO RFC
    i am new to XI, can you please help me in doing the  configurations in
    1)   XI
    2)   R/3)
    3)  IR
    4)  ID
    if you have screen shots of this thing please forward it to me
    id:[email protected]
    regards
    Pradeep P N

    Hi,
    it's a standard non BPM scenario
    (you can find many weblogs like this)
    the only different thing is the RFC signature import
    (inside repository)
    and the use of different channels (file and RFC)
    you can find many examples in my XI FAQ
    (document section)
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Verify if payload is a valid XML (MAIL - RFC)

    What I need to do to verify if the payload is a valid XML ?
    I have a process that get data from email and call a RFC:
    MAIL -> XI <-> RFC.
    It's run very well, but I have problens when I recept any message not expected how a text/plan sent by span for example.
    Thanks!
    Evandro.

    Hi,
    Just adding on to Henrique, From SAP help and through some tests in XI,it is seen that, the only validation that takes place within XI is for mandatory nodes and occurrence of nodes of the target message. There is no validation of the source message (workaround is shown in the blog provided below), and there is no validation of details (like length, maxLength, minLength etc.) as specified in the XSD.
    Do go through these links......
    /people/jacob.vandborg/blog/2005/11/29/schema-validation-of-incoming-message
    The following link gives mapping XSD to JAVA.
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/7e5e3c754e476ee10000000a11405a/content.htm
    You can also get some help by following this thread.
    Validating an XML message from Outbound Interface.
    Regards,
    Abhy

  • Upload bmecat xml into CCM / SRM 4.0

    Hello,
    I am trying to upload an bmecat XML file via XI into the SAP catalogue. I can fill the predifined characteristics with my XML file but I do not know how to create new characteristics.
    Does anybody have an example XML file for new characteristics or a documentation for uploading?
    If so please mail it to [email protected]
    Thanks
    Stefan

    Hi Zeky,
    Try GUI_UPLOAD method of the class CL_GUI_FRONTEND_SERVICES
    or FM ALSM_EXCEL_TO_INTERNAL_TABLE
    Please look at this threads too:
    /people/thomas.jung3/blog/2004/09/02/creating-a-bsp-extension-for-downloading-a-table
    Upload XLS file from Application server into internal table.
    Regards,
    Marcin Gajewski
    please reward points for helpful answers

  • Error transforming to  FTP  (XML)

    Hi
    During transformation of a message to the FTP-adapter I get this error :
    Fri Oct 22 11:09:28 CEST 2004: Agent: ** Error ** Bridge had an error processing the received message.
    BO_ALLOK.ALLOK:OAI/V1,OAI/V1,false,0
    TAB
    TAB[0]
    REC
    FELT_ARR[0]
    FELT: "POOL-SG"
    FELT_ARR[1]
    FELT: "571515198310105101"
    FELT_ARR[2]
    FELT: "01-03-2004 06:00"
    FELT_ARR[3]
    FELT: "17368"
    TAB[1]
    REC
    FELT_ARR[0]
    FELT: "POOL-SG"
    FELT_ARR[1]
    FELT: "571515198310105101"
    FELT_ARR[2]
    FELT: "01-03-2004 07:00"
    FELT_ARR[3]
    FELT: "19955"
    TAB[2]
    REC
    FELT_ARR[0]
    FELT: "POOL-SG"
    FELT_ARR[1]
    FELT: "571515198310105101"
    FELT_ARR[2]
    FELT: "01-03-2004 08:00"
    FELT_ARR[3]
    FELT: "24230"
    TAB[3]
    REC
    FELT_ARR[0]
    FELT: "POOL-SG"
    FELT_ARR[1]
    FELT: "571515198310105101"
    FELT_ARR[2]
    FELT: "01-03-2004 09:00"
    FELT_ARR[3]
    FELT: "25758"
    TAB[4]
    REC
    FELT_ARR[0]
    FELT: "POOL-SG"
    FELT_ARR[1]
    FELT: "571515198310105101"
    FELT_ARR[2]
    FELT: "01-03-2004 10:00"
    FELT_ARR[3]
    FELT: "23479"
    java.lang.ClassCastException: java.util.Vector
         at oracle.oai.agent.client.XMLFromAOConverter.addObjectAttribute(XMLFromAOConverter.java:164)
         at oracle.oai.agent.client.XMLFromAOConverter.addObjectAttribute(XMLFromAOConverter.java:179)
         at oracle.oai.agent.client.XMLFromAOConverter.toXML(XMLFromAOConverter.java:85)
         at oracle.oai.agent.client.XMLFromAOConverter.getXMLData(XMLFromAOConverter.java:70)
         at oracle.oai.agent.client.AgentImpl.convertMessageObjectToXML(AgentImpl.java:206)
         at oracle.oai.agent.adapter.technology.TechBridge.messageReceived(TechBridge.java:810)
         at oracle.oai.agent.client.SmartQueueDispatcher.run(SmartQueueDispatcher.java:451)
         at java.lang.Thread.run(Thread.java:484)
    The message is also send to an DB-adapter witout problems.
    Any hints ??
    Regards Henning

    The information provided here is not complete.
    If you contact Oracle Support, they should be able to help you out. The information you provide to them may include an export dump of the InterConnect Repository.

Maybe you are looking for

  • Controlling criteria in Advanced Search 'Add Fields'

    Hi all, Jdev Version: Studio Edition Version 11.1.1.7.0 Background I have two VOs described as below - TaskVO - Fetches a list of tasks TaskUserVO - Fetches the list of users of tasks - Users may be assignees or owners identified by value in column '

  • Question re. mail application

    I try to attach a pdf file to my message. The pdf file is copied at the end of message but I would like to simply attach the file to my message so that my friend can open the file and print it otherwise he has to print the complete message. Please he

  • Strange item in desktop dropdown list after CS4 installed

    Since installing CS4, there is a new item in the dropdown list when I right-click on my desktop The new item is "Adobe Drive CS4". It has two items showing under it. They are "Connect to", and "New Project". The "New Project" is greyed out, even when

  • Windows 2008 R2 DHCP management pack

    i got the windows 2008 R2 DHCP management pack installed but one of my dhcp server is 2008. Will this mp monitor 2008 DHCp server?  one of my dhcp cluster went down and service was stopped but there was no alert . what is the problem?

  • Run Apex 4.2.6 and APEX 5 on same database parallel

    Hi, Is it possible to install Apex 4.2.6 and Apex 5.0 on the same database? If Apex Listener is used as Application Server, do I have to install two different Listener Instances as well? Thanks