FAGL_FC_VAL and GLT0
Hi,
The only way to use new valuation program(fagl_fc_val) is to activate new general ledger property and use faglflext table, am I right? In an upgrade project, they decided to not to activate faglflext table and new g/l property and they decided to go with GLT0 as before, but they also want to use new valuation transaction with valuation areas. Because we did not activate new gl functionality, I have not seen valuation area customizing. Is there any way to use fagl_fc_val together with GLT0?
Thanks.
Hi,
In one of my upgrade projects, we did not activate new gl functionality in financial accounting , and new ecc properties, our customer still continued to use f.05, I guess we don't have use fagl_fc_val.
Thank you.
Similar Messages
-
Download the KTOPL field data and GLT0 table data into one Internal table
Hi,
I have downloaded GLT0 table fields data to PC file . But i need to download KTOPL(Chart Of Accounts) data also. in GLT0 table there is no KTOPL field.
But in SKA1 table have KTOPL field. Then what is the issue is GLT0 data & KTOPL field data needs to download into one Internal Table.
anybody could you please solve this problem. immediately need to solve this.
Below is the code.
REPORT ZFXXEABL_1 NO STANDARD PAGE HEADING
LINE-SIZE 200.
Tables Declaration
TABLES : GLT0.
Data Declaration
DATA : FP(8) TYPE C,
YEAR LIKE GLT0-RYEAR,
PERIOD(3) TYPE C,
DBALANCE LIKE VBAP-NETWR VALUE 0 ,
CBALANCE LIKE VBAP-NETWR VALUE 0.
*Internal table for for final data..
DATA : BEGIN OF REC1 OCCURS 0,
BAL LIKE GLT0-TSLVT value 0,
COAREA LIKE GLT0-RBUSA,
CA(4) TYPE C,
KTOPL LIKE ska1-ktopl,
CCODE LIKE GLT0-BUKRS,
CREDIT LIKE VBAP-NETWR,
CURRENCY LIKE GLT0-RTCUR,
CURTYPE(2) TYPE N,
DEBIT LIKE VBAP-NETWR,
YEAR(8) TYPE C,
FY(2) TYPE C,
ACCOUNT LIKE GLT0-RACCT,
VER LIKE GLT0-RVERS,
VTYPE(2) TYPE N,
CLNT LIKE SY-MANDT,
S_SYS(3) TYPE C,
INDICATOR LIKE GLT0-DRCRK,
END OF REC1.
DATA : C(2) TYPE N,
D(2) TYPE N.
DATA REC1_H LIKE REC1.
Variable declarations
DATA :
W_FILES(4) TYPE N,
W_DEBIT LIKE GLT0-TSLVT,
W_CREDIT LIKE GLT0-TSLVT,
W_PCFILE LIKE RLGRAP-FILENAME ,
W_UNIXFILE LIKE RLGRAP-FILENAME,
W_PCFILE1 LIKE RLGRAP-FILENAME,
W_UNIXFIL1 LIKE RLGRAP-FILENAME,
W_EXT(3) TYPE C,
W_UEXT(3) TYPE C,
W_PATH LIKE RLGRAP-FILENAME,
W_UPATH LIKE RLGRAP-FILENAME,
W_FIRST(1) TYPE C VALUE 'Y',
W_CFIRST(1) TYPE C VALUE 'Y',
W_PCFIL LIKE RLGRAP-FILENAME.
DATA: "REC LIKE GLT0 OCCURS 0 WITH HEADER LINE,
T_TEMP LIKE GLT0 OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF REC3 OCCURS 0.
INCLUDE STRUCTURE GLT0.
DATA: KTOPL LIKE SKA1-KTOPL,
END OF REC3.
DATA: BEGIN OF T_KTOPL OCCURS 0,
KTOPL LIKE SKA1-KTOPL,
SAKNR LIKE SKA1-SAKNR,
END OF T_KTOPL.
Download data.
DATA: BEGIN OF I_REC2 OCCURS 0,
BAL(17), " like GLT0-TSLVT value 0,
COAREA(4), " like glt0-rbusa,
CA(4), " chart of accounts
CCODE(4), " like glt0-bukrs,
CREDIT(17), " like vbap-netwr,
CURRENCY(5), " like glt0-rtcur,
CURTYPE(2), " type n,
DEBIT(17), " like vbap-netwr,
YEAR(8), " type c,
FY(2), " type c, fiscal yr variant
ACCOUNT(10), " like glt0-racct,
VER(3), " like glt0-rvers,
VTYPE(3), " type n,
CLNT(3), "like sy-mandt,
S_SYS(3), "like sy-sysid,
INDICATOR(1), " like glt0-drcrk,
END OF I_REC2.
Selection screen. *
SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME TITLE TEXT-BL1.
SELECT-OPTIONS : COMPCODE FOR GLT0-BUKRS,
GLACC FOR GLT0-RACCT,
FISYEAR FOR GLT0-RYEAR,
no intervals no-extension, "- BG6661-070212
FISCPER FOR GLT0-RPMAX,
busarea for glt0-rbusa,
CURRENCY FOR GLT0-RTCUR.
SELECTION-SCREEN END OF BLOCK BL1.
SELECTION-SCREEN BEGIN OF BLOCK BL2 WITH FRAME TITLE TEXT-BL2.
PARAMETERS:
P_UNIX AS CHECKBOX, "Check box for Unix Option
P_UNFIL LIKE RLGRAP-FILENAME, " Unix file Dnload file name
default '/var/opt/arch/extract/GLT0.ASC', "- BG6661-070212
P_PCFILE AS CHECKBOX, "Check box for Local PC download.
P_PCFIL LIKE RLGRAP-FILENAME " PC file Dnload file name
default 'C:\GLT0.ASC'. "- BG6661-070212
DEFAULT 'C:\glt0_gl_balance_all.asc'. "+ BG6661-070212
SELECTION-SCREEN END OF BLOCK BL2.
*eject
Initialization. *
INITIALIZATION.
Try to default download filename
p_pcfil = c_pcfile.
p_unfil = c_unixfile.
if sy-sysid eq c_n01.
p_unfil = c_unixfile.
endif.
if sy-sysid eq c_g21.
p_unfil = c_g21_unixfile.
endif.
if sy-sysid eq c_g9d.
p_unfil = c_g9d_unixfile.
endif.
Default for download filename
*{ Begin of BG6661-070212
CONCATENATE C_UNIXFILE
SY-SYSID C_FSLASH C_CHRON C_FILENAME INTO P_UNFIL.
*} End of BG6661-070212
AT SELECTION-SCREEN OUTPUT.
loop at screen.
if screen-name = 'P_PCFIL'. "PC FILE
screen-input = '0'.
modify screen.
endif.
if screen-name = 'P_UNFIL'. "UN FILE
screen-input = '0'.
modify screen.
endif.
endloop.
if w_first = 'Y'.
perform path_file.
w_first = 'N'.
endif.
if w_cfirst = 'Y'.
perform cpath_file.
w_cfirst = 'N'.
endif.
Start-of-Selection. *
START-OF-SELECTION.
*COLLECT DATA
PERFORM COLLECT_DATA.
*BUILD FILENAMES
PERFORM BUILD_FILES.
*LOCAL
IF P_PCFILE = C_YES.
PERFORM LOCAL_DOWNLOAD.
ENDIF.
*UNIX
IF P_UNIX = C_YES.
PERFORM UNIX_DOWNLOAD.
ENDIF.
IF P_PCFILE IS INITIAL AND P_UNIX IS INITIAL.
MESSAGE I000(ZL) WITH 'Down load flags both are unchecked'.
ENDIF.
END-OF-SELECTION.
IF P_PCFILE = C_YES.
WRITE :/ 'PC File' , C_UNDER, P_PCFIL.
ENDIF.
*& Form DOWNLOAD
Download *
FORM DOWNLOAD.
P_PCFIL = W_PATH.
DATA LIN TYPE I.
DESCRIBE TABLE I_REC2 LINES LIN.
WRITE:/ 'No of Records downloaded = ',LIN.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
FILENAME = P_PCFIL
FILETYPE = C_ASC "c_dat "dat
TABLES
DATA_TAB = I_REC2 " t_str
fieldnames = t_strhd
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TABLE_WIDTH = 4
INVALID_TYPE = 5
NO_BATCH = 6
UNKNOWN_ERROR = 7
OTHERS = 8.
IF SY-SUBRC EQ 0.
ENDIF.
ENDFORM.
*& Form WRITE_TO_SERVER
text *
--> p1 text
<-- p2 text
FORM WRITE_TO_SERVER.
DATA : L_MSG(100) TYPE C,
L_LINE(5000) TYPE C.
P_UNFIL = W_UPATH.
DATA LIN TYPE I.
DESCRIBE TABLE I_REC2 LINES LIN.
WRITE:/ 'No of Records downloaded = ',LIN.
OPEN DATASET P_UNFIL FOR OUTPUT IN TEXT MODE. " message l_msg.
IF SY-SUBRC <> 0.
WRITE: / L_MSG.
ENDIF.
perform header_text1.
LOOP AT I_REC2.
TRANSFER I_REC2 TO P_UNFIL.
ENDLOOP.
CLOSE DATASET P_UNFIL.
WRITE : / C_TEXT , W_UPATH.
SPLIT W_UNIXFILE AT C_DOT INTO W_UNIXFIL1 W_UEXT.
CLEAR W_UPATH.
IF NOT W_UEXT IS INITIAL.
CONCATENATE W_UNIXFIL1 C_DOT W_UEXT INTO W_UPATH.
ELSE.
W_UEXT = C_ASC. " c_csv.
CONCATENATE W_UNIXFIL1 C_DOT W_UEXT INTO W_UPATH.
ENDIF.
ENDFORM. " WRITE_TO_SERVER
*& Form BUILD_FILES
FORM BUILD_FILES.
IF P_PCFILE = C_YES.
W_PCFILE = P_PCFIL.
***Split path at dot**
SPLIT W_PCFILE AT C_DOT INTO W_PCFILE1 W_EXT.
IF NOT W_EXT IS INITIAL.
CONCATENATE W_PCFILE1 C_DOT W_EXT INTO W_PATH.
ELSE.
W_PATH = W_PCFILE1.
ENDIF.
ENDIF.
IF P_UNIX = C_YES.
W_UNIXFILE = P_UNFIL.
SPLIT W_UNIXFILE AT C_DOT INTO W_UNIXFIL1 W_UEXT.
IF NOT W_UEXT IS INITIAL.
CONCATENATE W_UNIXFIL1 C_DOT W_UEXT INTO W_UPATH.
ELSE.
W_UPATH = W_UNIXFIL1.
ENDIF.
ENDIF.
ENDFORM.
FORM CPATH_FILE.
CLEAR P_PCFIL.
CONCATENATE C_PCFILE
C_COMFILE SY-SYSID C_UNDER SY-DATUM SY-UZEIT
C_DOT C_ASC INTO P_PCFIL.
ENDFORM. " CPATH_FILE
FORM PATH_FILE.
CLEAR P_UNFIL.
if sy-sysid eq c_n01.
CONCATENATE C_UNIXFILE
C_COMFILE SY-SYSID C_UNDER SY-DATUM SY-UZEIT
C_DOT C_ASC INTO P_UNFIL.
endif.
if sy-sysid eq c_g21.
concatenate c_g21_unixfile
c_comfile sy-sysid c_under sy-datum sy-uzeit
c_dot c_asc into p_unfil.
endif.
if sy-sysid eq c_g9d.
concatenate c_g9d_unixfile
c_comfile sy-sysid c_under sy-datum sy-uzeit
c_dot c_asc into p_unfil.
endif.
ENDFORM. " PATH_FILE
Local_Download *
Local *
FORM LOCAL_DOWNLOAD.
perform header_text.
LOOP AT REC1.
REC1-CLNT = SY-MANDT.
REC1-S_SYS = SY-SYSID.
MOVE: REC1-BAL TO I_REC2-BAL,
REC1-COAREA TO I_REC2-COAREA,
REC1-CA TO I_REC2-CA,
REC1-KTOPL TO I_REC2-CA,
REC1-CCODE TO I_REC2-CCODE,
REC1-CREDIT TO I_REC2-CREDIT,
REC1-CURRENCY TO I_REC2-CURRENCY,
REC1-CURTYPE TO I_REC2-CURTYPE,
REC1-DEBIT TO I_REC2-DEBIT,
REC1-YEAR TO I_REC2-YEAR,
REC1-FY TO I_REC2-FY,
REC1-ACCOUNT TO I_REC2-ACCOUNT,
REC1-VER TO I_REC2-VER,
REC1-VTYPE TO I_REC2-VTYPE,
REC1-CLNT TO I_REC2-CLNT,
REC1-S_SYS TO I_REC2-S_SYS,
REC1-INDICATOR TO I_REC2-INDICATOR.
APPEND I_REC2.
CLEAR I_REC2.
ENDLOOP.
IF NOT I_REC2[] IS INITIAL.
PERFORM DOWNLOAD .
CLEAR I_REC2.
REFRESH I_REC2.
ELSE.
WRITE : / ' no record exist due to unavailability of data'.
ENDIF.
ENDFORM. " LOCAL_DOWNLOAD
*& Form UNIX_DOWNLOAD
FORM UNIX_DOWNLOAD.
LOOP AT REC1.
REC1-CLNT = SY-MANDT.
REC1-S_SYS = SY-SYSID.
MOVE: REC1-BAL TO I_REC2-BAL,
REC1-COAREA TO I_REC2-COAREA,
REC1-CA TO I_REC2-CA,
REC1-KTOPL TO I_REC2-CA,
REC1-CCODE TO I_REC2-CCODE,
REC1-CREDIT TO I_REC2-CREDIT,
REC1-CURRENCY TO I_REC2-CURRENCY,
REC1-CURTYPE TO I_REC2-CURTYPE,
REC1-DEBIT TO I_REC2-DEBIT,
REC1-YEAR TO I_REC2-YEAR,
REC1-FY TO I_REC2-FY,
REC1-ACCOUNT TO I_REC2-ACCOUNT,
REC1-VER TO I_REC2-VER,
REC1-VTYPE TO I_REC2-VTYPE,
SY-MANDT TO I_REC2-CLNT,
SY-SYSID TO I_REC2-S_SYS,
REC1-INDICATOR TO I_REC2-INDICATOR.
APPEND I_REC2.
CLEAR I_REC2.
ENDLOOP.
IF NOT I_REC2[] IS INITIAL.
PERFORM WRITE_TO_SERVER.
CLEAR I_REC2.
REFRESH I_REC2.
ELSE.
WRITE : / ' no record exist due to unavailability of data'.
ENDIF.
ENDFORM. " UNIX_DOWNLOAD
*& Form HEADER_TEXT
text *
--> p1 text
<-- p2 text
*form header_text.
concatenate c_bal c_ba c_ca c_cc c_credit c_currency c_curtype
c_debit c_fisyear c_fisvar c_acct c_ver c_vtype c_indicator
into t_strhd
separated by c_comma.
append t_strhd.
*endform. " HEADER_TEXT
*& Form HEADER_TEXT1
text *
*form header_text1.
concatenate c_bal c_ba c_ca c_cc c_credit c_currency c_curtype
c_debit c_fisyear c_fisvar c_acct c_ver c_vtype c_indicator
into t_strhd1
separated by c_comma.
append t_strhd1.
transfer t_strhd1 to p_unfil.
*endform. " HEADER_TEXT1
*& Form COLLECT_DATA
Collect Data *
FORM COLLECT_DATA.
SELECT * FROM GLT0 INTO TABLE REC3
WHERE BUKRS IN COMPCODE
AND RYEAR IN FISYEAR
AND RPMAX IN FISCPER
AND RACCT IN GLACC
AND RTCUR IN CURRENCY.
SELECT KTOPL FROM SKA1
INTO TABLE T_KTOPL
FOR ALL ENTRIES IN REC3
WHERE SAKNR = REC3-RACCT.
LOOP AT REC3 .
select *
from glt0
into table t_temp
where rldnr = rec-rldnr
and rrcty = rec-rrcty
and rvers = rec-rvers
and bukrs = rec-bukrs
and ryear = rec-ryear
and racct = rec-racct
and rbusa = rec-rbusa
and rtcur <> 'ZAR'
and rpmax = rec-rpmax.
if sy-subrc = 0.
rec1-bal = '0.00'.
else.
rec1-bal = rec-hslvt.
endif.
*READ TABLE T_KTOPL WITH KEY SAKNR = REC-RACCT BINARY SEARCH.
MOVE T_KTOPL-KTOPL TO REC3-KTOPL.
CLEAR: CBALANCE, DBALANCE.
REC1-BAL = REC3-HSLVT.
IF REC3-DRCRK = 'S'.
IF REC3-HSLVT NE C_ZERO.
YEAR = REC-RYEAR.
PERIOD = '000'.
CONCATENATE PERIOD C_DOT YEAR INTO FP.
REC1-INDICATOR = REC-DRCRK.
REC1-DEBIT = C_ZERO.
REC1-CREDIT = C_ZERO.
REC1-CCODE = REC-BUKRS.
REC1-YEAR = FP.
REC1-CURRENCY = REC-RTCUR.
REC1-ACCOUNT = REC-RACCT.
rec1-bal = rec-hslvt.
dbalance = rec1-bal.
REC1-CURTYPE = C_CTYPE.
REC1-FY = C_FY.
REC1-COAREA = REC-RBUSA.
REC1-VER = REC-RVERS.
REC1-VTYPE = C_CTYPE.
REC1-CA = C_CHART.
APPEND REC1.
C = 0.
PERFORM D.
ENDIF.
IF REC3-HSL01 NE C_ZERO.
YEAR = REC3-RYEAR.
PERIOD = '001'.
CONCATENATE PERIOD C_DOT YEAR INTO FP.
REC1-INDICATOR = REC3-DRCRK.
REC1-DEBIT = REC3-HSL01 .
REC1-CCODE = REC3-BUKRS.
REC1-YEAR = FP.
REC1-CURRENCY = REC3-RTCUR.
REC1-ACCOUNT = REC3-RACCT.
rec1-bal = REC3-hsl01 + dbalance.
dbalance = rec1-bal.
REC1-CURTYPE = C_CTYPE.
REC1-FY = C_FY.
REC1-COAREA = REC3-RBUSA.
REC1-VER = REC3-RVERS.
REC1-VTYPE = C_CTYPE.
REC1-CA = C_CHART.
REC1-KTOPL = REC3-KTOPL.
APPEND REC1.
C = 1.
PERFORM D.
ENDIF.
IF REC3-HSL02 NE C_ZERO.
REC1-DEBIT = REC3-HSL02.
YEAR = REC3-RYEAR.
PERIOD = '002'.
CONCATENATE PERIOD C_DOT YEAR INTO FP.
REC1-INDICATOR = REC3-DRCRK.
REC1-DEBIT = REC3-HSL02.
REC1-CCODE = REC3-BUKRS.
REC1-YEAR = FP.
REC1-CURRENCY = REC3-RTCUR.
REC1-ACCOUNT = REC3-RACCT.
rec1-bal = REC3-hsl02 + dbalance.
dbalance = rec1-bal.
REC1-CURTYPE = C_CTYPE.
REC1-FY = C_FY.
REC1-COAREA = REC3-RBUSA.
REC1-VER = REC3-RVERS.
REC1-VTYPE = C_CTYPE.
REC1-CA = C_CHART. "-BF7957-070503
REC1-KTOPL = REC3-KTOPL. "+BF7957-070503
APPEND REC1.
C = 2.
PERFORM D.
ENDIF.
IF REC3-HSL03 NE C_ZERO.
YEAR = REC3-RYEAR.
PERIOD = '003'.
CONCATENATE PERIOD C_DOT YEAR INTO FP.
REC1-INDICATOR = REC3-DRCRK.
REC1-DEBIT = REC3-HSL03.
REC1-CCODE = REC3-BUKRS.
REC1-YEAR = FP.
REC1-CURRENCY = REC3-RTCUR.
REC1-ACCOUNT = REC3-RACCT.
rec1-bal = REC3-hsl03 + dbalance .
dbalance = rec1-bal.
REC1-CURTYPE = C_CTYPE.
REC1-FY = C_FY.
REC1-COAREA = REC3-RBUSA.
REC1-VER = REC3-RVERS.
REC1-VTYPE = C_CTYPE.
REC1-CA = C_CHART. "-BF7957-070503
REC1-KTOPL = REC3-KTOPL. "+BF7957-070503
APPEND REC1.
C = 3.
PERFORM D.
ENDIF.
IF REC3-HSL04 NE C_ZERO.
REC1-DEBIT = REC3-HSL04.
YEAR = REC3-RYEAR.
PERIOD = '004'.
CONCATENATE PERIOD C_DOT YEAR INTO FP.
REC1-INDICATOR = REC3-DRCRK.
REC1-DEBIT = REC3-HSL04.
REC1-CCODE = REC3-BUKRS.
REC1-YEAR = FP.
REC1-CURRENCY = REC3-RTCUR.
REC1-ACCOUNT = REC3-RACCT.
rec1-bal = REC3-hsl04 + dbalance .
REC1-CURTYPE = C_CTYPE.
REC1-FY = C_FY.
REC1-COAREA = REC3-RBUSA.
REC1-VER = REC3-RVERS.
REC1-VTYPE = C_CTYPE.
REC1-CA = C_CHART. "-BF7957-070503
REC1-KTOPL = REC3-KTOPL. "+BF7957-070503
APPEND REC1.
dbalance = rec1-bal.
C = 4.
PERFORM D.
ENDIF.
Thanks and Regards,
Ramuse logical database SDF, nodes ska1 and skc1c
A. -
Difference between BSID and GLT0
Hi,
there is a difference btw.:
1) sum of all open item with bsid-hkont = 123 in table BSID
and
2) balance of G/L account 123 (with tcode FS10N)
result of report RFDSLD00 = 1)
Why there is a difference between 1) and 2) ?
regards AndreasHi Andreas,
The issue seems to be very much caused because of change of reconciliation account for the vendors involved. I would suggest that you check if the reconciliation account for vendors have been changed. You can do so using the mass change report RFKABL00.
If it is not caused by that, then we have to look at a different reason.
Regards,
Shrikant
Financials - Inconsistencies -
F.05 fx.val. and archived documents
Hello,
It is possible that with the fx. valuation with F.05 tr. (end month closing), also works with archived documents, (XARCH field)?
I mean, I have Archiving in the company and there are differences betwen BSEG and BKPF archived documents and the FBL3N with BSIS , because these differences are in a G/L account (172630 "Inventory bought back").
In FBL3N (select open items and Data Source = Database + Archive)--> I see items dated earlier than 01.01.2005 which are not considered by SAP for revaluation with F.05 tr.
F.05 must consider this archived documents (XARCH field = "x")
B. Regards
FranciscoHi Khatri,
This is what I think,
but if F.05 (SAPF100) run with tables:
tcurr, t001a,
t044a, t044b,
t001, t033, bsbw,
rfdt,
kna1, knb1,
lfa1, lfb1,
ska1, skat, skb1, ekko,
skc1c, "used for RFSBEW00
*skc1c, "#EC NEEDED
bkpf, bseg, bsid, *bsis,* bsik,bsed, bsec,
x001, t030h, t003, t030b, t009,t074,
t030hb, t030u, (no called with FB
bhdgd, fimsg,
rfsdo, sscrfields,rfpdo3.
and GLT0 is in the type -pools,
and I check with developer that with my variant u20181171_STEP2_TESu2019 , (if you remember I have LC, LC2 and LC3 and 2 variants for valuation and revaluation), and it do read table GLT0. Basically it is called from two different points in SAPF100
SAPDBSDF à form UPDATE_YSKC1C, line 2892.
LF009FSC à form glt0_lesen, line 34.
And the company (1171) change from TRN curr. to TRY curr. in 2004--> if I check GLT0 I will see in 2005 the difference, that I see when I run the STEP2 variant in F.05
Table GLT0 (172630 account and Ledger GR "G/L trans.fig.Group valuation")--> as you can see the 459.476,66 (line 1) is that I see when I run the STEP2 in F.05
Ledger/Vers/Co Code/ F.Year/ Account Num./ Currency/ D/C /Period/ Transactn curr. Local currency Group currency
GR 001 1171 2005 0000172630 TRL S 016 0,00 0,00 459.476,66 GR 001 1171 2005 0000172630 TRY H 016 0,00 0,00 0,00
GR 001 1171 2005 0000172630 TRY S 016 0,00 0,00 0,00
GR 001 1171 2005 0000172630 USD H 016 0,00 0,00 459.476,66-
GR 001 1171 2006 0000172630 TRL S 016 0,00 0,00 459.476,66
GR 001 1171 2006 0000172630 TRY H 016 0,00 0,00 0,00
GR 001 1171 2006 0000172630 TRY S 016 5.554.152,98 0,00 12.644.329,74
GR 001 1171 2006 0000172630 USD H 016 9.039.102,19- 0,00 9.498.649,78-
GR 001 1171 2006 0000172630 USD S 016 0,00 0,00 0,00
GR 001 1171 2007 0000172630 TRL S 016 0,00 0,00 459.476,66
GR 001 1171 2007 0000172630 TRY H 016 0,00 0,00 0,00
GR 001 1171 2007 0000172630 TRY S 016 554.691,62 0,00 16.676.674,75
GR 001 1171 2007 0000172630 USD H 016 16.299.203,18- 0,00 16.775.880,94-
GR 001 1171 2007 0000172630 USD S 016 0,00 0,00 0,00
GR 001 1171 2008 0000172630 TRL S 016 0,00 0,00 459.476,66
GR 001 1171 2008 0000172630 TRY H 016 0,00 0,00 0,00
GR 001 1171 2008 0000172630 TRY S 016 423.526,32 0,00 17.996.377,10
GR 001 1171 2008 0000172630 USD H 016 17.737.634,13- 0,00 18.192.562,18-
GR 001 1171 2008 0000172630 USD S 016 0,00 0,00 0,00
GR 001 1171 2009 0000172630 TRL S 016 0,00 0,00 459.476,66
GR 001 1171 2009 0000172630 TRY H 016 0,00 0,00 0,00
GR 001 1171 2009 0000172630 TRY S 016 652.388,76 0,00 20.855.532,30
GR 001 1171 2009 0000172630 USD H 016 20.398.257,39- 0,00 20.843.898,09-
GR 001 1171 2009 0000172630 USD S 016 0,00 0,00 0,00
GR 001 1171 2010 0000172630 TRL S 016 0,00 0,00 459.476,66
GR 001 1171 2010 0000172630 TRY H 016 0,00 0,00 0,00
GR 001 1171 2010 0000172630 TRY S 016 913.692,14 0,00 147.345,51
GR 001 1171 2010 0000172630 USD H 016 3.633.807,68- 0,00 0,00
GR 001 1171 2010 0000172630 USD S 016 0,00 0,00 0,00
GR 001 1171 2011 0000172630 TRL S 016 0,00 0,00 459.476,66
GR 001 1171 2011 0000172630 TRY H 016 0,00 0,00 0,00
Then I have two possibilities:
1. When I run STEP2 (revaluation) in F.05 the system give me GLT0 balance (account 172630)--> 459.476,66
2. When I run STEP2 (revaluation) in F.05 the system give me the total items archived until 2005 = 459.476,66
This is because I was asking for the archiving documents in the F.05 execution.
B.Regards
Francisco -
Exchange rate differences posted when clearing but not FAGL_FC_VAL
Hello,
I need to configure accounts for exchange rate differences for clearing, but I if I configure just "account for Realized Exchange Rate Losses" and not " Account for Loss from Valuationu201D in OBA1, the account is selected in month end valuation ( FAGL_FC_VAL) and I do not want it because it ends on error.
Do you know how to cover this requirement?
CheersHi,
You can exclude the account in the the forex reval run by excluding the GL account by specifiying the account in the variant used for period end processing.
Or you can use valuation area for period end processing in FAGL_FC_VAL and configure based on which the account if not maintained in the valuation area would not post.
Regards
K.R -
FAGL_FC_VAL: document split
Hi guru
I run the program FAGL_FC_VAL and the document splitter is active.
For account 4000 I have the following balances:
1000 profit center 100
2000 profit center 200
The program created 1 posting with 4 items.
The customer asked me if it is possible to have 1 posting with 2 items.
I eliminated in the view V_FAGL_SPLIT_FL2 the flag about Val. Exch.RateDif but the program created always 1 posting with 4 items. Can you help me?
Thanks
Edited by: Rossella Fiorella on Mar 31, 2011 11:44 AMHi,
If the document split active in your company code, system automatically create additional line items based on splitting rules difined in the configurations. This is a new GL document functionality.
Thanks & Regards
Sarma Bhamidipati -
Classic G/L table GLT0 related question
Hi Gurus:
Have you seen instances where data in GLT0 is not in balance with BSIS table? When document clearing occurs, BSIS and GLT0 are updated simultaneously? Is it possible to have differences between these tables?
Regards
RGNo, as BSIS will contain only open (non-cleared) items. You should take BSAS along.
For those accounts which are not managed as open item, but still have line items, the amount should be the same. Of course, under assumption, that the line item management was there from the beginning.
Regards,
Eli -
Foreign Currency procurement cycle
Hi Experts
Suppose we purchase import Material
1) Purchase order rises 47 USD
2)when invoice came that time Currency rate increase
3)at the time of invoice which rate i have taken
4)the payment which value i have to pay
5)in this procurement where we change the rate and how foreign currency valuation impact in accounts in sap systems
Plz entire procurement scenario that i can explain to my client how to foreign currency valuation
happen in sap systemIf the PO is in foreign currency, you specify the exchange rate at the time of creation of PO in the Exchange Rate field in the PO header (Delivery/Invoice tab). Right next to that field, you will see a check box titled "Exch. Rate Fixed". If you fix the exchange rate by checking this check box, the purchase order currency and the exchange rate cannot be changed during invoice verification. If you do not check it, the exchange rate that applies on the date of entering the invoice will get picked when you enter the invoice.
Now let's say this invoice is not paid by the end of the month. To close your books for the month, you perform foreign currency valuation for this open item to remeasure the foreign currency amount due by you into local currency. This valuation difference (unrealized gain/loss) is reversed on the first day of the next month. Now your numbers are back to the values entered during invoice entry. If the item gets paid now, you may incur realized gain/loss depending on the exchange rate that your bank gives you. If this rate is different from the rate as of the invoice entry, you will have realized exchange rate gain/loss. Else, there is no realized gain.
Execute t code FAGL_FC_VAL and click on the blue information icon on the initial screen and read the program documentation. There is a very nice example in there that should clarify your question on foreign currency valuation. -
LEFT OUTER with internal tables
hi all,
I have a query to execute,
SELECT SKATSAKNR SKATTXT20
SUM( GLT0~HSLVT ) AS HSLVT
INTO CORRESPONDING FIELDS OF TABLE ITAB_ZSTMGLRACC
FROM SKAT
LEFT OUTER JOIN GLT0 ON GLT0RACCT = SKATSAKNR
AND GLT0~RYEAR = I_GJAHR
AND GLT0~BUKRS = 'comp1'
WHERE SKAT~KTOPL = 'EICA'
GROUP BY SKATSAKNR SKATTXT20.
here i want to replace GLT0~BUKRS = 'comp1' with multiple values from Internal table ITAB_T001
since i used SUM ......FOR ALL ENTRIES IN ITAB_T001 cant be used .
any one have options??
thx
Josehi all,
I have a query to execute,
SELECT SKATSAKNR SKATTXT20
SUM( GLT0~HSLVT ) AS HSLVT
INTO CORRESPONDING FIELDS OF TABLE ITAB_ZSTMGLRACC
FROM SKAT
LEFT OUTER JOIN GLT0 ON GLT0RACCT = SKATSAKNR
AND GLT0~RYEAR = I_GJAHR
AND GLT0~BUKRS = 'comp1'
WHERE SKAT~KTOPL = 'EICA'
GROUP BY SKATSAKNR SKATTXT20.
here i want to replace GLT0~BUKRS = 'comp1' with multiple values from Internal table ITAB_T001
since i used SUM ......FOR ALL ENTRIES IN ITAB_T001 cant be used .
any one have options??
thx
Jose -
Hi,
The calculated key figure used in the report (Balance Sheet Value) is adding stock value + flow value. Im not sure what those two fields connect to in R3 but it appears that they do not calculate correctly.
I attempted to trace those two data elements back into R3 but were unsuccessful. Could you provide some guidance as to what those two key figures are?These key figures are read from the R/3 tables GLFUNCT and GLT0 and the hierarchy table 0GLACCEXT by the function module, RS_BCT_FIGL_DATA_GET.
In the key figure 0VAL_STOCK (asset value), the service displays the asset share of the balance sheet. The key figure 0VAL_FLOW (flow value) contains the values of the P&L statement from the financial statement structure.
Refer below links for more details:
http://help.sap.com/saphelp_nw04/helpdata/en/04/7b95fb42b0f94aba334c0890dbbda4/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2f6d9790-0201-0010-dcbc-e099c7c049a2 -
Hello SAP Professional
1. In t code OAMK, I have removed the u201CAssetsu201D reconciliation indicator settings (column name Recon.account for acct type) and made that line as blank for GL account for 111 to 115 for e.g
2. Then I run FAGL_FC_VAL for GL 111 to 115 and now I am able take certain reports as per business requirement (by such removal of u2018recon ac type indicatoru2019)
3. After getting the report, again I reset GL 111 to 115 to recon type u2018Assetsu2019 in t code OAMK
4. My simple question isu2026(i) temporary removal of recon indicator in OAMK, (ii) running FAGL_FC_VAL and (iii) reset of that recon after taking report u2013 will have any consequences?
Please clarify
Thanks
Regards
ThiruHI,
As of ERP2005, the automatic setting of the reconciliation accounts (IMG: 'Financial Accounting -> Asset Accounting -> Preparing for Production Startup -> Production Startup -> Set or Reset Reconciliation Accounts' -> Set Reconciliation Accounts Automatically) is deactivated.
Instead, use the manual maintenance transaction under the same IMG path
or Transaction OAMK. There you can achieve the same result by using the
'Set Reconciliation Accounts for All Accounts' function in a company
code. Transaction OAK5 was adjusted accordingly. The RACKONTO and
RACKONT2 reports are flagged as obsolete and can no longer be executed.
Moderator: Don't ask for points
Regards
Aditya -
COUNTRY CODE DOESN'T EXIST IN COUNTY TABLE
Hi experts,
when i run foreign currency valuation for gl account in t code FAGL_FC_VAL ,the following error massege is showing...,SE, PT,DOES NOT EXIST IN THE COUNTY TALBLE.
my company code country is india- and i use hard currency and group currency in USD..already IN and US codes and hard currency USD are there in country table.....WHY THE SYSTEN ASKS THE OTHER COUNTY CODES. I M USING COPIED VERSION......
THANKS IN ADVANCE
NARAYANA.thanks, but what is link between to fagl_fc_val and other country codes . my company code and local currency is inr,, group and hard currency is usd , the country code US is there in the county table.
thanks in advance, -
Error: country se does not store a hard currency
Reg: country SE does not store a hard currency
Hi
The Above error messages is displayed when i am trying to do foreign currency revaluation setting under TCODE - FAGL_FC_VAL And my co code country is IN but the error message shows for country SE, can any one please give me a solution for the above
Thank you
CharanCheck the following notes:-
Note 81319 - SAPFGVTR: GI806 error in currency translation
Note 135956 - FI-SL: Error GI806 or GI807
thanks
G. Lakshmipathi -
COUNTRY SE DOES NOT STORE A HARD CURRENCY
Hi,
The Above error messages is displayed when i am trying to do foreign currency revaluation setting under TCODE - FAGL_FC_VAL And my co code country is IN but the error message shows for country SE, can any one please give me a solution for the above
Regards,
GopiHI,
OY01 is not mandatory to maintain Hard Currency at SE i hope, problem related to some other cause. Whic currency transaction are you trying to do the foreign currency valuation.
Regards -
Reset Foreign Currency Valuation
Hi,
I've reset the reval using fagl_fc_val and it appears in my batch input but I didn't processed yet. Because I noticed the total records are not the same as last run of reval. When I try to reset again it doesn't allow me because I've already run before eventhough I didn't process SM35 yet. Anybody knows how can I cancel the reset reval? Or I have to do it manually then.Hi
It depends whether you have checked the box "Bal. sheet preparation valuation".
If you didn't select that option, you can just manually reverse all documents by "F.80".
If that option is selected, you have to manually reverse all documents by "F.80", and run another valuation method which has the valuation procedure in "RESET" (OB59) to remove posted FX difference amount in each valuated journal entry.
Regards,
Maybe you are looking for
-
HT203167 I can't sign in to my ID
Dear sir&madam: Today,i find my itunes store's account disabled. yesterday, A friend of mine give me ¥33000 giftcard and i redeem.i think maybe due to this.so i hope you can restore my account thank you. It is very important for me.
-
Getting correct Date/Time data in DIAdem 11 from LabView tdms data
I've got a handful of large tdms files (9-18 million data points) collected with LabView that I need to extract elements of, and export as a text file, with the time data as a string. I'm using DataFileLoadSelect and the Register option and then Dat
-
Latest (October 2011) update won't install.
I have tried to carry out the latest update (14/10/11). It seemed to be working well, then the tv went blank and the white light at the front of the apple tv box started flashing rapidly. After a few minutes I got the 'connect to itunes' logo. I've r
-
Modifying animated text in iDVD themes
In themes with animated text, such as "Pass Through" (a v6.0 theme), what text object is used to define the actual text that is animated? and if that text object is deleted, how can it be re-added? (presuming that the undo function cannot be used due
-
Hi SMD experts! I am facing with the following SMD problems: - 1) No data will be shown in Workload Analysis: query 0CCMSMTPH/0CCMSMTPH_WA_Q0001_H does not exist on the current server - 2) Dashboard of Wily Introscope There I can detect only one entr