FMCA_SAMPLE_P124 is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name FMCA_SAMPLE_P124 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FMCA_COV0
Released Date:
18.07.2002
Processing type: Normal fucntion module
CALL FUNCTION 'FMCA_SAMPLE_P124' "BP Overview - Event P124: Tree Structure Column Description
EXPORTING
* i_bus000_ext = " bus000_ext CBP: Read general data plus standard address
* i_description_name = " bus000flds-descrip Short name of business partner
* i_description_long = " bus000flds-descrip_long Description of a Business Partner
* i_vkont_struc = " fmca_cov_acc Structure for the Contract Account Attribute
* i_vtref_struc = " dpsob Contract Object in IS-PS-CA
* i_psob_bp_acc = " dpsob_bp_acc Data for Contract Object for Each Partner & Cont. Acct Cat.
* i_vk_owner = " xfeld Business Partner is the Account Holder
i_account_level = " vkont_kk Contract Account that is Filtered
i_vtref_level = " vtref_kk Contract Object that is Filtered
* i_vtref_tab = " fmca_cov_vtref Business Partner Overview: Attributes for Contracts
* it_md_filter = " fkk_masterdata_t Table with Business Partners, Contract Accounts, Contracts
IMPORTING
text = " text50 Text Field
e_n_image = " treev_node-n_image Icons / Embedded Bitmap / User-Defined Bitmap
e_exp_image = " treev_node-exp_image Icons / Embedded Bitmap / User-Defined Bitmap
. " FMCA_SAMPLE_P124
The ABAP code below is a full code listing to execute function module FMCA_SAMPLE_P124 including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_text | TYPE TEXT50 , |
| ld_e_n_image | TYPE TREEV_NODE-N_IMAGE , |
| ld_e_exp_image | TYPE TREEV_NODE-EXP_IMAGE . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_text | TYPE TEXT50 , |
| ld_i_bus000_ext | TYPE BUS000_EXT , |
| ld_e_n_image | TYPE TREEV_NODE-N_IMAGE , |
| ld_i_description_name | TYPE BUS000FLDS-DESCRIP , |
| ld_e_exp_image | TYPE TREEV_NODE-EXP_IMAGE , |
| ld_i_description_long | TYPE BUS000FLDS-DESCRIP_LONG , |
| ld_i_vkont_struc | TYPE FMCA_COV_ACC , |
| ld_i_vtref_struc | TYPE DPSOB , |
| ld_i_psob_bp_acc | TYPE DPSOB_BP_ACC , |
| ld_i_vk_owner | TYPE XFELD , |
| ld_i_account_level | TYPE VKONT_KK , |
| ld_i_vtref_level | TYPE VTREF_KK , |
| ld_i_vtref_tab | TYPE FMCA_COV_VTREF , |
| ld_it_md_filter | TYPE FKK_MASTERDATA_T . |
Event P124 is used for the business partner overview and is run during
the set up of the tree structure.
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FMCA_SAMPLE_P124 or its description.
FMCA_SAMPLE_P124 - BP Overview - Event P124: Tree Structure Column Description FMCA_SAMPLE_P123 - BP Overview - Event P123: Reading Business Partner Roles FMCA_SAMPLE_P122 - BP Overview - Event P122: Reading Payment List FMCA_SAMPLE_P121 - BP Overview - Event P121: Reading Inbound Correspondence History FMCA_SAMPLE_P120 - BP Overview - Event P120: Reading Correspondence History FMCA_SAMPLE_P102 - PSCD: Calculation Period from Period