In Journal can i specify the Foreign currency  and local currency amount?

In Journal Entry can i specify the Foreign currency amount and local currency amount?
I tried the following code it is working fine using DIAPI.
Here the Local currency and the System currency is SGD. And the Journal is for USD.
oJnl.Lines.FCDebit = 120.10
oJnl.Lines.FCCredit = 0
oJnl.Lines.FCCurrency = "USD"
oJnl.Lines.Debit = 120.10
oJnl.Lines.Credit = 0
oJnl.Lines.Add()
oJnl.Lines.FCDebit = 0
oJnl.Lines.FCCredit = 120.10
oJnl.Lines.FCCurrency = "USD"
oJnl.Lines.Debit = 0
oJnl.Lines.Credit = 120.10
oJnl.Add()
But, the above way of doing is not working if i pass this Journal through B1.
B1 is not allowing to change the local currency amount, Local currency amount is automatically calculated based on the FC amount and the Exchange rate.
So Can i use the DIAPI to do this? is this right to do?

Solved.
In Journal Entry window, please kindly go to Form Settings/Document/
Table tab page/ Convert Amounts According to Rate upon Exit:
Clear the checkboxes 'From LC Field' & 'From FC Field', then the Local
currency amount will not be automatically calculated based on the FC
amount and the Exchange rate.

