Create Documents with any Currency

Hi,
it´s possible create documents with SDK objects in any currency?
I need create a invoice in Local Currency or System Currency depending the source.

Hi Victor,
Yes, you can create marketing documents through the DI API and set any currency code (...well, any currency code that already exists in the company setup). The Documents object has a DocCurrency and DocRate property for defining the currency.
Kind Regards,
Owen

Similar Messages

  • How can I re-arrange the pages in a Pages document now?? I used to be able to click on the thumbnails and shift their position which is important in creating documents.  Any ideas?

    How can I re-arrange the pages in a Pages document now?? I used to be able to click on the thumbnails and shift their position which is important in creating documents.  Any ideas?

    This feature has been removed from Pages 5 along with over 90 others:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&mforum=iworktipsn trick
    Pages '09 is still in your Applications/iWork folder.
    Trash/archive Pages 5 and rate/review it in the App Store.
    Peter

  • Program position with any currency for availability check - PS/IM

    Hi,
    I have the following scenario:
    1. Controlling area currency is USD. Local currency is BRL. We do purchase req.(CJ20n) for materials and services in USD, BRL and EUR. The P.O. is done in a second moment through MM.
    2. Investment program uses USD for checking availability control. The currency for any program position is also USD.
    3. System performs the availability control using exchange rate cat. "M" in OB08. We buy within one of those 3 currencies (USD, BRL and EUR), it translates to USD, and then we see how much was committed in USD.
    Because of these differences between dates in exchange rates, the client wants the system to perform availability check with any currency.
    For exemple: if we have USD 1000 in program position on 04.15.09 at rate of BRL 2,40 we would have BRL 2400 to purchase. If the P.O. is posted in a different date with a different exchange rate we would have more (or less) value to purchase depending on the rate, say 06.15.09 rate is 3,0 we would have BRL 3000 in local currency.
    The client doesn't want this to happen. they want to commit only the first value.
    They want that in IM program position would have for branch XYZ 3 different limits, one for each currency say 1000 USD, 2000 BRL and 1000 EUR. When P.R. is done it would check what currency is buying, perform availabilty check and then commit only the value requested and avoid increase or decrease values in local currency.
    As long as I know IM standard doesn't work this way. Some thoughts and ideas would be a great help.
    Best Regards,
    Ubiratan Chaves.

    Hi Ubiratan,
    I understand that you are doing availability control on USD (controlling area currency), although the statement in your point 2. should be corrected - the availability control is not tied to the IM program but to the budget profile used in the project...
    Availability control per transaction currency is not possible...you can have availability in controlling area currency, as you have...or in object currency (which for a project in your case would have to be local currency)...you can try this, but it only works if your project hierarchy is using the same currency (I just faced a similar issue and had to also use USD because the proejct had multicurrency WBS in it...)
    Bottom line...maybe you can try "adjust" the budget to the currency fluctuations with transaction IMCRC3...the idea would be to use a specific exchange rate type that has the current exchange rate and run this transaction to "trim" the budget to the real exchange rate...
    hope it helps,
    Luis

  • Creating document with content from a remote system

    Any sample code that I have seen for creating a new document requires that the file (the content) of the document resides on the Server machine.
    What is the best way to create a document with content that comes from a remote file?

    The Java code which is trying to load a file into IFS must have access to the file to load it.
    If the file you are trying to load is in a remote location from the Java code, then you would need to use some remote access protocol, such as NFS, to ensure the file was accessible to the Java code.

  • Error while creating document with attachment.

    Hi,
    I am getting an error "An error occured while creating the original attribute for PDF"
    I tried with out file attachment, it works as you know it is simple....
    I tried with various types of attachments like .TXT and .WRD (changed both wsapplication and docfile parameters), however i get the same error. I tried both from presentation and application server (by providing   pf_ftp_dest                = 'SAPFTPA'    pf_http_dest               = 'SAPHTTPA' )
    Any idea on how to solve this?
    All i need is create a DMS document with a PDF attachment from application server. Are there any other ways to solve this issue?
    ws_docdata-documenttype = 'ARE'.
    ws_docdata-description = 'BAPI DMS'.
    ws_docdata-statusextern = 'CR'.
    ws_file-storagecategory = 'DMS_C1_ST'.
    ws_file-wsapplication   = 'PDF'.
    ws_file-description = 'Job output'.
    ws_file-docfile = 'C:\CAD Integ BAPIS_46.pdf'.
    append ws_file to it_files.
    CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
      EXPORTING
         documentdata               = ws_docdata
    IMPORTING
         return                     = v_ret
    TABLES
         documentfiles              = it_files   .
    BREAK-POINT.
    IF v_ret-type CA 'EA'.
      ROLLBACK WORK.
      WRITE : v_Ret-message.
    ELSE.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = '5'.
    ENDIF.
    Thanks
    Pavan

    Hi,
    I found that it is due to document type = 'ARE'. I changed hte document type to one of hte standard type 'TST'. It works for presentation server, but does not work for application server. Any ideas? Any help is appreciated with points.
    ws_docdata-documenttype = 'TST'.
    ws_docdata-description = 'BAPI DMS'.
    ws_docdata-statusextern = 'CT'.
    ws_docdata-documentnumber = 'ZNG-10000000017'.
    ws_file-storagecategory = 'DMS_C1_ST'.
    ws_file-wsapplication   = 'PDF'.
    ws_file-description = 'Job output'.
    ws_file-docfile = p_file.
    append ws_file to it_files.
    CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
      EXPORTING
        documentdata               = ws_docdata
       pf_ftp_dest                = 'SAPFTPA'
       pf_http_dest               = 'SAPHTTPA'
    IMPORTING
       documentnumber             = v_docnum
       documentpart               = v_docpart
       documentversion            = v_docver
       return                     = v_ret
    TABLES
       documentfiles              = it_files   .
    IF v_ret-type CA 'EA'.
      ROLLBACK WORK.
      WRITE : v_Ret-message.
    ELSE.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = '5'.
    ENDIF.
    Thanks
    Pavan

  • Create document with PL/SQL xml parser

    Hello,
    I'm trying to create a document with PL/SQL package xmldom on 8.1.7 and write to a file.
    The problem is that my file is empty when it's created.
    Can anyone send me an example of this simple problem or fullfill my example so it's works.
    As you understand I'm new in using XML. :)
    My example is:
    declare
    doc xmldom.DOMDocument;
    n xmldom.DOMNode;
    e xmldom.domelement;
    t xmldom.domtext;
    begin
    doc := xmldom.newdomdocument;
    t := xmldom.createtextnode(doc, 'ROOT');
    n := xmldom.makenode(t);
    doc := xmldom.makedocument(n);
    xmldom.writetofile(doc, 'd:\orant\xdk\plsql\demo\test.xml');
    end;
    Regards
    Hekan

    Your problem may be memory for the JavaVM. Remember, the PL/SQL
    parser uses the Java XML Parser APIs which run in a VM instance.
    Are you running Oracle 8i? If you are you can access our Java
    XML parser loaded in 8i's VM directly from your PL/SQL code.
    That is in fact how our PL/SQL Parser does it.
    Finally, we have no experience loading other XML Parsers into
    Oracle.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Premal Mehta (guest) wrote:
    : Hi,
    : I asked about his a few days back. Pl/SQL parser does not
    work
    : for XML files of size greater then 500Kb. You replied saying
    : that there were no such problem.
    : However whenever I try, either I get some exception or
    Pl/SQL
    : crashes due to memory error. I am clueless. Is there some
    : setting that I can do to get away with the problem? Please
    : guide...
    : Also, tell me about the alternatives.
    : Can I write code in Java and load these class filesin Oracle
    : and then reference these classes from Pl/SQL code. Can I load
    : any other parser for Java in Oracle.
    : Looking forward for help...
    : Premal.
    null

  • FLQAD: assignment for documents with local currency

    Dear Gurus,
    I'm just curious with is it FLQAD assignment program uses transaction currency and since a company would normally view their cash flow statement in local currency. The FLQAD does not work for documents with zero transaction amount such as Forex valuations and this needs to be manually change using FLQAM.
    I've implemented SNote:0001127205 Local currency as leading currency and it resolve my problem above. And also i'm on ECC6. But I'm still curious as to why the standard program FLQAD only works for transaction currency. Would appreciate some insight as to why it's being design that way?

    Hi,
    I have deactivated , the check box of No forex gain loss for local currency in Global parameters.
    But system behavious is following manner.
    1. While making payment (F-53) , system fetching the exchange  rate from exchange rate table ,. NO OPTION for User input.
    But customer requirement is exchange rate will be according to user input.
    2. While clearing system ,  the difference of forex gain , system expecting differential posting besides to forex gain loss amount.
    But customer requirement is to post accounting entry would be
                  Vendor debit
                 Bank Credit
               Forex gain / loss a/c Dr.
    Please suggest , if any body has got an idea ..,
    Regards,
    Sujana

  • Create document with refrence + update some fields by passing some  values

    Hello Experts,
    I have a small problem . I have to create the sales order from BAPI ...but the scenario is
          have to create with refreence to another document
          some fields like condition types or material or order quantity etc are passed from an excel sheet
    hence some information which is populated in excel sheet should be picked up rest everything should be picked up
    from the refrence document
    How can use both information (from the refrence document and externally passed from the excel)  and create a new document
    please suggest!!!!
    regards,
    Khushy

    Hi,
    I am  not sure whether I really understand your request. Let me try to help.
    > Example: <FT_TAB> TYPE STANDARD TABLE,
    >                 <FS_TAB> TYPE ANY,            
    >
    > DATA: INT_TAB  is my dynamic table values.
    >
    >
    > LOOP AT INT_TAB.
    >  ASSIGN COMPONENT 'MATNR'  OF STRUCTURE <FS_TAB> TO <F_VALUE>
    > <F_VALUE> = INT_TAB-MATNR.
    >  APPEND <FS_TAB> TO <FT_TAB>
    Here <FT_TAB> must already be assigned to some internal table with a given (dynamic) structure. Did this happen before this piece of code?
    What I would do is to create a dynamic table (see documentation to CREATE DATA) with MATNR and the STYLE field (LVC_T_STYL). See the documentation for CREATE DATA - creation of internal tables. When collection the field descriptions for that internal table I would also build the field catalogue for the ALV.
    Then assign <FT_TAB> to that newly created internal table, <FS_TAB> to a newly created structure (same as a table line).
    Move the MATNR to component 1 (or component 'MATNR') of the table and fill the style table according to your needs. Then insert the <FS_TAB> into <FT_TAB>.
    Finally call the ALV SET_TABLE... method with your dynamic table and your field catalogue.
    Regards,
    Gerd Rother

  • CV01N - create document with template - path length

    Hi all,
    i want to create a document from a template document with an original file.
    A popup is displayed and i specify the new path for the new original file.
    --> Error when copying from ... <directory>
    Only 50 characters of the directory string are displayed in the message box???
    Any ideas?
    regards

    hi,
    go to trasaction dc30
    If you are using word file, then select it and click on define template for original file. Make new entry, define all things
    like  Document Type
    Applic.
    Language
    No
    Description
    Copy from...............
    this way you can maintan the template for original file.
    create new document, cleck on create original.
    once you click it, there is a button create with template.
    in dc20 ,click Define data carrier type "server, front end".
    if you are not using content server , then say default entry.
    regards
    nitin
    Award point if useful.

  • Am creating document with Pages. pages are in "portrait" orientation, but two charts at end need to be "landscape". changing the orientation for one section changes it for entire doc. can i have different orientations in Pages for different sections?

    am creating a document with Pages.  all pages using "portrait" orientation, except 2 appendices need to be in "landscape".  in Word for Windows it is possible to have different page orientations for different sections of a document.  is that possible with Pages.  Even when i put the appendices in a different section, changing the page orientation changes it for the entire doc.

    Make a separate document the size and orientation you want.
    Turn that into a pdf and add it back into the original Pages document or into the pdf from from that document.
    Peter

  • Reg Creating Document with predefined content and it should be send by mail

    Hello Friends,
    I created one report containg Customer Realted Info.
    Requirement:
    now when user click or select one customer no then that time one document will be generated with predifined format having that selected customer no and address
    and that document will be sent by mail to 4 persons. ( like automailers ).
    so plz tell how to create that document with predefined letter content and how can i send that document via mail ????
    Thanks in advance.
    Marmik

    Hi
    <b>Here is custom sample code for E-mail purpose</b>
    *& Report  ZSEND
    report zsend .
    tables: kna1.
    data for send function
    data doc_data  like sodocchgi1.
    data object_id like soodk.
    data objcont   like soli occurs 10 with header line.
    data receiver  like somlreci1 occurs 1 with header line.
    select * from kna1 where anred like 'C%'.
      write:/ kna1-kunnr, kna1-anred.
    send data internal table
      concatenate kna1-kunnr kna1-anred
                             into objcont-line separated by space.
      append objcont.
    endselect.
    insert receiver (sap name)
      refresh receiver.
      clear receiver.
      move: sy-uname to  receiver-receiver,
            'X'      to receiver-express,
            'B'      to receiver-rec_type.
      append receiver.
    insert mail description
      write 'Sending a mail through abap'
                     to doc_data-obj_descr.
    call function 'SO_NEW_DOCUMENT_SEND_API1'
         exporting
              document_data              = doc_data
         importing
              new_object_id              = object_id
         tables
              object_content             = objcont
              receivers                  = receiver
         exceptions
              too_many_receivers         = 1
              document_not_sent          = 2
              document_type_not_exist    = 3
              operation_no_authorization = 4
              parameter_error            = 5
              x_error                    = 6
              enqueue_error              = 7
              others                     = 8.
    Hope this will help.
    Please rewards suitable points.
    Regards
    - Atul

  • Problem creating document with function ISH_N2_MEDICAL_DOCUMENT

    Hello,
    first of all, creating a document with correct data works. But our customer wants the documents also to be created if the name of the responsible employee is wrong or not existing.
    Can this be done in some way? Because when i try to use the function "ISH_N2_MEDICAL_DOCUMENT" i get the message "message employee NAME is not employee responsible" and the document is not created.
    regards
    Daniel

    Dear Daniel,
    basically you cannot create a medical document without an existing employee responsible (business partner). Depending on your system configuration the EmR may to be assigned to the documenting ou.
    So how you can deal with that restriction?
    a) use a dummy bp for these onces which doesn't exists. You can check BP by the IS-H BAPI for Business partners.
    b) create the BP on the fly before creating the document.
    Regards,
    Axel

  • Creating PO with diff currency

    hi we have some inovices from Vendors (global) where we need to raise PO to get paid in sap these po's are from Thailand we only have materials on sys either usd or Dkk(danish kroner) so how can i raise a po for thailand po which is on THB (thai currency )
    thank you
    ashok

    HI,
    What i understood is" you want to create PO in THAI currency".
    First of all you have to maintain currency conversion for THAI and USD.
    Then while creating PO , under header you have an option of cuurency where you can change the currency.
    Hope this helps.
    Rgds
    Utsav

  • Creating documents with SCMS_DOC_URL_CREATE in SAP Content Server

    Hi there,
    I have a Problem here  with the Knowledge Provider concerning SCMS_DOC_URL_CREATE and hope anyone could help me out.
    For a SAP Records Management document I am calling BAPI_SRM_DOC_CREATE and get a LOIO and a PHIO ID for my new document. The PHIO-ID I pass to SCMS_DOC_URL_CREATE which then creates the URL to put the file on a SAP Content Server with a 3rd party tool. That works totally fine and I can see the file on the Content Server with its metadata,
    Unfortunately SAP Records Management doesn't recognize that a file has been uploaded. When I open the file in the transaction ORGANIZER it has no content and no components.
    Is there any function call I am missing to tell the Records Management document that I have uploaded something?
    All is working fine when I get the uploaded content into NetWeaver with SCMS_GET... and call BAPI_SRM_CHECKIN_DOCUMENT. But of course this is not what I want (transferring the file directly in the local network area where the content server stands, then getting it back to NetWeaver and back again to the content server).
    Any help would really be appreciated.
    Thank you
    Marcus

    Answer: because SCMS_DOC_URL_CREATE is not remote enabled by default.

  • Clearance of Documents with Different Currencies

    Hi,
    How can we clear two documents which are in different Currencies. Scenario is a document which a down payment in USD Needs to be cleared against an invoice which was posted in EUR. None of these currencies are local currencies.
    Regards,

    Hello Faizan,
    Please enable foreign currency allowed option in order to make the payment in foreign currency in FBZP under the pyt method under co.code level.
    Also maintain the required in. different currency related entries in ranking order and bank accounts tabs of bank determination.
    Now it will resolve your problem else revert us with your query.
    Thanks & Regards,
    Lakshmi S

Maybe you are looking for