J_1AF109 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report calculates the multilateral agreement coefficient for regions to be applied in the selected target year...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 J_1AF109 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_GITYP = Distribution type
Selection Text: S_PROD = Productive run
Selection Text: S_TYEAR = Target year
Title: Multilateral Agreement Coefficient
Text Symbol: H05 = Distribution type:
Text Symbol: H06 = Target year:
Text Symbol: H07 = Region:
Text Symbol: S01 = Other Selections
Text Symbol: T01 = T O T A L S
Text Symbol: U01 = Off.Docm.No.
Text Symbol: U02 = Docum.No./FYear
Text Symbol: U03 = Post.Date
Text Symbol: U04 = Account type/no./name
Text Symbol: U05 = Id document no.
Text Symbol: U06 = Income amount
Text Symbol: U07 = Cost amount
Text Symbol: U08 = Region
Text Symbol: U09 = Total incomes
Text Symbol: U11 = Total cost
Text Symbol: U12 = M.A.Coefficient
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
VENDOR_READ CALL FUNCTION 'VENDOR_READ' EXPORTING I_BUKRS = SPACE I_LIFNR = BSEG-LIFNR IMPORTING E_LFA1 = LFA1.
CUSTOMER_READ CALL FUNCTION 'CUSTOMER_READ' EXPORTING I_BUKRS = SPACE I_KUNNR = BSEG-KUNNR IMPORTING E_KNA1 = KNA1.
J_1A_UPDATE_J1AMACOF CALL FUNCTION 'J_1A_UPDATE_J1AMACOF' EXPORTING I_J1AMACOF = J_1AMACOF I_CHANGE = XCHANGE.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.