SAP Function Modules

GEN_EBPP_GET_DATA SAP Function module







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

Associated Function Group: GEN_EBPP
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM GEN_EBPP_GET_DATA - GEN EBPP GET DATA





CALL FUNCTION 'GEN_EBPP_GET_DATA' "
  EXPORTING
    i_controldata =             " genebpp_control  FSCM Biller Direct: Check Data
    i_partner =                 " genebpp_partner  SAP Biller Direct: Partner Data
*   i_addsel =                  " genebpp_addsel  Biller Direct: Additional Selection Data
*   i_dmselection =             " genebpp_dmselection  Biller Direct: Parameters for Selection of Dispute Cases
*   i_range_bukrs =             " fkk_rt_bukrs  Selection Table for Company Codes
*   i_range_vkont =             " fkk_rt_vkont
*   i_range_gpart =             " fkk_rt_gpart
*   i_range_vtref =             " fkk_rt_vtref
*   i_range_budat =             " fkk_rt_budat
*   i_range_persl =             " fkk_rt_persl  Range Table for Periods Key
*   i_range_abtyp =             " fkk_rt_abtyp  Range Table ABTYP_PS (Revenue Type)
*   i_range_fbnum =             " fkk_rt_fbnum  Ranges Table FBNUM_PS (Form Bundle Number)
  IMPORTING
    e_returncode =              " sy-subrc      Return Value, Return Value after ABAP Statements
    e_credits =                 " genebpp_credits  FSCM Biller Direct: Totals Information
    e_partner =                 " genebpp_partner  SAP Biller Direct: Partner Data
    e_dispute_control =         " tfkdmc        Dispute Management: General Settings
    return =                    " bapiret1      Return Parameter(s)
* TABLES
*   t_items =                   " genebpp_item  FSCM Biller Direct: Item Data
*   t_invoices =                " genebpp_invoice  FSCM Biller Direct: Bill Data
*   t_allocation =              " genebpp_allocation  FSCM Biller Direct: Assignment Item Data/Bill Data
*   t_mypayments =              " genebpp_mypayments  Biller Direct: My Payments
*   t_payallocation =           " genebpp_payallocation  Biller Direct: Payment Data/Bill Data Assignment
*   t_banks =                   " genebpp_bank  Biller Direct: Bank Data for Partner
*   t_cards =                   " genebpp_card  Biller Direct: Card Data for Partner
*   t_cardtypes =               " genebpp_cardtype  FSCM Biller Direct: Card Types (Institute)
*   t_messages =                " genebpp_msg   FSCM Biller Direct: Messages
*   t_totals =                  " genebpp_totals  Biller Direct: Totals
*   t_init_data =               " genebpp_initdata  Biller Direct: Additional Data for Frontend (Event 1244)
*   t_payexplanation =          " genebpp_payexplanation  Biller Direct: Payment Explanation (G/L Items)
*   t_disputes =                " genebpp_dmdisputes  Biller Direct: Dispute Cases from Dispute Management
*   t_disputes_allocation =     " genebpp_dm_allocation  Biller Direct: Assignment of Dispute Cases/Invoices
*   t_guids =                   " genebpp_guids  Biller Direct: Dispute Management, GUIDs
*   t_mulsel =                  " genebpp_mulsel  Biller Direct: Further Selection Details (Several Possible)
*   t_cfe =                     " genebpp_extension
    .  "  GEN_EBPP_GET_DATA

ABAP code example for Function Module GEN_EBPP_GET_DATA





