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
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.