Receiver side adapter doubts

Hi all,
It's an ECC- XI - MDM scenario using XI 7.1
The scenario has been configured using MATMAS Idoc. MATMAS is imported into the namespace ECCtoMDM. It has also been included as an External Definition. In fact in Message Mapping, the source is the MATMAS Idoc and the target is the external definition MATMAS05. The configuration was done by functional consultants and now I am reworking it. My doubt is this. At the MDM side, they have used a File Adapter. It's the Idoc that's used as target messgae under external definitions. So shouldn't it be an Idoc adapter at the target side ?
Now, I have to select only four fields from the Idoc and sent it to the target. So I am thinking of creating a Data Type, MT and Service Interface, Message Mapping and Operation Mapping for all these. So when I did that I get an error while activating data type. I selected Data Type as Free style Data Type.
Regards

in your case to send data to MDM system they are using File adapter to place files in to FTP,from them MDM import manager picks up the file and updates in MDM tables.
coming why they are using IDoc XSD for target message was there is not structure conversion required and once File adapter sends IDoc structure as XML message MDM can understand that,that why they are using IDoc XSD.
new interface development you can use XSD or you can create new data type with four fields type free style.
But you have to remember one point MDM provided predefined Maps for material master data point of MDM,so that better to use IDoc xsd message in your case and use file adapter.
Regards,
Raj

