SAP Reports / Programs

RFBUST10 SAP ABAP Report - Cross-Company Code Transfer Posting







RFBUST10 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 due is only displayed and posted in the triggering 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 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. "Basic submit
SUBMIT RFBUST10 AND RETURN. "Return to original report after report execution complete
SUBMIT RFBUST10 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: Y_BUKRS = D .
Selection Text: S_MWSKZ = D .
Selection Text: S_MONAT = D .
Selection Text: S_GJAHR = D .
Selection Text: S_EXTERN = D .
Selection Text: S_BVORG = D .
Selection Text: S_BUDAT = D .
Selection Text: S_BLART = D .
Selection Text: POS_PER = D .
Selection Text: POS_DAT = D .
Selection Text: POS_BLA = D .
Selection Text: BTC_LVL = D .
Selection Text: S_VALUT = Calculate average value date
Selection Text: S_TAX = Calculate tax proportionally
Selection Text: S_SUM = Restrict Output to Totals
Selection Text: S_POSTC = Trfr Pstgs by CrossCompCde Doc
Selection Text: S_POST = Transfer postings by batch in.
Selection Text: S_PKIND = Reduce tax
Title: Cross-Company Code Transfer Posting
Text Symbol: 601 = The local currency is different to that in other comp. codes
Text Symbol: 402 = To
Text Symbol: 401 = From
Text Symbol: 400 = Transfer
Text Symbol: 301 = One company code uses a different fiscal year variant
Text Symbol: 113 = Total:
Text Symbol: 112 = Transfer posting parameters
Text Symbol: 111 = Calculation method
Text Symbol: 110 = Selection of parameters
Text Symbol: 091 = to
Text Symbol: 090 = Doc. CoCode
Text Symbol: 074 = To-posting period
Text Symbol: 073 = From posting period
Text Symbol: 072 = To
Text Symbol: 071 = Fr.
Text Symbol: 010 = Transfer postings
Text Symbol: 006 = Transfer posting to
Text Symbol: 004 = Cross-company code postings
Text Symbol: 003 = Individ. postings





Text Symbol: 002 = Cross-comp.code trans.


INCLUDES used within this REPORT RFBUST10

INCLUDE INCL_TABLES_TYPES.
INCLUDE INCL_DATA_REPORTP.
INCLUDE INCL_DATA_ALV.


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.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID I_TABNAME_HEADER = G_TABNAME_HEADER I_TABNAME_ITEM = G_TABNAME_ITEM I_STRUCTURE_NAME_HEADER = 'TTABSTRUC' I_STRUCTURE_NAME_ITEM = 'TTAB_STRUC_ITEM' IS_KEYINFO = GS_KEYINFO IS_LAYOUT = GS_LAYOUT IT_SORT = GT_SORT IT_FIELDCAT = GT_FIELDCAT[] IT_EXCLUDING = GT_EXCLUDING[] I_SAVE = G_SAVE IS_VARIANT = GS_VARIANT IT_EVENTS = GT_EVENTS[] I_SCREEN_START_COLUMN = 0"Use coordinates for I_SCREEN_START_LINE = 0"display as dialog box I_SCREEN_END_COLUMN = 0 I_SCREEN_END_LINE = 0 IS_PRINT = GS_PRINT IMPORTING E_EXIT_CAUSED_BY_CALLER = G_EXIT_CAUSED_BY_CALLER ES_EXIT_CAUSED_BY_USER = GS_EXIT_CAUSED_BY_USER TABLES T_OUTTAB_HEADER = GT_OUTTAB_HEADER T_OUTTAB_ITEM = GT_OUTTAB_ITEM EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

POPUP_NO_LIST CALL FUNCTION 'POPUP_NO_LIST'. "1873836

CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING I_BUKRS = XBVOR-BUKRS I_MWSKZ = BSET-MWSKZ I_WAERS = BKPF-HWAER * I_WRBTR = BSEG-DMBTR "note 316878 i_wrbtr = ttab-dmbtr "note 316878 IMPORTING E_FWSTE = TTAB-HWSTE TABLES T_MWDAT = T_MWDAT.

POPUP_NO_LIST CALL FUNCTION 'POPUP_NO_LIST'.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING I_BUKRS = XBUKRS IMPORTING E_T001 = T001_STRU EXCEPTIONS SYSTEM_ERROR = 0.

CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING i_bukrs = xbvor-bukrs i_mwskz = bset-mwskz i_waers = ls_bkpf-hwaer i_wrbtr = ttab-dmbtr IMPORTING e_fwste = ttab-hwste TABLES t_mwdat = t_mwdat.



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