SAP RH_TRSP_MAN_PDOBJECTS Function Module for PD: Manual Transport Connection for PD Objects









RH_TRSP_MAN_PDOBJECTS is a standard rh trsp man pdobjects SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for PD: Manual Transport Connection for PD Objects processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for rh trsp man pdobjects FM, simply by entering the name RH_TRSP_MAN_PDOBJECTS into the relevant SAP transaction such as SE37 or SE38.

Function Group: RHWM
Program Name: SAPLRHWM
Main Program: SAPLRHWM
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RH_TRSP_MAN_PDOBJECTS pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'RH_TRSP_MAN_PDOBJECTS'"PD: Manual Transport Connection for PD Objects
EXPORTING
* REPLACE_PERSON = "

CHANGING
* ACT_CORR = "Correction number

TABLES
ACT_OBJECTS = "PD object table for transport
* DEL_OBJECTS = "

EXCEPTIONS
T77S0_TRSP_ENTRY_IS_OFF = 1 CORRNUMBER_NOT_VALID_USER = 10 CORRNUMBER_NOT_FOUND = 11 CORRECTION_CANCELED = 2 OBJECT_TAB_IS_INITIAL = 3 TRSP_APPEND_ERROR = 4 TRSP_CHECK_ERROR = 5 CUSTPLVAR_EQUAL_ACTPLVAR = 6 SOBJ_ERROR = 7 CORRNUMBER_NOT_VALID_TYPE = 8 CORRNUMBER_NOT_VALID_TRSP_CLAS = 9
.



IMPORTING Parameters details for RH_TRSP_MAN_PDOBJECTS

REPLACE_PERSON -

Data type: OBJEC-HISTO
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for RH_TRSP_MAN_PDOBJECTS

ACT_CORR - Correction number

Data type: E071K-TRKORR
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RH_TRSP_MAN_PDOBJECTS

ACT_OBJECTS - PD object table for transport

Data type: PLOGI
Optional: No
Call by Reference: No ( called with pass by value option)

DEL_OBJECTS -

Data type: PLOGI_DEL
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

T77S0_TRSP_ENTRY_IS_OFF - Transport switch T77S0 is deactivated

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

CORRNUMBER_NOT_VALID_USER -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

CORRNUMBER_NOT_FOUND -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

CORRECTION_CANCELED - User cancelled correction number assignment

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

OBJECT_TAB_IS_INITIAL - Object table transferred has no entries

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

TRSP_APPEND_ERROR - Error when writing to correction number

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

TRSP_CHECK_ERROR - Transport system check located error

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

CUSTPLVAR_EQUAL_ACTPLVAR - Plan version of object has inadmissable value

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

SOBJ_ERROR - Primary table entries are missing from table SOBJ

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

CORRNUMBER_NOT_VALID_TYPE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

CORRNUMBER_NOT_VALID_TRSP_CLAS -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RH_TRSP_MAN_PDOBJECTS Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_act_corr  TYPE E071K-TRKORR, "   
lt_act_objects  TYPE STANDARD TABLE OF PLOGI, "   
lv_replace_person  TYPE OBJEC-HISTO, "   
lv_t77s0_trsp_entry_is_off  TYPE OBJEC, "   
lv_corrnumber_not_valid_user  TYPE OBJEC, "   
lv_corrnumber_not_found  TYPE OBJEC, "   
lt_del_objects  TYPE STANDARD TABLE OF PLOGI_DEL, "   
lv_correction_canceled  TYPE PLOGI_DEL, "   
lv_object_tab_is_initial  TYPE PLOGI_DEL, "   
lv_trsp_append_error  TYPE PLOGI_DEL, "   
lv_trsp_check_error  TYPE PLOGI_DEL, "   
lv_custplvar_equal_actplvar  TYPE PLOGI_DEL, "   
lv_sobj_error  TYPE PLOGI_DEL, "   
lv_corrnumber_not_valid_type  TYPE PLOGI_DEL, "   
lv_corrnumber_not_valid_trsp_clas  TYPE PLOGI_DEL. "   

  CALL FUNCTION 'RH_TRSP_MAN_PDOBJECTS'  "PD: Manual Transport Connection for PD Objects
    EXPORTING
         REPLACE_PERSON = lv_replace_person
    CHANGING
         ACT_CORR = lv_act_corr
    TABLES
         ACT_OBJECTS = lt_act_objects
         DEL_OBJECTS = lt_del_objects
    EXCEPTIONS
        T77S0_TRSP_ENTRY_IS_OFF = 1
        CORRNUMBER_NOT_VALID_USER = 10
        CORRNUMBER_NOT_FOUND = 11
        CORRECTION_CANCELED = 2
        OBJECT_TAB_IS_INITIAL = 3
        TRSP_APPEND_ERROR = 4
        TRSP_CHECK_ERROR = 5
        CUSTPLVAR_EQUAL_ACTPLVAR = 6
        SOBJ_ERROR = 7
        CORRNUMBER_NOT_VALID_TYPE = 8
        CORRNUMBER_NOT_VALID_TRSP_CLAS = 9
. " RH_TRSP_MAN_PDOBJECTS




ABAP code using 7.40 inline data declarations to call FM RH_TRSP_MAN_PDOBJECTS

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single TRKORR FROM E071K INTO @DATA(ld_act_corr).
 
 
"SELECT single HISTO FROM OBJEC INTO @DATA(ld_replace_person).
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!