Notes
Notes - notes.io |
DATE '2025-06-01' AS P_DATE,
'M' AS RATE_TYPE,
'USD' AS CURR_TYPE,
DATA.BUKRS, DATA.BUTXT, DATA.SGSART, DATA.LTX, DATA.SFHAART, DATA.XTEXT, DATA.KONTRH, UPPER(DATA.NAME_ORG1),
CASE WHEN DATA.ZDIS_BANK IS NOT NULL THEN DATA.ZDIS_BANK ELSE DATA.KONTRH END AS DIS_BANK,
CASE WHEN DATA.ZDIS_BANKNM IS NOT NULL THEN UPPER(DATA.ZDIS_BANKNM) ELSE UPPER(NAME_ORG1) END AS DIS_BANKNM,
DATA.TOLERANCE_POS, DATA.DBLFZ, DATA.ZDELFZ, DATA.RBUSA, DATA.GTEXT, DATA.PRCTR, DATA.KTEXT,
DATA.RFHA, DATA.FACILITYNR,
CASE WHEN SBEWEBE = 1 THEN 'Not Posted' WHEN SBEWEBE = 2 THEN 'Posted' END AS POST_STATUS,
DATA.CRE_AMT_CUR, DATA.CREDIT_AMT, DATA.ZTOT_LC,
ACC_FEE, ACC_FEE_ACRL, ACC_FEE_UPRNT, AMDT_FEE, BU_ACC_FEE, BU_AMDT_FEE, BU_ISS_FEE, BU_UPAS_INT,
CAN_FEE, CON_FEE, COR_FEE, DIS_FEE, GST_ON_FEE, HLD_TAX_GROSS, HLD_TAX_NET, ISS_FEE, UPAS_INT,
BU_ACC_FEE + BU_AMDT_FEE + BU_ISS_FEE + BU_UPAS_INT AS BU_TOTAL,
ACC_FEE + ACC_FEE_ACRL + ACC_FEE_UPRNT + AMDT_FEE + CAN_FEE + CON_FEE + COR_FEE + DIS_FEE +
GST_ON_FEE + HLD_TAX_GROSS + HLD_TAX_NET + ISS_FEE + UPAS_INT AS TOTAL
FROM (
SELECT *
FROM RPT_TREASURY.VW_FAC DATA
LEFT JOIN RPT_TREASURY.ZSGTBTR_ISS_FEE ON
DATA.BUKRS = ZSGTBTR_ISS_FEE.BUKRS AND DATA.RFHA = ZSGTBTR_ISS_FEE.RFHA
AND ZSGTBTR_ISS_FEE.P_DATE = DATE '2025-06-01'
AND ZSGTBTR_ISS_FEE.RATE_TYPE = 'M' AND ZSGTBTR_ISS_FEE.CURR_TYPE = 'USD'
LEFT JOIN RPT_TREASURY.ZSGTBTR_ACC_FEE ON
DATA.BUKRS = ZSGTBTR_ACC_FEE.BUKRS AND DATA.RFHA = ZSGTBTR_ACC_FEE.RFHA
AND ZSGTBTR_ACC_FEE.P_DATE = DATE '2025-06-01'
AND ZSGTBTR_ACC_FEE.RATE_TYPE = 'M' AND ZSGTBTR_ACC_FEE.CURR_TYPE = 'USD'
LEFT JOIN RPT_TREASURY.VW_FAC_AMT ON
DATA.BUKRS = VW_FAC_AMT.BUKRS AND DATA.RFHA = VW_FAC_AMT.RFHA
AND VW_FAC_AMT.P_DATE = DATE '2025-06-01'
AND VW_FAC_AMT.RATE_TYPE = 'M' AND VW_FAC_AMT.CURR_TYPE = 'USD'
) AS DATA;
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team