Similar Messages

  • Error while running the foreign currency valuation

    hello frnds,
    i got the following error while running the foreign currency valuation.
    No accounting principle assigned to valuation area
    Message No.fr894
    Diagnosis
    In customizing the valuation area is not assigned to an accounting principle. You can use the accounting principle to define the general ledgers in which posting takes place.
    System Response
    Error msg
    Procedure
    Assign the valuation area to an accounting principle.
    Above is the error message, but I created valuation area and assigned it to an accounting principle.
    Guide me with some inputs.
    Regards,
    Siva

    Hi,
    Please check the following path
    IMG > Financial Accounting (New) > Financial Accounting Global Settings (New) > Ledgers > Parallel Accounting > Assign Accounting Principle to Ledger Groups
    Whether you have defined the Accounting Principles to Ledger Group?
    Regards,
    jigar

  • Function module for converting the foreign currency to words

    hi,
    can anybody tell me about the function module for converting the foreign currency to words format.
    Like 25.50 USD
    should be "Twenty Five Dollar & Fifty Sents."
    foreign currency can be anyone like USD, JPY, EUR etc.
    Regards
    Nitin Varshney

    Hi,
    Try using the FM SPELL_AMOUNT
    Check this wiki
    [SPELL_AMOUNT|https://wiki.sdn.sap.com/wiki/display/Snippets/SpelltheAmountenteredin+words]
    Regards
    Sarves

  • Balance Sheet *without* the Foreign Currency Valuation

    Hi FI experts,
    We have an issue and need help from the community.
    Our customer wants to have a Balance Sheet without the Foreign Currency Valuation, besides the normal balance sheet with FC valuation.
    Does anyone in the group have already faced an issue like this?
    Is there any possibility to generate the balance sheet without FC valuation even after run F.05?
    Thanks in advance.
    James Francisco
    SAP FI/PS Consultant.

    Hi,
    You certainly can do this by creating a financial statement version that does not contain the revaluation balance sheet adjustment accounts and the gain/loss accounts.  If you have accounts that are getting revaluated against itself and not a seperate adjustment account, then you can not.  For accounts that are not open item, they will revalue against themselves so you need to check on that.
    Thanks,
    Jes

  • How can we specify the Mailbox for Notes?

    In Mail.app, how can we specify the Mailbox for Notes (where the new notes will be resided)? It is now 'On My Mac'. I wish to change to my IMAP Mailbox so it sync with my iPhone by just checking email (not by syncing on iTunes).
    Thanks in advance.
    Message was edited by: Ekapon

    You could use the DecimalFormat or NumberFormat to do the job.
    double number 1234.567;
    DecimalForamt df = new DecimalFormat("###.##");
    String s = df.format(number);or
    double number 1234.567;
    NumberFormat nf = NumberFormat.getNumberInstance();
    nf.setMaximumFractionDigits(2);
    /* if needed.
       nf.setMaximumIntegerDigits(value);
       nf.setMinimumFractionDigits(value);
       nf.setMinimumIntegerDigits(value); */
    String s = nf.format(number);I didn't test the codes but they should work. For more information, please consult the documentations.

  • How can we specify the order of the predicates execution?

    I am going to write the following query
    select answer, answer_id from surveys s join answers a on s.survey_id = a.survey_seq_id
    where question_uid = 206400374 and insertdate = to_date('31/12/2012') and answer > 0;However, when I look at the execution plan, I see that the last predicate (to_number(answer) > 0) has been executed the first. Henceforth, it checks many rows first. Normally, 75 rows belong to 31/12/2012 as you see from the following. Can I specify the execution order?
    select count(*) from surveys s join answers a on s.survey_id = a.survey_seq_id
    where question_uid = 206400374 and insertdate = to_date('31/12/2012');
    COUNT(*)
    75If so, how? Because, the type of answer is varchar2 and some of answers contain text characters such as 'Yes' or 'No'. Therefore, before 31/12/2012 some answers contain 'Yes' or 'No'. However in 31/12/2012 all answers are numeric.
    Plan hash value: 3217836037
    | Id  | Operation          | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |         |     2 |    68 |  9401   (1)| 00:01:53 |
    |*  1 |  HASH JOIN         |         |     2 |    68 |  9401   (1)| 00:01:53 |
    |*  2 |   TABLE ACCESS FULL| SURVEYS |     2 |    26 |   239   (1)| 00:00:03 |
    |*  3 |   TABLE ACCESS FULL| ANSWERS |   337 |  7077 |  9162   (1)| 00:01:50 |
    Predicate Information (identified by operation id):
       1 - access("S"."SURVEY_ID"="A"."SURVEY_SEQ_ID")
       2 - filter("S"."INSERTDATE"=TO_DATE(' 2012-12-31 00:00:00',
                  'syyyy-mm-dd hh24:mi:ss'))
       3 - filter("A"."QUESTION_UID"=206400374 AND
                  TO_NUMBER("A"."ANSWER")>0)
    select distinct answer from surveys s join answers a on s.survey_id = a.survey_seq_id
    where question_uid = 206400374 and insertdate = to_date('31/12/2012');
    ANSWER
    1
    3
    0
    2And, also I can execute the following query without any error
    select to_number(answer) from surveys s join answers a on s.survey_id = a.survey_seq_id
    where question_uid = 206400374 and insertdate = to_date('31/12/2012');

    In answer to your original question:
    970992 wrote:
    However, when I look at the execution plan, I see that the last predicate (to_number(answer) > 0) has been executed the first. Henceforth, it checks many rows first. Normally, 75 rows belong to 31/12/2012 as you see from the following. Can I specify the execution order?According to the execution plan, it will do a full scan of surveys using the predicate on insertdate to build the (presumably in-memory) hash table (hash based on survey_id) to do the joins (Step 2). Then, it does a full scan of the answers table using the question_uid and answer predicates (Step 3). For each row it finds that matches those predicate, it will prpobe the hash table created in step 2 using the hashed value of survey_seq_id. So, it is doing the insertdate predicate first.
    In answer to your last post
    970992 wrote:
    >
    First of all i would get rid of the implizit type conversion:
    TO_NUMBER("A"."ANSWER")>0)it is not implicit conversion, I reckon it is explicit type conversion, isnt it?
    No, it is an implicit type conversion. Your code says answer > 0, since the answer column is a varchar2 column, Oracle implicitly converts the answer column to a number to compare against the number on the right side of the comparison. Note that if something like 'A' ever becomes a valid answer, then this query will fail with ORA-01722: invalid number.
    >
    >
    Obviously "A"."ANSWER" is not a number colmun, problably varchar, so use something like
    A.ANSWER != "0"
    or
    A.ANSWER > "0"Yes answer column is varchar2 but can you type A.ANSWER > "0" as a predicate? I mean, you can not varchar > varchar, can you?
    Of course you can use inequality predicates on a varcahr column. Is the string A greater than the string B?
    Based on the explain plan, your statistics might be a little off, not hugely so. The esitmates are at least in the right order of magnitude based on what you have posted so far.
    What indexes, if any, are available on the two tables?
    John

  • How can I specify the default tab in a CHM Output?

    My company uses CHM-based help for some of its products. We build the CHM files from RoboHelp 9, and while these CHM files don't really have a full Index attached to them, the Index tab shows up in the output anyway. Unfortunately, we are suddenly seeing that when the CHM file is launched from our program, the Index tab is displayed by default. We'd rather have the Contents tab be the default look, especially considering that the Index does not exist.
    I have poked around into how you can specify a default tab for a CHM file, and the only information I have found suggests that using a CHM file creates a file (HH.dat) that specifies which tab should be displayed on a user-by-user basis, and that the last tab displayed when you close the CHM should be the first one displayed when you re-open it. While this is true if you open the CHM independent from the product, when you launch it from our program, it's all Index, all the time.
    So, my question is: How can I specify the default tab for a CHM file? Or, failing that, how can I excise the Index tab from my CHM output.

    Hi there
    This will be something up to your application developer to resolve. When s/he issues the call to open the CHM, there are parameters that may be used to always open with the desired tab "in front".
    Point your developer to the link below and advise that s/he is most likely interested in the section titled: Programming Tips.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Can I specify the "root package" of the Library?

    Can I specify the "root package" of the  Library (currently seemingly hardwired as "components") so that the  generated code has sensible package names i.e.  "com.adobe.buttons.HelloWorldButton" rather than  "components.HelloWorldButton".

    Hi Graeme,
    Not from within Flash Catalyst.  However, if you are taking your project into Flash Builder you will be able to customize the package names there.
    Best,
    Tanya

  • How can I specify the path in Form Builder 9.0

    Hi, everyone,
    could anybody tell me how can I specify the path in Form Buidler 9.0? there is problems when I want to attach library in form builder. thanks to Kuldeep RAwat and Natalia Vidal, I know I should specify the path, but I still don't know how to specify, how can I do?
    besides, when I run a form, sometime there will be a warnig:
    Please acknowledge message
    what's that meaning?
    thank you very much for your great help

    Shay Shmeltzer thank you very much for your so quickly response. I have modified the file and my form can run now!
    but, when I open my form, it always suggest me:
    FRM-10102: Cannot attach PL/SQL library TalbotStandard. This library attachment will be lost if the module is saved.
    so everytime I open my form, I must attach the library manully. I don't know the reason. do you know that or anybody else knows that? thank you very much!
    have a good weekend :-)

  • Excpetion "You did not specify the transaction currency burden amount".

    Hi,
    When I am running "PRC: Interface Supplier Costs" then its firing another Program i.e., "AUD: Supplier Costs Interface Audit". In the second Program's output I am getting a message "You did not specify the transaction currency burden amount".
    I created and approved an Expense PO and then I created an Invoice (matching that PO) and did the Payment for that Invoice and generated accounting. After that I ran "PRC: Interface Supplier Costs" to transfer the amount to my Project. The Program is ending up with the exception that "You did not specify the transaction currency burden amount".
    What could be the reason and how to solve it.
    Regards,
    Khan.

    Hi
    Check if your project is set up as burdened, and if the expenditure organization & expenditure type of the PO distribution are supposed to be burdened. Verify that burden multiplier is available in te active burden schecule.
    Dina

  • When I load a XML in a XFA form can I specify the font color?

    When I load a XML in a XFA form can I specify the font color?
    Or can I specify background color, font type(bold, ...).

    Moved to LiveCycle modules and development tools

  • SP2013 Bug Report: Health Reports - You can only specify the READPAST lock in the READ COMMITTED or REPEATABLE READ isolation levels.

    There appears to be an error when trying to view Health Reports from Central Administration. A simple fix within a SharePoint Stored Procedure fixes the problem. I get the error message "You can only specify the READPAST lock in the READ COMMITTED or
    REPEATABLE READ isolation levels." when just trying to click "View Health Reports" --> Go in CA.
    I have found the same problem in some blog posts which leads me to believe this is a bug:
    Problems Viewing Health Reports in SharePoint 2013
    From the blog post "I managed to work around it by altering the
    proc_GetSlowestPages stored procedure and commenting out the
    WITH (READPAST) line. "
    This also worked for me. It would be great if a fix could be released for this problem as it seems to cause other problems as well (site analytics freezes).

    Hi Dennis
    Hope you had found the hotfix and installed it.
    For the benefit of others who visit this thread SharePoint Server 2013 Client Components SDK hotfix package addresses this issue.http://support.microsoft.com/kb/2849962
    Regards
    Sriram.V

  • How can I specify the attribute AU_SIZE in OUI

    Hello,
    How can I specify the AU_SIZE when i create the disk group for OCR and Voting disk when i install the GI home.
    Basically i want to create the Disk group with AU_SIZE as 4MB when i create it Via OUI.I know I can edit the attributes when i do using ASMCA.But not sure about OUI.
    Please can someone guide me ?
    Regards
    Joe

    Hi Joe,
    Did you mean that i will need to move the OCR/voting **** to another diskgroup -> drop the one created during installtion -> recrerate the diskgroup with AU_SIZE as desired Yes.. you must move OCR, VOTING and ASM SPFILE to another diskgroup and recreate the diskgroup.
    Doc said : Oracle recommends that the allocation unit (AU) size for a disk group be set to 4 megabytes (MB).
    I do not see benefits to configure the AU SIZE 4MBytes for diskgroup that will store only Clusterware Files.
    The voting files are stored directly on ASM Disk (i.e not use AU SIZE). The OCR File and ASM SPFILE use AU SIZE, but are not frequently accessed (low I/O) and files are too small to configure AU to 4MBytes.
    Set AU SIZE makes a difference when you do need high I/O throughput. i.e: Used to Diskgroup that will store Datafiles.
    I recommend you read my point of view how to store VOTING Files, OCR and ASM SPFILE on ASM.
    Re: 3rd voting disk on nfs share
    Regards,
    Levi Pereira

  • Can we specify the next screen number with a variable?

    hi
    can we specify the next screen number with a variable?

    yes, dynamicaly u can. i.e using set screen or call screen.
    but u cant obviously set a variable in the attributes.

  • Can't specify the customer to use a new sales order type ,why?

    I created a new sales order type, finished the configeration.. but when I use it to create a order by t_code VA01 ,input the order type and sales area ,then enter, why the sold-to-party and ship-to-party are inmodifiable? i can't specify the customer... where is the problem?
    appreciate you help.thank you !

    Hi Sue,
             I think u havent did the Partner determination for that Sales document.  If you create ur own sales doc type in VOV8 ,new entries.
    U need to maintain the Partner determination for that sales doc type.
    this is the same,the way u maintaint the customer partner determination.
    If you dont maintain this , in VA01 screen, u cant able to enter Sold to & ship to parties as it will be in display mode. I think the same error ur getting know as per ur issue.
    This will def solve ur issue as i faced n overcome long back.
    *reward points ,if helpful

