Email to file scenario

Hi all
We have configured the sender mail adapter to receive attachments (.txt or .csv) using the PayloadSwapBean. Our next step is to save the attachment to a file. We don't want to do any mapping, just save the file. Is it possible? How?
Waiting for a response
Regards
Salil

hey
u have to do it like a File to File scenario,only difference u can download the standard mail package from marketplace and import tha as an XSD in IR and use that as sender MT.
then do message mapping and interface mapping,and in ID configure a sender Mail adapter and receiver File adapter.
infact u might be able to do this scenario withour any IR objects,have a look at the following
/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
u just need to do mail to file instead of File to file.
i frankly never tried without IR but i dont see any reason why u should not be able to achieve this without IR
try it and let ur know if u hit any roadblocks
thanx
Ahmad

Similar Messages

  • Need an alert to be sent after succesful completion idoc to file scenario.

    Hi ,
    we have an idoc to file scenario, the user wants a email confirmation after the file is generated, can any body help how i can trigger an alert once  file is generated by xi(in a idoc to file scenario).
    regards
    sandeep

    Hi Sandeep,
    we have an idoc to file scenario, the user wants a email confirmation after the file is generated, can any body help how i can trigger an alert once  file is generated by xi(in a idoc to file scenario).
    Well, you can generate an email after your file has been sent (use BPM for this).
    But I believe your Client wants a confirmation of file delivery through email, which might be a problem. By using the above step, you will be able to send the email after file is sent, but it won't confirm whether the file has been successfully delivered.
    You need a synch message which file won't be supporting. So, the other way is to ask your Client if it is possible for them to send an acknowledgment to PI after receiving the file, and then you can trigger the email.
    Unfortunately, there is no straight way out for your problem.
    Hope this helps.
    Regards,
    Neetesh

  • File to File scenario is not working

    Hi
    I have done simple file to file scenario. I have done all the necessary cofigurations but XI is not picking the file
    I have checked in adapter monitoring its saying "File Adapter monitoring is now part of Channel Communication"  its not showing any color not in green or not in red its just in default color.
    I have cheked in Channel Communication its status is green and log is "Communication Channel is correctly configured and started"
    Following are the processing details displayed in Channel Communication
    Polling interval started. Length: 5.0 seconds
      3/17/08 11:36:19 AM   Processing finished successfully
      3/17/08 11:36:19 AM   Processing started
      3/17/08 11:36:14 AM   Polling interval started. Length: 5.0 seconds
      3/17/08 11:36:14 AM   Processing finished successfully
      3/17/08 11:36:14 AM   Processing started
      3/17/08 11:36:09 AM   Polling interval started. Length: 5.0 seconds
      3/17/08 11:36:09 AM   Processing finished successfully
    I Didnt get any messages in Message Monitor and SXMB_MONI.
    I checked in default trace and i got following errors
    User J2EE_GUEST, IP address
    HTTP request processing failed. HTTP error [401] will be returned. The error is [No login module succeeded.No details available].
    *Message listener localejbs/TestListener could not be created for connection test after 60 attempts.
    Exception getting currently running XMLForm Module version.
    java.lang.IllegalStateException: No transaction
    at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection(J2EEConnectionFactoryManagerPeerImpl.java:70)... [see
    Cannot get the name of the EJBean for [email protected]893074.
    The error is: java.lang.NullPointerException: null
    Exception id: [00114326E0D9004E000005860000072F000448999A01A892
    Assertion failed: Logging severity level is not set to 'None'
    Assertion failed: Logging severity level is not set to 'None'
    Could you please tell me do i need to any other configurations
    Regards
    Sowmya

    Hi
    I checked for XIAPPLUSER role in SU01 but it is not there?
    What the role of XIAPPLUSER ?
    Why do i need this role?
    Here we have installed XI in solaries system so i asked my basis team to share one folder in XI system with full access.
    First have given transport protocol as the Fil System, at that time communication Channel was in green but i got the above errors which i have mentioned earlier...
    My question is can i give the transport protocol as File System because i am accessing the folder with in the XI server but i am accessing it through FTP.
    Now i have configured the FTP I have configured everything correct but still i am getting the following errors...
    An error occurred while connecting to the FTP server '10.30.3.23:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 530 Login incorrect.'. For details, contact your FTP server vendor
    Could you please help me in this?
    Regards
    Sowmya

  • MAIL TO FILE SCENARIO--3 MAILINBOX configured in the same Outlook

    Hi All,
    I have  a  below requirement :
    A vendor is sending an e-mail with attached an invoice (PDF, TIF, etc) to a common Outlook (But can have several mailboxes: eg abc@xxx. com ; xyz@xxx .com)
    When a new email arrives in these inboxes (Note : Same Outlook Server ), XI needs to pick up the attachment of the  unread mails and place it in  the network folder.
    I did go through this SDN Link (Mail to File Scenario ) : http://wiki.sdn.sap.com/wiki/display/XI/StepbyStepMailToFileScenario , but  have few queries:
    - Mail Sender CC should be configured as IMAP4 to read the unread mail , pick up the attachment and place it in network folder.
    -Here , how do we configure for several inboxes of same Outlook..?
    -Secondarly i believe , mapping is not required in this case  as xi just picks up the attachment and place in File location.
    Could you please me any info that  meets this requirement .
    Thanks,
    Vara

    Here , how do we configure for several inboxes of same Outlook..?
    Configure as many sender mail channels as the number of mailboxes.....each pointing to a different mailbox.

  • Source of Flat File in a File scenario

    Hey guys
    i was just wondering wats the source of flat files which are used in File scenarios,i know it can come from anywhere but in a real world scenario,where do we usually get these files from(is it any server?)also if anyone of u has worked on any file scenario can u please tell me where exactly u were getting this file from.
    all the scenarios i have worked with i waz just placing the files on FTP but i m pretty sure in a real world scenario,there should some central repository where all these flat files come from.
    please tell me from ur real world experience where u were getting the file from.
    you can e-mail me at [email protected]
    thanx
    ahmad

    Hi,
    The answer for this is , it depends . I mean it depends on the Project Requirements, Organization , Company Policy etc..
    So some project may implement these file servers as a part of the SAP system itself.
    But many are not .. Because as per security rules, etc, there will be separate FileServer outside the SAP Landscape , but will in the same system landscape. So XI/PI will communicate this directly via FTP connections . So this folder will act as a FileServer.
    for a XI developer, generally these file location informations will be given. so you need to pick or drop the files over there
    Hope this helps,
    Regards,
    Moorthy

  • Problem during mail to file scenario

    Hi all,
    I ve done all configurations but it is showing an error in the Modules tab....
    ModuleProcessorException: Error during processing local bean: localejbs/AF_Modulews/PayloadSwapBean caused by:

    Hi Sathish,
    Go through the links  for ur  developments.
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    Mail-XI-file scenario
    Email Adapter Throwing Error
    Error during configuration of Sender Mail Adapter
    regards
    sreeni

  • File to file Scenario in XI

    Hello All,
    Could you provide me the file to file scenario and basic scenarios in XI.
    Thanks,
    Sagar

    Hi,
    Have a Look at these
    http://help.sap.com/saphelp_nw04/helpdata/en/80/8e3841e26cef23e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/sdn/developerareas/xi?rid=/webcontent/uuid/a680445e-0501-0010-1c94- [original link is broken]
    a8c4a60619f8
    This might help you
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Further, this thread deals with everything that is needed for a starter on XI. Do check them out,
    JDBC Receiver: exact SQL statement
    /message/527697#527697 [original link is broken]
    And after you are done with the documentation probably you can go through this scenario,
    JDBC Receiver: exact SQL statement
    Also check the following threads which might help you a little more,
    Learning XI
    XI 3.0 Training
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/13926f23-0a01-0010-149cc1170e7a25db
    /people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
    /people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
    /people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
    and once you are through ...follow the following links to weblogs which explain all the basic scenarios
    in XI
    Following are the links to weblogs which will help to develop the basic scenarios.
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
    /people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in
    ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in
    ccBPM
    /people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination centrally
    /people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
    /people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party - Handling different partners for IDoc
    /people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
    /people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible - Testing of integration process
    /people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects - Authorization in XI
    http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm -
    Authorization in XI
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
    /people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi - Transport in XI
    /people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI
    Mapping
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces - Controlling access to Sensitive
    Interfaces
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - The same filename from a sender to a
    receiver file adapter - SP14
    /people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine - Payload Based Message Search in
    XI30 using Trex Engine /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i - XI :
    Configuring CCMS Monitoring for XI- Part I
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter - XI: HTML e-mails from the receiver
    mail adapter
    /people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated - XI : FAQ's Provided by SAP
    Regards
    Seshagiri

  • RFC to multi file scenario

    Hi,
    I have to carry out a RFC to multi-file scenario. The requirement is that Error generating on whatever part XI will handle have to be reported. Is this possible in this scenario? What can be the mechanism?
    I want to report these errors via a mail to an e-mail id.
    Since i haven't done this scenario, i would appreciate if some link for carrying this out step-by-step is given.Also tell me what configuration for receiving RFC has to be done on XI and R/3.

    Hi Arpit
    <b>go through these blogs for the querry</b>
    <b>For email alerts</b>
    /people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3
    /people/sap.user72/blog/2005/01/14/alert-management--improving-monitoring-of-your-landscape
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    You have to do SMTP Configuration for EMail and SMS.....
    http://help.sap.com/saphelp_nw04/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm
    Thanks !!

  • Idoc-xi-file scenario.  how to display file in html format

    I am not sure whether this is a valid question.........but want to confirm as it was asked by somebody
    In idoc-xi-file scenario.......  how to display file in html format ??
    Thanks in advance
    Kumar

    Hi Vijayakumar,
    Thanks for your reply !! You mean to say I got to use XSLT mapping and also .htm and .html extension together to produce the html file ?? or it is sufficient to use any one of them to produce the html file ??
    Regards
    Kumar

  • IDOC-XI-FILE Scenario: Error in ABAP Mapping

    Dear All,
    I am working on IDOC-XI-Flat FIle scenario in which I am using ABAP Mapping as per document "How To Convert an IDoc-XML
    structure to a flat file and vice versa in XI 3.0".
    I created one customized Idoc for this. The Idoc is reacing XI but its flat file is not getting created. Its giving me following error:
    <SAP:Stack>Error in mapping program Z_ABAP_MAPPING_PACKING_LIST (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION) An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause Dereferencing of the NULL reference.</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    I have also gone thru threads posted for the same topic earlier but still I am not been to resolve this error.
    Please help me out in resolving this error.
    Regards,
    N.Jain

    HI,
       Log saying that, u have problem in the mapping program.
      i.e Z_ABAP_MAPPING_PACKING_LIST
       the problem is due declaration of data.
       i hope that, you have some methods.
       those are declared under intialization section in mapping program.
      please use start of selection before the method.
    other wise, it will come under intilization section.
    warm regards
    mahesh.

  • How to use a existing Business Service in IDoc-File Scenario

    Hi Experts,
    I am new to XI.
    I am working on a IDoc to File scenario where in i am importing the CREMAS.CREMAS03 IDoc from the R/3 System.
    When i try to create a Business Service in Configuration Scenario Object in Integartion Directory, i get a message saying "SAP system ID ER1 and client 800 already exist in service | CLNT800ER1".
    Can i reuse this Business Servie in my Configuration Object?
    If yes, can you please guide me How to go about it?
    Thanks for the effort.
    Cheers
    Gaurav Raghav

    U may directly use it.
    Just select the business service wherever required. It is not necessary that the Business Service is present in ur configuration scenario. But if u still want it, u may add it using "Add to Scenario" option from other configuration scenario or from Objects tab
    Regards,
    Prateek

  • Issue in IDOC-File Scenario

    Hallo Everybody,
    In one of the requirements,for the interface design which involves IDOC-FILE scenario we have a req as:-
    Multiple IDOCs would be sent from SAP R/3 to SAP XI. Each IDOC can have 0-4 segments and for each segment a file needs to created.
    The files needs to be FTPed to a location, only if all the IDOCs have been processed successfully.
    Requirement:
    1) Even if a single IDOC fails,the files should not be FTPed. --> How do we handle this in XI.
    2) We need to send a notification from XI, in case any IDOC processing fails.
    3) How do we check in XI, if all the IDOCs have been processed successfully.
    Please suggest me with some good stategies to resolve this issue.
    Appreciations and Rewards in line.
    Regards,
    Younus

    Hi
    Are you planning to use BPM as it suits your requirement.
    To collect the idocs in small bunches refer
    Collecting IDocs without using BPM
    1) Even if a single IDOC fails,the files should not be FTPed. --> How do we handle this in XI.
    BPM will allow you to wait for the time all IDOC are processed
    2) We need to send a notification from XI, in case any IDOC processing fails.
    BPM exception handling will allow this functionality even to the exact field you want to send  notification
    3) How do we check in XI, if all the IDOCs have been processed successfully.
    Set Acknowledgment for IDOC's
    refer
    Posting multiple IDocs with Acknowledgement
    Thanks
    Gaurav

  • In idoc to file scenario, if XI system is down where do idocs pile up?

    In idoc to file scenario, if XI system is down where do idocs pile up (get stuck)
    what tcode can I use to reprocess it?

    Sender System ,Check  BD87 .. you will see alll the IDOCs in Yellow state ..
    You can reprocess all the IDOCs in go from there .. if only they are in yellow state ...
    regards
    PS

  • Regarding receiver determination problem in IDOC-XI-XML file scenario

    Dear All ,
    In IDOC-XI-xml file scenario , I have configured SLD , IR . But in ID , after file adapter , reciever agreement configuration when I am doing receiver determination configuration I am not able to insert mapping program in configuration overview of receiver determination as I am not getting "New Specific" option in mapping .
    Can anybody suggest what could be the reason behind this .
    Thanks in Advance
    Prabhat

    Hi PRabhat,
    In RCVR determination, you need to select the party & service (as appropriate) save the obeject
    then refresh the configuration overview of recr det.
    then you can see the partner/service
    then you can open it & add the necessary objects.
    Regards
    Vishnu

  • FIle Content Conversion Problem in IDOC-XI-File Scenario

    Dear All,
    I am doing IDOC-XI-FILE scenario.
    I am facing one problem related to File Content Coversion.My requirement was to generate a dynamic file like <b>%store_code%_%current_date%_sitemaster.xml</b> , I have completed the dynamic generation successfully .
    Now there is slight change in the requirement ,<b>we have to suppress the current_date node of the xml content</b> . i have tried to suppress the current_date using these <b>DATE.fieldFixedLengths 0 , Date.fixedLengthTooShortHandling Cut</b> , But I am unable to suppress it Can some body provide me the details on this .
    The output xml version generated by Reciever file adapter is as below :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
    - <SITE_DATA>
    <STORE_CODE>N002</STORE_CODE>
    <TITLE_MEDI>Company</TITLE_MEDI>
    <STORE_NAME>Mount Road</STORE_NAME>
    <STREET>Chennai</STREET>
    <COUNTRY>IN</COUNTRY>
    <SALES_TAX_NO>12345678910</SALES_TAX_NO>
    </SITE_DATA>
    </ns0:MT_SITE_MASTER>
    Plz provide me the code I have to write in the file content conversion .
    Thanks in advance
    Regards
    Prabhat

    If u see my earlier reply, I mentioned that u can not suppress the field from the one node.i.e Form SITE_DATA data type u can not suppress the field called CURRENT_DATE.
    My suggestion is that , modify the Data type in such a way that you will be having two nodes as I have mentioned earlier.  Then use the Suppress Logic for the Current Date.
    So it will look like this-
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
    - <SITE_DATA>
    <STORE_CODE>N002</STORE_CODE>
    <TITLE_MEDI>Company</TITLE_MEDI>
    <STORE_NAME>Mount Road</STORE_NAME>
    <STREET>Chennai</STREET>
    <COUNTRY>IN</COUNTRY>
    <SALES_TAX_NO>12345678910</SALES_TAX_NO>
    </SITE_DATA>
    <CURR_DATE>
       <CURRENT_DATE>20051105</CURRENT_DATE>
    </CURR_DATE>
    </ns0:MT_SITE_MASTER>
    So ur SITE_DATA is not having a field called CURRENT_DATE. This field is in separate node (segment ) called CURR_DATE. Now u can use the Suppress Logic for the same like this.
    CURR_DATE.fieldFixedLengths - 0
    CURR_DATE.fixedLengthTooShortHanling - Cut
    And in your Variable Substitution you can use the date from the other segment called CURR_DATE.
    Hope this solves ur problem.
    Regards,
    Moorthy

