cancel
Showing results for 
Search instead for 
Did you mean: 

Setting up the HR-PDC interface to ext. system without direct RFC

Former Member
0 Kudos

Hello,

Setting up the HR-PDC interface to external system without direct RFC - Uploading time events

Following note number 647145, I tried to set up connection to external time collection system. As the external system isn't able to work with RFC, I setup a fileport using transaction WE21. When an outbound IDOC is created with transaction PT80, it will be stored at the outbound path. The IDOC then will be transfered to the external system with a unix script triggered by event.

For inbound IDOCS, the fileport cannot be used as I don't see any way to configure it as the time events that should come in via RFC port, will be uploaded and processed according the ALE distribution model. The BOR object "PTManagerExtPEvent" of type "BUS7014" with method "Insert" is used to insert the time events into the interface table CC1TEV from an HR-PDC certified subsystem. The message type is "HRCC1UPTEVEN".

As standard process won't work in our case, I'd need alternative solution. Actually the time events are send via ftp to the SAP directory that points to incoming IDOC path setup on WE21.

Maybe there should some way to setup RFC connection to own SAP system that points to the SAP directory where the inbound files are stored.

Maybe using the FM IDOC_INPUT_HRCC1UPTEVEN can be used to trigger the upload manually but first the files have to be uploaded from file similiar to report RSEINB00. Testing this report using the SAP directory and port where the inbound files are located I get error message that IDOC control record is missing, that seems to be understandable as this report is used to upload IDOCS from file but HR-PDC upload file HRCC1UPTEVEN01 has no specific IDOC segments in this moment as it was created according specific HR-PDC interface description. The IDOC in the standard process will be created with the BAPI.

As I'm new in HR and ALE, I'd be grateful for any help on this matter.

Best regards

Andreas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

There is a small tool called BAPI-Handler which handles e.g. HR-PDC, but allows the partner to provide just ASCII-files or CSV-files.

For more info go to:

<a href="http://http://www.icaro.com/icaroweb/deutsch/schnittstsw/bapiallgem.htm">german description of BAPI-handler</a>

Former Member
0 Kudos

Hello Andreas,

thanks for Your contribution. Recently I've got the trial version and made some tests and found out that the bapi-handler works perfectly for managing HR-PDC interface.

Nevertheless actually there's no compilation for OS/400 and the AS/400 I'm working with has an old OS release without C compiler and furthermore RFC libraries of SAP cannot be installed on this release.

The Bapi-handler for testing runs on Windows

and I'd need an intermediate machine to manage the data between AS/400 and SAP. I'd prefer direct connection between timecollection subsystem and SAP for obvios reason.

Regards

Andreas

Answers (1)

Answers (1)

Former Member
0 Kudos

Can the external system call web-services interface? If so, you can create a web-service for the BAPI/RFC function (from WAS620?).

Former Member
0 Kudos

Hello Robert,

thanks for your answer. The external system seems not to be able to establish any communications except ftp. For the moment the solution for the problem is as following as I found out that asynchronous data transfer cannot be done with RFC destinations and BAPI calls. Therefore I changed the interface file adding IDOC segments for control record and data records and upload and process the file scheduling jobs for progs RSEINB00, RBDAPP01 and SAPCDT45.

Former Member
0 Kudos

I saw this thread talking about interfacing HR PDC with any time management system. I am actually doing some research on something similar and would like to get some more information and tips from experience. I would like to take this interface approach by calling web services through a BAPI/RFC interface.

Are there any documents I can read up on or any information that I can get?

Thanks a lot in advance.