SAP Reports / Programs

RFBUST10_P SAP ABAP Report - Cross-Company Code Tax







RFBUST10_P is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for For cross-company code postings, the total tax is only displayed and posted in the first company code...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RFBUST10_P 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 RFBUST10_P. "Basic submit
SUBMIT RFBUST10_P AND RETURN. "Return to original report after report execution complete
SUBMIT RFBUST10_P 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: S_GJAHR = Fiscal year
Selection Text: S_BVORG = Cross-comp. transctn no.
Selection Text: S_BUDAT = Posting date
Selection Text: S_BLART = Document type
Selection Text: POS_PER = Transfer posting period
Selection Text: POS_DAT = Transfer date
Selection Text: Y_BUKRS = Company code
Selection Text: S_VALUT = Calculate value date
Selection Text: S_TAX = Calculate tax proportionally
Selection Text: S_POST = Create transfer postings
Selection Text: S_PKIND = Transfer type
Selection Text: S_MONAT = Fiscal Period
Selection Text: POS_BLA = Doc. type for transfer posting
Selection Text: BTC_LVL = Type of batch input session
Title: Cross-Company Code Tax
Text Symbol: 075 = Value date for the document:
Text Symbol: 076 = Were not entered
Text Symbol: 081 = Company code
Text Symbol: 091 = Value date
Text Symbol: 065 = Base amount
Text Symbol: 066 = Tax code
Text Symbol: 067 = Tax amount
Text Symbol: 068 = Currncy
Text Symbol: 071 = Frm
Text Symbol: 072 = To
Text Symbol: 074 = To posting period
Text Symbol: 073 = From posting period
Text Symbol: 064 = Acct -text
Text Symbol: 006 = Tax code
Text Symbol: 005 = Base amount
Text Symbol: 004 = G/L account - text
Text Symbol: 003 = G/L account no.
Text Symbol: 002 = Company code
Text Symbol: 001 = To company code
Text Symbol: 063 = G/L act
Text Symbol: 062 = Doc. no.
Text Symbol: 061 = Intercompany no.
Text Symbol: 020 = Total per company code





Text Symbol: 010 = Total per tax code
Text Symbol: 007 = Tax amount
Text Symbol: 092 = Number of days to upper limit
Text Symbol: 112 = Settings for transfer posting
Text Symbol: 111 = Technical setting
Text Symbol: 110 = Selection parameters
Text Symbol: 100 = To enable the value date to be calculated, enter a time period.
Text Symbol: 094 = Average number of days
Text Symbol: 093 = No. days X amount
Text Symbol: 601 = The local currency is different to that in other comp. codes
Text Symbol: 400 = Transfer
Text Symbol: 303 = Batch input sessions created
Text Symbol: 301 = One company code uses a different fiscal year variant


INCLUDES used within this REPORT RFBUST10_P

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:

BUKRS_AUTHORITY_CHECK CALL FUNCTION 'BUKRS_AUTHORITY_CHECK' EXPORTING XDATABASE = 'B' TABLES XBUKREIS = Y_BUKRS.

POPUP_NO_LIST CALL FUNCTION 'POPUP_NO_LIST'.

POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING I_TCODE = TCODE IMPORTING E_SUBRC = SUBRC E_MSGID = MSGID E_MSGTY = MSGTY E_MSGNO = MSGNO E_MSGV1 = MSGV1 E_MSGV2 = MSGV2 E_MSGV3 = MSGV3 E_MSGV4 = MSGV4 TABLES T_FTPOST = FTPOST T_FTTAX = FTTAX T_BLNTAB = BLNTAB.

POPUP_NO_LIST CALL FUNCTION 'POPUP_NO_LIST'.

CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING I_BUKRS = XBVOR-BUKRS I_MWSKZ = BSET-MWSKZ I_WAERS = BKPF-WAERS I_WRBTR = BSEG-DMBTR IMPORTING * E_FWNAV = I01 E_FWSTE = TTAB-HWSTE TABLES T_MWDAT = T_MWDAT.

FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING I_GJAHR = SY-DATUM(4) I_PERIV = T001-PERIV I_POPER = PER_LOW IMPORTING E_DATE = DAT_LOW EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.

LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING I_GJAHR = SY-DATUM(4) I_PERIV = T001-PERIV I_POPER = PER_HIGH IMPORTING E_DATE = DAT_HIGH EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.

POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING I_FUNCTION = ZFUNCTION I_GROUP = ZMAPPE I_UPDATE = 'S' I_USER = SY-UNAME.

POSTING_INTERFACE_END CALL FUNCTION 'POSTING_INTERFACE_END'.



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