Conversion type PERI5

Dear Gurus, I have created a routine to supply data to an infoobject that store the fiscal year quater (length 5) using the following code
data : tp_buper type POPER,
           tp_gjahr type BDATJ,
           tp_quater(2) type c,
           tp_fisquater(6) type c.
    CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
      EXPORTING
        I_DATE               = SOURCE_FIELDS-lqday
         I_MONMIT             = 00
        I_PERIV              = 'Z3'
     IMPORTING
       E_BUPER              = tp_buper
       E_GJAHR              = tp_gjahr
     EXCEPTIONS
       INPUT_FALSE          = 1
       T009_NOTFOUND        = 2
       T009B_NOTFOUND       = 3
       OTHERS               = 4.
    CASE tp_buper.
      WHEN  '001' or '002' or '003'.
        tp_quater  = '1'.
      WHEN  '004' or '005' or '006'.
        tp_quater  = '2'.
      WHEN  '007' or '008' or '009'.
        tp_quater = '3'.
      WHEN  '010' or '011' or '012'.
        tp_quater = '4'.
      WHEN OTHERS.
    ENDCASE.
concatenate tp_fisquater tp_gjahr into tp_fisquater SEPARATED by '.'.
    RESULT = tp_fisquater.
my problem is it alway store the value as 02010 where the actual value should be 42010. I have checked that the codes return 42010 but after it go through the PERI5  (which is activated at infoobject level )conversion then only the problem starts.
Can anyone advice me the output format for my data so that the conversion can pick it correctly
I cant deactivate the conversion type since this object is being used by many other cubes
Thank you
BR

Sorry gurus,
i just notice there is small mistake in my code