Similar Messages

  • Receiver mail adapter doubt

    Hello,
    I use XIPAYLOAD as message protocol and selected the option Mail Package. In mapping, I fill the sender, receiver mail ids, subject, content.
    Now, the content of the received mail is available from 12-15 fields from the input structure. I want to align this content in a paragraph format for readablity. How can I achieve this?
    Also, there is a URL field available (eg: htttp://www.caritor.com). This appears as a plain text. But I need that as a hypertext in my mail, so that the user can navigate to the URL directly by clicking on that.
    Thank You.
    Regards,
    Jai Shankar

    Hi,
    >>>>Now, the content of the received mail is available from 12-15 fields from the input structure. I want to align this content in a paragraph format for readablity. How can I achieve this?
    believe this could be done with XSLT - but you need to try it
    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>

  • The same filename from a sender to a receiver file adapter - SP14

    Hi Expers,
    I Have Gone through the link which is given bu Michal.
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Here My Questions are.........
    1.Should we give any file name in the receiver side Adapter in this scenario.?????
    2.How wil be the Sender and Receiver Communication channel Parameters????
      What Are they???????
    Please Clarify me...
    Regards
    Khanna

    Hi Rajesh,
    Is your query related to sending the file name from the source xml document to the reciever file adapter. If so this can be achieved.
    Pls. do the following.
    1. In the mapping program that you are using populate the filename coming from the source into the target root element.
    2.Sender adapters can write adapter-specific attributes to the message header; these can then be evaluated at configuration time
    3. To change the adapter-specific attributes of the message header by using message mappings, you access the required classes of the mapping API by using a mapping runtime constant.
    <b>Note: You donot need to specify any filename in the receiver communication channel.</b>
    To access the classes DynamicConfiguration and DynamicConfigurationKey by using the mapping runtime constant DYNAMIC_CONFIGURATION, use the method getTransformationParameters() of the container object.
    Create an simple user defined function in the mapping and use the following code.
    Imports: com.sap.aii.mapping.api.*;
    Parameter: String filename
    Paramter: String filename;
    filename = fileName + ".DAT";
    DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, filename);
    return filename;
    You donot need to hard code the value of the filename in the file adapter for your interface.
    In SXMB_MONI, when you see the pipeline services you would see that the value of the filename is populated in the message payload.
    Thanks
    Indranil

  • File access parameter in file adapter at receiver side

    Hi Experts,
    1- i am using file adapter at receiver side. i want to create my file with time stamp for that i have given the file construction    mode = add time stamp and put file directly .but it is showing time in file name????????
    2. i want my file name as  TimeSheet_Country_Date_time.csv so for this what value i have to give in file Name Scheme parameter.
    Regards

    1- i am using file adapter at receiver side. i want to create my file with time stamp for that i have given the file construction mode = add time stamp and put file directly .but it is showing time in file name????????
    The addtime stamp will add timestamp as the last part of the filename before the extension.
    2. i want my file name as TimeSheet_Country_Date_time.csv so for this what value i have to give in file Name Scheme parameter.
    You can achieve this using dynamic file naming UDF in mapping and using ASMA in file adapter.
    Use current date function and generate the current date. Then use substring to pick date,time from it and format it according to your requirement (TimeSheet_Country_Date_time).Else you can write a UDF to generate the file name as per your requirement and then pass it to the dynamic filenaming UDF in the mapping.
    Search SDN for dynamic file naming.

  • Encoding in Receiver side file adapter

    Hi All,
    I have special characters in message structure. While writing the message to output file the special characters are not getting printed(getting replaced by '?'); I have tried using UTF8, ISO-8859-1 and other code pages related to latin characters; Still facing an issue. I have tried using Binary mode also.
    I tried using similar encoding formats in sender adapter. It was working fine and all the special characters are visible.
    Is this problem in receiver side file adapter? Any inputs on the same will be a lot more help ful.
    Thanks in advance
    Nik

    Hi
    I have é, à and some other characters in my source message structure. The same characters are visible in message monitoring. While writing to file, they are being replaced by ?
    This type of character are generated using UTF-8
    use the same for receiver
    The default setting for code page is the system code page that is specific to the configuration of the installed operating system.The content of the message needs to be converted to the corresponding code page before the message is saved as a file.
    You should use this conversion only for plain text and not for XML documents. If you want to change the encoding of an XML document, then select the File Type as Binary and apply XMLAnonymizerBean as an additional module in the Module tab page.
    Thanks
    Gaurav

  • Synchronous JDBC adapter(receiver side) with stored procedure

    Hi experts,
    Can some database processing logic be included in receiver JDBC (synchronous) adapter...to put it simply
    I have synchronous JDBC adapter in the receiver side..Using this JDBC adapter I want to get some response back from the table..
    The requirement is not a simple fetch from the table..It involves some processing in the database side which I guess will be done by stored procedure..After this database processing , this output will be picked up by the JDBC adapter and will send to PI.
    How can this be achived ..Any Blog..
    Thanks
    Ayan

    Yes u can use stroed procedure and send back the response,
    refer this link for stored procedure structure.
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
    chirag.

  • Do we have any Acknowledgement concept At receiver side of JDBC Adapter

    Helo,
    Do we have any Acknowledgement concept At receiver side of JDBC Adapter?
    Thanks,
    Soorya

    Hi venkat,
    For receiver JDBC adapter message can be sent synchronously and asynchronously.
    In case of SELECT  statement only synchronous makes sense..since the JDBC adapter will select some rows/columns and return it.
    In case of other statements (UPDATE,INSERT,DELETE) if the message is sent synchornously.. u will get only the no of rows affected..so these can be treated as acknowledgement...
    Regards
    Biplab
    **Reward points if it helps u**

  • Doubt  on RFC at receiver side

    Hi,
           I had some doubts in FILE to RFC scenario plz kindly answer to this questions ur help will be more valuable.
           1. Is it necessary to create RFC destination on ISERV pointing towards receiver syst?or on receiver syst pointing towards XI?
           2.i'm using BAPI_GOODS_MVT_CREATE so what will be the bapi returning parameter values for that?
           3.in FILE to RFC scenario after registering senders non-sap syst in SLD ,can i create B.SERVICE directly in I.D?
           4.canbody give info on REGISTERING OF QUEUES what is this concept ?
    we have to check this in SMQR  or SXMB_ADMIN?
    what we have to do in realtime REGISTER or UNREGISTER them?
              Plz kindly answer to this questions as many as possible?
               points will be awarded for most valuable answers.
                                                                                    Regards,
                                                                                    smitha.

    <i>> 1. Is it necessary to create RFC destination on
    > ISERV pointing towards receiver syst?or on receiver
    >  syst pointing towards XI?</i>
    You do not need any RFC destinations when using the Receiver RFC adapter. You just create a Receiver RFC adapter with the details pointing to your R3 system.
    <i>> 2.i'm using BAPI_GOODS_MVT_CREATE so what will
    >  be the bapi returning parameter values for that?</i>
    In the IR, you can check the Response XML of the same BAPI or execute the BAPI from SE 37 and check it out.
    ><i>> 3.in FILE to RFC scenario after registering
    > senders non-sap syst in SLD ,can i create B.SERVICE
    >  directly in I.D?</i>
    This is optional . if you have created a 3rd Party Business System you can use this as bioth the sender and receiver or you can use a Business Service created in the Integration Directory.
    Regards
    Bhavesh

  • Problem in Receiver side File Adapter using FTPS mode

    Hello,
    Here I am facing some problem in receiver side while using FTPS mode in the channel configuration.
    The error message which i could see in the audit log is,
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: java.lang.NullPointerException
    Can anyone help me out in solving this issue ASAP?
    I am using Per file transfer mode ni the reciever channel.
    Thanks in advance,
    Yours
    Soorya

    HI Surya,
    First check wether server started or not and then check you are connecting to FTP server by
    go to run -> cmd and write ping and ipaddress which is used and see whether u r getting reponse from teh FTP server.
    Try to login to the ftp server which you have mentioned in CC using the user name and pwd, to chk whether you have the permissions to login to the server.
    Also the check whether the folder you are trying to access is having permission for delete/read/write.
    Restart the FTP server and try it again.
    Regards
    Sridhar Goli

  • Problem with  communication channel on receiver side with file adapter

    Hi all,
    I m doing a scenario of collection of multiple idocs into a file.When i m testing this scenario,i m getting a flag successfully executed in SXMB_MONI.But,my file isn't created in my directory.When i monitor the communication channel in Runtime workbench,it's showing error :<b>Channel has not been correctly initialized and cannot process messages</b> for my receiver file adapter?I am not able to figure out the error.Anybody having idea about this problem.
    Regards,
    Anoop

    Hi Anoop
    Check it - File adapter is active ? try to Re-activate the same.
    Also do CPACache Refresh.
    Still problem, tyr out by restarting the Adapter Engine
    Cheers..
    Vasu
    <i>
    Reward Points if found useful **</i>

  • File adapter doubt

    i have doubt regarding file adapter
    can a file adapter work dynamically?
    for example: we are configuring one file name and a path.
    whether multiple files can be taken from the path dynamically when using file adapter.
    Message was edited by:
            allen washburn

    Hi Allen -
    On the sender file adapter side you have the wildcard options (e.g. *, ?) and in addition you can set exclusion masks to exclude files with a certain pattern.   You can set additional folders too for additional files in a different location (<a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm">Additional Files</a>)
    On the receiver side, you can use <a href="http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm">Variable Substitution</a> to dynamically set the filename and path based on message content (payload or header).
    Regards,
    Jin

  • Retaining the FileName in the Receiver FTP adapter

    Hi experts,
    I have a situation here, were i need to retain the FileName in the message header in the receiver FTP adapter.
    I have tried using variable subtitution but seems the FileName is not supported in variable substitution.
    Please help
    Thanks

    Hello,
    if you need file name to be retained in the receiver adapter from the sender side. then u can do that by dynamic configuration using adapter specific message attributes, check this blog for details-
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    if you dont have a mapping in your interface to use dynamic configuration, then you can do it via adapter module also- have a look here, /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
    regards,
    francis

  • Append the data in file at receiver side

    Hi All,
    I want dump the data frm SAP tables. the data is hughe so we are sending the data in slots from ECC like 50K recoerds at a time and after that to collect that i using the append parameter at file receiver side and records are getting appended in file only that is correct 
    but my one doubt is
    let say monday the records get append into file at receiver side and on tuesday again the records will get appended in same file....it will be problem for this i used create parameter with overrite my question if i am using create then we can not use append ........
    please suggest...........
    Regards

    Hi gangadhar,
                             Append will work like this..
    if there is no file ..create the file and if file already exists then appends the data to the existing file..
    in your case when you create the file with day i.e file_day ..first time when you send 50K records file will get created..
    if you send another 50k in the same then will get appended to the same...
    in case if you send the another 50K set another day..then a new file will get create as there is no file available with taht file name
    i.e filename_nextday...
    Hope this clears all your queries
    HTH
    Rajesh

  • Receiver RFC adapter issue! Please help!

    Hi Experts,
       I have 4 XI interfaces. All of these are Webservice to RFC scenarios. Moreover all of them are synchronous.
      Request message: Webservice (SOAP Adapter) ---> XI -
    > RFc Adapter ---> ECC Function modules
      Response message: Webservice (SOAP Adapter) <- XI < RFc Adapter <- ECC Function modules
    As you can see above, external system calls XI web service via SOAP Adapter. The input data is then sent from SOAP Adapter to RFC adapter to call RFC function module in the receiving side.  The receiving system is SAP ECC system.
    The receiver ECC system has two instances. For example SP0 ad SP1. 
    In the receiver determination step we have maintained a rule such that if the Plant value in the input message is XYZ then send data to SP0. But if the plant value in ABC then send data to SP1.
    This Conditional rule is working fine.
    However we are getting couple of issues with only one instance of ECC (SP0).
    1. com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message badfa070-b163-11de-a4c1-001cc495e48a(INBOUND) expired
    2. NO_MAPPINGPROGRAM_FOUND. Mapping program is not available in runtime cache: Object ID C2B41FFDFD4635BAB1E41AE53C0D10CE Software Component 5394F420463611DAC1CFFBBC0A01BC16
    3. com.sap.engine.interfaces.messaging.api.exception.MessagingException: No response available
    The above listed errors are generated occasionally. Sometimes no errors are generated even when the same input data is sent again and message is successfully processed.
    I have verified the input data and everything is OK with that.
    Mapping object is available in XI and cache was also refreshed. I additionally reactivated the objects in XI as well.
    So what could be the real root cause of this? Please help!
    Thanks
    Gopal

    1. com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message badfa070-b163-11de-a4c1-
    001cc495e48a(INBOUND) expired
    Check the Timeout parameter of your adapter.....for requests which expire with this error confirm from the SAP end that the message processing is done well within the Timeout period of the adapter.
    Refer this note for more info on the above occuring error and the possible way to avoid it: https://service.sap.com/sap/support/notes/791379
    Update:
    Even problem 3 seems to be occuring due to insufficient Timeout specified for the adapter.....if possible try increasing the Timeout in VA
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Oct 6, 2009 1:42 PM

  • Problem with Stored Procedure exection in Sender and Receiver side of JDBC

    Hi All,
    I am facing problem while executing Stored Procedures using sender and receiver sides of JDBC adapter.
    Here is my SP in Oracle DB :
    PROCEDURE EMP                           
    ( ID IN VARCHAR2,NAME IN VARCHAR2,PROCESSED IN VARCHAR2  ) AS                                                          
    BEGIN                                                         
       INSERT INTO EMPLOYEE VALUES (ID, NAME, PROCESSED);COMMIT;END EMP;
    Now I want to execute this SP using sender JDBC channel and receiver JDBC channel.
    Can anyone please help me executing this SP?
    Regards,
    Soorya

    Hi Soorya,
    The receiver Data type should be like this:
    <StatementName>
    <storedProcedureName action=u201D EXECUTEu201D>
        <table>realStoredProcedureeName</table>
    <param1 [isInput=u201Dtrueu201D] [isOutput=true] type=SQLDatatype>val1</param1>
    </storedProcedureName >
      </StatementName>
    Check the link http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
    Which DB  are you using?? The sender structure will be like
    <resultset>
    <row>
    <field1></field1>
    <field2></field2>
    <field3></ field3>
    </row>
    </resultset>
    Search SDN you will get lot of examples
    Regards
    Suraj

Maybe you are looking for

  • Is this possible to do with my ipod touch on itunes?

    Hello there, In work, myself and some colleagues do a "no skip friday" - we shuffle the entire playlist and are not allowed to skip tracks until the end of the day. A little silly, yes, but it means we keep rediscovering songs we never knew we owned.

  • GIF and sticky page size

    I have scanned (from HP N6310) a paper to a .TIF image. Original is A4 and resolution, as set in scanning software 300dpi. Photoshop (CS5) reports (for the .TIF fiile) pixel dimension as 2574*3540 pixels, page size as 21.8 * 29.9 cm and resolution as

  • Problem importing Word document with TOC

    I am trying to import a Word document containing a table of contents into Pages. The TOC does not appear at all and I get a box saying: "The table of contents is empty because none of the paragraph styles selected in the Document Inspector are used i

  • Gateway 24" HD LCD Widescreen Monitor

    Hello, Can I plug a Gateway 24" HD LCD Widescreen Monitor into my iMac G5 with iSight and get maximum benefit from the resolution of 1920*1200 ? Thanks, John.

  • Maintain session in Multiple soap calls

    Hi Experts, We have an requirement which runs 2 synchronous calls. 1st synchronous cal is for validating user credentials and 2nd synchronous call (for successful log in) for uploading data in R/3 system. The main task is to maintain session(ex: time