Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problems with processing outbound IDocs in background processes

christian_swonke
Participant
0 Likes
391

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

1 REPLY 1
Read only

christian_swonke
Participant
0 Likes
334

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?