Similar Messages

  • While executing in DTP, Conversion Type missing

    Hello Sir:
    I can see my data is loaded OK in PSA through infopackage. While executing DTP, I get the error "CONVERSION TYPE MISSING" for my keyfigure.  any idea for the error, and its fix
    Regards

    hi mark,
    u should have created transformation rule .
    1.go to transformation rule.
    2.u will have 2 tables one for source second for target table.
    3.two tables would be mapped one u give the data source right.
    4.here go to that infoobject that asks for the stated error.
    5.click the group rule for that infoobject.
    6.u find a pop up having conversions from source to target specify wat ever conversion u need and check it out.
    if error still persists .
    check for u r infobject is it a fixed currency/uom.
    try to write a routine for the target conversion in start routine .
    thank u.

  • Currency Conversion type not visible in the query

    Hi ,
    I created one currency type conversion   Z_INR
    exchange rate type : M
    Exchange rate from infoobject : zexch_rate(key fig)
    source curr from data record
    Fixed target curr : INR
    Variable time reference  : A to Exact Day
    Special info object : Ztr_date (Transaction date)
    it got saved succesfully but wen i try to include  this in the query its not visible there . can anyone let me know why this problem is coming
    help will be appreciated .
    i also included rate and date in the query still not visible

    Hi,
    Create Currency conversion type using Trans: RRC1.
    1.Specify your Exchange rate type.                     
    2.Dynamic Exchange rate type
    3.Source curency from data rec.
    4.Fixed currency say USD.
    5.Select Variable Time reference "Start Month" and Special Info Object - 0calmonth
    Secondly In the key figure field to be converted in the query,   select properties - select the currency conversion key name .
    Thanks,
    Nagesh
    Sony Singapore

  • User Logic for Conversion Type Instead of Hard coding in query.

    Hello , Good response from SDN but thats all standard which I know. Please help me to resolve the problem as stated below. SDN friends are always best help.
    Requirement: User will select the Target Currency; Will select the Exchange Rate like Monthly Avg 002M. Now there has to be a variable in Conversion which tells the logic to pick Conversion Type ZVHGR if  Exchange Rate = 002M, but if Exchange Rate = 001, then Conversion Type ZVHMR.
    <u><b>
    Approach to solve abo</b></u>ve
    1. I have created a Currency Translation Type " FiscperConversion" "ZVHGR" now this has Exchange Rate Type from Variable "ZVARN" (Which is a variable single value manual input on 0RTYPE Infoobject for exchange rate.)
    2. Now Currency Tab: Target Currency is selected from Variable placed in the Report. ZRPVAR.
    3. Now the Variable Time Reference is used. Standard Infoobject 0FISCPER
    which is beginning of period.
    Now all the above is done. Let go to the query and For Value of kEYFIGURE "Audit Balance" in Conversion Tab Conversion Type is specified is "FiscperConversion" ZVHGR"same as above and thats it. But the problem is here user want a variable that user can select the Conversion Type Instead of Hard coding.
    <b>Please suggest how to create this variable for Conversion Type and specify in query designer since In Conversion Tab this is not allowed to have variable.</b>
    Please help me very soon
    Thanks
    Soniya Kapoor
    null

    Hello soniya
    CTK ( currency translation key) includes
    1. Exchange rate type - variable
    2. Time base              - Variable
    3. Source abd TGT currency    - variable
    if all the things are given in variable why and what extra you need by selecting currency translation key from user input. I think you should ask business user again abt their requirement.
    I can think of inputing CTK if say you have choosen time base as static ( Fix value)...say in one key u r using fiscal period as base and in other u r using calday as base...
    Thanks
    Tripple k

  • Currency Conversion Type missing in BEx

    I have created a new conversion translation type M1 based on Monthly Average exchange.
    RSCUR definition for  this conversion on the time ref tab to be a "variable time reference"- End of Period for
    Standard Info Object Fiscal Period "0FISCPER".
    Is this configuration the cause for placing a limiting restriction on the visability of this selection at runtime of query.
    The following currency translation types are not available at the runtime of the query.
    ●      Translation types for which a variable is stored (variable time reference, source currency from variable, target currency from variable, and so on).
    From BEx I am unable to select Currency Conversion (Convert to Currency USD) and Use of Currency Translation M1
    Thank You ...... Dan

    Andrey:
    Once BEx query results are displayed in M/S excel ... the user navigates (right click) to (local) query properties:
    Tab >> Currency Conversion >> select Convert to Currency will open option to determine Currency (USD) and Currency Translation (via drill down).
    Those Currency conversion types configured with variable time reference on InfoObject 0FISCPER cannot re-determine
    target currency values. Fixed Time reference conversion types can be selected through BEx.
    I found a restriction/ limitation in the following thread.
    http://help.sap.com/saphelp_nw70/helpdata/en/ec/076f3b6c980c3be10000000a11402f/frameset.htm
    Restrictions:
    The following currency translation types are not available at the runtime of the query.
    ●      Inactive translation types
    ●      Translation types for which a variable is stored (variable time reference, source currency from variable, target currency from variable, and so on)
    ●      Translation types in which an InfoObject is used for determining the source currency or target currency.
    Are you aware of any way around this ??
    Thank you ....... Dan

  • How to move currency conversion types

    Dear All
    my problem is currency conversion types and fixed&target currency is showing development but in production its not showing aft i came to know i hav to move
    currency conversion types to production. i checked in rscur tcode where i got this list here i cant understand which currency type i hav to move
    1.0HRFIXCUR     Fixed Target Currency, Current Date
    0MEANDAILY     Middle rate using exact days
    USD_VAR     usd with var rate
    VAR_ALL     Multiple Curencies
    ZCC01     Cost Center
    ZCUR_1     Target currency type
    ZCUSTTR     Local currency
    ZNEWCUR     New Currency Type
    ZTEST1     Conversion currency translation
    2.in development i hav seen currency variables are there but for the same i hav checkded production currency variables are not there
    its mandatory to move currency variables also production
    iam in bi7 sp13 actually previously its working we applied some patches in r/3 fi then only we are facing this problem
    can you please help me to close this issure
    thanx for all

    please close this thread and see the other one...

  • One Conversion Type and two Exchange Rate Types in one report

    I have Conversion Type called TEST. In this Conversion Type there is Exchange Rate Type D selected (D-daily). I have also Fixed Target Currency selected. And the report works perfectly fine....BUT.......there is also Exchange Rate Type M defined in the system (and it used for the exchange rate used last day of the month).
    The question is: how to put both Exchange Rate Types into one Conversion Type so both types are used in the reports?

    Hi,
    You can go for a variable exchange rate type.
    Creating variable:
    For this you have create a varible which can take diffrent exchange rate types.
    Open query designer create a new dummy query in that search for infoprovider 0RTYPE.
    It will have one dimension(name ->key) with 0RTYPE in it.
    create a variable for 0RTYPE.
    Save and close the query.
    goto RSCUR -> give your translation type -> go to exchange rate tab -> choose Ex. Rate from var option -> give the variable you have created prviously for 0RTPYE.
    Rest all same but just for completion...
    Go to your query in which in u want to do cur conversion.
    Double click on the key fig
    Go to conversions tab-> select the conversion type u created in RSCUR.
    When you run the query you can select the exchange rate type in the variable screen.
    rgds,
    Raghu

  • Currency Conversion types not visible for KF in BEx report

    Hi Gurus,
    I'm facing a strange issue with the curr conversion types.
    I had created a KF with 0currency for my requirement. when i'm trying to create a report on the top of the MP i'm facing this issue.
    When i right click on the KF --> selected "properties" at the bottom - we have "curr conversion types" -- here i can't see all the curr conversion types for my KF.
    Where as i checked for other KF i can see the missing currency conversion types.
    Did any one faced such issue...? please throw some light on this issue.

    HI,
    Goto RSA1 ,
    double click on you KF info Object ,
    there you can see the unit 0currency is been selected , Only those key figure which has been assigned 0currency can only be converted in Bex query.  
    Regards
    BVR

  • Currency conversion type with variable for target currency

    Hi,
    I use a currency conversion type with a bex variable for target currency in a query in order to convert a Key Figure. It works fine but instead of short text description there's the technical description of the variable in the selection screen. How can i change the description of the variable ?
    For information, in the bex, we can't see the variable in "variable sequence". I use BI 7.0
    François.

    Hi,
    The problem was that in the maintenance of the currency translation type the option  Target Currency from Variable” was checked. As a consequence in the properties of our key figure the drop-down-list Target Currency was set to  from variable” with no chance of changing it (it was grey).
    What we can do was to choose the option  Target Currency Selection with Translation” instead of  Target Currency from Variable”. Now, in the properties of the key figure we can choose the variable in the dropdown-list Target Currency and tick the option “Variable Entry”. As a result, the variable shows up in the query properties and we can change its arrangement.
    Regards,
    Siva Patil.

  • Currency Conversion type not in Query

    Hi,
    I have created a Currency Conversion Type using transaction RSCUR.
    In the query i want to convert a particular column to target currency by using this curr conversion type.
    But in the column properties under the conversions tab, the conversion type does not appear in the drop down.
    Kindly suggest.
    regards,
    Vedaas

    If you have followed the links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/462fe790-0201-0010-3ca4-adfd89e4f9f2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/287bab90-0201-0010-f48e-cc55b0cd13d0
    Then log on and off the Query as it may be due to a refresh issue you can't see it.

  • Currency conversion Type

    Hi experts,
    I created a currency conversion type in transaction RSCUR. My problem is I don't see this in BEx query designer. I used an existing one as template and experienced the same. Did I miss something or is it a system bug?
    For your info we are running BI7 SP6
    Regards
    Aban
    Edited by: Abolfazl Hassanzadeh on Feb 18, 2011 2:47 PM

    Hello Vikas,
    Please don't post the same question multiple times. You have alread posted the same question 3 times here.
    Please see the other thread that you have posted for answers.
    Thanks
    Chandran

  • Currency conversion type by customer exit variable doesn't work

    Hi all.
    In my query I need amounts by quarter, applying quarters last date rates as currency conversion.
    Query has Year parameter. Based on this parameter, by customer exits I calculate every quarters last date and use them as currency conversion types.
    The problem is that query DOESN'T APPLY currency conversions!
    I checked TCURR table - currency conversions do exist for applied days
    I checked my customer exits - the date calculation works fine
    I suppose where is something wrong in query processes (customer exits/currency conversions) sequence before running it.
    Someone knows anything 'bout that?

    Check these docs.. and check again.
    [Creating Currency Translation Types|http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6813e07211d2acb80000e829fbfe/content.htm]
    [Use Variables for Currency Conversion|http://www.scribd.com/doc/7061035/How-to-Use-Variables-for-Currency-Conversion]

  • Function Module using Quantity conversion type

    Hi,
    I need to know the function module which uses the quantity conversion type created in RSUOM and should provide the converted value as the result.
    I know the function module which convert the units based on the input. But need to know the FM which uses conversion type.
    I tried conversion type available in the transformation rules. But it is not working for a particular case. So thought of doing the same inside a routine.
    Awaiting for your reply
    Thanks!

    Try this and check
    select vbakvbeln vbapposnr vbakvkorg vbakvtweg vbak~spart
    vbakvkgrp vbakvkbur vbapmatnr vbapmatkl vbap~zieme
    into CORRESPONDING FIELDS OF table it_data
    from vbak
    inner join vbap on vbapvbeln eq vbakvbeln
    where vbak-vbeln eq vbeln.
    Regards,
    Atish

  • CONVERSION TYPE

    Hi All
    Could you help me with conversion type. I have 2 IO IO_PRC (price ) and IO_QUANT( Quantity). I have selected fixed currency and unit in the IO definataion. When I creating transformation i get the message conversion type missing. why
    is this. any help
    Pankaj

    Hi Pankaj,
    the problem should be solved with SPS7. On which SPS level are you??
    If you are already on SPS7, please check the available notes, whether any of those reflect your issue.
      Cheers
        SAP NetWeaver BI Organisation

  • Required Document on Currency conversion Types

    Hi All,
    Can any body provide me link or send Document on Currency conversion types
    [email protected]
    Regards,
    C.V.
    Message was edited by: P.C.V.

    I sent to you an useful how to..
    Regards,
    Sergio

Maybe you are looking for

  • Stuttered performance

    Hi. I just got a new Mac Pro 2.66 with a gig of ram, and I've noticed that a lot of applications seem to stutter (just take their time, or the mouse pointer turns into the revolving rainbow ball for a while) a lot. Offending applications include Fina

  • Web browser only zooms, will not scroll

    Completely new to Palm here.  Have had the Pre Plus for a week on Verizon.  Having what I think is a minor problem that I can't seem to figure out and it is driving me crazy.  I did search these forums and haven't found anyone with a similar problem

  • 3d applet problem

    I'm new to java 3D and want to create an app that runs both as applet and application. When I load the html I just get the grey background in the browser and a brand new window that runs the program as as application. When trying to run as an applica

  • I cant update my 4s to ios8

    I have enough room but everytime i hit install my phone keeps saying its unable to update

  • FCE 3.5 won't start

    Hello all, I see there have been a few threads on this already. None of them have applied perfectly to my situation. I have a twist -- we are a school using network accounts (with local capture scratch, of course.) Local users appear to be able to ru