SAP FCLM_BAM_PARSE_CHGDOC Function Module for Parse change document









FCLM_BAM_PARSE_CHGDOC is a standard fclm bam parse chgdoc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Parse change document 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 fclm bam parse chgdoc FM, simply by entering the name FCLM_BAM_PARSE_CHGDOC into the relevant SAP transaction such as SE37 or SE38.

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



Function FCLM_BAM_PARSE_CHGDOC 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 'FCLM_BAM_PARSE_CHGDOC'"Parse change document
EXPORTING
IT_CHANGENR = "Internal Table CDHDR
* IV_PLANNED = ' ' "Boolean Variable (X=True, -=False, Space=Unknown)
* IS_CHGREQ = "Change request for bank account master data

IMPORTING
ET_EDITPOST = "Table Type for Structure CDSHW

TABLES
IT_ACCOUNT_ORG = "Bank Account Master Data
ET_ACCOUNT_T_NEW = "Bank Account Master Data: Text table of Account Description
IT_ACCOUNT_LNK_ORG = "Linkages Between Bank Account and House Bank Accounts
ET_ACCOUNT_LNK_NEW = "Linkages Between Bank Account and House Bank Accounts
ET_ACCOUNT_NEW = "Bank Account Master Data
IT_ACCOUNT_CUR_ORG = "Bank Account Master Data: Supported Currencies of Account
ET_ACCOUNT_CUR_NEW = "Bank Account Master Data: Supported Currencies of Account
IT_ACCOUNT_LIM_ORG = "Bank Account Master Data: Overdraft Limit
ET_ACCOUNT_LIM_NEW = "Bank Account Master Data: Overdraft Limit
IT_ACCOUNT_SIG_ORG = "Bank Account Master Data: Signatory
ET_ACCOUNT_SIG_NEW = "Bank Account Master Data: Signatory
IT_ACCOUNT_T_ORG = "Bank Account Master Data: Text table of Account Description
.



IMPORTING Parameters details for FCLM_BAM_PARSE_CHGDOC

IT_CHANGENR - Internal Table CDHDR

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

IV_PLANNED - Boolean Variable (X=True, -=False, Space=Unknown)

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

IS_CHGREQ - Change request for bank account master data

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

EXPORTING Parameters details for FCLM_BAM_PARSE_CHGDOC

ET_EDITPOST - Table Type for Structure CDSHW

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

TABLES Parameters details for FCLM_BAM_PARSE_CHGDOC

IT_ACCOUNT_ORG - Bank Account Master Data

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

ET_ACCOUNT_T_NEW - Bank Account Master Data: Text table of Account Description

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

IT_ACCOUNT_LNK_ORG - Linkages Between Bank Account and House Bank Accounts

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

ET_ACCOUNT_LNK_NEW - Linkages Between Bank Account and House Bank Accounts

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

ET_ACCOUNT_NEW - Bank Account Master Data

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

IT_ACCOUNT_CUR_ORG - Bank Account Master Data: Supported Currencies of Account

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

ET_ACCOUNT_CUR_NEW - Bank Account Master Data: Supported Currencies of Account

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

IT_ACCOUNT_LIM_ORG - Bank Account Master Data: Overdraft Limit

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

ET_ACCOUNT_LIM_NEW - Bank Account Master Data: Overdraft Limit

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

IT_ACCOUNT_SIG_ORG - Bank Account Master Data: Signatory

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

ET_ACCOUNT_SIG_NEW - Bank Account Master Data: Signatory

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

IT_ACCOUNT_T_ORG - Bank Account Master Data: Text table of Account Description

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

Copy and paste ABAP code example for FCLM_BAM_PARSE_CHGDOC 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_editpost  TYPE CDSHW_TAB, "   
lv_it_changenr  TYPE FCLM_BAM_T_CHANGENR, "   
lt_it_account_org  TYPE STANDARD TABLE OF FCLM_BAM_AMD, "   
lt_et_account_t_new  TYPE STANDARD TABLE OF FCLM_BAM_AMD_T, "   
lt_it_account_lnk_org  TYPE STANDARD TABLE OF FCLM_BAM_ACLINK2, "   
lt_et_account_lnk_new  TYPE STANDARD TABLE OF FCLM_BAM_ACLINK2, "   
lv_iv_planned  TYPE BOOLEAN, "   SPACE
lt_et_account_new  TYPE STANDARD TABLE OF FCLM_BAM_AMD, "   
lv_is_chgreq  TYPE FCLM_BAM_REQ, "   
lt_it_account_cur_org  TYPE STANDARD TABLE OF FCLM_BAM_AMD_CUR, "   
lt_et_account_cur_new  TYPE STANDARD TABLE OF FCLM_BAM_AMD_CUR, "   
lt_it_account_lim_org  TYPE STANDARD TABLE OF FCLM_BAM_AMD_LIM, "   
lt_et_account_lim_new  TYPE STANDARD TABLE OF FCLM_BAM_AMD_LIM, "   
lt_it_account_sig_org  TYPE STANDARD TABLE OF FCLM_BAM_SIG, "   
lt_et_account_sig_new  TYPE STANDARD TABLE OF FCLM_BAM_SIG, "   
lt_it_account_t_org  TYPE STANDARD TABLE OF FCLM_BAM_AMD_T. "   

  CALL FUNCTION 'FCLM_BAM_PARSE_CHGDOC'  "Parse change document
    EXPORTING
         IT_CHANGENR = lv_it_changenr
         IV_PLANNED = lv_iv_planned
         IS_CHGREQ = lv_is_chgreq
    IMPORTING
         ET_EDITPOST = lv_et_editpost
    TABLES
         IT_ACCOUNT_ORG = lt_it_account_org
         ET_ACCOUNT_T_NEW = lt_et_account_t_new
         IT_ACCOUNT_LNK_ORG = lt_it_account_lnk_org
         ET_ACCOUNT_LNK_NEW = lt_et_account_lnk_new
         ET_ACCOUNT_NEW = lt_et_account_new
         IT_ACCOUNT_CUR_ORG = lt_it_account_cur_org
         ET_ACCOUNT_CUR_NEW = lt_et_account_cur_new
         IT_ACCOUNT_LIM_ORG = lt_it_account_lim_org
         ET_ACCOUNT_LIM_NEW = lt_et_account_lim_new
         IT_ACCOUNT_SIG_ORG = lt_it_account_sig_org
         ET_ACCOUNT_SIG_NEW = lt_et_account_sig_new
         IT_ACCOUNT_T_ORG = lt_it_account_t_org
. " FCLM_BAM_PARSE_CHGDOC




ABAP code using 7.40 inline data declarations to call FM FCLM_BAM_PARSE_CHGDOC

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_iv_planned) = ' '.
 
 
 
 
 
 
 
 
 
 


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!