Ansicht
Dokumentation

CN8_MBT_RFC_GET - determine any destination for a given package depending on EXEC_TARGET

CN8_MBT_RFC_GET - determine any destination for a given package depending on EXEC_TARGET

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function returns the destination ID corresponding to the PACKID

and EXEC_TARGET specified. If he parameter ALL_AS_TABLE is set to 'X', then it returns all the

detination ID's for the corresponding package in the table DESTTAB.

Import parameter

PACKID

The package number where the destinations are assigned to (Mandatory).

EXEC_TARGET

Identifier of the system role used for the type of package. If you want the destination ID of this single execution target you have to supply this parameter with the character identifying the system role. For example the character P stands for the control system and S for sender system. Some of the execution targets are predefined with system roles. These are the execution targets P (control), C (central), S (sender), R (receiver), U (upgrade), H (HCM).

NO_RFC_MNGMNT_CALL

When we want to write a status for the RFC Management the report will be called with option 'Check'. When we want to avoid this check we can set the parameter NO_RFC_MNGMNT_CALL to 'X' (Performance improvement).

ALL_AS_TABLE

If this parameter is set to 'X' then all RFC destinations assigned to the package specified in parameter PACKID will be returned in table DESTTAB.

NON_AT_LOCAL_DEST

When this parameter is set to 'X' then the destination specified in import parameter EXEC_TARGET will be checked if this destination is local (same host number, system number and client). In that case the destination ID returned will be 'NONE'. This import parameter doesn´t work in combination with import parameter ALL_AS_TABLE. Means in table DESTTAB the original destinaiton IDs will be returned.

CHECK_LOCK

Before returning the requested destination(s) the connection will be checked. This check also includes a logon test. Like the normal logon if you use a wrong password with your user you will be locked if too many failed logons attempts. With the parameter CHECK_LOCK the user want be locked if the destination used a wrong password.

Example

Notes

Further information





Parameters

ALL_AS_TABLE
CALL_LOCAL
CHECK_LOCK
DESTINATION_ID
DESTTAB
EXEC_TARGET
NONE_AT_LOCAL_DEST
NO_CONNECTION_CHECK
NO_RFC_MNGMNT_CALL
PACKID
REFRESH
UNICODE_ERROR

Exceptions

CONNECTION_CHECK_NOT_ALLOWED
GET_SYSTEM_INFO_FAILURE
LOGIN_NOT_POSSIBLE
NO_AUTHORITY
NO_DESTINATIONS_FOR_PACKID
NO_SPECIFIC_DESTINATION_TYPE
RFCDES_NOT_EXIST
RFC_FAILURE
SYSTEM_INFO_HAS_CHANGED
WRONG_UNICODE_SETTINGS

Function Group

CN8_MBT_RFC

PERFORM Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2983 Date: 20240523 Time: 094320     sap01-206 ( 65 ms )