Currency system variable

hi ABAPers,
what is the system variable to know about currency type?

Hi,
In SYST table you have all the system fields.
Check with <b>SY-CCURS</b> and <b> SY-CCURT</b> in <b>SYST</b> table.
<b>Friendly Note:</b> You have many open threads and Plz close the threads if they are answered/solved and reward points to the people who are helping you by taking their valuable time apart from their regular activities.

Similar Messages

  • Currency conversion variable

    I have a question regarding currency conversion variable.
    We have USD and CAD currencies in BW. I created a currency conversion variable in the properties of a key figure using average rate for current date (0MEANTODAY) and that variable was working fine for a long time. Now I noticed that variable got corrupted in BWD but still works in BWQ and BWP systems. I can see in BWD that variable has nothing in a Variable Represent box and Ready for Input checkbox is not checked. It doesn’t let me to fix or repair this variable. I cannot run any existing queries in BWD that use this variable. The error message is “Variable 0MEANTODAY is not permitted for the target currency”
    I created another currency conversion variable that works in BWD. I know it is ok to have multiple variables for a dimension, let’s say Cal Year/Month has a number of variables. I am not sure whether it is allowed to have multiple currency conversion variables and use different currency conversion variables in different queries. We have about 40 queries that use old currency conversion variable in BWP. If I’ll move new query with a new currency conversion variable to BWP, will it cause any problems for the existing reports that use an old variable? I want to know whether it will present a problem running 40 reports that are already in prod besides the fact it will be inconsistent for a while until I’ll switch all reports to use a new variable.
    I don’t know why that variable got corrupted.  A few weeks ago basis applied some patches in BWP and copied it to BWQ and BWD systems but I am not sure that caused a problem.
    I am relatively new to BW and will very much appreciate any help. I haven’t done transport to production for more that a week and cannot wait any more.
    Thanks,
    Polina
    BWD – DEV;  BWQ – QA  and BWP - Production

    I was dealing with this problem for more than a week. Finally I got help from SAP today. As it was explained to me, we were using very old version of BW front end (part of SAP GUI) which became incompatible with the new patches we applied in BWP and copied to BWQ and BWD. Basically, I was told to upgrade BW front end that caused problems especially in the Variable Wizard area.
    I repaired the currency conversion variable and move it to production. So far all reports run ok in production.
    If anybody will have problems with currency conversion variables, please check your front end version.
    Thanks.

  • Setting system variable in the Detailed Aging PLD report

    Does anyone know which variable I can use to get the FC value displayed on the Aged Debtors PLD detailed form?
    The current aging layout (in SBO) either shows it all in LC or in the currency you choose, but if you have a Business Partner who trades in different currencies and you have invoices raised in those different currencies you cannot see the value for each currency seperately, which is causing some distress.
    I was hoping that by some miraculous twist of fate I can include the FC value in the PLD report thereby saving the hassle of having to re-write the report. (I have checked the System Variable Excel spreadsheet but cannot find it in there.)
    Many thanks
    Hayden

    Hi Julie
    I wondered if you are able to help me get the foreign currency Code and Value into this query you did from a previous post.
    I'm getting odd results and I cant work out where I'm going wrong
    Many thanks
    Hayden
    /* SELECT FROM OINV T0 / declare @AgingDate DateTime / WHERE */ SELECT @AgingDate = GetDate()
    /* SELECT FROM OCRD T1 / declare @CustomerFrom nvarchar(20) / WHERE */ set @CustomerFrom  = ''
    /* SELECT FROM OCRD T2 / declare @CustomerTo nvarchar(20) / WHERE */ set @CustomerTo = ''
    /* SELECT FROM OCRD T3 / declare @OnHold nvarchar(20) / WHERE */ set @OnHold = 'N'
    /* SELECT FROM OSLP T4 / declare @SalesRep nvarchar(30) / WHERE */ set @SalesRep = ''
    IF @AgingDate = CONVERT(datetime, '', 112) set @AgingDate = GetDate()
    select
         JD.FCCurrency [Foreign Currency],
         ocrd.CardCode [BP Code],
         ocrd.CardName [BP Name],
         ocrd.FrozenFor [On Hold],
         @AgingDate [Aging Date],
         isnull(T7.[BalanceDue],0) [Balance],
         isnull(T7.[Current],0) [Current],
         isnull(T7.[30Days],0) [1 Month],
         isnull(T7.[60Days],0) [2 Months],
         isnull(T7.[90Days],0) [3+ Months],
         ocrd.CreateDate,
         T8.[Last Payment Date],
              (SELECT
                   SUM(T1.DocTotal)
              FROM ORCT T1
              WHERE T1.CardCode = T8.CardCode AND
                        T1.DocDate = T8.[Last Payment Date]) [Total Last Payment],
         oslp.SlpName [Sales Rep],
         ocrd.CntctPrsn [Key Contact],
         ISNULL(ocpr.Tel1, ISNULL(ocpr.Cellolar, ocrd.Phone1)) [Contact Phone]
    from ocrd left outer join
         ocpr on ocpr.Name = ocrd.CntctPrsn and
         ocpr.CardCode = ocrd.CardCode left outer join
         oslp on oslp.SlpCode = ocrd.SlpCode left outer join
              SELECT
                   T0.CardCode,
                   SUM(T1.Original-T1.Cleared) [BalanceDue],
                   SUM(CASE
                             WHEN T1.AgeDays < 0 THEN T1.Original+T1.Cleared
                             ELSE 0
                        END) [Current],
                   SUM(CASE
                             WHEN T1.AgeDays BETWEEN 0 AND 30 THEN T1.Original+T1.Cleared
                             ELSE 0
                        END) [30Days],
                   SUM(CASE
                             WHEN T1.AgeDays BETWEEN 31 AND 60 THEN T1.Original+T1.Cleared
                             ELSE 0
                        END) [60Days],
                   SUM(CASE
                             WHEN T1.AgeDays > 60 THEN T1.Original+T1.Cleared
                             ELSE 0
                        END) [90Days],
                   SUM(CASE
                             WHEN T1.AgeDays > 30 THEN T1.Original+T1.Cleared
                             ELSE 0
                        END) [Overdue]
              FROM ocrd T0 LEFT OUTER JOIN
                   (SELECT
                        T1.CardCode,
                        T0.TransId,
                        T0.Line_ID,
                        DateDiff(m, T0.DueDate, @AgingDate) [AgeMonths],
                        DateDiff(d, T0.DueDate, @AgingDate) [AgeDays],
                        --Get standar Debit/Credit Col OR FCCredit/FCDebit columns for
                        --caluculations in outer query
                        ( CASE WHEN T0.FCCurrency IS NULL THEN T0.Debit Else T0.FCDebit END )
                        ( CASE WHEN T0.FCCurrency IS NULL THEN T0.Credit Else T0.FCCredit END ) [Original],
                        --T0.Debit-T0.Credit [Original],
                        SUM(ISNULL(T2.ReconSum,0)*     CASE T2.IsCredit WHEN N'C' THEN 1 ELSE -1 END) [Cleared],
                             ( CASE WHEN T0.FCCurrency IS NULL THEN T0.Debit Else T0.FCDebit END )
                             ( CASE WHEN T0.FCCurrency IS NULL THEN T0.Credit Else T0.FCCredit END )
                        + SUM(ISNULL(T2.ReconSum,0)* CASE T2.IsCredit WHEN N'C' THEN 1 ELSE -1 END) [Balance]
                        --(T0.Debit-T0.Credit) + SUM(ISNULL(T2.ReconSum,0)* CASE T2.IsCredit WHEN N'C' THEN 1 ELSE -1 END) [Balance]
                   FROM jdt1 T0 inner join
                        ocrd T1 on T1.CardCode = T0.ShortName left outer join
                        itr1 T2 on T2.TransId = T0.TransId and
                        T2.TransRowId = T0.Line_ID and
                        T2.ReconNum = (     select
                                                 T3.ReconNum
                                            from oitr T3
                                            where     T3.ReconNum = T2.ReconNum and
                                                      T3.Canceled = N'N' and
                                                      T3.ReconType = 7 and
                                                      T3.ReconDate <= @AgingDate)
                   WHERE     T0.RefDate <= @AgingDate and
                             T1.CardType = 'C' and
                             (T1.CardCode >= @CustomerFrom OR @CustomerFrom = '') and
                             (T1.CardCode <= @CustomerTo OR @CustomerTo = '')
                   GROUP BY T1.CardCode, T0.TransId, T0.Line_ID, T0.DueDate, T0.Debit, T0.FCDebit, T0.Credit, T0.FCCredit, T0.FCCurrency
    --                    ( CASE WHEN T0.FCCurrency IS NULL THEN T0.Debit Else T0.FCDebit END )
    --                    ( CASE WHEN T0.FCCurrency IS NULL THEN T0.Credit Else T0.FCCredit END ), T0.FCCurrency
                        --T0.Debit-T0.Credit
                   ) T1 on T1.CardCode = T0.CardCode
              WHERE T0.CardType = N'C'
              GROUP BY T0.CardCode ) T7 on T7.CardCode = ocrd.CardCode left outer join
                   (SELECT
                        T1.CardCode,
                        Max(T1.DocDate) [Last Payment Date]
                   FROM ORCT T1
                   WHERE     (T1.CardCode >= @CustomerFrom OR @CustomerFrom = '') and
                             (T1.CardCode <= @CustomerTo OR @CustomerTo = '')
                   GROUP BY T1.CardCode ) T8 on T8.CardCode = ocrd.CardCode
    --put this join to get the
    --currency symbol from Journal Row table
    Left Outer join JDT1 JD On OCRD.CardCode = JD.ShortName
    where ocrd.CardType = 'C' and
         --(oslp.SlpName = @SalesRep OR @SalesRep = '') and
         (ocrd.CardCode >= @CustomerFrom OR @CustomerFrom = '') and
         (ocrd.CardCode <= @CustomerTo OR @CustomerTo = '') and
         (ocrd.ValidFor <>'Y') and
         ( (ocrd.FrozenFor = @OnHold and (GetDate() Between isnull(ocrd.FrozenFrom, DateAdd(d,-1,GetDate())) and isnull(ocrd.FrozenTo, DateAdd(d,1,GetDate())))))
    order by ocrd.CardCode

  • Removing currency system

    When using the PLD, and a system variable, how can the currancy symbol be removed?

    Dear,
    Note 864686 could answer your question correctly, but was written for Business One Verions prior to Version 2005X. For 2005 version, please find the example below.
    Request :
    Show profit and loss statement report without currency symbol.
    Solution:
    1. modify the Properties of the two fields in the Repetitve Area
       (Field_082 and Field_083) as per below
       Field_082
       General Tab
       Visible:    NO
       Left = 0/Width= 0/Top= 0/Height= 0
       Field_083
       General Tab
       Visible:    NO
       Left = 0/Width= 0/Top= 0/Height= 0
    2. create two new fields in the Repetitive Area as per below:
       Field_Formula1
       General Tab
       Visible:    YES
       Left = 370/Width= 180/Top= 0/Height= 20 (or as required; the messure-
                                                ments here are as per
                                                original field - Field_082)
       Content Tab
       Source Type: Formula
       ToNumber(Field_082)
       Field_Formula2
       General Tab
       Visible:    YES
       Left = 180/Width= 190/Top= 0/Height= 20 (or as required; the messure-
                                                ments here are as per
                                                original field - Field_083)
       Content Tab
       Source Type: Formula
       ToNumber(Field_083)
    I hope this is helpful for you.
    Regards
    Apple

  • Error in using System Variable

    Dear all,
             I want to use System Variable 225 ( VAT percent (per VAT code) ) which is used in one of document i.e. "VAT Only Invoice".
    When I used it in my Invoice document the following error occurs:
    Printing Error : Invalid Variable number (RPT -6300)(Field:F_XXX) Variable 'XXX'
    Please help me to use this System Variable in my Invoice.
    Note: I have already read "How To Use the PLD Variables File in Release 2007 A" .pdf file.
    can any one tell the meaning of folowing which is in the sheet "vars utilisation" of PLD_Vars_march2007 xls file
    " it means that this variable can be used only under certain repetitive area exclusive numbers (109, 126, 132, 135, 139, 148, 149, 309, 316, 427, 502, 509, 686)
    Regards,
    Ghazanfar
    Edited by: Ghazanfar Ahmed on Jun 18, 2009 12:16 PM

    Hi,
    It is a special variable available for the VAT summary part, not to be used in the rows but in a separate repetitive area.
    To display the respective VAT rates in each row, create a database field instead: Tax Definition - Rate%. It will populate the VAT percentage for you.
    Regards,
    Nat

  • Details of System Variables?

    I need to know the details about system variables like
    sy_index,sy_lilli etc..

    SYST is a structure , you should use transaction SE11 to view the same.
    check out the link
    http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm
    Regards
    Raja
    can you go to your original question click on the pencil button and mark it as a question and reward the answers which were helpful to you.

  • Which system variable is reset at the exit of a loop of an internal table

    which system variable is reset at the exit of a loop of an internal table
    a)sy-loop b)sy-index c)sy-dbcnt d)sy-tabix

    You might want to revist your threads from Friday, and award points and mark as "Answered" or "Solved".
    Regards,
    Rich Heilman

  • System variables in R/3 when badi is triggered from portal

    Hi,
       How can we know the action from the portal,i mean from the create expense report i want to throw an error message if the user press "Review" button based on my validation. i have written in the badi,but when the user press "Previous step" button also this badi is getting triggered and as per the validation it is throwing an error message, i cannot go back. Are there any system variables that we can capture which button he pressed from the portal so that i can control to throw an error message only when the user press "Review" button.
    Thanks & Regards,
    Anil kumar

    Resolved

  • System variables in R/3 for the action from the portal

    Hi,
    How can we know the action from the portal,i mean from the create expense report i want to throw an error message if the user press "Review" button based on my validation. i have written in the badi,but when the user press "Previous step" button also this badi is getting triggered and as per the validation it is throwing an error message, i cannot go back. Are there any system variables that we can capture which button he pressed from the portal so that i can control to throw an error message only when the user press "Review" button.
    Thanks & Regards,
    Anil kumar

    Resolved

  • What are the systems variables in oracle

    Hai All
    In oracle what is called system variable and types of system variables
    Good answer hepls me
    Thanks & Regards
    Srikkanth.M

    SET System Variable Summary
    Source:http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12040.htm
    Oracle environment variables
    The following environment variables are valid for Oracle::
    ORACLE_HOME
    ORACLE_BASE (optional)
    ORA_NLS (optional)
    NLS_LANG (optional)
    TNS_ADMIN (optional)
    Source:http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.websphere.ii.foundation.conn.fw.orc.doc/configuring/iiylsorcenvvars.html
    ORACLE_SID is the name of the database instance that you are using.
    T2KDEV is set to the type of terminal you are using; sun if you are using openwindows; xsun if you are using X windows.
    TERM is set to the type of terminal you are using. Note: If you are using openwindows, you may have to redefine the variable TERM to sun (instead of cmd-sun) and you should execute ORACLE from a shelltool.
    TWO_TASK is set to the location where ORACLE server can be found and will normally be the name of the database instance. This variable helps simplify the command line for starting ORACLE tools.
    Source:http://ugweb.cs.ualberta.ca/~c391/manual/chapt3.html
    HTH
    Girish Sharma
    Edited by: Girish Sharma on Mar 3, 2010 9:16 AM
    Link and Text added.

  • Using System Variables in a SQL Query

    Hi!
    I´m new to Oracle and SQL so i don´t know very much about it.
    There is miy Problem:
    Is there a way to Use the System Variable %USERNAME% in an SQL Query?
    I tried .... where table.shorttag = '%USERNAME%' ;
    but this doesnt work.
    Is Oracle able to handle Systemvariables? Or is there another way to use the current Windows User in an SQL Query.
    It is very Important to use the current Windows user and not the Oracle user.
    Thank you,
    Mfg

    Are you looking for something like this ?
    SQL> SELECT sys_context('USERENV', 'OS_USER') FROM dual;
    SYS_CONTEXT('USERENV','OS_USER
    SAUBBANE\IBM
    SQL> SELECT sys_context('USERENV', 'TERMINAL') FROM dual;
    SYS_CONTEXT('USERENV','TERMINA
    SAUBBANEAlso you can look at the dbms_application_info package.

  • System variable in a query

    Hi,
    I would like to use a system variable in a query in the where clause. How can i use it?
    Thanks in advance:
    Bianca

    Hi,
    840275 wrote:
    Several scripts need to use the same value so i have created a system variable for it.
    (some of these scripts are in oracle, some in Talend)
    select...
    from myTable
    where myColumn = mySystemVariable:
    Tha question is how can i reference a system variable from a query?
    Depending on exactly what you mean, the code you posted will work; just fill in the columns you want in place of "...".
    If I don't know where you're starting from, and I don't know where you want to go, then I can't give you very precise directions.
    Explain what you're trying to do.  Remember, the people who want to help you don't know what environment you're working in (e.g., SQL*Plus, PL/SQL, Apex, ...), they don't know anything about your application, and they don't exactly what you want.  The more you help them, the more they can help you.
    Why not post a question that really explains what you need to do?  For example: "I have a table like scott.emp, that has multiple departments.  Users will always be interested in only 1 departement at a time.  I would like them to run standard, fixed queries, such as ... but have the results only apply to the department they are interested in, as if they had executed ...  Several users may be on the system at the same time, and they won't necessarily be interested in the same department.  I'm doing this in SQL*Plus now, but I may want to do something similar in Apex.  My Orace version is ...".

  • Unable to see system variable no in sap b1 due to watch

    Dear Sir,
    In SAP B1
    I am generating report Customer Aging Report.
    In PLD   Customer Code is displaying buy i am unable to display customer name in PLD because when i am unable to see
    system variable number.
    The watch cover that variable no. how can i find system variable no.
    is there any other method to see system variable no.

    Hi,
    what you are seeing in system-> status is not the installation number that is the status of your system's SAP License
    when you have not installed the license properly after the installation, it shows the status as initial
    go to SM51
    there you can find the instance number along with the Hostname_SID_InstNumber of your server
    thanks and regards
    Abdul Hadi

  • System variables not showing correctly in body pages

    Can anyone help with a problem I'm having with system variables please?
    I have created a template and multiple documents which all use a system variable for placing the chapter number and page number in the footer: <$chapnum>-<$curpagenum>
    I have just created a new document and want to use the same variable on the main pages of the document but I want to use a different page number variable on the TOC. For some reason now, when I create a new variable of <$curpagenum> it doesn't show correctly on the document; it's showing as: <$curpagenum
    I've also tried using the format of <$chapnum>-<$curpagenum> that has worked on other documents but now this shows in the document footer as: <$chapnum<$curpagenum
    Has anyone seen this problem before?
    Thanks

    Hi Art, thanks for the reply.
    In my original documents I'd edited the Current Page system variable from <$curpagenum> to <$chapnum>-<$curpagenum>. This worked correctly.
    In the new document I tried both the picking-and-clicking method and typing the string to get the same footer but neither worked.
    I've now changed it as you suggested, selecting the two seperate system variables of <$chapnum> and then <$curpagenum> and this seems to have solved the problem.
    I'll know to keep things simple in future!
    Thanks.

  • Environment or system variables in PI Communication channel parameters

    Is it possible to use any of the system/environment variables in the PI Communication channel parameters ? Please point me to the documentation. I know I had seen it on SDN sometime but can't seem to be able to find the link.
    I am not interested in ASMA or variable substitution.
    Thank you,
    Sridhar

    I don't know anything other than Asma, DynamicConf, VariableSubs, etc...
    There're some system variables like "%f" or "%F" usable in FileAdapter channel (OS command box)

Maybe you are looking for

  • How to create a project in Solman with PSCD content

    Hi All, I am looking for any potential article on creating a u2018projectu2019 in Solman, we are looking into creating an project in solman with the PCSD and Grantor content but we donu2019t know where we can find this info. Can some one please tell

  • Bridge for multiple users on a network

    We are a few people working out of the same server. I've set the cache to a folder on the server and pointed all machine's bridge to that location. To my surprise, everytime someone open a folder (that as previously created the thumbnails) Bridge rec

  • Physical stock mismatch to sap stock

    Dear Experts, I have a scenario where there is difference in stock amount to that of in SAP by 3. Phisically stock existed as 3 but in SAP stock existed as 6. Later we came to know that 3 materials are stolen. Now I want to know how to tackle this is

  • Execution of UPC_BUNDLE_EXECUTE_STEP with 0FISCPER

    Dear collegues, I´ve a problem to execute the UPC_BUNDLE_EXECUTE_STEP program to schedule a BPS global sequence several step using 0FISCPER. I created an exit variable with 0FISCPER and 0FISCVARNT but this way, the flag "restriction of values require

  • How can I make groups on my address book?

    I have an iphone 5c.  I am trying to make a group in my address book.  I need to be able to send a message to a group but have the members of the group respond to me only.  At this point, every message I send to them is getting read by them but then