Incoming Payments separate columns for differents currencies

Hi everybody
I am modifing this query in order to have an incoming payment report, but we want each currency in one column.
For example Checks in USD in one column and checks in other currency in a separate column.
Same for cash and transfers.
Right know my query is putting all check in one column.
Any advise?
SELECT T0.[DocNum] 'Recibo', T0.[DocType] 'Tipo Doc',  T0.[DocDate] 'Fecha', T0.[CardName] 'Cliente',
EFECTIVO = CASE WHEN T0.[DocRate]> 0 THEN T0.[CashSumFC] ELSE T0.[CashSum] END,  
CHEQUE = CASE WHEN T0.[DocRate]> 0 THEN T0.[CheckSumFC] ELSE T0.[CheckSum] END,
TRANSFERENCIA = CASE WHEN T0.[DocRate]> 0 THEN T0.[TrsfrSumFC] ELSE T0.[TrsfrSum] END,
T0.[TrsfrRef] 'Referencia', T0.[PayNoDoc] 'Pago Calculado', SUM(T0.[CashSum]T0.[CheckSum]T0.[TrsfrSum]) 'Total' , T0.[PaymType] 'Tipo de Pago', T0.[OpenBal] 'Balance', T0.[DocRate] 'Tasa'
FROM ORCT T0
WHERE T0.[DocDate] >=[%0] AND  T0.[DocDate] <=[%1] GROUP BY T0.[DocNum], T0.[DocType],
T0.[DocDate], T0.[CardName], T0.[CashSum], T0.[CheckSum], T0.[TrsfrSum], T0.[TrsfrSumFC], T0.[TrsfrRef],
T0.[PayNoDoc], T0.[PaymType], T0.[OpenBal], T0.[OpenBal], T0.[DocRate], T0.[CashSumFC], T0.[CheckSumFC]
ORDER BY T0.[DocNum]
Thanks Bart Masellis

Ho Gordon, thank for replying, I have another version where I have 2 Columns.
I am using 2 currencies.
The idea is to have checks in $ in one column and checks in Local Currency in another column.
Same for Cash and Transfers.
Please check this one:
SELECT T0.[DocNum] 'Recibo', T0.[DocType] 'Tipo Doc',  T0.[DocDate] 'Fecha', T0.[CardName] 'Cliente', T0.[CashSum] 'Efectivo', T0.[CashSumFC] 'Efectivo $', T0.[CheckSum] 'Cheque', T0.[CheckSumFC] 'Cheque $', T0.[TrsfrSum] 'Transferencia', T0.[TrsfrSumFC] 'Transferencia $',  T0.[TrsfrRef] 'Referencia', T0.[PayNoDoc] 'Pago Calculado', SUM(T0.[CashSum]T0.[CheckSum]T0.[TrsfrSum]) 'Total' , T0.[PaymType] 'Tipo de Pago', T0.[OpenBal] 'Balance', T0.[DocRate] 'Tasa'  FROM ORCT T0 WHERE T0.[DocDate] >=[%0] AND  T0.[DocDate] <=[%1] GROUP BY T0.[DocNum], T0.[DocType], T0.[DocDate], T0.[CardName], T0.[CashSum], T0.[CheckSum], T0.[TrsfrSum], T0.[TrsfrSumFC], T0.[TrsfrRef], T0.[PayNoDoc], T0.[PaymType], T0.[OpenBal], T0.[OpenBal], T0.[DocRate], T0.[CashSumFC], T0.[CheckSumFC]
ORDER BY T0.[DocNum]

