Changes in program

Hi guys,
we have one program where we calculate currency conversion rates e.g, BUD 2009,BUD 2010,ACT 2009,ACT 2010,LE1 2009 ....In my program they have code which calculates BUD CY(Budget current year rate),BUD PY(Budget previous year rate),
ACT CY(Actual current year)....now they want me to add more codeso itcalculates ACT PY(Actual previous year rate)
I am poor in ABAP coding..a functional guy...Can any one refer to code below and helpme how I can change code so it fits ACT PY(Actual previous year)...
I gave parts of whole code where they wrote BUD CY AND BUD PY code..both are same with minor changes...May be you can have a look at them and change ACT CY code given below so it fits ACT PY ....Many Many Thanks.
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
Edited by: Rob Burbank on May 25, 2010 5:03 PM

Hi
You can use function module  below:
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
            EXPORTING
              date             = conv_date
              foreign_amount   = vdf_s060-kawrt_k
              foreign_currency = vdf_vbrk-waerk
              local_currency   = vdf_s060-stwae
              rate             = vdf_vbrp-kursk
              type_of_rate     = lv_kurst
            IMPORTING
              local_amount     = vdf_s060-kawrt_k
            EXCEPTIONS
              no_rate_found    = 4.
Kind regards
Carlos Machado

Similar Messages

  • How can i change a program from Request/Task ?

    Hi everybody
    I have a main program in some request/task number and some include in other request/task numer; i want to transport them in the same task.
    How can i change a program/include from one request/task to other ?
    Thanks
    Frank

    The simplest way is to go TR.SE09 and go to your request "Delete the Object " and again go to your object and save it it `ll ask for request ..add it where ever you want .
    Thanks
    SK

  • How do you change the program ALL files of a type open with?

    Hello. I run Parallels Desktop for Mac on this system. Since I upgraded to v3, OS X wants to open my Mac Word/Excel/Etc... files using the MS Office installed in windows XP from PD. I don't always have PD running, and do not want it to start up to use the programs on it. I know, not a Mac problem... But, my question is this:
    Is there a way to change the program that ALL files of a certain type (ex: pdf, doc, txt, etc...) will start? I have tried the OPT+RT CLICK which says to ALWAYS open this file with xxx.... but that only flags that single file. I want every file that I ever open anywhere on my system/network to use the program I specify. This is simple to do in Win XP, and I'm guessing there's a way to do it in OS X.
    Help/information appreciated.
    Thank you,
    Scott
    MacPro Quad Xeon 3.0GHz   Mac OS X (10.4.9)   16 GB RAM - 1TB Internal RAID1

    Well, with the program Onyx, I've found that LaunchServices database is the culprit. To fix this I just pick a type of file I want to change. Right click the file, choose get info, and change the program it opens with, then click the change all button. Done!
    Cool.
    Scott

  • Latest Lithroom 5.6 does not recognize my .cr2 raw file format and Windows 7 it asociates with my older raw plug in in Ps CS5.5. I am not able to change default program for .cr2 in the properties pannel...

    Latest Lithroom 5.6 does not recognize my .cr2 raw file format and Windows 7 it asociates with my older raw plug in in Ps CS5.5. I am not able to change default program for .cr2 in the properties pannel...
    every new released update of Lr from v 5.2 changed somethin in my Windows 7 Professional settings. I am stucked. Can somebody help me please? Many thanks. Andrej

    Hi Jim,
    yes after I imported my .cr2 raw files into new catalog it started to work. Windows 7 still does not recognize them but I can edit them as you said within the Lr5.6 and then export them into .psd or .dng files...as needed.
    I bought Lr5 only because I got present - my new camera Cannon 70D and because my older Photoshop CS5.5 raw plugin does not recognize. cr2 files.
    Many thanks for your help.
    Andrej.

  • Changes to program are forbidden by USER

    Good Morning Gurus.
    I have a program Z created by other guy.
    When i try Change this program then is showed the message:
    Changes to ZCX_FEBRABANT_REL are forbidden by ABA-FELIPE
    But This Guy ( ABA-FELIPE ) dont work in my company since 2008.
    How I can Change this program?
    The message says:
    Diagnosis
        You attempted to change ABAP/4 source code, but the author or last user
        has locked this against further changes by setting the editor lock.
    System Response
        You are not allowed to change the ABAP/4 source code, but can view it i
        display mode.
    Procedure
        You can change the ABAP/4 code only when the user who set the editor
        lock has canceled it.
    Thanks Gurus.

    Hi Ronaldo,
    various methods are there
    1.After getting proper approval from superior approach security team and do a password reset for the ABA-FELIPE user and login as an user and remove the editor lock in the attribute of the program.
    2.Use the below program
    TABLES: trdir. "System table TRDIR
    PARAMETERS: program LIKE trdir-name.
    PARAMETERS: lock    LIKE trdir-edtx.
    SELECT SINGLE * FROM trdir WHERE name = program.
    trdir-edtx = lock.
    MODIFY trdir.
    IF sy-subrc EQ 0.
      WRITE: / 'Editor Lock update Successful ', trdir-name.
      IF trdir-edtx = 'X'.
        WRITE: ' Lock'.
      ELSE.
        WRITE: ' UnLock'.
      ENDIF.
    ELSE.
      WRITE: / 'Editor Lock update Unsuccessful ', trdir-name.
    ENDIF.
    Execute this program with lock as SPACE (unchecked) to unlock
    LOCK with 'X'(check) to lock
    Regards,
    Kannan

  • Change of program command in piqst00

    Hi,
    In piqst00 on change of program command student is deregistered in one program and registered in other program it is working fine.but i want update same in CRM also as soon as he user use change of program functionality.
    for no seat for program we are maintaining Z table in se11.
    we want  this table should be updated.

    Manjunath,
      You can see these information in Extended maintenance mode of student file(PIQST10) in registration tab.
    Prabhat Singh

  • How do you change what programs open on starting up?

    How do you change what programs open on start up?

    By changing the list of login items for your user account in System Preferences, and if Lion is automatically reopening applications, which ones are running when the computer is shut down.
    (64981)

  • Change Pointer Program for IDOC creation..??

    To All
    Where does the message type is assigned, which allow that type of IDOC getting created in WPMU...??
    Can COND_A be created in Change pointer Program...??
    If possible ..How...??
    Thanks
    Sumeet

    3)
    RBDMOIND to confirm whether idocs have been successfully
    dispatched to the receiver..and v can also use this program to change the status of idoc from 3 to 12....
    RSNATED is the program used for triggering IDOC for the output type..where the output medium is 6.
    And the subroutine that triggers the IDOC in the program is EDI_PROCESSING.
    RSNASTED itself determines the associated IDoc outbound function module, executes it to fill the EDIDx tables and passes the prepared IDoc to the port.
    You can call the standard processing routines from any ABAP, by executing the following call to the routine. You only have to make sure that the structure NAST is declared with the tables statement in the calling routine and that you fill the at least the key part and the routing information before.
    TABLES NAST.
    NAST-MANDT = SY-MANDT.
    NAST-KSCHL = 'ZEDIK'.
    NAST-KAPPL = 'V1'.
    NAST-OBJKY = '0012345678'.
    NAST-PARNR = 'D012345678'.
    PERFORM einzelnachricht_screen(RSNAST00).
    Calling einzelnachricht_screen determines how the message is processed. If you want to force the IDoc-processing you can call it directly:
    TNAPR-PROGN = ''.
    TNAPR-ROUTN = 'ENTRY'.
    PERFORM edi_processing(RSNASTED).
    ~~Guduri

  • Change the programs in the SlideNav bar?

    Hi every one, i can not change the programs in the SlideNav bar, i have done step by step in the Help but when i chose Launching an Items then click Active but nothing appears.
    Anyone help me?

    Hi,
    if the user has not set any other gui-specification, just using "message" will do the trick.
    Please refer to transaction abaphelp if you are not sure how to use: message.
    Hth
    ute
    P.S. Please reward points if helpful

  • Changing default program to open a file with Regedit

    Hi 
    Is there a way to change the default program to open a file with another program using a Rededit key. I would like to change the program to open a .g3pp file with vlc instead of media player cause it doesn't read it.
    Thanks

    Is there a way to change the default program to open a file with another program using a Rededit key. I would like to change the program to open a .g3pp file with vlc instead of media player cause it doesn't read
    it.
    Why make life hard for yourself? Just right-click any .g3pp-file, then left-click "Open with". That's all!

  • Function module or Method for changing a program with transport

    Hi,
    Can anybody please let me know if there is any Function module or Method to change a program under a Transport request
    (so it needs to go to next Version for the program).  I tried using
    INSERT REPORT .... with all options for this command. It is changing the program successfully but all are creating the program locally.
    I successfully found CIF_PROGRAM_INSERT for creating new program under a TR.
    But struggling a lot to find the same kind of FM or Method to change a program.
    Can anybody help?
    //Kothand

    Hi,
    Thanks. But i am asking for a Function module which can edit a program and keep it inside a Transport request.
    This FM is to import any change request.
    //Kothand

  • Change a program impression of sapscript  to a program impres of smartforms

    Hello,
    Is what somebody can help me?
    I want to change a program impression of sapscript  to a program impression of smartforms, I want to know which are the stages to be followed.
    Thank you in advance

    Hi
    Look at the below links
    Re: Migrating SAP script to Smartform
    http://help.sap.com/saphelp_nw04/helpdata/en/9d/9599386185c064e10000009b38f8cf/content.htm
    Regards
    Sudheer

  • Change run program failing..

    Hello BW experts,
    I have checked that the change run program is again and again failed while loading master data.
    After executing the Change run program I check the related job in SM37. It get successfuly completed.
    But if I again check the Change run program , I can see the same master data infoobject again.
    I run this attribute change run program 5 times and everytime again and again I observe that the same Master data infoobject is present in the Attribute change run program . though the job is successfully completed in SM37.
    Due to this error we are also getting message ALEREMOTE locks and can not able to load master data .
    Any help please.
    Best regards,
    Amol.

    Amol
    Don't run the this program again and again, that's the reason why ALEREMOTE is getting Locked. Please check Transaction code SM51 also along with SM37 because jobs must be running at the back end in SM51. Make sure the jobs completely and stsrt the new job.
    Hope this helps
    Thanks
    Sat

  • The program vectorworks 2008 (not 2009) does not work with the new operating system Mavericks, which is a disaster because it forces us to change the program, and is very expensive. Apple should fix this problem

    The program vectorworks 2008 (not 2009) does not work with the new operating system Mavericks, which is a disaster because it forces us to change the program, and is very expensive. Apple should fix this problem

    Why should Apple fix the problem? Maybe you should consider NOT upgrading if an expensive piece of (obsolete) software you're running won't work with it...

  • Adobe acrobat pro x change the program's default page display to single page view - Windows 8, HP La

    adobe acrobat pro x change the program's default page display to single page view - Windows 8, HP Laptop

    Since there were no answers, I will take a stab at a reponse. For the 2nd method, I suspect you could simply select the print or press job options to get the desired results or turn off "use local fonts" in Acrobat. If you check the font list, the fonts are probably not embedded and that is likely the problem.
    I noticed that you have both Reader and Acrobat installed and that might cause some conflict, but should not be the issue here. If you were to uninstall Reader, you would have to repair Acrobat. The conflict here is that you might have problems with the one opening when you want the other. If it works for you, then don't worry about it.
    For technique 1, I suspect you may be using IE 9 that has apparently been a problem since it came out. I have refused to install it. However, it may simply be that PDF Maker does not work correctly with your browser, or got deactivated and needs to be allowed to run in your browser (IE I am assuming).

  • Change default program that opens images?

    I'm having trouble with this. Been digging through gconf all day and still no avail. I'm looking for a way to change which program opens images. Ever since I installed gimp it has been opening them instead of eog. How can I change this?

    If you are using gnome, then you can right-click on a jpg and select "Open with other Application".  Select eog and it should become the default after that.

Maybe you are looking for