SAP BAPI_ACCSERV_CHECKACCASSIGNMT Function Module for BAPI: Object BUS6001 AccountingServices, Method CheckAccountAssignment









BAPI_ACCSERV_CHECKACCASSIGNMT is a standard bapi accserv checkaccassignmt SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for BAPI: Object BUS6001 AccountingServices, Method CheckAccountAssignment 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 bapi accserv checkaccassignmt FM, simply by entering the name BAPI_ACCSERV_CHECKACCASSIGNMT into the relevant SAP transaction such as SE37 or SE38.

Function Group: KACG
Program Name: SAPLKACG
Main Program: SAPLKACG
Appliation area:
Release date: 15-Dec-1998
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_ACCSERV_CHECKACCASSIGNMT 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 'BAPI_ACCSERV_CHECKACCASSIGNMT'"BAPI: Object BUS6001 AccountingServices, Method CheckAccountAssignment
EXPORTING
CHECK_CODINGBLOCK = "Coding block to be validated
* CHECK_CUSTOMERFIELDS = "Customer fields to validate in coding block

IMPORTING
CHANGED_CODINGBLOCK = "Poss. derived coding block
ACCOUNT_ASSIGNMENT_TYPES = "

TABLES
RETURN = "List of errors which occurred
.



IMPORTING Parameters details for BAPI_ACCSERV_CHECKACCASSIGNMT

CHECK_CODINGBLOCK - Coding block to be validated

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

CHECK_CUSTOMERFIELDS - Customer fields to validate in coding block

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

EXPORTING Parameters details for BAPI_ACCSERV_CHECKACCASSIGNMT

CHANGED_CODINGBLOCK - Poss. derived coding block

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

ACCOUNT_ASSIGNMENT_TYPES -

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

TABLES Parameters details for BAPI_ACCSERV_CHECKACCASSIGNMT

RETURN - List of errors which occurred

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

Copy and paste ABAP code example for BAPI_ACCSERV_CHECKACCASSIGNMT 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:
lt_return  TYPE STANDARD TABLE OF BAPIRETURN1, "   
lv_check_codingblock  TYPE BAPICOBL, "   
lv_changed_codingblock  TYPE BAPICOBL, "   
lv_check_customerfields  TYPE BAPICOBL_CUST, "   
lv_account_assignment_types  TYPE BAPICOBL_AAT. "   

  CALL FUNCTION 'BAPI_ACCSERV_CHECKACCASSIGNMT'  "BAPI: Object BUS6001 AccountingServices, Method CheckAccountAssignment
    EXPORTING
         CHECK_CODINGBLOCK = lv_check_codingblock
         CHECK_CUSTOMERFIELDS = lv_check_customerfields
    IMPORTING
         CHANGED_CODINGBLOCK = lv_changed_codingblock
         ACCOUNT_ASSIGNMENT_TYPES = lv_account_assignment_types
    TABLES
         RETURN = lt_return
. " BAPI_ACCSERV_CHECKACCASSIGNMT




ABAP code using 7.40 inline data declarations to call FM BAPI_ACCSERV_CHECKACCASSIGNMT

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.

 
 
 
 
 


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!