The ABAP code below is a full code listing to execute function module GEN_EBPP_GET_DATA 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_returncode  TYPE SY-SUBRC ,
ld_e_credits  TYPE GENEBPP_CREDITS ,
ld_e_partner  TYPE GENEBPP_PARTNER ,
ld_e_dispute_control  TYPE TFKDMC ,
ld_return  TYPE BAPIRET1 ,
it_t_items  TYPE STANDARD TABLE OF GENEBPP_ITEM,"TABLES PARAM
wa_t_items  LIKE LINE OF it_t_items ,
it_t_invoices  TYPE STANDARD TABLE OF GENEBPP_INVOICE,"TABLES PARAM
wa_t_invoices  LIKE LINE OF it_t_invoices ,
it_t_allocation  TYPE STANDARD TABLE OF GENEBPP_ALLOCATION,"TABLES PARAM
wa_t_allocation  LIKE LINE OF it_t_allocation ,
it_t_mypayments  TYPE STANDARD TABLE OF GENEBPP_MYPAYMENTS,"TABLES PARAM
wa_t_mypayments  LIKE LINE OF it_t_mypayments ,
it_t_payallocation  TYPE STANDARD TABLE OF GENEBPP_PAYALLOCATION,"TABLES PARAM
wa_t_payallocation  LIKE LINE OF it_t_payallocation ,
it_t_banks  TYPE STANDARD TABLE OF GENEBPP_BANK,"TABLES PARAM
wa_t_banks  LIKE LINE OF it_t_banks ,
it_t_cards  TYPE STANDARD TABLE OF GENEBPP_CARD,"TABLES PARAM
wa_t_cards  LIKE LINE OF it_t_cards ,
it_t_cardtypes  TYPE STANDARD TABLE OF GENEBPP_CARDTYPE,"TABLES PARAM
wa_t_cardtypes  LIKE LINE OF it_t_cardtypes ,
it_t_messages  TYPE STANDARD TABLE OF GENEBPP_MSG,"TABLES PARAM
wa_t_messages  LIKE LINE OF it_t_messages ,
it_t_totals  TYPE STANDARD TABLE OF GENEBPP_TOTALS,"TABLES PARAM
wa_t_totals  LIKE LINE OF it_t_totals ,
it_t_init_data  TYPE STANDARD TABLE OF GENEBPP_INITDATA,"TABLES PARAM
wa_t_init_data  LIKE LINE OF it_t_init_data ,
it_t_payexplanation  TYPE STANDARD TABLE OF GENEBPP_PAYEXPLANATION,"TABLES PARAM
wa_t_payexplanation  LIKE LINE OF it_t_payexplanation ,
it_t_disputes  TYPE STANDARD TABLE OF GENEBPP_DMDISPUTES,"TABLES PARAM
wa_t_disputes  LIKE LINE OF it_t_disputes ,
it_t_disputes_allocation  TYPE STANDARD TABLE OF GENEBPP_DM_ALLOCATION,"TABLES PARAM
wa_t_disputes_allocation  LIKE LINE OF it_t_disputes_allocation ,
it_t_guids  TYPE STANDARD TABLE OF GENEBPP_GUIDS,"TABLES PARAM
wa_t_guids  LIKE LINE OF it_t_guids ,
it_t_mulsel  TYPE STANDARD TABLE OF GENEBPP_MULSEL,"TABLES PARAM
wa_t_mulsel  LIKE LINE OF it_t_mulsel ,
it_t_cfe  TYPE STANDARD TABLE OF GENEBPP_EXTENSION,"TABLES PARAM
wa_t_cfe  LIKE LINE OF it_t_cfe .

DATA(ld_i_controldata) = 'Check type of data required'.
DATA(ld_i_partner) = 'Check type of data required'.
DATA(ld_i_addsel) = 'Check type of data required'.
DATA(ld_i_dmselection) = 'Check type of data required'.
DATA(ld_i_range_bukrs) = 'Check type of data required'.
DATA(ld_i_range_vkont) = 'Check type of data required'.
DATA(ld_i_range_gpart) = 'Check type of data required'.
DATA(ld_i_range_vtref) = 'Check type of data required'.
DATA(ld_i_range_budat) = 'Check type of data required'.
DATA(ld_i_range_persl) = 'Check type of data required'.
DATA(ld_i_range_abtyp) = 'Check type of data required'.
DATA(ld_i_range_fbnum) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_items to it_t_items.

"populate fields of struture and append to itab
append wa_t_invoices to it_t_invoices.

