SAP PFM_POSTING_INTERFACE_START Function Module for









PFM_POSTING_INTERFACE_START is a standard pfm posting interface start 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 pfm posting interface start FM, simply by entering the name PFM_POSTING_INTERFACE_START into the relevant SAP transaction such as SE37 or SE38.

Function Group: PFM_FIPI
Program Name: SAPLPFM_FIPI
Main Program: SAPLPFM_FIPI
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function PFM_POSTING_INTERFACE_START 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 'PFM_POSTING_INTERFACE_START'"
EXPORTING
* I_CLIENT = SY-MANDT "
I_FUNCTION = "
* I_GROUP = ' ' "
* I_HOLDDATE = ' ' "
* I_KEEP = ' ' "
* I_MODE = 'N' "
* I_UPDATE = 'S' "
* I_USER = ' ' "
* I_XBDCC = ' ' "

EXCEPTIONS
CLIENT_INCORRECT = 1 FUNCTION_INVALID = 2 GROUP_NAME_MISSING = 3 MODE_INVALID = 4 UPDATE_INVALID = 5
.



IMPORTING Parameters details for PFM_POSTING_INTERFACE_START

I_CLIENT -

Data type: SY-MANDT
Default: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FUNCTION -

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

I_GROUP -

Data type: APQI-GROUPID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_HOLDDATE -

Data type: APQI-STARTDATE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_KEEP -

Data type: APQI-QERASE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MODE -

Data type: RFPDO-ALLGAZMD
Default: 'N'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_UPDATE -

Data type: RFPDO-ALLGVBMD
Default: 'S'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_USER -

Data type: APQI-USERID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XBDCC -

Data type: RFIPI-XBDCC
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

CLIENT_INCORRECT -

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

FUNCTION_INVALID -

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

GROUP_NAME_MISSING -

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

MODE_INVALID -

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

UPDATE_INVALID -

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

Copy and paste ABAP code example for PFM_POSTING_INTERFACE_START 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_client  TYPE SY-MANDT, "   SY-MANDT
lv_client_incorrect  TYPE SY, "   
lv_i_function  TYPE RFIPI-FUNCT, "   
lv_function_invalid  TYPE RFIPI, "   
lv_i_group  TYPE APQI-GROUPID, "   SPACE
lv_group_name_missing  TYPE APQI, "   
lv_i_holddate  TYPE APQI-STARTDATE, "   SPACE
lv_mode_invalid  TYPE APQI, "   
lv_i_keep  TYPE APQI-QERASE, "   SPACE
lv_update_invalid  TYPE APQI, "   
lv_i_mode  TYPE RFPDO-ALLGAZMD, "   'N'
lv_i_update  TYPE RFPDO-ALLGVBMD, "   'S'
lv_i_user  TYPE APQI-USERID, "   SPACE
lv_i_xbdcc  TYPE RFIPI-XBDCC. "   SPACE

  CALL FUNCTION 'PFM_POSTING_INTERFACE_START'  "
    EXPORTING
         I_CLIENT = lv_i_client
         I_FUNCTION = lv_i_function
         I_GROUP = lv_i_group
         I_HOLDDATE = lv_i_holddate
         I_KEEP = lv_i_keep
         I_MODE = lv_i_mode
         I_UPDATE = lv_i_update
         I_USER = lv_i_user
         I_XBDCC = lv_i_xbdcc
    EXCEPTIONS
        CLIENT_INCORRECT = 1
        FUNCTION_INVALID = 2
        GROUP_NAME_MISSING = 3
        MODE_INVALID = 4
        UPDATE_INVALID = 5
. " PFM_POSTING_INTERFACE_START




ABAP code using 7.40 inline data declarations to call FM PFM_POSTING_INTERFACE_START

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 MANDT FROM SY INTO @DATA(ld_i_client).
DATA(ld_i_client) = SY-MANDT.
 
 
"SELECT single FUNCT FROM RFIPI INTO @DATA(ld_i_function).
 
 
"SELECT single GROUPID FROM APQI INTO @DATA(ld_i_group).
DATA(ld_i_group) = ' '.
 
 
"SELECT single STARTDATE FROM APQI INTO @DATA(ld_i_holddate).
DATA(ld_i_holddate) = ' '.
 
 
"SELECT single QERASE FROM APQI INTO @DATA(ld_i_keep).
DATA(ld_i_keep) = ' '.
 
 
"SELECT single ALLGAZMD FROM RFPDO INTO @DATA(ld_i_mode).
DATA(ld_i_mode) = 'N'.
 
"SELECT single ALLGVBMD FROM RFPDO INTO @DATA(ld_i_update).
DATA(ld_i_update) = 'S'.
 
"SELECT single USERID FROM APQI INTO @DATA(ld_i_user).
DATA(ld_i_user) = ' '.
 
"SELECT single XBDCC FROM RFIPI INTO @DATA(ld_i_xbdcc).
DATA(ld_i_xbdcc) = ' '.
 


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!