If your organization creates Leave Requests (you can check by executing t-code PTARQ and the 'Display Documents' function, or simply by querying table PTREQ_HEADER), you may want to deploy the configuration enhancements outlined below which have been added to our baseline configuration.

Step 1: In your primary Source system (typically Production), go to ZGOLD > Configuration > Framework > Data Echo
Step 2: Create three new data types named HR - LEAVE REQUEST ACTORS, HR - LEAVE REQUEST BY PERNR, and HR - LEAVE REQUESTS. Use the details in the screen captures below to add the relevant table relations and common fields.
Data types HR - LEAVE REQUEST ACTORS and HR - LEAVE REQUEST BY PERNR are identical to each other but this is done deliberately so that PERNRs can be used as the selection criteria for determining which Leave Requests to copy, and to help ensure that all of the various Actors/Roles associated to the Leave Requests are copied successfully.

Name:  Capture52.PNG
Views: 356
Size:  166.8 KB
Name:  Capture53.PNG
Views: 127
Size:  115.8 KB
For data type HR - LEAVE REQUESTS, use these details to add the common fields:

  • For those table relations where PTREQ_ITEMS is the 'Source Table' (8 in all), the common fields should be ITEM_ID = ITEM_INS as seen in this screen capture


Name:  Capture54.PNG
Views: 71
Size:  12.4 KB

  • For table relation PTARQ_DEDUCTION - PTREQ_HEADER, use REQUEST_ID = REQUEST_ID as seen in this screen capture


Name:  Capture55.PNG
Views: 68
Size:  16.5 KB

  • For table relation PTREQ_HEADER - PTREQ_HEADER, use REQUEST_ID = REQUEST_ID and VERSION_NO = VERSION_NO as seen in this screen capture


Name:  Capture56.PNG
Views: 72
Size:  17.9 KB



  • For table relation PTARQ_ITEMS - PTREQ_HEADER, use ITEM_LIST_ID = ITEM_LIST_ID as seen in this screen capture


Name:  Capture57.PNG
Views: 70
Size:  14.1 KB

Step 3: Create the following data type linkages between the newly created data types
HR - LEAVE REQUEST BY PERNR to HR - LEAVE REQUESTS

Name:  Capture58.PNG
Views: 76
Size:  97.3 KB

HR - LEAVE REQUESTS to CA - BUSINESS WORKFLOW

Name:  Capture59.PNG
Views: 67
Size:  103.7 KB

HR - LEAVE REQUESTS to HR - LEAVE REQUEST ACTORS

Name:  Capture60.PNG
Views: 77
Size:  127.8 KB