Similar Messages

  • BO: separate column for + - sign apart from column with value

    Hello
    In Business Objects Web Intelligence I would like to create a column that shows the sign '+' or '-' when a key figure KF1 is below 0 or above. How do I do this? It has to be a separate column. I already created a calculated key figure KF2 that has as formula ABS (KF1). KF1 itself must not be shown as contains amount and sign in one field. I need to separate these 2.
    Regards
    Arjan

    You can create one more variable with the formula:
    =If([Key FIG 1]<0) Then "-" Else "+"
    Regards,
    Rohit

  • Currency Decimal Increases Incoming Payment Window

    Hi Expert,
    My problem is related to Incoming Payment window (named  Doc. Currency ) can I increase the decimal(Last Digit 3,4) in that Field.Actually I check the Seting in Administration Module but Digit not increase.
    Please help me out from these problems.
    Regards
    Amol

    Hi Gordon,
    So i cannot increase the Decimal in Doc Currency field.Because the USD Currency amt For Eg :49.23321 so it round the decimal so amount calculate in Amount Due (LC) give differences in INR valuea and that field is Disabled.Otherwise i can input the value in that Amount Due (LC) Field.So suggest solution in these problem.
    Thanks &  Regards
    Amol

  • Multi Currency in One Incoming Payment

    Hi Dear;
    in sbo we can't create incoming payment with more than one currency in the ssame incoiming payment.
    i think it's better to have it.
    thank you Dear;

    Though the SBO system has an option of allowing incoming payment in multi-currency. The suitation you're talking is very rare and SBO has no answer for it, has will affect your cash flow statement.
    As all such things are discussed rite in the very beginnig i.e. even before execution of work, the user should post invoices accordingly.
    Assign points if useful.
    Thanks,
    Srikanth

  • Looking for standard service of Incoming Payments(F-28)

    Hi, experts.
    I made customer invoice using standard service which should be cleared by another operation.
    I'm looking for any service that do things like F-28, Incoming Payments.
    Thanks for your precise time.

    You can consider using EDI (FINSTA) for automatic loading and processing of the bank statements.
    Thanks
    Ashok

  • Automatic run for incoming payment

    Hi all,
    is there any possibility to run an automatic incoming payment the way F110 works for outgoing payments.
    If there is, how does it work?
    Thanks and regards
    Claudia.

    Hi,
    You can use F110 for incoming payment also. For this you have to a payment method for incoming payment and should be given in the customer master or in the  invoice line item . E.g can be Direct Debit for customer master.
    For this in the customer master, Bank details should be maintained in the payment transactions tab.
    Thanks and Regards
    Shivappriya

  • Approval procedure for Incoming Payments

    Hi All,
                 I need to setup an approval procedure in such a way that not all incoming payments raised from "User1" should be approved by  "user2".  Incoming payments rased only for particular doument series should be approved by "user2".
    Answers will be appreciated.
    Thankyou,
    Sree.

    Hi
    It not possible to raise Approval procedure for Incoming Payments
    Thanks
    Kevin

  • Customer Aging Report Query (without invoices offset by incoming payment)

    Hi All Experts,
    May I know is there any field from JDT1 mention which invoices is already offset by the Incoming payment or AR Credit note? Because I do not want those invoices that already offset by incoming payment appear at the Customer Aging Report. Meaning, the data appear in the Customer Aging Report is only show those invoices that yet to pay by the customer. Kindly give some advise on it. Thanks a lot.
    Thanks and regards,
    Angie Ng

    Hi David,
    Thanks for your suggestion. I have try it, but all of my JDT1.IntrnMatch is in 0 value. Meaning in my situation it is none of any reconcilliation making. But from my SBO window, i manage to see that actually this incoming payment is pay for which invoices. Problem is it is difficult for me to do the possiblity logic that might be happen in my Customer Aging Report Query. Please give some advise that how to show only those invoices yet to pay? The current query will show all the data no matter the invoices or credit memo has been offset.
    select OCRD.cardcode 'Supplier Code',OCRD.cardname 'Name',sysdeb  'Debit GBP',syscred 'Credit GBP',
    case JDT1.transtype
    when '13' then 'INV'
    when '14' then 'AR CN'
    when '24' then 'INCOMING'
    else 'Other'
    end 'Type',
    Ref1,
    fccurrency 'BP Currency',
    CONVERT(VARCHAR(10), refdate, 103)'Posting Date' ,
    CONVERT(VARCHAR(10), duedate, 103) 'Due Date',
    CONVERT(VARCHAR(10), taxdate, 103) 'Doc Date' ,
    CASE
    when (DATEDIFF(dd,refdate,current_timestamp))+1 < 31
    then
    case
    when syscred <> 0 then syscred * - 1
    else sysdeb
    end
    end "0-30 days",
    case when ((datediff(dd,refdate,current_timestamp))+1 > 30
    and (datediff(dd,refdate,current_timestamp))+1< 61)
    then
    case
    when syscred <> 0 then syscred * - 1
    else sysdeb
    end
    end "31 to 60 days",
    case when ((datediff(dd,refdate,current_timestamp))+1 > 60
    and (datediff(dd,refdate,current_timestamp))+1< 91)
    then
    case
    when syscred <> 0 then syscred * - 1
    else sysdeb
    end
    end "61 to 90 days",
    CASE
    when (DATEDIFF(dd,refdate,current_timestamp))+1 > 90
    then
    case
    when syscred= 0 then sysdeb
    when sysdeb= 0 then syscred * - 1
    end
    end "90 + days"
    from JDT1,OCRD where JDT1.shortname = OCRD.cardcode and cardtype = 'c' and intrnmatch = '0'
    ORDER BY OCRD.CARDCODE, taxdate

  • Incoming Payments with Tax only issue

    Dear Support,
    I have a client who wants to do an incoming payment to as they have received a TAX rebate from SARS (South African Revenue Service). The line that she needs to create needs to be 100% tax but the system doesn't allow you to do this. With the outgoing payments you can edit the tax amount as required but with the incoming payments that column is not active for some reason??
    Any ideas on how they can process the TAX rebate in SAP? A journal won't work because the VAT report does not look at journals directly posted to the VAT control.
    Regards
    clayton.

    Hi Clayton,
    Follow the following process as a work around:
    1) Create a Tax Group with 100% Tax and SARS as a Business Partner.
    2) Create an Invoice for the ex amount R1000 + R1000 Tax (100% VAT). It will also be displayed on the VAT report.
    3) On the nest line, Create a negative total for the R1000 with 0% VAT.
    This will result in an Invoice total of only R1000 - which will be your tax amount. You can allocate your incoming payment against the invoice as you would normally do.
    Kind regards
    Carin.

  • How to get the values in separate columns

    Hello Everyone
    I am new to Bex, i have the sales data of 2008,2009,2010. now i have to display the sales order(key figure) for 2008,2009,2010 in separate columns for each customer(dimension) in a single report , can any one help me how to get this done in bex.
    Thanks
    Gupta

    Hi ,
    You can achieve this either creating New Selections or Restricted Key Figures.
    Right click on the structute>>>> New selcection>>> drag the year to right [  Right Click on it >>restrict it with 2008}>>>Drag the respected Key figure.
    So u will get the values 2008 in seperate column.
    COpy the New Selecten that u created and paste on the structure , chage the descriprion and year to 2009.
    do the same for 2010.
    Note:you can also achieve this by creating variable offsets.Check the following link
    http://help.sap.com/saphelp_bw33/helpdata/en/3f/89533e5ff4d064e10000000a114084/content.htm
    Regards,
    Ranganath

  • F-28 Incoming payment

    Hi all
    When i am trying to do the incoming payment F-28 for residual payment
    the system showing an error message "Consolidated companies and company code are different"
    what will be the reason of error,please let me know
    Regards
    Ansuman

    Hello
    Normally all error messages when double clicked give a pop up to a performance assistant screen, where the details of why the transaction failed are mentioned.
    Check with BASIS team, why such messages are blocked.
    Also, check the company code assignment in FBZP for paying company.
    Reg
    *assign points if useful

  • AR Incoming Payments with GIRO Process

    Hi Experts
    i have a requirement in my client place as follows:
    1. AR Incoming payment using Auto Incoming payments(like F110 for AP).
        is there is possibility to have this customers (AR) Incoming payments using auto run from SAP Standard function. if yes can you pls tel me what is the proceedure.
    2. Customer GIRO Limit
       this is for all the AR incoming payments. GIRO is the instrunction to the clients bank to do the transfer from the Customer Ac to Clients Ac. but the Customer will limit the amount to be transfered at one time. this limit should be maintained in SAP. and at the time of sending the GIRO information, even if there is a open item for $10000, if a limit is maintained for $2000. the GIRO data will consist only $2000.
    is this possible. any one come across this problem.
    it will be more help full if any one has experiance in this kind of requirement...
    pls advice guys.
    Thanks
    J

    Hi
    Thanks for your reply.
    But, as of i know about F110,  its only for AP. If incase if a vendor also maintained as a customer & if that customer ac is having any openitem for AR then only the balance of AP & AR will be payed out in F110. this is what i understand.
    I want to Run the F110 only for Customer by itself. more over when i tested the system to run only the AR for a customer who Not a vendor. after running system give a message, Debit balance cannot be Zero or Negative.
    is it really possible to Run F110 for Customers. if yes can you give me the steps / things i should look into do this.
    once again thanks for your reply
    J

  • Cstomer customer invoice settlement against Incoming payment

    Dear All
    We have a problem during customer invoice settlement against incoming payment that shown for the partial payment as a new document creation. The scenario as shown below,
         Doc No      Amount
    180000001   50000.00 ;   - Invoice
    140000001   25000.00-   - Incoming Payment / partial payment  
    balance         25000.00 ; - create a new doc no ( but we need setoff to invoice no)
    i.e:
    180000001       25000.00
    any BAPI to apply over come this problem ?
    Thanks
    Madhawa

    Dear:
                  Please refer to the following link, the same question was raised by me
                  Invoice reference field in F-28
                  Regards

  • Getting the values in separate columns

    Hello Everyone
    I am new to Bex, i have the sales data of 2008,2009,2010. now my requirement is to display the sales order(key figure) for 2008,2009,2010 in separate columns for each customer(dimension) in a single report , can any one help me how to get this done in bex.
    Thanks
    Gupta

    Hi Rohit,
    To do that you should have calyear in dimennsion, if so simple you can do it else do the following.
    Edit your cube add calyear in time dimension and map it accordingly. 
    Go To Bex Designer :
    Select required free char, row and column (KF),
    Drag and drop calyear on top of kf (Extreem top to KF). 
    when you run your query it will display all the value according to relavant year. 
    Note :  Suppose you have 4kf in your colum and having three years data in the target then there will be 12 columns will be displayed in report, ie number of kf  X  number of year
    So, for better view or perfomance please do not forget to give restriction of year by giving variable to user. 
    Thanks
    BVR

  • INcoming Payments in F110

    Hi Guys,
                   I know we can post incoming payments from F110  for a customer.
                   I am not sure how we decide customer has paid how much amount so as to clear the invoices.
                   Is scheduled incoming payment for the house bank  of paying company code does have to do anything.

    SO you mean Scheduled incoming payment for the House bank.
    But how are we going to modify this value. is it set from any bank data value.  As far as i know we normally set this value as 99999999(a very big one) . Then weher are we restricting the Payments.

