How to change BP currency in AP Invoice using Add On

Hi !
I create AP Invoice from my add on project .I used B1 D1 API  SAPbobsCOM.BoObjectTypes.oPurchaseInvoices .
I choose BP code from my form and then I create AP Invoice .When creating AP Invoice , I want to change BP Currency to other currency .It work well when BP is All currencies type . If BP has it's own currency I cannot change other currency to create AP.
pl advice me . how to do it ?
best regards,
msw

Hi,
Can you do it from UI? I believe you can only use other currency if BP is all currency type.
Thanks,
Gordon

Similar Messages

  • How to change the currency in Billing plan in SO line item

    Hi Experts
    Pls help in following scenario.
    Company Code Currency: HKD
    Sales Document Currency: INR(Indian Rupees)
    Item Pricing Condition Currency(PR00): 100 USD
    Item Netvalue: 4800INR(System caluculated as per exchange rate type M)
    Document Netvalue: INR 4800
    The sales document item is linked to a billing plan.
    I wanted to maintain 100USD in the billing plan.
    When i goto Sales->item-->Billing Plan, The currency in billing plan screen is document currency and is greyed out.
    How to change the Currency in Billing plan (to Item Condition currency) and maintain the Billing value in USD?
    Pls help.
    Regds
    Hari

    Currency change we wanted to do is not during Invoicing.
    In billing plan itself we want to change the currency setup the billing value in item condition currency.
    Any one, pls help.

  • TS4268 how to change apple id on face time using macbook air

    how to change apple id on face time using macbook air

    coolguy1981 wrote:
    How can u format the hard drive since I am using the MBA. Formatting will delete also the recovery space and how to start with new installation? This is not going to work.
    No, that's not true. This is one of the 'benefits' of Lion (if you want to see it that way). The OS is on a separate partition and you can reinstall the OS without another physical drive.
    What you do is reboot the computer while holding down the 'option' key. From the list of disks that show up (you can release the 'option' key now), choose 'Recovery HD'.
    When you get to what looks like a Desktop, choose 'Reinstall OS X Lion'.  Shortly after this, you will get asked for your Apple ID. Put your own Apple ID in the box and everything should proceed smoothly from there.

  • How to set local currency in AR/Invoice through DI API SAP B1?

    Dear Expert,
    I am using DI API to add AR/Invoice document, but I can't find how to set local currency for BP with foreign currency.
    This my code snip :
            oSO = oCompany.GetBusinessObject(BoObjectTypes.oInvoices)
            oSO.DocDate = dtpPostDate.Value
            oSO.DocDueDate = dtpDueDate.Value
            oSO.TaxDate = dtpDocDate.Value
            oSO.Series = cSeries
            oSO.DocNum = txtNumber.Text
            oSO.DocCurrency = doccur
            oSO.CardCode = txtBP.Text
            oSO.CardName = txtName.Text
            oSO.ContactPersonCode = cntctCode
            oSO.JournalMemo = txtRemarks.Text
            For i = 0 To dgv.RowCount - 2
                oSO.Lines.SetCurrentLine(i)
                oSO.Lines.ItemCode = dgv.Item(0, i).Value
                oSO.Lines.ItemDescription = dgv.Item(2, i).Value
                oSO.Lines.Quantity = dgv.Item(4, i).Value
                oSO.Lines.Price = dgv.Item(5, i).Value
                oSO.Lines.DiscountPercent = dgv.Item(6, i).Value
                oSO.Lines.TaxCode = dgv.Item(7, i).Value
                oSO.Lines.LineTotal = dgv.Item(9, i).Value
                oSO.Lines.Currency = doccur
                oSO.Lines.Add()
            Next
            lRetCode = oSO.Add()
            If lRetCode <> 0 Then
                oCompany.GetLastError(lErrCode, sErrMsg)
                MsgBox(sErrMsg, 16, "Attention")
            Else
                MsgBox("Operation completed successfully.", 64, "Information")
             End If
    When trying to Add, system show error message " Enter valid currency code [OINV.DocCur][Line:1], '$' "
    I am not lucky after trying for a day , wish enlightenment from the experts here, Thank you.
    My machine : SAP B1 9 PL 4
    Best Regards,
    Muh.Ulfah

    Hi
    In the other thread I suggested that you can add document using interface first because there is a possibility that B1 doesn't accept this currency code not because you set it improperly in your code but because of some other reason, for example this currency is not valid for this particular business partner. Despite the fact that this way you can eliminate other possible problems you can also use DI to save an existing document as XML and check what is the actual currency code that B1 itself placed in the document lines object.
    Afterwards you can again try to add document using DI.
    btw
    check this thread:
    How to set local currency in sales order for BP with foreign currency through DI?
    Kind regards,
    Radek

  • How to change the currency of the order  while creating the sales order??

    Hi all,
    I am new to this field.I have to create a Sales Order with reference to another
    SO but with different sold to party.Here i also have to change the currency of
    order from dollar to GBP.
    Please assist me to do this.
    Thanks.
    syed

    Hi
    Goto VA01 and try to create the order with reference to the Old order
    and after that order details are copied to the New order then, change the Sold to party and the currency in the Sales order Header and see? whether it allows you to change it or gives some error? then based on that you have to check and do further processing.
    Try and see
    If it won't allows you to change
    then create a New SO with the new sold to and currency and just take the old orders data from VBAK and VBAP tables and enter into the new order fields and save it will be created.
    <b>Reward points for useful Answers</b>
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • How to change the currency in Adobe X Reader

    Hello,
    New here and looking for some help in changing the currency from the £ sign to a $ sign.
    I am not very program savy so any help anyone could provide would be great!
    Thank you in advance.

    Is this a form you created in Acrobat or is it a form that you're using with Reader? If the latter, there's nothing you can do if the field has been set up to format the field with a £ for the currency symbol.

  • How to change the password of a schema using Oracle SQL Developer

    Hi need to change the password of a schema using Oracle SQL Developer how do i do it?

    Hi
    alter user username identified by password

  • How to change default value in a table using ALTER TABLE

    Hi,
    How to change default value in a table
    I have a table TEST which has 2 fields CODE of Datatype VARCHAR2(10) and Indicator as VARCHAR2(1).
    I want to change the default value using ALTER TABLE TEST of field Indicator to 'I'.
    Any help will be needful for me
    Thanks and Regards

    user598986 wrote:
    Hi,
    How to change default value in a table
    I have a table TEST which has 2 fields CODE of Datatype VARCHAR2(10) and Indicator as VARCHAR2(1).
    I want to change the default value using ALTER TABLE TEST of field Indicator to 'I'.
    ALTER TABLE  test
    MODIFY (indicator DEFAULT 'I'); 
    Incidentally, INDICATOR is a keyword in Oracle, so you may have problems using it as a column name. If so, you'll have to enclose the column name in double-quotes, and be careful to use capital letters inside the quotes.
    Edited by: Frank Kulash on Aug 26, 2009 11:42 AM

  • Bapi to change payment method for vendor invoices using FB02 - VERSION 4.6C

    Hi all,
    I have a requirment to change payment method from 'A' to 'N' in vendor invoice using tcode FB02 .My system version is 4.6c.
    I am looking for a BAPI which will serve the purpose. I tried but could not find anyone.
    Please help me to find the same, or any OSS note which will help me in this matter.
    Thanks in advance.
    Vengal Rao.

    Hi,
       I think there is no BAPI for this, but can use FM ' FI_ITEMS_MASS_CHANGE '.
    In this FM pass field 'ZLSCH' to table IT_FLDTAB, w_bseg-ZLSCH = 'N'
    and pass your BSEG data to table IT_BUZTAB.  This will help
    Can refer to threat [Any BAPI for "FB02";
    Thanks,
    Anmol.

  • How to change or Switch - scroll direction - automatic using registry keys

    how to change or Switch - scroll direction on TouchPad Synaptics - automatic using registry keys   ?

    Hi jrv
    How to explicitly take ownership of the subkey?
    System.Security.AccessControl.InheritanceFlags 
    I try use value
    "ContainerInherit、ObjectInherit、None", and It only take permission in root key.

  • Again How can I create A/P Reserve Invoice using DI , SBO2005B PL41.

    Hello , All
    I tried to create A/P Reserve Invoice based on PO using DI .
    However , I couldn't create AP Reserve Invoice , AP Invoice has been made.
    Please , Refer to sample code .
    SAPbobsCOM.Documents oDoc;
    oDoc = (SAPbobsCOM.Documents)SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseInvoices);
    oDoc.ReserveInvoice = SAPbobsCOM.BoYesNoEnum.tYES;
    I think  that "ReserveInvoice" property is "READ ONLY" .
    Can I set to "tYES" ?
    If can't create AP Reserve Invoice using DI 2005Ver , I would like to try to create AP Reserve Invoice "DRFT" .
    Is this possible way ?

    This thread , network bug.
    Sorry.
    TAK

  • How to change default currency in BI Apps

    We need to run siebel sales & marketing analytics . Now we have two questions.
    1. I can't find default currency parameter in DAC's Source System Parameters. How could we change the default currency from USD to CNY.
    2. We can run all jobs successfully, but most of area in BI Dashboard id displaied 'No resault' ... even if we use the copy of product data.

    Hi,
    In DAC>Source System Parameters > $$GLOBAL1_CURR_CODE parameter, here you need to change from USD to CNY. Refer OBIA document for these currency codes. Genereally $$GLOBAL1_CURR_CODE refers to Document currency, $$GLOBAL2_CURR_CODE refers to Local currency and $$GLOBAL3_CURR_CODE refers to Global currency.
    You need to change this code based on your requirement.
    Anyone correct me if am wrong....Hope this helps you.........
    Thanks,
    Navin Kumar Bolla
    Edited by: Navin Kumar Bolla on May 26, 2011 1:09 AM

  • How to change the Quantity in Excise Invoice where PART1&2 are posted

    Dear Gurus
    I have a PO with 2 Qty
    Where i have received GR for  1 QTY with excise invoice for 1 Qty
    now the User is done GR for 2 Qty with excise details of 1 where Part 1&2 are posted
    now i want to change the quantity from 2 to 1 in Excise Document and the GR
    how to solve this issue
    Please help me

    Hi,
    As you needed, 1st reverse GR document in 102 Movement type in t.code: MIGO and cancel the excise entries with t.code: J1IEX, go for post and then cancel for excise amount with entering Rejection Code in miscellaneous TAB.
    Regards,
    Biju K

  • How to change the currency

    I have reinstalled and repaired iTunes to try to get my currency to go back to US dollars but everything is displayed in yen. How do I change this?
    Dell Dimension 8400   Windows XP  

    It sounds as though you need to change the country of the music store.
    There should be a little box either top left or bottom centre of the Music Store and you can set your country there.

  • How to change the owner of a GPO using command line/script? - More than 200!

    I have more than 200 GPOs on the AD DOmain
    Half of the GPos were created by sveeral different people or are owned by the domain admins
    How can I change all of then, to a new owner, using the more "quick and easy" method?
    there a tool/utility for that? (like icacls.exe/subinacl.exe?)
    There is a VBS function or PS cmdlet?

    Hi,
    How is it going? Are the suggestions provided by the above replied helpful? If you need further help regarding this issue, please don’t hesitate to let us know.
    Besides, for scripts, in order to get better help, we can ask for suggestions in the following scripting forums.
    The Official Scripting Guys Forum
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Windows PowerShell
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverpowershell
    TechNet Subscriber Support
    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
    Best regards,             
    Frank Shen

Maybe you are looking for