cancel
Showing results for 
Search instead for 
Did you mean: 

Jobs found under PI RFC User for Report RBDAPP01

helmut_skolaut3
Active Participant
0 Kudos

Dear all,

today I have seen the first time jobs in my ERP System where PI has sent IDOCs to it. The Jobname is a IDOC Number it has one step to execute RBDAPP01 with sometimes one sometimes 2-3 IDOCs.

This only happens sometimes. In my system I have:

24.02. round 09:30-09:40 about 50 Jobs

25.02./26.2./2.3./3.3. on each day about 1-3 jobs

4.3./5.3. about 20 jobs each day.

So it's not for all incoming IDOCs, only under certain circumstances. Can someone explain which circumstances let the IDOC inbound process creates jobs instead of immedeate input?

Regards

   Helmut


View Entire Topic
helmut_skolaut3
Active Participant

Hi all,

Job gave a good hint to find the correct solution. The status 66 was not recorded, but I found in the status records the program that is responsible for my behavior in LEDINF05.

The system is calling the FM TH_ARFC_LOCAL_RESOURCES to check if there are enough processes to fulfill the IDOC post, if there are 0 tasks available and tedef-routid eq 'BATCHJOB' the batch jobs are created by the system.

Regards

   Helmut

rommix
Explorer
0 Kudos

Hi Helmut,
Thanks for the hint. We also tried to understand why in some cases incoming IDOCs processed without background jobs and sometimes SAP creates automatically jobs with names equal to some IDOC number (first IDOC from the package it's processing). I can understand now that there were not enough DIA processes to work on IDOC posts. Only in that case background jobs were scheduled automatically.

In our case IDOCs are sent to ERP from PI system which in turn generates those IDOCs from incoming file (after transformation and mapping). We noticed the following:

- Those "auto" backgrounds are triggered in case we supply many files at once as input to PI. I think PI creates separate RFC connection for each processed small file and hence many connections occupy many DIA processes in ERP - /SDF/MON shows high DIA utiliztion. IDOC has status 64 twice on ERP side in this case (first with program SAPLEDIR / subroutine IDOC_STATUS_64OR65_SET, second program LEDINf05).


- There are no background IDOC processing in case we put single big file for PI . Then all generated IDOCs are sent in single connection via RFC to ERP which doesn't utilize many DIA processes in ERP. IDOC has status 64 only once in that case (program SAPLEDIR / subroutine IDOC_STATUS_64OR65_SET):

Regards,

Roman