Maybe you are looking for

  • DW CS5.5 Keyboard Layout BUG?! Help pls

    When I startup DW, and switch keyboard layout in CODE VIEW from eng to rus or from rus to eng all ok, window focus stay on CODE VIEW and I may write code perfectly, but after uses some any Snippet or simply open Snippet panel (SHIFT+F9) and then clos

  • HT1386 I have selected to only sync artists and playlists I select, but all of my music in itunes is still being synced to my iphone

    I have a TON of music in itunes but I dont want it all on my iphone. I have selected to sync only Artists and Playlists I select. For some reason all my music is still being synced to my iphone. I have made sure that my iphone is set to only sync thi

  • What is the use of # in data declaration

    hi experts, i am working in one of the old programs, where in data declaration they have used - data: matnr like mara-matnr,##          mfrpn like mara-mfrpn,## and when i work in front end editor (4.7c), these data come in red colour. i know when i

  • How can I group collaborations under one artist?

    Hi, this is hard to explain but I'm trying to group various collaborations under one artist so that it looks neater on my iTunes/iPod. I haven't managed to get it working right yet. I'll give an example: I have various albums involving Elvis Costello

  • Installer error? - cannot find files

    I am running Arch 0.7 on one computer, and was going to install it on another.  However, the CDROM installation stopped with the messages error: /mnt/var/lib/pacman/current/kbd-12.1-1/desc: Nosuch file o error: /mnt/var/lib/pacman/current/kbd-12.1-1/