Idoc to XI to FTP BATCH process

Hi,
I have a scenario to send idoc from SAP R/3 to FTP server using XI.
In this scenario, the interface should be executed in batch once in every hour.
How can I schedule the interface in BATCH running for every hour?
Please explain in detail if possible. Thanks a lot
Thanks
Ricky

Ricky,
Is it ok if you can schedule your file adapter for every 1 hour. If yes then see this weblog:
/people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
But what I see is one disadvantage. If you send Idocs from R3 it will reach to XI and will stay in XI till the adapter process it.
One other option is collect the Idocs in R3 and send to xi.
---Satish

Similar Messages

  • Architectural design for FTP batch processing

    Hello gurus,
    I would like your help in determining the design for the following.
    We receive several HL7 messages as a text file and copied to a shared network folder. All these files are created into several different folders depending on the region, message type. We need to come up with a B2B process to read all the files from the netwrok folder using FTP (batch process) and translate if needed (depending on the scenario) and transfer the files over to other destination folder on the network (using FTP).
    For this, we can create TPs with Generic FTP channel and this works without any issues. By doing this way, we need to create TP for each and every type of message which reads the files from its own specified directory location on the network based on the the polling interval.
    My question is, instead of creating TPs for each and every type of file, is there a way by which I can write a common web service that reads the source files from the network and based on the type of the file route to the proper destination folders. If it is possible, I would like to know the architecture for accomplishing this task.
    I really appreciate your kind help on this.
    Thanks and regards,
    Raghu

    Hi Raghu,
    Is it a B2B communication scenario?
    By doing this way, we need to create TP for each and every type of message which reads the files from its own specified directory location on the network based on the the polling interval.Why cann't you have only one TP with multiple documents, channels and agreements?
    My question is, instead of creating TPs for each and every type of file, is there a way by which I can write a common web service that reads the source files from the network and based on the type of the file route to the proper destination folders. If it is possible, I would like to know the architecture for accomplishing this task.Depends on your use case and products you want to use. You can very well use FTP adapter with BPEL and poll for files. Use DVM in composite to figure out the destination and send it there. You may use OSB if it is a typical routing case with heavy load and performance is a concern. You may use B2B as well here. So ultimately you need to figure out what you want and what tools you want to use.
    Regards,
    Anuj

  • Urgent help required : Batch processing error of an inbound idoc

    hi,
       i have a problem while posting an idoc to the GL(FB01).
    i'm using an Inbound idoc message type : ACC_GL_POSTING
    idoc type : ACC_GL_POSTING01.
    Process code : BAPI.
    In the transaction code OBA7 i have enabled a particular document type as BATCH INPUT ONLY.
    i have set the option " Trigger by background program" in the partner profile (we20).
    while testing the process i'm getting the error "Document type -- is only defined for batch input".
    how can i overcome this error? can idocs be used to post for transaction that are batch enabled . plz help me.
    with regards.
    T.Jeyagopi.

    Jeyagopi,
    There are different types of Data loading into SAP.
    BATCH INPUT / BDC / IDOC / BAPI etc. BATCH INPUT are standard programs that take the data and update SAP. I don't think that is same as batch processing of IDOC.
    You might want to remove the setting of batch input, retain the batch processing in WE20 and try it out.
    In my opinion it should work.
    Regards,
    Ravi
    Note : Please reward points for the posts that help you.

  • Idoc processing in batch process

    how to process an Inbound idoc in a batch program?
    I am retiving the idoc numbers which needs to be processed how should i go about to process it?
    should i call the standard FM which mapped to it for processing that idoc?
    please suggest?

    Hi,
    You can schedule a background job with the IDoc Numbers for the program: RSEOUT00 with all relevant parameters.
    Hope this helps.
    Regards, Murugesh

  • SAP R/3 vs XI Batch Processing

    We are planning to move some of our existing interfaces between legacy systems & R/3 to be processed through XI. We would like to do this in such a manner that the business doesn't get impacted much and also keeping the project costs to minimum.
    Current interfaces use batch processing in R/3 with 1000's of records sitting in a file ftp'd from legacy system and a pre-edit ABAP program will validate the data and posts transactions in R/3 using BDC sessions. Errors will be reported through some custom application built in ABAP. Users will process the BDC session and correct the errors to post the documents. In some cases we use BAPI's but when the BAPI errors out a BDC session is created for processing the errors.
    We are on XI3.0 SP12 & R/3 4.6B
    Can XI do all the stuff that R/3 does today in terms of batch processing and error correction by business user etc. What are the limitations and are there any workarounds to overcome them.

    XI is not meant for that and cannot do that. XI is an integration engine and does not replace R/3 work.
    What it means: XI can receive data and modify the data in mapping and deliver it to another system and invoke a process in case of R/3.
    XI has 3 adapters for other SAP systems.
    1. IDoc
    2. RFC
    3. XI Proxy
    4. File Adapter (I dont think you want to create a file again, but one of my previous client used this option)
    I guess you know about the first 2.
    The third one is, when you receive the data from source system, modify it according to the requirements and pass it to an ABAP Class where you can write your own code.
    Let me simplify this for your process.
    When a file is received, XI can pick up the file and send it to R/3 System using XI proxy (in internal tables or structures) which will be executing a class. Within that class you can code to pass that data to your ABAP program with SUBMIT PROGRAM. This is just an example.
    This cannot replace your BDC process, but can make it to do the same.
    regards
    Shravan

  • IDoc getting scheduled in stead of processed due to no resources available

    I know this is supposed to go into Basis-forum, but I can't find applicable one. If you can redirect me please do so.
    Setup:
    Solution Manager, CUA & ECC6
    Issue:
    Sometimes when triggering changes from CUA to an ECC client several IDocs are fired towards that client.
    (User Master Record changes, unlocks, role assignments, etc.).
    Looking in BD87 I sometimes see that of these IDocs, some are processed directly (transferred to application),
    However some of them remain in Status 64 (IDoc ready to be transferred to application).
    If I Right-Click -> Process, they are handled perfectly so why did they have to be waiting?
    The reason SAP throws for these IDocs is:
    Immediate Processing in Job '0000000000005010 '
    Message no. EA187
    Diagnosis
    At the time of IDoc generation, there were no resources for immediate processing and your system is configured so that if this happens, IDoc processing should be started in a job. Therefore, the job '0000000000005010' was started.
    Procedure
    If the IDoc still has status 64, look for the cause of the error in the log for that job.
    Question:
    We have via WE20 profiles set to process all IDocs immediately, then why do some of them still get
    scheduled in jobs? (Due to lack of resources for immediate processing?).
    Where can I check these 'resources' ?
    Edited by: Mujo on Jan 4, 2012 2:41 PM

    Hey Alex,
    Yes, I have been looking into both available worker processes all seem fine. Also I've been checking to pick up
    those IDocs that are in wait-status to be picked up by a (to be) scheduled job.
    However a few questions:
    - is it common that CUA changes fire multiple IDocs? (in my case 3, only for something trivial as removing 1 composite role
    on a CUA-child system with 1 end user
    - what I don't really understand yet is if this is fired in batches of (in this case) only 3 IDocs, how come the first is processed and
      the other 2 are not? What is blocking that? Is 1 worker process used for processing each IDoc or 1 worker process for all 3 IDocs? To jump into your comment of "when a lot of IDocs are fired", as said: they're only 3.
    - can it be that the 'program" that processes the 1st IDoc change to the user master record is then 'occupying' the change mode and that therefore the other 2 are not able to being processed or can it be that the changes just come too fast after one another?
    - I would think that when CUA is installed and RFCs and IDoc types are correctly configured this resource problem
      should not act up with standard SAP ECC6 settings, for firing something trivial/simple as a composite role change
    - last question: if I should schedule a job to pick up the IDocs that are in waiting-to-be-processed status, what is common
      interval for this? (every minute? every 5 minutes?) and what's the program to schedule?
    EDIT: found at least answer to this question:
    RBDAPP01. Processes inbound IDocs (status 64) that have been buffered to support mass
    processing. The use of RBDAPP01 in the process flow is described in Chapter 4, "The Inbound EDI
    Process." Steps to execute the RBDAPP01 program are listed in Chapter 10, "Testing the EDI
    Interface."
    Looks strange to me as then the point of CUA making direct changes is somewhat undermined. In this case our CUA is being fed from a Sun IDM system, and the changes on SAP landscape will be 'less near-realtime', if I express that correctly.
    Your thoughts are highly appreciated.
    Edited by: Mujo on Jan 5, 2012 9:47 AM
    Edited by: Mujo on Jan 5, 2012 10:21 AM

  • Scheduling batch process

    Hello every one,
    I have got a scenario where sender system is sending the IDoc for each record, but I want to send all the IDocs at the time of evening?
    I know it cane be doen by scheduling batch process, but can any one breafly explain, how to do that.
    Regards
    Swetha

    have got a scenario where sender system is sending the IDoc for each record, but I want to send all the IDocs at the time of evening?
    I know it cane be doen by scheduling batch process, but can any one breafly explain, how to do that.
    yes that is possiable with "Batch Job Scheduling by using TC SM36."
    Procedure
          1.      On the SAP Easy Access screen, choose Tools -> Background Processing -> Define Job (transaction code SM36).
           2.      Enter  data:
    Job name
    Job class
    Exec.target
           3.      To confirm your entries, choose Enter.
          4. enter Variant
           5.      Choose Check and then save your entries.
           6.      To define the starting time, on the Define Background Job screen, choose Start Condition.
           7.      To schedule the start of the job, choose Date/Time and enter the date and time. (Example: <system date> and 12:00:00).
           8.      To run this job periodically, set the Periodic job indicator.
           9.      Choose Periodic values and then choose Other period.
       10.      In the Explicit Period Value dialog box that appears, enter the number of minutes for which the batch job is to run.
       11.      Choose Check and then save your entries.
    pls arefer below doc step by step:
    http://help.sap.com/saphelp_sm40/helpdata/en/e9/e598410779a009e10000000a155106/content.htm
    Edited by: bhavanisankar.solasu on Feb 10, 2012 5:52 PM

  • In Bridge CS6, the "Tools" tab is missing the "Photoshop" option to batch process image

    Hello!
    Does anyone know why in Bridge cs6 under the "Tools" tab, my "Photoshop" option is missing?  That is how I have always batch processed images.  In Bridge, I choose the images to process, go to the "Tools" tab, down to the "Photoshop" option then to "Image Processor" and process.  Now when I go into my "Tools" tab it only has the options: Batch Rename, 4 kinds of Metadata related options and Cache.  Can someone tell me why this has happened and how to fix it?  Thank you!!!
    Eric

    Hello Omke,
    This problem lasted for two days.  I tried many suggestions but nothing worked immediately.  Suddenly I turned my computer on last night and it was fixed...inexplicably.  Not sure what worked but something did.  I appreciate you taking the time to offer advice. 
    Best,
    Eric

  • How to display custom error message in Job log for batch processing

    Hi All,
    I am rexecuting one R/3 report in batch mode and i want to display all the custom error i have handled in job log when its executed from SM36,SM37. The custom error are like 'Delovery/Shipmet doe not exits' or others which we can display in online mode like message e100(ZFI) or any other way and accordingly we can handle the program control like come out of the program ro leave to transaction'Zxxx' or anything. But i want my program to be executed completely and accumulate all the error in job log of batch processing.
    Can anyone tell me how can i do so...
    Thanks,
    Amrita

    Hi,
    Thats what i have done from the begining. I have written message like this:
    Message i100(ZFI).
    I was hoping to see this message in the log. But i cant see. Can you help me pleae...

  • Batch process to add Javascript to PDF files

    Hi All,
    I have written a small piece of Javascript for my PDF files. The idea is to add a date stamp to each page of the document before printing. To do this, I have added the following code to the "Document Will Print" action:
    for (var pageNumber = 0; pageNumber < this.numPages; pageNumber++)
    var dateStamp = this.addField("Date","text",pageNumber,[700,10,500,40]);
    dateStamp.textSize=8;
    dateStamp.value = "Date Printed: " + util.printd("dd/mmm/yyyy",new Date());
    My question is this: Does anyone know of a way to batch process a whole directory (of around 600 PDF's) to insert my Javascript into the "Document Will Print" action of each file?
    Many thanks for any information you may have.
    Kind regards,
    Aaron

    > Can I just confirm a few things please? Firstly, should I be going into "Batch Sequences" -> "New Sequence" and selecting "Execute JavaScript" as my sequence type?
    Yes, you are creating new batch sequence that will use JavaScript.
    > My second question is, how can I insert my body of script into the variable "cScript"? I have quotation marks and other symbols that I imagine I will have to escape if I wish to do this?
    You ca either use different quotation marks or us the JavaScript escape character '\' to insert quotation marks
    Your will print code will only work for a full version of Acrobat and not Reader, because Reader will not allow the addition of fields. Also each time you print you will be creating duplicate copies of the field. So it might be better to add the form field only in the batch process and then just add the script to populate the date field in the WillPrint action.
    // add form field to each page of the PDF
    for (var pageNumber = 0; pageNumber < this.numPages; pageNumber++)
    var dateStamp = this.addField("Date","text",pageNumber,[700,10,500,40]);
    dateStamp.textSize=8;
    this.setAction("WillPrint", "dateStamp.value = \"Date Printed: \" + util.printd(\"dd/mmm/yyyy\",\new Date());");

  • Opening and closing files very slowly -MAC - Batch processing broke illustrator...

    I have been batch processing between 15 and 30 thousand svg files over the past few days(simply centreing the orbjects on the art board mergring overlapping objects and saving as AI's) - the individual files are very small 20kb max. this was working fine for a while but suddenly illustrator now takes nearly 30 seconds to open any one individual file - svg or otherwise - and also when I look at illustrator in activity monitor as files are opened illustrator uses 100% of the CPU.
    I have no Idea if this is related to all of the batch processing Ive been doing lately but Its the last thing Ive done so...
    Also I have run disk utility on my machine uninstalled and reinstalled illustrator with no success..
    Anyone have any thoughts?
    Thanks!!

    Have you tried at least restarting AI or rebooting the computer?

  • Please Help, Issues when batch processing Multi Frame images in Fireworks

    I hope someone will know how to do this and tell me where I am going wrong.
    Objective 1
    I have a large number of images that all have the exact same number of frames (4) and are all exactly the same size that I want to get resized, cropped and water marked (when I say 'watermarked I mean have my websites logo pasted in a specificlocation on each frame, I have my websites logo as a seperate .png file which I copy from).
    Current Process
    I create a command which will crop the image then paste my companys url/log onto the first frame, move it to the correct location on the frame then copy it again and then paste it onto each of the other frames, the command then resizes the image tot he exact proportions I want.
    I start a batch process and use my command, making sure that I also export from the .png to animated gif (and I edit the settings to make it 256 animated gif).
    Error 1
    The process described above resizes and crops my images however it does NOT put the watermark in the correct place, it seems to put it int he right place on the first frame and then in a different place on all the followingn frames thus giving the effect of the watermark jumping around. Which is obviously NOT what I want.
    Question 1
    Please let me know what process I should be following to correct the Error 1 above.
    Objective & Question 2
    I want to do exactly the same thing as shown above but this time the files have a varying number of frames (from 2 to 45 frames (or instances as CS4 seems to call them)). Is there a way to paste my logo to the to the exact same location on ALL frames?
    Other information
    I have tried WHXY Paste extension and I can not see how to use that to solve the issue. I have also tried 'Paste in Place' however I can not see how to use the Paste In Place extension as it is not appering in my list of commands.
    Many thanks in advance for your help.
    Andy

    Andy, you could start a batch process which will do most of the things you are asking for. THe batch process can be done using Fireworks. The right way to start is going to Archivo / Procesar por Lotes and then follow all the different option this tool has to offer.  Yes, I know I gave you the names in Spanish but that is the way I use Adobe Fireworks.
    I hope this was usefull for you!
    Best regards,
    Frank Meier | Curso Arreglos Florales

  • How to extract data from offline PDF files as batch processing

    Hello.
    I want to use Adobe Interactive forms as batch processing.
    For instances,
    1. Users download offline PDF files.
    2. Users inputs data on their local PCs.
    3. Users upload these PDF files in one folder.
    4. Program can read data form PDF files on that folder. and put data to ERP at night.
    I' d like to know how to implement a program with Java or ABAP.
    Regards.
    Koji.

    Hi,
    It's possible to do it but first be sure that the SAP system can read the directory while your program is executed in background .
    Then you have to read the content of the directory and process each file you found.
    Look at this standard ABAP object cl_gui_frontend_services , you will find method for browsing a directory and retrieve list of file .
    Afterwards you have to process each file , for this have a look at this wiki code sample i wrote for processing inbound mail with adobe interactive form, it should help you [Sample Code for processing Inbound Mail with Adobe Interactive Forms|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/sampleCodeforprocessingInboundMailwithAdobeInteractive+Forms]
    Hope this help you .
    Best regards.

  • Report as batch process?

    Can we run a Z program or report as background process or batch process? if yes, how?

    Hi,
    1.  Go to SE38 give the program name and then from Menu path Program->Execute->Background. You need create the variant for selection screen
    2. Go to SE38 give the program name and then execute on the selection screen goto Menu path Program->Execute->Background.

  • Need help with batch processing picture packages

    Hi, I am having trouble batch processing picture packages is CS2.  (Windows).
    I have hundreds of images that need to be processed into picture packages and would love to find a speedier way to do this.
    I know how to create an action.  I know how to batch process from this action.  I also know how to create picture packages, but I cannot get the final result I am after - please read on....
    I have seperated all the images into their seperate folders for each style of picture package required.
    I can create an action for the picture package required and then do a batch process on the particular folder, but this leaves all the picture packages open on the desktop - as when you chose the close and save in the batch process - this only closes and saves the original image - the picture package has been created as a new document and is on the desktop still open - named Picture Package 1, Picture Package 2 - etc etc.
    I hope I am making some kind of sense here... (??!!)
    What I would like to happen is that the picture package will be saved over the original file (or to a new folder) with the original file name of the original image or maybe even with an adjustment to file name (e.g - orignal file name sc1234.jpeg - new file name sc1234packA.jpeg)
    So is this possible to do??  I'm thinking there must be a way.... i'm sure there are many group photographers out there who come across this everyday??
    Otherwise I have to save each picture package manually to original file name (via searching though files to match the original image to the picture package....) Very time consuming.
    Thanks for your help (in anticipation)...
    Jodie

    hmm - thanks for that - sounds like I will have to try and find some info and assistance regarding the scripting - it may be something I need to look into at a later time in the future....
    At the moment though I will have to plod along with this method I guess!
    Thanks for your assistance...
    Jodie

Maybe you are looking for

  • April 30 Webcast: Ariba Network Enables MRO Procurement

    To find out how Ariba Network facilitates procurement of MRO parts and services, sign up for the ASUG webcast on April 30: Network Enabled Asset Integrity: SAP EAM Meets Ariba Network in a Chemical Plant Schedule Start: April 30, 2014 9:00 AM (CT), 1

  • Message saying iphone is disabled

    my son forgothis password on his iphone 5c and now says iphone disabled. I have tried connecting to itunes and restoring it to original factory but for some reason it is not working. can someone please help me

  • High Level language Interprete​r in labVIEW?

    This is a question of curiously: is anyone aware of any high level language interpreters written in LabVIEW?   I recently wrote my own BASIC like language interpreter as part of a custom LabVIEW test suite to allow scripting without needed to edit th

  • Partnerlink - Problem building schema

    Hi, I have following problem: I created 2 BPEL processes. One of these processes should be called from the other as a partnerlink. When I create the partnerlink, pointing to the deployed wsdl, I get following error "Problem building schema" when I tr

  • BUSINESS USER CAN'T OPEN THE REPORT

    Hello experts, One of our business users(branch manager) working outside the main office is having issues with one of our dashboard reports. What  I don't understand is, when I open the same report here in my office everything works fine. We have tri