Maybe you are looking for

  • Special characters in a javascript string...

    Hey folks, in the javascript project I'm working on, there's a requirement that an SOH character (start of header, #1 in the ASCII character set) be included in a string. Does anybody know how that character can be inserted in a javascript string? Th

  • Mouse tracking always reset to a specific area point

    Hi, My iMac mouse always reset to a specific area of my screen every time I move it. I thought that it was the magic mouse tracking that was bugging but it's not : the same problem occurs when I'm using the ScreenSharing app with my computer on shari

  • ISE - Question about the NMAP service

    Hi there, I am currently playing around with the updated ISE 1.1 and tried out the new NMAP probe feature. Is there any possibility to alter or expand the features of the NMAP implementation in the ISE, like additional scripts etc. My main concern is

  • Difference between the 2 FM's

    Hi experts can anyone please tell me the difference between the 2 function modules: REUSE_ALV_GRID_DISPLAY and REUSE_ALV_GRID_DISPLAY_LVC . I have seen in the coding for editable ALV that they have made use of the former FM rather than the regular RE

  • N8 Rebooting Issue

    Hello, So I just got an N8 from Amazon.  The thing has been rebooting at random times. Some times with hours of usage in between events.  It seems to reboot often when using the GPS in OVI maps.  It also seems to reboot on some random web pages, CNN,