Use of FOREIGN_FACTOR and LOCAL_FACTOR in Function module CONVERT_TO_LOCAL_

Hi all ,
           could anyone tell me what is the use of  following two Export parameters in function module    CONVERT_TO_LOCAL_CURRENCY and why they are used for ,
1.   FOREIGN_FACTOR (Factor for the foreign currency units)      and
2.  LOCAL_FACTOR ( Factor for the local currency units ) .

Hi Ramya ,
                    Thanks for your reply . But i would like to know what is the use of those two parameters and in what calculation it    is used. 
The value which is to be converted is passed through  'foreign_amount ' parameter and it is returned after convertion by
'local_amount ' parameter in the function module 'CONVERT_TO_LOCAL_CURRENCY' . Other than this  if we want to change the currency of another variable which is not passed to this function module  how can i do it ? Is it enough if i multiply that variable with the FIXED_RATE parameter which is returned by this function module as its value is same as exchange rate or do i need to
use FOREIGN_FACTOR  and LOCAL_FACTOR  also for this calculation?
Edited by: archana_nayak on Apr 25, 2010 9:52 AM

Similar Messages

  • Can i use fp_job_open, fp_job close in one function module to get hex pdf

    Hello All,
    Can anyone help me here.
    I am trying to use function modules FP_JOB_OPEN, FP_JOB_CLOSE,FP_FUNCTION_MODULE_NAME and call generated function modules in one function module and try ing to get hex string of pdf.
    But hex string of pdf is not coming.Should i do any setting in any of the parameter so that the function module using all these function module gets the pdf hex string.
    Regards,
    Menaka.H.B

    Hello,
    do you want to get the PDF out of the printing program to use it elsewhere? (Portal, GOS etc.)
    You need to work with the CALL FUNCTION fm_name part where the output parameter of the generated function module is XSTRING type (if i remember well) and that´s a place to start. You can convert from xstring to binary and back using SCMS_XSTRING_TO_BINARY and BIN_2_SCMS.
    Also do not forget to set fp_outputparams-GETPDF = 'X'. to get the hex.
    Regards, Otto

  • Use of text elements in wirte_form function module.

    Hi guru's,
    Could any one tell me  what is the use of text elements in write_form functional module SAP SCRIPTS. As per my knowledge text elements are used for multi language purpose is there any other advantage other than that.
    Thanks in advance.
    Vardhan.

    Hello.
    A text element is a block in script that can be written several times in your document. You can put fixed texts, variables, include texts, images, etc etc
    When you see WRITE_FORM, element 'X', you know that everything that is inside element /E X of your script is writen. It's very usefful to organize your script, and it eases to construct a very complex script.
    It's also usefull to translations in SE63.
    Best regards.
    Valter Oliveira.
    Edited by: Valter Oliveira on May 27, 2008 10:05 AM

  • Calling and executing a function module in the Portal iview development

    Hello Portal development gurus...
        I am very new to portal iview development and am learning a lot of stuff.. I now have a requirement to do the following:
      1. I need to use the NWDS to create java code in developing an iview
      2. I need to call and execute a function module and display the parameters pulled in from the function module onto a Jsp.
    3. I need to create an iview based on this deployed component.
    Could anybody please explain me how to do the coding on this front?
    I appreciate if anybody can share documentation about this kind of a development.
    As always, points galore for useful and helpful suggestions.
    Regards,
    ~~~LB

    Hi,
    Firstly Have you searched in SDN for the same, anyhow please go through the link to work on the requirement
    [/docs/DOC-8061#15|/docs/DOC-8061#15]
    Go through the thread which will talk in detail
    [https://forums.sdn.sap.com/click.jspa?searchID=19551584&messageID=6348955|https://forums.sdn.sap.com/click.jspa?searchID=19551584&messageID=6348955]
    Hope this helps.
    Cheers-
    Pramod

  • Guidence regarding creating  a test data and running any function module

    hi pals,
       can you plz tell me how to create a test data, commit and run any function module, in details(step wise) ??

    Hi yawmark,
    I appologise for including a poor code example ealier on, i had to come up with something quick. I will however, visit the sugeted sites you mentioned, thank you.
    I did however, create a simple class that compiles and can be used to set, return, reset and print a few details about a person. I hope that is of better use than my previous example. here it is:
    public class SimplePerson {
        int age = 0;
        String firstName = "";
        String lastName = "";
        /** Creates a new instance of SimplePerson */
        public SimplePerson() {
        /** Sets the age of this person */
        private void setAge(int takeAge){
            age = takeAge;
        /** Returns the age of this person */
        private int getAge(){
            return age;
        /** Sets the First Name of this person */
        private void setFirstName(String takeName){
            firstName = takeName;
        /** Returns the First Name of this person */
        private String getFirstName(){
            return firstName;
        /** Sets the Last Name of this person */
        private void setLastName(String takeName){
            firstName = takeName;
        /** Returns the Last Name of this person */
        private String getLastName(){
            return firstName;
        /** Resets the details of this person back to back to
         *  the default form.
        private void resetAll(){
            age = 0;
            firstName = "";
            lastName = "";
        /** Prints all the details this person has */
        private void printAll(){
            System.out.println("Age: " +Integer.toString(age)
                    + "\n First Name: " + firstName
                    + "\n Last Name: " + lastName );
    }Cheers mate

  • Custome BAPI - declare ITAB and define the Function Module and Subroutine

    Hello Experts
    I want to create a Custom BAPI and it has the following scenario:
    1) a Function Module which collects some records into it internal table, say ITAB
    2) a Subroutine which moved the records from ITAB to BAPI table
    Now, I want to declare ITAB and define the Function Module and Subroutine.
    Where and How can I do this?
    Plz suggest.
    Regards
    BD

    Hi,
      1) Got to SE37 and create an RFC .
      2) Declare the ITAB directly in the TABLES tab of the FM.
      3) Inside the FM source Code tab, collect all the data using SELECT query and directly or by using logic, put the data into the
          ITAB.
      4) Since the data collected is directly put into the itab you dont need a subroutine to be written.
      5) If subroutine is a necessity, then just write PERFORM SUB ROUTINE NAME.
           AND DEFINE THE FORM ENDFORM OF THE SUBROUTINE AFTER THE ENDFUNCTION OF THE FM
       Let me know if any issues....
    Regards,
    Vimal.

  • I am trying to use IMAQ acquire and other IMAQ functions with Queue functions.

    i am trying to use IMAQ acquire and other IMAQ functions with Queue functions.
    i mean i would like to acquire the image in a queue and deque it afterwards. would be the queue function accept the IMAQ data type?

    Refer posting, http://exchange.ni.com/servlet/Redirect?id=8879554

  • Could I use two regular computer to achieve realtime communicat​ion using the Ethercat and Labview Real Time Module?

    Could I use two regular computers (one acts master , another one acts as slave using the Ethercat Internet Card) to achieve realtime communication using the Ethercat and Labview Real Time Module? if it could, what hardware should I purchase from the NI ?
    Thank you!

    Hi Xiaolin,
    NI doesn't offer Windows based Ethercat master or slave software. Only LabVIEW RT can run the Ethercat driver. 
    However, you could use a LabVIEW RT target as an Ethercat master and use the Ethercat Internet Card with a slave PC (note: I think this will work from the Beckhoff description of the card you are describing. The card should integrate like any other non-NI slave. However I haven't tested the setup and don't advise saying it will work until you have tried). 
    You can use any NI RT target with two ethernet ports as the Ethercat master. This could be a cRIO, PXI or RT Desktop. 
    Jesse Dennis
    Design Engineer
    Erdos Miller

  • Use of reader and voice over functions

    Want/need help using both "reader" and voice over functions.  Thank you.

    Hi there Joycexy,
    You may find the information in the article below helpful.
    OS X Mavericks: Use accessibility features
    http://support.apple.com/kb/PH14322
    -Griff W. 

  • Difference between BAPI Function Module and Remote Enable Function Module

    Dear Experts,
        I want to know the main difference between BAPI Function Module and Remote Enable Function Module ?
    One main difference that I know is BAPI FM are declared in Methods of Business Object  ie BAPI are methods of BOR where as Remote Enabled FM are not. What are other differences? Is it possible to convert a Remote Enable FM to BAPI FM .
    regards
    Manish

    Hello,
    Did u create any ZBAPI?
    The Procdure for Creating the Customer BAPI is Create a Remote Enabled Function module and then goto the tcode BAPI.
    Once u go in to that just take the Project tab and enter the details.
    by this way u can create a Customer BAPI.
    With Regards,
    Sumodh.P

  • Difference between BAPI and remote enabled function module

    Hi!
    what is the difference between remote enabled function module and
    BAPI.
    How do we use remote enabled function module .
    thanks
    Amit

    Please search the forum before asking basic questions.

  • Parameters RCVPFC and SNDPFC in function module MASTERIDOC_CREATE_CLFMAS

    hi ,
    I am using the function module MASTERIDOC_CREATE_CLFMAS to trigger the idoc CLFMAS ,
    While exporting parameters to this function i need to pass RCVPFC(Partner function of receiver) and SNDPFC(Partner function of sender) but i cannot understand what to pass in these parameters.
    Can anybody tell me what are these parameters.
    thanks,
    loveena.

    have a look at this
    http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/frameset.htm
    My R/3 Source System got in-Activate....... How do i get it Activate..?
    Regds
    Abhishek

  • BOM and PM Assy Function Modules

    Hi.
    I need to fetch some data related to BOM and PM Assembly and display in ALV, where I want to use FM, but Im not sure which FM I can use as there are many FMs when i searched in SE37, Im giving the list of required output please give me name of FM or guide me how can I find appropriate FM:
    1-Materials assigned to BOM
    2-Materials not assigned to BOM
    3-Functional Location and equipment BOM
    4-PM assemblies with out materials assigned
    5-PM assemblies with materials assigned
    6-PM assy not assigned to FL, Equipment or Task list
    7-PM assy assigned to FL or Equipment
    8-PM assy assigned to Task lists
    9-All PM assy
    Thank you in advance.

    Hi Shiva
    I had already found around 14 fields from CS_BOM_EXPL_MAT_V2, and CSS4 FG also.
    Can you please let me know how can i find a RELEVANT funtion module, in the sence, now i want to find function module for Functional Location and Task List so which function group i should check?

  • Servo motor control using CRIO+FPGA and 9477 digital out module

    Hello experts,
    I have a futaba BLS551 brushless motor digital servo (3 wires-+,-, signal). i also have a CRIO+real-time+fpga and 9477 digital out module. how can i generate servo signals using this module
    please help...
    Thanks,

    freemason,
    In order to control your servo motor with the FPGA and or DIO module you will have to write drivers to control your motor and drive.  While this is possible is an extremely complicated and time consuming process.  I would highly recommend you consider using the NI 9514 with soft motion as it will provide full servo functionality and is relatively easy to use.
    Regards,
    Sam K
    Applications Engineer
    National Instruments

  • How to use the structure in the EXIT_SAPMM06E_013 function module

    Hello Experts,
    Please guide me how to use the structure defined in function modules under  table tab in the driver program for smart form to fetch the data. Please post some sample code if available.
    Best Regards,
    Sandesh.Sreyamsh

    Can you please elaborate little bit more what is the actual requirement?

Maybe you are looking for

  • Ipod 4 screen goes black

    Screen goes black randomly and then returns to the home screen on my iPod touch 4?

  • Delete and update records in Stored procedures

    I AM NOW STUDYING A STORED PROCEDURE ,AND I ENCOUNTER SOME PROBLEM WITH UPDATE AND DELETE SOME RECORD WHICH ONE IS UPDATED OR DELETED, THIS IS MY CODE: PACKAGE table_of_array IS type emp_rec is record(      empno emp.empno%type,      ename emp.ename%

  • ITunes performance on MacBook versus iBook

    I'm thinking about upgrading my 3 1/2 year old iBook for a new MacBook and I'm wondering how much of an improvement I'll get using iTunes. I've got about 23,000 songs on an external Firewire drive and there's typical an annoying delay loading my libr

  • Just upgraded to 6.1 but my iTunes password doesn't work for my restore

    Just backed up my iPhone4 in iTunes, transferred purchased items to my iTunes library, and then updated the IOS to 6.1.  Now iTunes is giving me the option to restore from my backup, but it wants a password, and my iTunes password doesn't work!  I wa

  • How to manage oracle 9i databases from 11g ?

    Is there any option similar to 9i OEM's "Add Database to tree" in 11g ? currently I monitor 30 databases, all running 9iR2, using enterprise manager console. I had removed Oracle 9i from my system to install 11g, so is there anyway to monitor 9i data