"populate fields of struture and append to itab
append wa_t_allocation to it_t_allocation.

"populate fields of struture and append to itab
append wa_t_mypayments to it_t_mypayments.

"populate fields of struture and append to itab
append wa_t_payallocation to it_t_payallocation.

"populate fields of struture and append to itab
append wa_t_banks to it_t_banks.

"populate fields of struture and append to itab
append wa_t_cards to it_t_cards.

"populate fields of struture and append to itab
append wa_t_cardtypes to it_t_cardtypes.

"populate fields of struture and append to itab
append wa_t_messages to it_t_messages.

"populate fields of struture and append to itab
append wa_t_totals to it_t_totals.

"populate fields of struture and append to itab
append wa_t_init_data to it_t_init_data.

"populate fields of struture and append to itab
append wa_t_payexplanation to it_t_payexplanation.

"populate fields of struture and append to itab
append wa_t_disputes to it_t_disputes.

"populate fields of struture and append to itab
append wa_t_disputes_allocation to it_t_disputes_allocation.

"populate fields of struture and append to itab
append wa_t_guids to it_t_guids.

"populate fields of struture and append to itab
append wa_t_mulsel to it_t_mulsel.

"populate fields of struture and append to itab
append wa_t_cfe to it_t_cfe. . CALL FUNCTION 'GEN_EBPP_GET_DATA' EXPORTING i_controldata = ld_i_controldata i_partner = ld_i_partner * i_addsel = ld_i_addsel * i_dmselection = ld_i_dmselection * i_range_bukrs = ld_i_range_bukrs * i_range_vkont = ld_i_range_vkont * i_range_gpart = ld_i_range_gpart * i_range_vtref = ld_i_range_vtref * i_range_budat = ld_i_range_budat * i_range_persl = ld_i_range_persl * i_range_abtyp = ld_i_range_abtyp * i_range_fbnum = ld_i_range_fbnum IMPORTING e_returncode = ld_e_returncode e_credits = ld_e_credits e_partner = ld_e_partner e_dispute_control = ld_e_dispute_control return = ld_return * TABLES * t_items = it_t_items * t_invoices = it_t_invoices * t_allocation = it_t_allocation * t_mypayments = it_t_mypayments * t_payallocation = it_t_payallocation * t_banks = it_t_banks * t_cards = it_t_cards * t_cardtypes = it_t_cardtypes * t_messages = it_t_messages * t_totals = it_t_totals * t_init_data = it_t_init_data * t_payexplanation = it_t_payexplanation * t_disputes = it_t_disputes * t_disputes_allocation = it_t_disputes_allocation * t_guids = it_t_guids * t_mulsel = it_t_mulsel * t_cfe = it_t_cfe . " GEN_EBPP_GET_DATA
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_returncode  TYPE SY-SUBRC ,
ld_i_controldata  TYPE GENEBPP_CONTROL ,
it_t_items  TYPE STANDARD TABLE OF GENEBPP_ITEM ,
wa_t_items  LIKE LINE OF it_t_items,
ld_e_credits  TYPE GENEBPP_CREDITS ,
ld_i_partner  TYPE GENEBPP_PARTNER ,
it_t_invoices  TYPE STANDARD TABLE OF GENEBPP_INVOICE ,
wa_t_invoices  LIKE LINE OF it_t_invoices,
ld_e_partner  TYPE GENEBPP_PARTNER ,
ld_i_addsel  TYPE GENEBPP_ADDSEL ,
it_t_allocation  TYPE STANDARD TABLE OF GENEBPP_ALLOCATION ,
wa_t_allocation  LIKE LINE OF it_t_allocation,
ld_e_dispute_control  TYPE TFKDMC ,
ld_i_dmselection  TYPE GENEBPP_DMSELECTION ,
it_t_mypayments  TYPE STANDARD TABLE OF GENEBPP_MYPAYMENTS ,
wa_t_mypayments  LIKE LINE OF it_t_mypayments,
ld_return  TYPE BAPIRET1 ,
ld_i_range_bukrs  TYPE FKK_RT_BUKRS ,
it_t_payallocation  TYPE STANDARD TABLE OF GENEBPP_PAYALLOCATION ,
wa_t_payallocation  LIKE LINE OF it_t_payallocation,
it_t_banks  TYPE STANDARD TABLE OF GENEBPP_BANK ,
wa_t_banks  LIKE LINE OF it_t_banks,
ld_i_range_vkont  TYPE FKK_RT_VKONT ,
it_t_cards  TYPE STANDARD TABLE OF GENEBPP_CARD ,
wa_t_cards  LIKE LINE OF it_t_cards,
ld_i_range_gpart  TYPE FKK_RT_GPART ,
it_t_cardtypes  TYPE STANDARD TABLE OF GENEBPP_CARDTYPE ,
wa_t_cardtypes  LIKE LINE OF it_t_cardtypes,
ld_i_range_vtref  TYPE FKK_RT_VTREF ,
it_t_messages  TYPE STANDARD TABLE OF GENEBPP_MSG ,
wa_t_messages  LIKE LINE OF it_t_messages,
ld_i_range_budat  TYPE FKK_RT_BUDAT ,
ld_i_range_persl  TYPE FKK_RT_PERSL ,
it_t_totals  TYPE STANDARD TABLE OF GENEBPP_TOTALS ,
wa_t_totals  LIKE LINE OF it_t_totals,
ld_i_range_abtyp  TYPE FKK_RT_ABTYP ,
it_t_init_data  TYPE STANDARD TABLE OF GENEBPP_INITDATA ,
wa_t_init_data  LIKE LINE OF it_t_init_data,
it_t_payexplanation  TYPE STANDARD TABLE OF GENEBPP_PAYEXPLANATION ,
wa_t_payexplanation  LIKE LINE OF it_t_payexplanation,
ld_i_range_fbnum  TYPE FKK_RT_FBNUM ,
it_t_disputes  TYPE STANDARD TABLE OF GENEBPP_DMDISPUTES ,
wa_t_disputes  LIKE LINE OF it_t_disputes,
it_t_disputes_allocation  TYPE STANDARD TABLE OF GENEBPP_DM_ALLOCATION ,
wa_t_disputes_allocation  LIKE LINE OF it_t_disputes_allocation,
it_t_guids  TYPE STANDARD TABLE OF GENEBPP_GUIDS ,
wa_t_guids  LIKE LINE OF it_t_guids,
it_t_mulsel  TYPE STANDARD TABLE OF GENEBPP_MULSEL ,
wa_t_mulsel  LIKE LINE OF it_t_mulsel,
it_t_cfe  TYPE STANDARD TABLE OF GENEBPP_EXTENSION ,
wa_t_cfe  LIKE LINE OF it_t_cfe.

ld_i_controldata = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_items to it_t_items.
ld_i_partner = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_invoices to it_t_invoices.
ld_i_addsel = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_allocation to it_t_allocation.
ld_i_dmselection = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_mypayments to it_t_mypayments.
ld_i_range_bukrs = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_payallocation to it_t_payallocation.

"populate fields of struture and append to itab
append wa_t_banks to it_t_banks.
ld_i_range_vkont = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_cards to it_t_cards.
ld_i_range_gpart = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_cardtypes to it_t_cardtypes.
ld_i_range_vtref = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_messages to it_t_messages.
ld_i_range_budat = 'Check type of data required'.
ld_i_range_persl = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_totals to it_t_totals.
ld_i_range_abtyp = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_init_data to it_t_init_data.

"populate fields of struture and append to itab
append wa_t_payexplanation to it_t_payexplanation.
ld_i_range_fbnum = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_disputes to it_t_disputes.

"populate fields of struture and append to itab
append wa_t_disputes_allocation to it_t_disputes_allocation.

"populate fields of struture and append to itab
append wa_t_guids to it_t_guids.

"populate fields of struture and append to itab
append wa_t_mulsel to it_t_mulsel.

"populate fields of struture and append to itab
append wa_t_cfe to it_t_cfe.

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