SAP Reports / Programs | Financial Accounting | Accounts Receivable | Basic Functions(FI-AR-AR) SAP FI

RBUS3007 SAP ABAP Report - Program for Object Type BUS3007: Customer Account







RBUS3007 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 RBUS3007 into the relevant SAP transactions such as SE38 or SE80


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 RBUS3007. "Basic submit
SUBMIT RBUS3007 AND RETURN. "Return to original report after report execution complete
SUBMIT RBUS3007 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Program for Object Type BUS3007: Customer Account
Text Symbol: 001 = Control data
Text Symbol: 002 = Transaction figures
Text Symbol: 100 = Display customer account
Text Symbol: 101 = Choose


INCLUDES used within this REPORT RBUS3007

No INCLUDES are used within this REPORT code!


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:

BAPI_AR_ACC_GETCURRENTBALANCE CALL FUNCTION 'BAPI_AR_ACC_GETCURRENTBALANCE' EXPORTING COMPANYCODE = OBJECT-KEY-COMPANYCODE CUSTOMER = OBJECT-KEY-CUSTOMER IMPORTING ACTUAL_BALANCE = ACTUALBALANCE RETURN = RETURN EXCEPTIONS OTHERS = 01.

BAPI_AR_ACC_GETBALANCEDITEMS CALL FUNCTION 'BAPI_AR_ACC_GETBALANCEDITEMS' EXPORTING DATE_TO = DATETO DATE_FROM = DATEFROM CUSTOMER = OBJECT-KEY-CUSTOMER COMPANYCODE = OBJECT-KEY-COMPANYCODE IMPORTING RETURN = RETURN TABLES LINEITEMS = LINEITEMS EXCEPTIONS OTHERS = 01.

BAPI_AR_ACC_GETPERIODBALANCES CALL FUNCTION 'BAPI_AR_ACC_GETPERIODBALANCES' EXPORTING COMPANYCODE = OBJECT-KEY-COMPANYCODE CUSTOMER = OBJECT-KEY-CUSTOMER IMPORTING RETURN = RETURN ACTUAL_BALANCE = ACTUALBALANCE TABLES DEBITOR_BALANCES = DEBITORBALANCES DEBITOR_SPECIAL_BALANCES = DEBITORSPECIALBALANC EXCEPTIONS OTHERS = 01.

BAPI_AR_ACC_GETKEYDATEBALANCE CALL FUNCTION 'BAPI_AR_ACC_GETKEYDATEBALANCE' EXPORTING NOTEDITEMS = NOTEDITEMS BALANCESPGLI = BALANCESPGLI KEYDATE = KEYDATE CUSTOMER = OBJECT-KEY-CUSTOMER COMPANYCODE = OBJECT-KEY-COMPANYCODE IMPORTING RETURN = RETURN TABLES KEYBALANCE = KEYBALANCE EXCEPTIONS OTHERS = 01.

BAPI_AR_ACC_GETOPENITEMS CALL FUNCTION 'BAPI_AR_ACC_GETOPENITEMS' EXPORTING NOTEDITEMS = NOTEDITEMS KEYDATE = KEYDATE CUSTOMER = OBJECT-KEY-CUSTOMER COMPANYCODE = OBJECT-KEY-COMPANYCODE IMPORTING RETURN = RETURN TABLES LINEITEMS = LINEITEMS EXCEPTIONS OTHERS = 01.

BAPI_AR_ACC_GETSTATEMENT CALL FUNCTION 'BAPI_AR_ACC_GETSTATEMENT' EXPORTING NOTEDITEMS = NOTEDITEMS DATE_TO = DATETO DATE_FROM = DATEFROM CUSTOMER = OBJECT-KEY-CUSTOMER COMPANYCODE = OBJECT-KEY-COMPANYCODE IMPORTING RETURN = RETURN TABLES LINEITEMS = LINEITEMS EXCEPTIONS OTHERS = 01.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING I_BUKRS = OBJECT-KEY-COMPANYCODE IMPORTING E_T001 = T001 EXCEPTIONS SYSTEM_ERROR = 1 OTHERS = 2.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = SY-DATUM I_PERIV = T001-PERIV IMPORTING E_GJAHR = GJAHR EXCEPTIONS OTHERS = 4.



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