SAP Reports / Programs | Sales and Distribution | Billing(SD-BIL) SAP SD

GNBILLDL SAP ABAP Report - Maintain Billing Due List







GNBILLDL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter GNBILLDL into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

VF08 - Billing for ext. delivery


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT GNBILLDL. "Basic submit
SUBMIT GNBILLDL AND RETURN. "Return to original report after report execution complete
SUBMIT GNBILLDL VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: NO_FAKSK = No docs with billing block
Selection Text: PV_FBUDA = Date of services rendered
Selection Text: PV_FKART = Billing Type
Selection Text: PV_FKDAT = Billing Date
Selection Text: PV_PRSDT = Pricing Date
Selection Text: P_ALLEA = Order-Related
Selection Text: P_ALLEB = Rebate-Related
Selection Text: P_ALLEI = Intercompany Billing
Selection Text: P_ALLEL = Delivery-Related
Selection Text: P_ANZEI = List Display
Selection Text: P_FKART = Billing Type
Selection Text: P_FKDAB = To
Selection Text: P_FKDAT = Billing Date From
Selection Text: P_KUNNR = Sold-To Party
Selection Text: P_LLAND = Destination Country
Selection Text: P_PDSTK = Documents with POD Status
Selection Text: P_PROTO = Issue Collectve Processing Log
Selection Text: P_SORT = Sort Criterion
Selection Text: P_UTASY = Asynchronous
Selection Text: P_UTSNL = Synchronous via VB log
Selection Text: P_UTSWL = Synchronous w/o VB log
Selection Text: P_VKORG = Sales Organization
Selection Text: S_AUFTR = Order
Selection Text: S_SPART = Division
Selection Text: S_VBELN = Sales Document
Selection Text: S_VSTEL = Shipping Point
Selection Text: S_VTWEG = Distribution Channel
Title: Maintain Billing Due List
Text Symbol: 056 = Do you want to maintain the
Text Symbol: 057 = billing due list?
Text Symbol: A01 = Billing Data
Text Symbol: A02 = Customer Data
Text Symbol: A03 = Documents to be selected
Text Symbol: A04 = a04
Text Symbol: A05 = Output Data for Batch Processing
Text Symbol: A07 = Update
Text Symbol: A11 = Commerc.Invoice
Text Symbol: O01 = Organizat. Data





Text Symbol: P01 = Billing Date From
Text Symbol: P02 = To
Text Symbol: P05 = p05
Text Symbol: P06 = ListDisplay
Text Symbol: P07 = Rebate-related
Text Symbol: P08 = Intercompany Billing
Text Symbol: P09 = Order-related
Text Symbol: P10 = Delivery-related
Text Symbol: P11 = Issue Collectve Processing Log
Text Symbol: P13 = Before Goods Issue
Text Symbol: P14 = Order
Text Symbol: PT5 = Maintain Billing Due Lst
Text Symbol: S02 = Addit. Data
Text Symbol: TT1 = Default data
Text Symbol: U01 = Asynchronous
Text Symbol: U02 = Synchronous via VB log
Text Symbol: U03 = Synchronous w/o VB log


INCLUDES used within this REPORT GNBILLDL

INCLUDE GNREUSE_GLOBAL_DATA.
INCLUDE GNREUSE_LOCAL_DATA.
INCLUDE GNREUSE_FORMS.


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

RS_SUBMIT_INFO CALL FUNCTION 'RS_SUBMIT_INFO' IMPORTING p_submit_info = ls_submit_info.

RS_SET_SELSCREEN_STATUS call function 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = 'SELK' TABLES p_exclude = exclude EXCEPTIONS others = 1.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-pt5 textline1 = text-056 textline2 = text-057 IMPORTING answer = ld_answer.

GN_COLLECTIVE_RUN_EXECUTE call function 'GN_COLLECTIVE_RUN_EXECUTE' EXPORTING v60p_input_rv60a = rv60a id_utasy = p_utasy id_utswl = p_utswl id_utsnl = p_utsnl IMPORTING v60p_output_vbsk = lt_vbsk TABLES gn_input_vkdfif = gt_fvkdfign v60p_output_vbfs = lt_vbfs v60p_output_vbss = lt_vbss EXCEPTIONS others = 1.

