Ansicht
Dokumentation

HR_EFI_XI_POLL_MAILBOX - Controls the flow of communication between SAP and Gateway Mail boxes

HR_EFI_XI_POLL_MAILBOX - Controls the flow of communication between SAP and Gateway Mail boxes

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module is designed only for the UK and will help to control the communications to the Government Gateway (GG), through the SAP BC. The objective is to log on to secure mailboxes on the GG and to retrieve a set of XML messages. These messages are HR forms like the P6 or P9 SL1 or SL2 which the Inland Revenue periodically issues as corrections to tax codes or notifications of student loan processing.

The flow of logic is as follows.

1. Read control informations from the constants table T50BK. These include, the RFC destination, the type of Run which is currently being executed (Productive or Test). Username and Password if the transmission is to be using clear text.

2. Call RFC function modules to

- Log on to the Government Gateway - HR_GB_EF_BC_LOGON

- Retrieve message-ids stored in the mailbox - HR_GB_EF_BC_GETMESSAGEBOX

- Parse the XML containing message ids to extract those messages we are interested in -

- Retrieve the actual messages - HR_GB_EF_BC_GETMESSAGEDETAIL

- Store XML file as a TEMSE object - HR_GB_EF_STORE_TO_TEMSE

- Delete all retrieved messages - HR_GB_EF_BC_DELETEMESSAGE

- Log off - HR_GB_EF_BC_LOGOFF

3. Catch and respond to any errors that might occur during the communication and retrieval phase.

Example

Notes

Further information





Parameters

GLBID
RESULT

Exceptions

Function Group

HREFIGB_FUNC

TXBHW - Original Tax Base Amount in Local Currency   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 1718 Date: 20240523 Time: 115332     sap01-206 ( 35 ms )