SAP FDM_P2P_TRANSFER Function Module for
FDM_P2P_TRANSFER is a standard fdm p2p transfer SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fdm p2p transfer FM, simply by entering the name FDM_P2P_TRANSFER into the relevant SAP transaction such as SE37 or SE38.
Function Group: FDM_P2P_SERVICES
Program Name: SAPLFDM_P2P_SERVICES
Main Program: SAPLFDM_P2P_SERVICES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FDM_P2P_TRANSFER 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 'FDM_P2P_TRANSFER'".
EXPORTING
I_GUID = "
I_BUKRS = "
I_BELNR = "
I_GJAHR = "
I_BUZEI = "
I_KUNNR = "
I_OLD_OBJ_KEY = "
* I_XVBUP = 'X' "
IMPORTING
ES_RETURN = "
EXCEPTIONS
GET_NUMBER_FAILURE = 1
IMPORTING Parameters details for FDM_P2P_TRANSFER
I_GUID -
Data type: BDM_CASE_GUIDOptional: No
Call by Reference: Yes
I_BUKRS -
Data type: BUKRSOptional: No
Call by Reference: Yes
I_BELNR -
Data type: BELNR_DOptional: No
Call by Reference: Yes
I_GJAHR -
Data type: GJAHROptional: No
Call by Reference: Yes
I_BUZEI -
Data type: BUZEIOptional: No
Call by Reference: Yes
I_KUNNR -
Data type: KUNNROptional: No
Call by Reference: Yes
I_OLD_OBJ_KEY -
Data type: SWO_TYPEIDOptional: No
Call by Reference: Yes
I_XVBUP -
Data type: OFIWA-XVBUPDefault: 'X'
Optional: No
Call by Reference: Yes
EXPORTING Parameters details for FDM_P2P_TRANSFER
ES_RETURN -
Data type: BAPIRET2Optional: No
Call by Reference: Yes
EXCEPTIONS details
GET_NUMBER_FAILURE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FDM_P2P_TRANSFER 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_i_guid | TYPE BDM_CASE_GUID, " | |||
| lv_es_return | TYPE BAPIRET2, " | |||
| lv_get_number_failure | TYPE BAPIRET2, " | |||
| lv_i_bukrs | TYPE BUKRS, " | |||
| lv_i_belnr | TYPE BELNR_D, " | |||
| lv_i_gjahr | TYPE GJAHR, " | |||
| lv_i_buzei | TYPE BUZEI, " | |||
| lv_i_kunnr | TYPE KUNNR, " | |||
| lv_i_old_obj_key | TYPE SWO_TYPEID, " | |||
| lv_i_xvbup | TYPE OFIWA-XVBUP. " 'X' |
|   CALL FUNCTION 'FDM_P2P_TRANSFER' " |
| EXPORTING | ||
| I_GUID | = lv_i_guid | |
| I_BUKRS | = lv_i_bukrs | |
| I_BELNR | = lv_i_belnr | |
| I_GJAHR | = lv_i_gjahr | |
| I_BUZEI | = lv_i_buzei | |
| I_KUNNR | = lv_i_kunnr | |
| I_OLD_OBJ_KEY | = lv_i_old_obj_key | |
| I_XVBUP | = lv_i_xvbup | |
| IMPORTING | ||
| ES_RETURN | = lv_es_return | |
| EXCEPTIONS | ||
| GET_NUMBER_FAILURE = 1 | ||
| . " FDM_P2P_TRANSFER | ||
ABAP code using 7.40 inline data declarations to call FM FDM_P2P_TRANSFER
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 XVBUP FROM OFIWA INTO @DATA(ld_i_xvbup). | ||||
| DATA(ld_i_xvbup) | = 'X'. | |||
Search for further information about these or an SAP related objects