VBSK_ALV_DISPLAY call function 'VBSK_ALV_DISPLAY' TABLES i_vbsk = lt_vbsk EXCEPTIONS others = 1.

REUSE_ALV_VARIANT_SELECT call function 'REUSE_ALV_VARIANT_SELECT' EXPORTING i_dialog = 'X' i_user_specific = 'A' i_default = space it_default_fieldcat = gs_sd_alv-fieldcat[] i_layout = gs_sd_alv-layout IMPORTING et_fieldcat = gs_sd_alv-fieldcat[] et_sort = gs_sd_alv-sort[] et_filter = gs_sd_alv-filter[] CHANGING cs_variant = gs_sd_alv-variant EXCEPTIONS wrong_input = 1 fc_not_complete = 2 not_found = 3 program_error = 4 others = 5.

GN_COLLECTIVE_RUN_EXECUTE call function 'GN_COLLECTIVE_RUN_EXECUTE' EXPORTING v60p_input_rv60a = rv60a id_utasy = p_utasy id_utswl = p_utswl id_utsnl = p_utsnl IMPORTING v60p_output_vbsk = lt_vbsk TABLES gn_input_vkdfif = gt_fvkdfign v60p_output_vbfs = lt_vbfs v60p_output_vbss = lt_vbss EXCEPTIONS others = 1.

VBSK_ALV_DISPLAY call function 'VBSK_ALV_DISPLAY' TABLES i_vbsk = lt_vbsk EXCEPTIONS others = 1.

VBFS_TREE_LIST_DISPLAY





CALL FUNCTION 'VBFS_TREE_LIST_DISPLAY' TABLES i_vbfs = lt_vbfs EXCEPTIONS OTHERS = 1.

VBSS_ALV_DISPLAY CALL FUNCTION 'VBSS_ALV_DISPLAY' EXPORTING smart = 'F' TABLES i_vbss = lt_vbss i_fvbss = lt_fvbss.

ITEM_BILLING_STATUS_GET call function 'ITEM_BILLING_STATUS_GET' EXPORTING id_vor_wa = ld_vor_wa TABLES it_billstat = lt_billstat EXCEPTIONS error_01 = 1 others = 2.

RV_READ_INVOICE_INDEX call function 'RV_READ_INVOICE_INDEX' EXPORTING comwa = vbco7 no_billing_block = vbco7-no_faksk default_billing_type = rv60a-fkart TABLES lvkdfi = p_gt_fvkdfi s_kunnr = p_s_kunnr s_vbeln = p_s_vbeln s_lland = p_s_lland s_fkart = p_s_fkart s_sortkri = p_s_sortkri s_vtweg = p_s_vtweg s_spart = p_s_spart s_vstel = p_s_vstel EXCEPTIONS others = 1.

ITEM_BILLING_STATUS_GET call function 'ITEM_BILLING_STATUS_GET' TABLES it_billstat = lt_billstat EXCEPTIONS ERROR_01 = 1 OTHERS = 2.

SD_VF04_CALL_CUSTOMER_FUNCTION call function 'SD_VF04_CALL_CUSTOMER_FUNCTION' TABLES c_vkdfif = p_gt_fvkdfign EXCEPTIONS others = 1.

GNVKDFS_ALV_DISPLAY call function 'GNVKDFS_ALV_DISPLAY' EXPORTING i_vkdfs_fieldcat_progname = 'GNBILLDL' i_vkdfs_fieldcat_int_tabname = 'GT_FVKDFIGN' i_vkdfs_fieldcat_inclname = 'GNBILLDL' i_default_data = p_rv60a i_variant = gs_sd_alv-variant TABLES i_fvkdfi = p_gt_fvkdfign EXCEPTIONS others = 1.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name GNBILLDL or its description.