Maybe you are looking for

  • Apple Loops no longer work!!!

    Hi I have a strange problem. I imported an apple loop from the Library>Audio folder into ProTools via drag and drop. Pro Tools created a copy of the audio file in the local ProTools audio folder. Strange thing is now the OS and all the iLife apps can

  • External disk problem with AVI files

    Hi I do have Premiere elements 7 installed on a Sony Vaio laptop with Vista. I have just rendered (DV camera to AVI files) some 20 tapes to my external disk (usb and fire wire connection) and everyuthing worked perfect. A week later Premiere complain

  • Error Code : 80072EFD

    I have Lumia 800. I continuously get error code : 80072EFD because of which I'm unable to connect to Windows Live Id. Since, I'm unable to connect to Live Id(hotmail id), almost everything on this phone doesn't work except Gmail. From another email i

  • Can't install memecrusher after installing latest version of Adobe AIR

    This is the AIR log that was generated during the install: [2014-11-25:22:26:52] Application Installer begin with version 15.0.0.293 on Windows Vista x86 [2014-11-25:22:26:52] Commandline is: C:\Users\William\Desktop\MemeCrusher\MemeCrusher.air [2014

  • Putting unix utility visible version info into ear, war, jar files?

    I would like to be able to use some unix utility (or java itself without a separate program) to display my version information for jar-like artifacts: ear, war, jar. In other words, when I build one of these things, I'd like to put my SVN version, da