SAP Function Modules

FVD_API_CONTAB_POSITION_DET SAP Function module







FVD_API_CONTAB_POSITION_DET 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 FVD_API_CONTAB_POSITION_DET into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: FVD_API_CONTAB
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM FVD_API_CONTAB_POSITION_DET - FVD API CONTAB POSITION DET





CALL FUNCTION 'FVD_API_CONTAB_POSITION_DET' "
  EXPORTING
    i_layer_buffer = 'O'        " tb_s_layer_buffer_for_read
*   i_bukrs =                   " bukrs
    i_valid_as_of = SY-DATLO    " tb_cond_valid_as_of
*   i_version =                 " tb_fico_contab_version
*   i_prodint =                 " tb_pr_prodint
    i_tab_cond_types_requ_int =   " trty_cond_sel_crit_int
    i_pos_defining_param =      " rfico_pos_sel_criteria_ext
*   i_all_assigned_conds = SPACE  " xfeld
  IMPORTING
    e_tab_cond_pos =            " trty_cond_pos_view
    e_tab_cond_pos_no_succ =    " trty_cond_pos_no_succ
    .  "  FVD_API_CONTAB_POSITION_DET

ABAP code example for Function Module FVD_API_CONTAB_POSITION_DET





The ABAP code below is a full code listing to execute function module FVD_API_CONTAB_POSITION_DET 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).

DATA:
ld_e_tab_cond_pos  TYPE TRTY_COND_POS_VIEW ,
ld_e_tab_cond_pos_no_succ  TYPE TRTY_COND_POS_NO_SUCC .

DATA(ld_i_layer_buffer) = 'Check type of data required'.
DATA(ld_i_bukrs) = 'Check type of data required'.
DATA(ld_i_valid_as_of) = 'Check type of data required'.
DATA(ld_i_version) = 'Check type of data required'.
DATA(ld_i_prodint) = 'Check type of data required'.
DATA(ld_i_tab_cond_types_requ_int) = 'Check type of data required'.
DATA(ld_i_pos_defining_param) = 'Check type of data required'.
DATA(ld_i_all_assigned_conds) = 'Check type of data required'. . CALL FUNCTION 'FVD_API_CONTAB_POSITION_DET' EXPORTING i_layer_buffer = ld_i_layer_buffer * i_bukrs = ld_i_bukrs i_valid_as_of = ld_i_valid_as_of * i_version = ld_i_version * i_prodint = ld_i_prodint i_tab_cond_types_requ_int = ld_i_tab_cond_types_requ_int i_pos_defining_param = ld_i_pos_defining_param * i_all_assigned_conds = ld_i_all_assigned_conds IMPORTING e_tab_cond_pos = ld_e_tab_cond_pos e_tab_cond_pos_no_succ = ld_e_tab_cond_pos_no_succ . " FVD_API_CONTAB_POSITION_DET
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_e_tab_cond_pos  TYPE TRTY_COND_POS_VIEW ,
ld_i_layer_buffer  TYPE TB_S_LAYER_BUFFER_FOR_READ ,
ld_e_tab_cond_pos_no_succ  TYPE TRTY_COND_POS_NO_SUCC ,
ld_i_bukrs  TYPE BUKRS ,
ld_i_valid_as_of  TYPE TB_COND_VALID_AS_OF ,
ld_i_version  TYPE TB_FICO_CONTAB_VERSION ,
ld_i_prodint  TYPE TB_PR_PRODINT ,
ld_i_tab_cond_types_requ_int  TYPE TRTY_COND_SEL_CRIT_INT ,
ld_i_pos_defining_param  TYPE RFICO_POS_SEL_CRITERIA_EXT ,
ld_i_all_assigned_conds  TYPE XFELD .

ld_i_layer_buffer = 'Check type of data required'.
ld_i_bukrs = 'Check type of data required'.
ld_i_valid_as_of = 'Check type of data required'.
ld_i_version = 'Check type of data required'.
ld_i_prodint = 'Check type of data required'.
ld_i_tab_cond_types_requ_int = 'Check type of data required'.
ld_i_pos_defining_param = 'Check type of data required'.
ld_i_all_assigned_conds = 'Check type of data required'.

Contribute (Add Comments)

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 FVD_API_CONTAB_POSITION_DET or its description.