FIle to file scenario with a delayed receiver

Hi PI experts,
I got a requirement to pull files from the sender folder once every day, but the receiver should get the file only once a week.
I thought of appending it in the receiver channel, with temporary file. But in that case, the receiver side user has to remove the file as soon as they read it once a week.Else it is going to write records from next week too.
Is there any other way to do it? Please suggest.
Thanks in advance!
Anjana.

Hi ,
If your bussiness(client) not ready accept the file name change for your file names then you need to go for BPM CollectPateran based on time. But i would prefer prateek recomendation .
Regards,
Raj

Similar Messages

  • File-Soap-File scenario with asynch - synch bridge

    Hi,
    I am new to PI and I'm trying to develop a FIle-SOAP-File scenario with asynch-synch bridge. These are the components in my integration builder:
    Business Component to act as both the sender and receiver
    1 outbound communication channel to pick up the file from ftp server
    1 SOAP communication channel
    1 inbound communication channel to write file to the ftp server
    receiver determination
    interface determination
    sender agreement
    receiver agreement
    In my outbound channel, I am using:
    Processing sequence:
    1     AF_Modules/RequestResponseBean                Local Enterprise Bean     1
    2     CallSapAdapter                                                         Local Enterprise Bean     2
    3     AF_Modules/ResponseOnewayBean                Local Enterprise Bean     3
    Module configuration:
    1     passThrough                         true
    3     receiverChannel                        inbound communication channel to write file to the ftp server
    3     receiverService                         Business component where the channel above is found.
    When I run the scenario, I am able to get the file from ftp server, map it to SOAP format according to the wsdl, forward the message to SOAP adapter, send it to web service, get the response back from web service, map the data to a regular file format. However, it fails to write back to the ftp server.  I am getting Java null pointer error at AF_Modules/ResponseOnewayBean.
    2010-07-28 15:48:01     Information     SOAP: completed the processing
    2010-07-28 15:48:01     Information     SOAP: continuing to response message 2ce3ec60-9a9a-11df-b109-00145ec5c1ae
    2010-07-28 15:48:01     Information     The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System.
    2010-07-28 15:48:01     Information     The message status was set to DLVD.
    2010-07-28 15:48:02     Information     The message was successfully transmitted to endpoint http://vs06cs01.sce.com:8000/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System.
    2010-07-28 15:48:02     Information     The message status was set to DLVD.
    2010-07-28 15:48:02     Information     The application sent the message synchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
    2010-07-28 15:48:02     Information     MP: processing local module localejbs/AF_Modules/ResponseOnewayBean
    2010-07-28 15:48:02     Error     MP: exception caught with cause java.lang.NullPointerException:
    2010-07-28 15:48:02     Error     File processing failed with java.lang.NullPointerException:
    Had anyone encountered this error? Any suggestions is greatly appreciated.
    Thanks.

    Thanks for the replies. I checked my module parameters and I realized that i entered the wrond business service. I fixed that and ensure that all 3 channels are running.
    I ran the scenario again and it does not give me Java Null pointer exception. However, it gives me a different errror.
    2010-07-29 08:52:31     Information     The message status was set to DLVD.
    2010-07-29 08:52:31     Information     MP: processing local module localejbs/AF_Modules/ResponseOnewayBean
    2010-07-29 08:52:31     Error     MP: exception caught with cause com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    2010-07-29 08:52:31     Error     File processing failed with com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    I am trying to check all my settings again. Any pointers regarding the errors above?
    Thank you.

  • File to Web service (SOAP) to File scenario with out BPM in PI 7.1

    Hi All,
    I have scenario File to Web service (SOAP) to File scenario with out BPM.i am getting the below error:
    1) Error MP: unexpected exception caught com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    2) Error ROB: error during processing: com.sap.aii.af.lib.mp.processor.ModuleProcessorException: Processing Error
    PI server is 7.1 with SP:8
    I have configured the scenario like this
    1) 2 File channels - Sender & Receiver ,1 RFC channel - Receiver. We need to note that, the additional Module parameters need to be added only for sender File channel
    2) Created Sender Agreement
    3)Created Receiver Determination
    4)Created Interface Determination
    5)Created Receiver Agreement
    Regards,
    Ramesh

    Hi,
    Thanks for your reply!!
    My Scenario is File to SOAP to File.
    Configred modules  in Sender channal below:
    Prcessing sequence:
    Number       Module Name                                        Module Key
    1..........       AF_Modules/RequestResponseBean.......1
    2..........       CallSapAdapter..........................................2
    3..........       AF_Modules/ResponseOnewayBean.......3
    Module Configuration:
    Module Key                                       Parameter Name                                       ParameterValue
    1                                                        passThrough                                            true
    3                                                        receiverChannel                                       receiverChannel name
    3                                                        receiverService                                        receiverService name
    please tell any more confiration requered.
    Regards,
    Ramesh

  • IDOC to XML file scenario with party

    Hi All,
    I am developing a IDOC to XML file scenario with party in which I have extended the MATMAS idoc and configured the receiver FILE communication channel.
    But its giving me the error *"No receiver could be determined"*  with party. If I run the same scenario without the sender party its working fine.
    And sender is my R/3 system under party P_Party and receiver is my third party system under P_Party.
    Thanks in advance.
    Gaurang

    U can give a try as follows.
    In the Partner Profile of Sender R/3 system,
    Give the Receiver Party P_Party in the PartnerNo. Give the 'Business Partner' as logical System type.
    In XI, Party Definition of P_Party
    Give the following Alternative Identifier
    Agency  -   Sender R/3  Business System       
    Scheme -   ALE#GP
    Value    -    P_Party

  • IDOC to FILE scenario With Screen shots

    CAN YOU PLEASE SEND US THE DETAILS OF IDOC to FILE scenario With Screen shots  and do  the needful for me

    Hi Surya,
    I thought i will just share a few basic thoughts that you need to take care while doing an IDOC to File Scenario. Just see if it helps you in anyways.
    While doing an IDOC -> XI -> File scenario, The Points to noted are:
    1. You don’t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.
    2. You import the IDOC and use the same in your mapping.
    3. In this configuration note that you don’t have a sender agreement as you don’t have a sender IDOC adapter.
    If it is that you wanted to send an IDOC from XI (File to IDOC) , then in this case:
    points 1 and 2 will remain, but the 3 will not. You will need a sender agreement for the file and a receiver agreement for the IDOC.
    IDOC -> File scenario ref:
    <a href="/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters scenario</a>
    File -> IDOC ref:
    <a href="/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping to IDOC</a>
    To be able to trigger your IDOC from the SAP ISU system, you will have to set the partner profile in we20. Select your Business System (mostly under Logical system) and then create Outbound entries for whichever IDOC you want to trigger.
    You define your basic type also in your partner profile settings, Please go thru the following links to get a better idea about partner profile:
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b833243d711d1893e0000e8323c4f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7cd343d711d1893e0000e8323c4f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/32/692037b1f10709e10000009b38f839/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/5e/b8f8bf356dc84096e4fedc2cd71426/frameset.htm
    Also, I would suggest that you go through this blog by michal if any issue arises,
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    Also have a look at these forum threads...
    IDOC TO FILE SCENARIO
    idoc to file scenario
    I hope this helps.
    Regards,
    Abhy Thomas

  • IDoc-to-File scenario with external Partner ... PCK necessary?

    Hi all,
    I have a question concerning to a IDoc-to-File Scenario with an external Partner. Here is a short Description of the Scenario:
    The SAP ERP System creates an IDoc which should be send to the SAP Integration Server. The Integration Server respectively the IDoc-Adapter transform the IDoc in IDoc-XML. The Integration Server executes a Mapping and so on. In the final step the Integration Server should send the XML-File to a FTP Server in New York (external Partner) with the File/FTP-Adapter.
    Have I to install the Partner Connectivity Kit at a Server in New York or is it working without the PCK? Which are my possibilities?
    Thanks for your help
    with kind regards
    Christopher

    Hello,
    If the FTP server has connectivity to XI and if the
    port is open XI can directly do the FTP using File
    Adapter.
    Thanks,
    Himadri
    Hi,
    thanks for your quick answer.
    What means "connectivity to XI"? Our SAP-Environment is in Germany and the FTP-Server is in New York. Is it enough to open the port in the firewall?
    Thanks for your answer
    Christopher Kühn

  • File to File Scenario with Secure Connection. Pls help urgent

    Hello All,
    I tried a lot to get a link/blog that expalin full scenario
    for File to File Scenario with Secure Connection
    Kindly let me know if somebody have link/doc for it
    that describe all the steps to do configuring this scenario.
    What is difference in simple words between
    FTPS and SFTP.
    Pls help it is urgent as I require for Project work urgently.
    Regards

    hi rich
    go through these links
    FTPs connection failed - error ".. certificate rejected by ChainVerifier"
    Re: What is SFTP, FTI channels
    http://help.sap.com/saphelp_erp2005/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
    FTPS implementation question.
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/0e16bfd7b021aee10000000a1553f6/frameset.htm
    Server certificate rejected by ChainVerifier:FTPS server(Points Guaranteed)
    /people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi
    File adapter
    thanks
    Kunaal

  • Soap to File Scenario with BPM

    Hi Guys
    I have create my Soap to File Scenario using BPM to split the file on "Transformation step" into 7 files and it must save these files to my FTP Server, when testing on sxmb_moni I don't get any errors but when checking on the FTP server no files are created, and I understand that it should be showing all seven processing on the sxmb_moni, but that is not happening.
    I have used the ForEach mode on my Block.
    What could I be doing wrong.
    Thanks!!
    Yonela

    go to runtime work bench to see communication channel, especailly the receiver channel.
    To see what happened on it

  • Issue in File to RFC to File Scenario with BPM using Block Step

    Hi Everybody,
                           I am doing File to RFC to File Scenario for multiple records using BPM using Block Step. The File Message is getting posted and after that, the message is getting stuck up in the qRFC Monitor (Inbound Queue).
                        After seeing the message in Inbound Queue, I am trying to execute and release the message. But when i execute the LUW, it says " Function module doesnt exist or EXCEPTION raised" in Inbound queue.
    Could somebody suggest me the outcome of this? What does this mean and how to
    release the stuck up message in Queue.
    Thanks and Regards,
    N.Jayanth Kumar

    Hi Rajesh,
                           After going through the blog, i saw the trace messages. It says      
    " The   exception occurred (program: CL_SWF_XI_INBOUND=============CP, include CL_SWF_XI_INBOUND=============CM00F, line: 19)"
    Regards,
    N.Jayanth Kumar

  • File to multiple IDOCs scenario with the same receiver system

    Hi guys,
    I have to design and implement the following scenario:
    I will receive one file with many lines (Records) with data for materials, quantities, operations etc..
    Based on the values of some fields of each line, I will have to create an IDOC for each material.
    For example:
    if operation type = "INSERT", and Labor = 001 then create 3 Idocs of type MBGMCR with movement types=101, 261,311 that have to be posted one after the other to the same receiver system.
    else if operation type = "INSERT", and Labor <> 001 then create an Idoc MBGMCR with movement type=311 and plant = 1001.
    else if operation type = "Delete", and Labor = 001 the created 3 Idocs MBGMCR with movement type=312, 262 1002 and post them serially to the same receiver system.
    else if operation type = "Delete", and Labor <> 001 the created 1 Idoc MBGMCR with movement type=312.
    All IDOCS are posted to the same SAP R/3 system. We do not care about the sequence, except for the cases where 3 IDOCS are created.
    I am trying to think of a good design in performance terms.
    It is obvious that I will need BPM for sure.
    I am thinking of creating a mapping program that will produce 4 message types for the different cases from the initial file and then create a different message mapping for each case from the message type to the IDOC.
    I am asking you if I have to include everything (mappings) in BPM with a "fork" step?
    Or shall I produce only the 4 message types and then post them to R/3 and execute the mappings in R/3?
    Best Regards
    Evaggelos

    hi,
    >>I am thinking of creating a mapping program that will produce 4 message types for the different cases from the initial file and then create a different message mapping for each case from the message type to the IDOC.
    To me this seems to be the right solution.
    here u will create different message mappings and write them sequentially in interface determination. the multi mapping will then be utilised in transformation step in BPM.
    thus if this is the only requirement there is no need of using a fork step.
    [reward if helpful]
    regards,
    latika.

  • IDoc to File scenario... Receiver Comm Channel Error...

    Hi Guru,
    On the scenario IDoc to file, I'm encountering the ff error on my receiver comm channel (File Adapter)...
    ttempt to access the 1 requested objects on 1 failed.
    Detailed information:
    com.sap.aii.ib.core.roa.RoaObjectAccessException:
    Attempt to read object Adapter Metadata File | http://sap.com/xi/XI/System,
    type AdapterMetaData from application REPOSITORY on
    system REPOSITORY failed. Object does not exist. Detailed
    informatio n: SWCV ID: << removed >>
    does not exist in Enterprise Service Repository and
    System Landscape Directory (ROA_MOA_NOTCOMPLETED)
    << removed >>
    Attempt to access the 1 requested objects on 1 failed.
    Detailed information:
    com.sap.aii.ib.core.roa.RoaObjectAccessException:
    Attempt to read object Adapter Metadata File | http://sap.com/xi/XI/System,
    type AdapterMetaData from application REPOSITORY on
    system REPOSITORY failed. Object does not exist. Detailed
    informatio n: SWCV ID: e5a519a0766111dca2e8e95d0a115642
    does not exist in Enterprise Service Repository and
    System Landscape Directory (ROA_MOA_NOTCOMPLETED)
    Attempt to access the 1 requested objects on 1 failed.
    Detailed information:
    com.sap.aii.ib.core.roa.RoaObjectAccessException:
    Attempt to read object Adapter Metadata File | http://sap.com/xi/XI/System,
    type AdapterMetaData from application REPOSITORY on
    system REPOSITORY failed. Object does not exist. Detailed
    informatio n: SWCV ID: e5a519a0766111dca2e8e95d0a115642
    does not exist in Enterprise Service Repository and
    System Landscape Directory (ROA_MOA_NOTCOMPLETED)
    Please advise what possible solution can we apply?
    Thanks.
    Edited by: Rob Burbank on Dec 17, 2010 10:43 AM
    Edited by: Rob Burbank on Jan 3, 2011 12:03 PM

    Hi,
    You can check File adapter metadata under Basis SWCV -->namespace http://sap.com/xi/XI/System in IR.
    -Rahul

  • IDOC to File scenario with multiple directories on same FTP.

    The scenario is IDOC -- to FTP (Receiver file adapter). Based on the condition in the sender IDOC say if EIDKA01-BSART = Y than the directory path on FTP server is 'A' ELSE 'B'.
    There is only one reciever service defined for the FTP server in the Integration Directory. Its not multiple receiver scenario.
    How do we do this?
    Thanks

    Hi !
    Just create an UDF in graphical mapping and put this code inside:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    //get Key of Directory
    DynamicConfigurationKey keyD = DynamicConfigurationKey.create( URLFile, "Directory");
    //Replace value of Directory
    conf.put(keyD,dir);
    where "dir" contains the destination path depending on the EIDKA01-BSART value. When this code executes, if the receiver file adapter has the adapter-specific attributes (directory) checked, then it will set the "directory" value to the one specified in the "dir" variable.
    Regards,
    Matias

  • Captivate created file playing with time delay

    I have an issue with some machines in the Company where Adobe Captivate files are not playing as created via Flash Player  ie where a slide should move onto another slide after a 3 seconds interval , this interval takes over 15 seconds. 
    I am not getting any error messages and the files play as required but with the serious time delay  between slides.
    The files created from Captivate are exe files.
    The strange thing is that this issue only occurs in some machines in the Company and I am unable to determine a pattern as to this issue.
    I have updated the Codec driver and the Graphic drivers on the affected machine but did not solve the issue.
    I have tested an affected file on 2 of the same model machines  (HP Desktop machines) both running Windows XP SP3 with Adobe Flash Player 10.3  and IE8.0 .
    The file played successfully on one of the machines but on the other machine there was a 10 second time lag between slides.
    I have checked Task Manager and the process is only using 2-3% of the CPU so the machine has enough CPU to run the file .
    I updated to Flash 11.1 on one of the machines and IE 9 but still encountered the same issue.
    I have disabled the Anti Virus software (McAfee) while testing on one of the affected machines and this did not solve the issue.
    All Machines have the latest approved Microsoft updates installed as required.
    The files are created using Adobe Captivate 3 and are stored locally on the affected machines
    The files created were created in captivate with a standard 30 fps option
    Can you please advise on this issue

    Welcome to our community
    As I understand things, when you launch an EXE file created by Captivate, it decompresses and temporarily installs a runtime version of the Flash Player. So I'm wondering if perhaps on these machines where the delay is occurring, if it would help to perform the following steps:
    1. Clear all temporary files
    2. Perform a defragmentation of the hard drive
    I'd try step one first and see if anything improves. Perhaps that's all that is needed. The second step is simply a good habit to get into.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • IDOC TO HTML FILE SCENARIO WITH XSLT MAPPING

    Hi ,
                 I am doing idoc to html file using xslt mapping can anyone provide me some help(material or example ) please reply soon.
    Thanks & Regards,
    Vinay Yadav

    Hi ,
    For xslt mapping the place to start is
    http://www.w3schools.com/.
    in help.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/83/2200cb50d345c793336d9a1683163e/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a4/64b93d0d4e6b3be10000000a114084/frameset.htm
    There are some blogs here which can proove to be good.
    /people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
    /people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
    https://weblogs.sdn.sap.com/pub/wlg/3823 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Regards ,
    Deepak
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

  • JMS to File Scenario with no mapping

    Hi Experts,
    My requirement is sending the flatfile data to target system.It is just pass through scenario.
    Source adapter is JMS - >SAP PI ---> File to Target.Data at source side is  binary data and its nt XML.PI has to pass the csv data to target as a file without any modification.I am not sure of source structure here.Payment information are coming from source which is of TITO format.
    My Question is
    1)Will sender JMS adapter accepts binary data ?
    2)What configuration i need to make to achieve it?
    3)Does any mapping required for this scenario?Since its just pass through scenario.
    Please provide your suggestion.
    Regards,
    Karthiga

    Hi Karthiga,
    Check the responses below.
    1. Will sender JMS adapter accepts binary data ?
    Yes it should accept binary data.
    2. What configuration i need to make to achieve it?
    There are many examples on SCN for passthrough scenarios.
    3. Does any mapping required for this scenario?Since its just pass through scenario.
    No mapping or ESR objects are required for his scenario.
    Rgds
    Charan

Maybe you are looking for