SAP FPB_CMPERS_POST_APPLID Function Module for









FPB_CMPERS_POST_APPLID is a standard fpb cmpers post applid 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 fpb cmpers post applid FM, simply by entering the name FPB_CMPERS_POST_APPLID into the relevant SAP transaction such as SE37 or SE38.

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



Function FPB_CMPERS_POST_APPLID 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 'FPB_CMPERS_POST_APPLID'"
EXPORTING
ID_PERS_KEYTP = "
* ID_TEST = "
* ID_FRONTEND = ' ' "
IT_CMPERSPARM_POST = "
* IT_CONTEXT_DATABASE = "
* IT_CONTEXT_POSTING = "
ID_PERSKEY = "
ID_APPLID = "
ID_FIELDNAME = "
* ID_SUBCONTEXT = "
* ID_DATEFROM = "
* ID_DATETO = "
ID_ORIGIN = "
* ID_NOAUTH = ' ' "

IMPORTING
ET_RETURN = "

EXCEPTIONS
POSTING_ERROR = 1 FIELDNAME_NOT_VALID = 2 APPLID_NOT_VALID = 3 DATE_NOT_VALID = 4 ORIGIN_NOT_VALID = 5 FIELDTYPE_NOT_VALID = 6 NO_KOKRS_FOUND = 7 NO_AUTHORIZATION = 8 INPUT_ERROR = 9
.



IMPORTING Parameters details for FPB_CMPERS_POST_APPLID

ID_PERS_KEYTP -

Data type: FPB_KEYTP
Optional: No
Call by Reference: Yes

ID_TEST -

Data type: FLAG
Optional: Yes
Call by Reference: Yes

ID_FRONTEND -

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: Yes

IT_CMPERSPARM_POST -

Data type: FPB_T_CMPERSPARMPOST
Optional: No
Call by Reference: Yes

IT_CONTEXT_DATABASE -

Data type: FPB_T_CONTEXT_DATA
Optional: Yes
Call by Reference: Yes

IT_CONTEXT_POSTING -

Data type: FPB_T_CONTEXT_DATA
Optional: Yes
Call by Reference: Yes

ID_PERSKEY -

Data type: FPB_KEY
Optional: No
Call by Reference: Yes

ID_APPLID -

Data type: FPB_APPID
Optional: No
Call by Reference: Yes

ID_FIELDNAME -

Data type: FIELDNAME
Optional: No
Call by Reference: Yes

ID_SUBCONTEXT -

Data type: FPB_APPSUBCON
Optional: Yes
Call by Reference: Yes

ID_DATEFROM -

Data type: DATUM
Optional: Yes
Call by Reference: Yes

ID_DATETO -

Data type: DATUM
Optional: Yes
Call by Reference: Yes

ID_ORIGIN -

Data type: FPB_ORIGIN
Optional: No
Call by Reference: Yes

ID_NOAUTH -

Data type: FPB_NOAUTH
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FPB_CMPERS_POST_APPLID

ET_RETURN -

Data type: FPB_PERS_T_BAPIRETURN1
Optional: No
Call by Reference: Yes

EXCEPTIONS details

POSTING_ERROR -

Data type:
Optional: No
Call by Reference: Yes

FIELDNAME_NOT_VALID -

Data type:
Optional: No
Call by Reference: Yes

APPLID_NOT_VALID -

Data type:
Optional: No
Call by Reference: Yes

DATE_NOT_VALID -

Data type:
Optional: No
Call by Reference: Yes

ORIGIN_NOT_VALID -

Data type:
Optional: No
Call by Reference: Yes

FIELDTYPE_NOT_VALID -

Data type:
Optional: No
Call by Reference: Yes

NO_KOKRS_FOUND -

Data type:
Optional: No
Call by Reference: Yes

NO_AUTHORIZATION -

Data type:
Optional: No
Call by Reference: Yes

INPUT_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FPB_CMPERS_POST_APPLID 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_et_return  TYPE FPB_PERS_T_BAPIRETURN1, "   
lv_id_pers_keytp  TYPE FPB_KEYTP, "   
lv_posting_error  TYPE FPB_KEYTP, "   
lv_id_test  TYPE FLAG, "   
lv_id_frontend  TYPE CHAR1, "   SPACE
lv_it_cmpersparm_post  TYPE FPB_T_CMPERSPARMPOST, "   
lv_it_context_database  TYPE FPB_T_CONTEXT_DATA, "   
lv_it_context_posting  TYPE FPB_T_CONTEXT_DATA, "   
lv_id_perskey  TYPE FPB_KEY, "   
lv_fieldname_not_valid  TYPE FPB_KEY, "   
lv_id_applid  TYPE FPB_APPID, "   
lv_applid_not_valid  TYPE FPB_APPID, "   
lv_id_fieldname  TYPE FIELDNAME, "   
lv_date_not_valid  TYPE FIELDNAME, "   
lv_id_subcontext  TYPE FPB_APPSUBCON, "   
lv_origin_not_valid  TYPE FPB_APPSUBCON, "   
lv_id_datefrom  TYPE DATUM, "   
lv_fieldtype_not_valid  TYPE DATUM, "   
lv_id_dateto  TYPE DATUM, "   
lv_no_kokrs_found  TYPE DATUM, "   
lv_id_origin  TYPE FPB_ORIGIN, "   
lv_no_authorization  TYPE FPB_ORIGIN, "   
lv_id_noauth  TYPE FPB_NOAUTH, "   SPACE
lv_input_error  TYPE FPB_NOAUTH. "   

  CALL FUNCTION 'FPB_CMPERS_POST_APPLID'  "
    EXPORTING
         ID_PERS_KEYTP = lv_id_pers_keytp
         ID_TEST = lv_id_test
         ID_FRONTEND = lv_id_frontend
         IT_CMPERSPARM_POST = lv_it_cmpersparm_post
         IT_CONTEXT_DATABASE = lv_it_context_database
         IT_CONTEXT_POSTING = lv_it_context_posting
         ID_PERSKEY = lv_id_perskey
         ID_APPLID = lv_id_applid
         ID_FIELDNAME = lv_id_fieldname
         ID_SUBCONTEXT = lv_id_subcontext
         ID_DATEFROM = lv_id_datefrom
         ID_DATETO = lv_id_dateto
         ID_ORIGIN = lv_id_origin
         ID_NOAUTH = lv_id_noauth
    IMPORTING
         ET_RETURN = lv_et_return
    EXCEPTIONS
        POSTING_ERROR = 1
        FIELDNAME_NOT_VALID = 2
        APPLID_NOT_VALID = 3
        DATE_NOT_VALID = 4
        ORIGIN_NOT_VALID = 5
        FIELDTYPE_NOT_VALID = 6
        NO_KOKRS_FOUND = 7
        NO_AUTHORIZATION = 8
        INPUT_ERROR = 9
. " FPB_CMPERS_POST_APPLID




ABAP code using 7.40 inline data declarations to call FM FPB_CMPERS_POST_APPLID

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.

 
 
 
 
DATA(ld_id_frontend) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_id_noauth) = ' '.
 
 


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!