Problems with processing outbound IDocs in background processes

Hello everybody,
I have a question for working with ABAP-PSS Ports.
The behvaiour is that I want to send master data, for example customers, to a function module. This function module works like an converter which process and writes the files in the filesystem.
Following situation:
- I have defined a partner System with different message types, for example DEBMAS and everthing what is necessary to replicate data to partner systems.
- I have defined also a Port like ABAP-PPS Port for calling my own function module.
- If I runs the program I process only 50 Idocs per process because otherwise i can happen that there are to many look entries in the system and the job crashs. (For example all customers are around 50000 Idocs).
Now my problem is that the worker for processing idocs starts each process in the foreground and in parallel.
But this is very strange! Because then all dialog processes are reserved and the system will be very slow!
How can I configure the Port or what have I to implement in my fucntion module to start processing in background (this is the very important point) and maybe allow the program only to use one or two process at the same time?
I have found on the function module EDI_DOCUMENT_CLOSE_PROCESS which I the parameter "Background". What thas this mean? I have set B for this but it has no effect!
Regards
Christian

I know that for inbound interface it is possible to define if in foreground or background and if parallel processing is allowed.
Who knows how I can do this also for outbond?

Similar Messages

  • Problem with automatic outbound IDoc creation

    Hi all!!!
    I want to configure an IDoc to be created when an Installation (IBASE) is saved.
    To do this, I use the IDoc type CRMXIF_IBASE_SAVE01, assign a message type, link with the FM APPL_IDOC_INPUTM to create the IDoc, create a partner profile, create the process code and set on the message type.
    After this, when I create an Installation, Must not the IDoc be created?
    Is the process correct or lack some step?
    Thanks and regards,
    Manuel.

    And, on the partner profile, I can´t set the process code on the outbound parameter because the field doesn´t appear.
    I think this could be the error.

  • Problem with delete index of cube in process chain

    HI ,i have a problem with my process chain,here on process name as delet index is ther which has been turned to red.when iam going inside of that in Display message iam getting the msg as"Indexes for InfoCube SMS_C06 have been deleted successfully".
    since the process is in red next process is not been triggering,but i have to continue the process chain.
    can anybody put some light into it.its very urgent........

    Hi,
    I ran into the same situation with one of my process chain that is part of a metachain. The process chain has the Delete Index that turned red. But the messages show that the indexes on all the cubes were deleted sucessfully.
    As suggested, I did a repeat on the delete index variant, but no luck as it turned red again.
    Anyone aware familiar with this issue?
    Thanks,
    Briston

  • Problem with non-updated idocs

    Hi,
    we have a problem after upgrading from 3.5 to 7.0. Lots of extractors end
    in an error-message concerning non-updated idocs. Every day several
    extractors have this problem. This are not always the same extractors. As
    a result we must repair many extractions manually.
    I know the procedure of how to repair, but I want te know how I can prevent
    extractors from running into this problem in the first place.
    Any suggestions?
    This is the problem-message that we get...
    Non-updated Idocs found in Source System
    Diagnosis
    IDocs were found in the ALE inbox for Source System that are not updated.
    Processing is overdue.
    Error correction:
    Attempt to process the IDocs manually. You can process the IDocs
    manually using the Wizard or by selecting the IDocs with incorrect
    status and processing them manually.

    It has been happening on our env as well (BI 7.0 SP 12), time to time one load or the other gets into this problem and it waits yellow for few hrs before turning red.
    I can correct the IDOC and move on or run the load again it works fine.. but the process chain gets held up not going to the next stage for hrs..
    any resolution on your problem..
    thanks
    Mayil

  • Problem with HR inbound IDoc

    Hi,
    I have a problem with processing inbound IDocs from an external payroll system to infotype 0008.  The process is quite simple; salary changes from the payroll system is recorded to the corresponding employee's infotype 0008.  When testing I noticed that that the new record is recorded as is.  For example if there is already an existing record with the validity dates 01.01.2010 - 31.12.9999 and the new record in the IDoc is 01.01.2011 - 31.12.9999, the new record is written as is.  I would expect the system to delimit the old record correctly - similar to what would happen if you maintain records online.  There is no error checking or any kind of processing done by the system. 
    I did some debugging and found out that the function module linked to process code HRMD writes the information directly to the database.  If this is a standard way of doing this, it is really unusual.
    Has anybody else encountered this?  Any pointers?
    Thanks.
    Edited by: Theo Droste on Jan 20, 2011 11:56 AM

    Hi
    This is correct, the ale programme writes the data directly to the database, I have faced this isssue on occassion. I once raised an oss message on this as well, and sap confirms this is what happens. If it is a sap to sap ale, it somehow seems to work, - this could be because the outgoing idocs are created by sap itself  but if it is a non sap to sap ale the onus is on us to ensure that the external system sends the correct data to sap in the way we intend it to be displayed.
    that is how it has been in my experience. It is unusual, but apparently not impossible. Please let us know if you find out anything different.

  • Process Chain Cancelling in Background Process

    Hello Experts,
    In our production system Process Chain is canceling in background process.
    Please tell me the reason and how to solve this issue.
    Details of Process Chain Background Job
    1. BI_PROCESS_TRIGGER
    Job Step
    No. Program name/command Prog. type Spool list Parameters     User     Lang.
    1  RSPROCESS            ABAP                  &0000000030331 BWREMOTE EN
    Job Log
    Time     Message text                                                                                Message class Message no.
    01:15:07 Job started                                                                                00           516
    01:15:07 Step 001 started (program RSPROCESS, variant &0000000030331, user ID BWREMOTE)                                                      00           550
    01:15:09 Process LOADING, variant ZPAK_451AS94L9YNMVG6A9YUF9IZAC is not scheduled waiting for event RSPROCESS 47XA6NPFYU2DUSU108RURIN1G     RSPC          006
    01:15:09 Job cancelled                                                                                00           518
    2.    BI_PROCESS_ABAP
    Job Step
    No. Program name/command Prog. type Spool list Parameters     User     Lang.
    1  RSPROCESS            ABAP            24193 &0000000026265 BWREMOTE EN
    Job Log
    Time     Message text                                                                                Message class Message no.
    00:28:24 Job started                                                                                00           516
    00:28:24 Step 001 started (program RSPROCESS, variant &0000000026265, user ID BWREMOTE)                                                      00           550
    00:28:32 SQL: 05/15/2008 00:28:32 BWREMOTE                                                                                DBMAN         099
    00:28:32 TRUNCATE TABLE "/BIC/AZWM_O1600"                                                                                DBMAN         099
    00:28:34 SQL-END: 05/15/2008 00:28:34 00:00:02                                                                                DBMAN         099
    00:31:55 Spool request (number 0000024193) created without immediate output                                                                  SY           355
    00:31:55 Processing completed successfully for analysis process ZWM_APD01                                                                  RSAN_PR        021
    00:31:58 Process DTP_LOAD, variant DTP_46VZNUL0G6OB9NQVSVS0L4NTF is not scheduled waiting for event RSPROCESS 46ZDK9I8Z4K5485D5K38BFCIS     RSPC          006
    00:31:59 Job cancelled                                                                                00           518
    Please provide me a solution to move forward.
    Thanks in advance
    Khadar

    Hello Expert,
    I just had setup sand box for BI system.
    we are currently on SP 9.
    We will be importing SP15 shortly..
    I am trying to run a Process chain but it is giving error...
    It's giving the following error..
    Job BI_PROCESS_DROPINDEX could not be scheduled. Termination with returncode 8
    Message no. RSPC065
    Diagnosis
    Program RSPROCESS is to be scheduled as job BI_PROCESS_DROPINDEX under user RFCUSER.
    System Response
    Scheduling terminated with return code 8. The meanings of the return codes are as follows:
    SY-SUBRC = 4:
    Scheduling terminated by user
    SY-SUBRC = 8:
    Error when scheduling job (JOB_SUBMIT)
    SY-SUBRC = 12:
    Error in internal number assignment
    Procedure
    Check the system log for more detailed information.
    Execute Function
    Could you please throw some light on it...
    Regards,
    Manmadha

  • Problems with deleted outbound deilverys

    Hi all,
    I have the following problem with a deleted outbound delivery. The issue is that a sales order was created and a outbound delivery was assigned to this sale order, but somebody deleted the outbound delivery, unassigned the corresponding material and the shipping person assigned this outbound to another sale order believing that there were still plenty of material to cover both sales orders.
    The help needed here is how do I know which user deleted the outbound delivery is there a record for that??
    I'll appreciate your help a lot.
    Best Regards,
    Erik Espinosa

    Malice is seldom behind stuff like this, from my experiences.
    Prime candidate is human error (possibly with an attempt to fix it, which also includes hiding it...).
    => Send the sales folks a mail with the order number and description in it and ask them whether any of them know about it or are aware that an error might have been made. This gives them the opportunity to realize the implications of their mistake, or "own up" to it.
    Depending on how your system is integrated and how many "cowboy" developers you had / have around, faulty config and even naive user-exits cannot be completely excluded.
    => Hard to find (better to prevent), but doing a where-used-list on the related VK* tables to see whether any Z-programs turn up is a start.
    Either way, with the sales order number, you should be able to find the user context which performed these actions via the business change documents.
    => Take a look at the SCD* transactions, and the CD* tables.
    If it was a batch user at midnight... then see "Hard to find..." above.
    Cheers,
    Julius

  • Concepts about Archieving process and Check point Background process

    I am still going through Oracle Architecture and presently on the background oracle process. I got struck about the function of Checkpoint process and how archieving process occurs. Any inputs from my friends here will be highly appreciated.

    916438 wrote:
    I am still going through Oracle Architecture and presently on the background oracle process. I got struck about the function of Checkpoint process and how archieving process occurs. Any inputs from my friends here will be highly appreciated. Checkpoint is an act of cleaning the dirty blocks from buffer cache to disks in order to make fast recovery(if happens) if crash happens. Having said this, this process will make sure that oracle has to recovery minimum numbers of dirty block on instance recovery phase. So there is periodic flushing of dirty blocks from buffer cache to disks. In this periodic time CKPT process will post to DBWR process to write out the dirty blocks to disks. This is basically called the incremental checkpointing.
    In incremental checkpointing oracle will keep the record of most oldest block in controlfile and from this block (which is also called RBA), oracle will start recovering dirty blocks.
    There is also a full checkpoint in oracle which happen when redolog switch
    Now coming to archiving: An archive log is a copy of redo log files, it includes the sequence number and redo entries. Whenever there is a log switch (redo log files gets filled in circular fashion), then arch process will start archive filled redo log file. So during this process arch process will read the filled redo log files and make the copy of it in archive file. LGWR cannot write this filled redo file until ans unless arch process completes copying of redolog entries to archive log file.
    Archive log files are required for recovery if in future we wish to recover database during media/datafile/controlfile failure.
    Also see
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:19311485023372 - Checkpoint explained
    http://docs.oracle.com/cd/B19306_01/server.102/b14231/archredo.htm - Archives
    Edited by: 909592 on Mar 25, 2012 5:34 PM

  • Problem with extension of idoc in XI

    Hello All,
    I've extended an Idoc in R/3 with new segment.
    That new idoc extension i've mentained in t/code IDX2
    Also, i've imported the new extended idoc in XI in IR.
    Next i've done the related mapoping for the new segment in IR.
    In ID, do i need to change the old idoc name with new extension idoc which i'm using in the Receiver Agreement
    After doing all these above modifications..i've receving the below mentioned error message
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
      <SAP:P1>I::000</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error: I::000</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Pls. let me know how i need to proceed further.
    Thanks in advance!!!
    Regards
    Prasad

    Hello Prasad,
    Go through these discussions....
    <IDOC_ADAPTER> ATTRIBUTE_IDOC_METADATA
    Re: ERROR: "IDOC_ADAPTER" / "ATTRIBUTE_IDOC_METADATA"
    File2IDoc Adapter Error
    Hope the above links are very helpful to you..
    Thanks,
    Satya Kumar

  • Problem with scanning in PS CS6 - scanning process crashes

    Hi.
    Here is my hardware:
       Macbook pro 4 GB DDR3 core i5 with plenty of HD space
       Epson V700 scanner (6400 dpi scanning capability)
    My Software:
       Adobe CS6 trial
    What I want to do:
       Scan a typical photo that is 6 by 6 inches at 6400 dpi as a bitmap, for utmost quality
    What I tried:
       File -> Import -> Images from device -> then selected my scanner, set it to scan at 6400 dpi and save as a bitmap
    My problem:
        When the scanner head is done scanning and the progress bar for scanning the image completes and moves to the next step (presumably writing the image to the file), PS crashes and gives me an error log. It is far too detailed for me. I have no problem scanning images at lower resolutions like 1200 dpi. But this scanner is capable of 6400 dpi and I want to take full advantage of it. I cannot use the scanner software that came with teh scanner because tech support told me the scanner software has a 1.something GB file limit size. They told me 3rd party software like PS should be able to scan unlimited file sizes.
       I suspect the file size migh be too large (16 GB)
    My question:
       Is this a bug in the trial or something? Should PS be able to scan a 6 by 6 inch photo at 6400 dpi and save it as a bitmap?
    Any 1st thoughts? I imagine it would be useful to upload the error log. I can do that if it is ok to do so
    Thanks, your help is appreciated since I would lik eto scan this image at 6400 dpi. If I am given a solution, I will probably buy the full version

    I downloaded and placed the new Mac plugin that PDFerguson was talking about. I also made sure I had the latest drivers from EPson. I have the same problem. I tried a couple of different file formats, like TIFF (at 6400 dpi and billions of colors) and while "reading the TIFF file" it stops and tells me : "Could not complete your request because of a problem parsing the TIFF file.". Just to note, I scan to a new PS document, so it seems like it has scanned the image, but after a certain file size the driver/PS messes up the creation of the file. Then when PS reads that image data that it just made in some temporary location (which I am presuming is an improper image) into a new document (I say this because when PS opens a file it says "reading blah blah"), the parser (JPG, TIFF, etc....) crashes somewhere in the process of reading the file that it just wrote to temporary disk space into a new PS document.
    Because of these facts, I am led to believe that there seems to be some size limit after which PS or whatever is writing the temporarily scanned file where this file becomes corrupt. My suspicion of this as the cause of the problem is made darker from this experience: when I use the Apple OS scanning utility, and scan it at the dpi and color depth at which PS crashes, the apple utility does not crash, but instead produces a corrupt file on my disk. I say it is corrupt becasue the file is all black or white and has no scanned information. Likewise, when PS tries to open up those images, its parser for a particular file type fails, probably because it encounters an error.
    That sounds confusing so here is a diagram:
    Scanner invoked in PS => scans successfully at 6400 dpi and writes image data to scratch disk space (but this data is corrupt) =>PS tries to make a new document by reading this image data like it would open up a file from disk, using the appropriate format parser => because the iage data on scratch disk has been corrupted, the parser crashes as it encounters bad format data.
    When I ask PS to scan into BMP files, I get a vague error, which I presume is becasue the parser for BMP is quite primitive and will cast bad data as pixels anyways?
    From all this experimentation this is what I have concluded. The problem doesnt seem to be with how much RAM I have, or teh scanner driver itself, but the step where the software writes the scanned image data temporarily to disk (and messes up in doing so), causing any further image saving steps to fail, because the parser encounters an exception.
    Any thoughts from the engineers?

  • Problem with ATP check in release of process order

    Hi gurus,
    I have next problem in automatic release of process order:
    No checking group is maintained for product 000000000791104015, plant VFMX in matl master.
    Situation:
    I've some materials without MRP views in material master data but apparently this doesn't affect to release order. In this case, this material hasn't this views and it's impossible to release the order. I'm supposing the problem is not related with the fill up of this views or the field in material master data, because for other materials with the same situation the release is running.
    Anybody has any idea?
    Thanks a lot,
    Regards

    Dear ,
    You are facing this error because :
    - you have activated avaialbility check, but checkingb group is not maintained in material master of the component
    - if maintained in material master, in configuraion checking group and checking rule combination is not maintained
    - if above both are maintained then in the checking control for the order type is maintained, but in the control you maintained the setting that - release not possible if no availability, hence change it to user control option.
    *So  Goto MM02- material master -MRP3 view -Maintain the Availability check field as 01/02 as applicable  for components in the production *
    For more clarification , you can investigate the below : For production order avilablity check  and release u have  should  following settings.
    1. Define checking Group - SPRO
    2. Define checking Rule- SPRO.
    3. Define scope of check - OPJJ - Scope of the avilabilty check is defined for the Combination of Checking group and Checking rule. Check contol is defined for each comination of checking group and checking rule.
    4.Define Chek control -OPJK  : Checking rule is linked to Ordertype/Plant combination.
    while releasing the production order system will do avilability check as per the settings In OPJK for ordertype/plant combination.
    Hope this is clear to you
    Regards
    JH
    Edited by: Jiaul Haque on Jun 20, 2010 9:20 AM

  • Problem with Construct DB Statistics varaint in Process Chain.

    Hi Experts,
    I try to create a variant Construct DB Statistics over Info Cube. my PC is as follows:
    1. Start
    2. Delete Index
    3. Load data into Info Cube (Full Load).
    4. Create Index
    5. Construct DB Statistics
    6. Delete Overlapping Requests from InfoCube  .
    I got the error message: No type "Delete Index" process can be in front of process "Construct Database Statistics" variable XXXXX  in the chain
    I* While  creating the  variant construct DB Statistics shall I take the object type as Info Cube  or  Info Package?*
    Because when I use the InfoPackage   as the Object Type  I won't get any error message.   
    I need the clarification that:
    Shall we Construct the DB Statistics over Info Cube or  over the Info package?
    Any suggestions please.
    Thanks & Regards

    We had the same problem.  This had to do with a support package.  Implement note 1122289 or BI Patch 17 (SAPKW70017).  This solved our problem.
    Regards,
    Freek

  • Problem with AV DWH refresh and purge process

    We are working on a POC for a client and our env is Oracle Linux, Oracle 11g as Source with SYS.AUD$ auditing, Audit vault 10.2.3.1 and Agent all configured in a single server as of now. The problem I am facing is
    1) The load process is really weard sometimes it loads and many times it runs but the reports does not show any data.
    I tried to have a look into the procedures in AVSYS schsma, but every thing is encrypted. Do any have any idea does the server get a flat file as audit data from AUD$ or the data is directly inserted into the a server tables within AVSYS schema
    2) The purge process is not working. I was trying to purge the data whicj loaded last week, but when I run the purge record form AV Web console the result is big ?, nothing start.
    Do any one have any idea of the issue.
    Regards

    Please provide sufficient information for someone to know what you are doing.
    "The load process is really weard sometimes it loads and many times it runs but the reports does not show any data."
    Is meaningless.
    What is weird? Is it the load process in your production database? How does this relate to Audit Vault? Loading using what technology? Are we supposed to guess SQL*Loader or DataPump or Transportable Tablespaces or something else entirely? What doesn't show any data? Prod? AUD$? Audit Vault?
    You need to take us through every step and what you are checking and how.
    http://www.battleagainstanyguess.com/baag/

  • Calling transactions with pre-filled screen in background processing

    Hi,
    We are currently running the two standard SAP programs RVV50R10C and SDV03V02 in background mode with static variants. A new requirement has come up whereby we need to run these programs with changing selection criterions, i.e. depending on whether a certain material has had a movement during the day.
    We are currently looking at the following options, all of which must be executeable in background mode:
    1) Create a Z-program which identifies the materials for which RVV50R10C and SDV03V02 should process, and then at the end of the Z-program save variants containing the materials for each of the two standard programs. The standard programs will be scheduled as step #2 and #3 in the same batch job by using the variant which has been overwritten by the Z-program.
    2) Create a Z-program which identifies the materials for which RVV50R10C and SDV03V02 should process, and then at the end of the Z-program call these programs by specifying the material numbers in addition to other relevant selection criterions by passing a batch input table.
    3) Copy the standard programs into Z-versions and enhance the selection criterias according to our needs.
    Of the options above we would prefer not to use 3) since we rather use the standard programs due to SAP support etc. The preferred option would be 1).
    Anyone faced a similar requirement and have some ideas about standard SAP functions to save a variant and what issues we might face in option 1) and 2)?

    Hi Geir,
    2nd option is good. Create a Z program to identify the material numbers which you want to process & then in the Z Program itself use SUBMIT statement to call the standard programs RVV50R10C and SDV03V02. Using SUBMIT statement you can populate the selection screen parameters for the calling programs.
    Please let us know if you need any additional details.
    Thanks,
    Best regards,
    Prashant

  • Problems with Runtime.exec() and certain Unix processes

    Certain Unix processes don't behave correctly when run from Java using Runtime.exec(). This can be seen by running /bin/sh and trying to interact with it interactively. The issue appears to be that /bin/sh (and many other Unix tools) are checking the file handles on the spawned process to see if they are associated with a TTY.
    Is there any way to associate a process spawned by Runtime.exec() with a terminal or alternatively, is there a JNI library available that would setup the process correctly and still provide access to the input and output streams?
    Our objective is to have the flexibility of expect in being able to run and interact with spawned processes. A bug was opened at one point but closed back in 1997 as being a fault in the spawned process, not Java.
    Bug ID: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4058689

    #include <stdio.h>
    void doit() {
    int c;
            while((c=getc(stdin)) != EOF) {
                    printf("%c",c);
    int main() {
            freopen("/dev/tty", "r", stdin);
            doit();
    }This program reopens its standard input against /dev/tty and catenates it to stdout. And voila, it takes its standard input from the terminal, even though it was started with stdin against /dev/null..
    $ gcc b.c -o b
    $./b < /dev/null
    buon giorno
    buon giorno

Maybe you are looking for

  • Cycle recording

    Cycle recording on Garageband. I want to change a small section of the recording. It records the new recorded section but doesn't attach to the rest of the old recording. If I choose the new recorded section the rest of the original recording disappe

  • OBIEE 11g: Non conformed dimension filter

    Hi, I have two fact tables and some confromed and non conformed dimensions between the fact tabels. The hiearchies being built and proper levels were set for the fact tables. The measures of the fact were set to the total level of the non confromed d

  • Unreadable PDF's on iPad

    I have a few PDF's that I downloaded from a site in the UK. They open fine on the Mac in preview, but I can't get them to open on the iPad in any app I've tried. They load but the pages are blank. I started with iBook, then downloaded a few PDF reade

  • Want to show NSE/BSE current stock price on my web page?

    Want to show NSE/BSE current stock price on my web page? I am in the process of developing a website for a broking firm. I want to show the live market price of NSE/BSE on my web-page & Also xyz company Plz help for the same

  • About EFI development with Visual Studio

    Hi all! Please help me about this problem issue bellow. I 'm developing for a demo application about UEFI and EFI technology. I using EFI_Toolkit_2.0 to build this demo  follow some step on command line of Visual Studio from 2005 to 2010 , on Win7 32