Home > Ask the SAP software/management Experts > SAP HR Questions & Answers > Outbound outsourcing interfaces in mySAP HR
Ask The SAP Expert: Questions & Answers
EMAIL THIS

Outbound outsourcing interfaces in mySAP HR

Brian  Stewart EXPERT RESPONSE FROM: Brian Stewart

Pose a Question
Other SAP Categories
Meet all SAP Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 30 August 2004
Are there any examples of outbound interfaces for Payroll in the HR Module of SAP? What would be the steps to create a report that outputs the payroll details in the HR module to an outfile? Please advise. Thanks.

>
The standard outbound outsourcing interfaces exist in SAP. It requires minor ALE setup to output the file. The menu path for these programs, assuming you are in the US, is Human Resources->Payroll->America->USA->Outsourcing->Export. The ALE setup simply requires a partner profile and a port for the IDoc type you are trying to get out of the system.

If those don't fit your needs, here's a simple program to read the payroll clusters for an EE. Please note that this can be done in a number of different ways and this is probably the least advanced way but also the easiest to explain.

report zppyro016 no standard page heading line-size 80.
include zpayrolldata.
data: yearper(6).
parameters: p_wt like pa0008-lga01.
start-of-selection.
get pernr.
cd-key-pernr = pernr-pernr.
rp-imp-c2-cu.
concatenate pn-paper-pabrj pn-paper-pabrp into yearper.
read table rgdir with key fpper = yearper
srtza = 'A'.
if sy-subrc <> 0.
message i899(s1) with 'No stored results for' pernr-pernr.
sy-subrc = 8.
endif.
check sy-subrc <> 8.
loop at rgdir.
rx-key-pernr = pernr-pernr.
rx-key-seqno = rgdir-seqnr.
rp-imp-c2-ru.
loop at rt.
if rt-lgart = p_wt.
write: / pernr-pernr, rt-lgart, rt-betrg.
endif.
endloop.
endloop.
commit work.

The include looks like this:
*----------------------------------------------------------------------*
* INCLUDE ZPAYROLLDATA *
*----------------------------------------------------------------------*
tables: pcl1, pcl2, pernr.

include rpc2cd09. "Cluster CD Data-Definition
include rpc2ca00. "Cluster CA Data-Definition "XUJP30K079863
include rpc2ruu0. "Cluster RU Data-Definition
include rpc2rx09. "Cluster RU Data-Definition internat. part
include rpppxd00. "Data befinition buffer PCL1/PCL2
include rpppxd10. "Common part buffer PCL1/PCL2
include: rpppxm00.

Make sure you define PNP as your logical database in the attributes. The tables returned by rp-imp-c2-ru are the same as those in transaction PC_PAYRESULT.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
SAP HR
How to configure an SAP HR system using the SAP PA40 code
What are the risks of a delayed SAP HCM implementation?
Unable to run simulation of SAP HR payroll because of employee absence issues
How to make an SAP HR change -- calendar year to fiscal year
How to limit quota deduction amounts in SAP HR
Configuring SAP HR Payroll settings for retroactive accounting
Using audit report to track changes to employee data in SAP HR
SAP LSO course type error
Modifying customer-specific personnel change requests
PD profiles and SD profiles

SAP HR management
How to configure an SAP HR system using the SAP PA40 code
What are the risks of a delayed SAP HCM implementation?
Unable to run simulation of SAP HR payroll because of employee absence issues
Getting to know today's workforce management tools: Trends and use cases
Tips for a winning workforce management software implementation
How to make an SAP HR change -- calendar year to fiscal year
How to limit quota deduction amounts in SAP HR
Configuring SAP HR Payroll settings for retroactive accounting
HCM, talent management software consolidation helping companies cut TCO
Using audit report to track changes to employee data in SAP HR

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SAP White Paper Topics
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts