PO Supplier language

Is it possible to chose the template language automatically based on the supplier language?
This is done with view document in purchase order summary ?

To my knowledge it's not possible to do this automatically. You either upload multiple templates for each language in xml publisher administrator (but then this is based on the language of the person running the report), or create 1 rtf template with several templates within it. You can then put some choose logic at the beginning of the rtf like I listed above with calls to each language specific template. There should be documentation on this in the user's guide. Something like what I have below:
In XML File:
<SUPL_LANG>US</SUPL_LANG>
In a single RTF Template:
<?choose:?>
<?when:SUPL_LANG='US'?>
<?call:US_Body?>
<?end when?>
<?when:SUPL_LANG='ESA'?>
<?call:ESA_Body?>
<?end when?>
<?end choose?>
<?template:US_Body?>
Here is the English report
<?end template?>
<?template:ESA_Body?>
Here is the Spanish report
<?end template?>
Brett

Similar Messages

  • PO translation based on supplier language

    Hi Experts
    I have made a Z copy of the standard PO smartform BBP_PO and it is working perfectly in English language.
    Now I have to print the smartform in German based on the supplier language.
    How can I do this?
    Can I use a BAdI?
    Points will be rewarded.
    Thanks
    Ankit Pradhan

    Did you select "Into All Languages" or "Into Selected Languages" in the General attributes Tab of the Smart form so that your form language is converted into the required languages.
    In the Print Preview of the PO the langauge of the PO FORM will be the Log On language of the user.
    In Mail output the PO FORM Langauge should be determined automatically, pls. check this FM BBP_OUTPUT_PO_GETDETAIL_SMART which determines the vendor Langauge, check perform- GET_VENDOR.
    If you want to customize it then do the below.
    In case of sending PO to vendor. You can change the language in the processing class method of the PO form set up.
    In SPRO define action for document output for the action profile BBP_PD_PO  and action definition- select the SMART FORMS MAIL,  click on set processing button you can see the processing class and method. you can create a new class and method by copying it .
    In the method. you can control parameter language  to vendor's langauge  call the form function
    ls_control_param-langu = lv_vendors_langu.
    CALL FUNCTION lv_function
          EXPORTING
            archive_index_tab    = ct_archive_index_tab
            archive_parameters   = is_archive_parameters
            control_parameters   = ls_control_param
            mail_appl_obj        = is_mail_appl_obj_s
            mail_recipient       = is_mail_recipient
            mail_sender          = is_mail_sender
            output_options       = ls_output_options
            user_settings        = ip_user_settings
            sf_po                = ls_sf_po
            iv_sender            = ls_sender_email
          IMPORTING
            document_output_info = es_document_output_info
            job_output_info      = e_job_output_info
            job_output_options   = e_job_output_options
            ev_sender            = ls_sender_email
          EXCEPTIONS
            formatting_error     = 1
            internal_error       = 2
            send_error           = 3
            user_canceled        = 4
            OTHERS               = 5.
    This will change the forms langauge.

  • Need inputs : PO Smartform in Bulgaria language

    Hi Experts,
    I need a couple of suggestions and guide lines for PO print out Smart form.
    We have requirement for PO, print  out should print in Bulgaria language if the PO Vendors is from Bulgaria country.
    And if the vendor is other than Bulgaria country then it should print in the English.
    We have already a custom smart form (English)which we have assigned it in BADI for the PO Print output BBP_OUTPUT_CHANGE_SF.
    Do we have to create 2 different smart forms? One is for Bulgaria vendors and other for non Bulgaria vendors.
    And Do need to assign the 2 different smart forms in BADI based up on the vendor country?
    If I enter the fixed text (like labels) in Bulgarian language then it will automatically will print in Bulgarian language?
    And what I have to do dynamic text (which I will read from the print program input data or data base tables) ? Is there any way for the translation for these dynamic texts?
    And I tried to put some labels in Bulgarian language in the smart form, but I am not able to see in those characters in the print preview in the portal. Its showing as some junk characters asu201D#u201D. But I am able to see in Spool (GUI, SP01). Is it because of the Bulgaria Language pack is not there in my system
    looking for your valuable inputs.
    Thank you ,
    Bharathi.
    Edited by: Dhareppa Havalagi on Jul 16, 2009 2:36 AM
    Edited by: Dhareppa Havalagi on Jul 16, 2009 2:37 AM

    Hi Masa ,
    we dont want to trigger on the basis of supplier language , its trigger based up on the supplier country .
    can you let me know is it possible with one smartform itself
    thank you ,
    Bharathi

  • Change language of output type in output type condition?

    Hey Team ABAP,
    subject is MM output type determination for PO.
    Standard finds his customized output type and sets communication language of supplier as output type language.
    I need to somehow change that, as we dont want to print our PO´s in supplier language but in logon language.
    I didnt found a way to customize it in a way that it determines the output type with logon language. So i thought: "well, lets do it in a condition then".
    I coded a new condition and set that condition in the OT scheme for desired OT.
    Problem is that manipulating XNAST[] at this point doesnt really make any impact. copndition runs in main program SAPLV61B which is actually the main program for messaging, so i´m at the correct nast and dirty assigns cant help me either.
    I guess my problem is cause SPRAS is actually a key field of NAST respective XNAST then.
    Besides, i cant just goto the driver program and set nast-spras = sy-langu there, as we want to make use of the language of the output type.
    What i want is: output type gets determined in logon language, but when user decides to change the language it should take effect.
    Any ideas?

    well one more addition to this:
    Setting that checkbox does what i want, but only language wise.
    Setting it also prevents you from beeing able to assign a partner to that output type which again is bad.
    So now i end up having a problem without the checkbox and as well with the checkbox.
    Just wanted to let you know... beeing on my way to modify FM messaging then.

  • Unable to Change Withholding Tax Base Amount while creating Service AP Invoice through DI API?

    Dear All,
    I am trying to create Service AP Invoice through DI API.
    If I post the document without changing SAPPurchaseInvoice.WithholdingTaxData.TaxableAmount the dount ocument is created in SAP without any problem.
    But if I change amount in above field then DI API throws error Unbalanced Transaction.
    If I post same document in SAP with changed base amount it got posted in SAP without any Issue.
    Where I am doing wrong?
    please guide.
    Using:
    SAP B1 version 9 Patch Level 11
    Location : India.
    Thanks.

    Hi ,
    maybe you can find solution to these note 1812344
    1846344  - Overview Note for SAP Business One 8.82 PL12
    Symptom
    This SAP Note contains collective information related to upgrades to SAP Business One 8.82 Patch Level 12 (B1 8.82 PL12) from previous SAP Business One releases.
    In order to receive information about delivered patches via email or RSS, please use the upper right subscription options on http://service.sap.com/~sapidp/011000358700001458732008E
    Solution
    Patch installation options:
    SAP Business One 8.82 PL12 can be installed directly on previous patches of SAP Business One 8.82
    You can upgrade your SAP Business One to 8.82PL12 from all patches of the following versions:8.81; 8.8; 2007 A SP01; 2007 A SP00; 2007 B SP00; 2005 A SP01; 2005 B
    Patch content:
    SAP Business One 8.82 PL12 includes all corrections from previous patches for releases 8.82, 8.81, 8.8, 2007, and 2005.
    For details about the contained corrections, please see the SAP Notes listed in the References section.
    Notes: SAP Business One 8.82 PL12 contains B1if version 1.17.5
    Patch download:
    Open http://service.sap.com/sbo-swcenter -> SAP Business One Products -> Updates -> SAP Business One 8.8 -> SAP BUSINESS ONE 8.82 -> Comprised Software Component Versions -> SAP BUSINESS ONE 8.82 -> Win32 -> Downloads tab
    Header Data
    Released On
    02.05.2013 02:34:18  
    Release Status
    Released for Customer  
    Component
    SBO-BC-UPG Upgrade  
    Priority
      Recommendations/additional info  
    Category
      Upgrade information  
    References
    This document refers to:
      SAP Business One Notes
    1482452
    IN_Wrong tax amount was created for some items in the invoice with Excisable BOM item involves
    1650289
    Printing Inventory Posting List for huge amount of data
    1678528
    Withholding amount in the first row is zeroed.
    1754529
    Error Message When Running Pick and Pack Manager
    1756263
    Open Items List shuts down on out of memory
    1757641
    Year-end closing
    1757690
    SEPA File Formats - New Pain Versions
    1757898
    Incoming Bank File Format
    1757904
    Outgoing Bank File Format
    1762860
    Incorrect weight calculation when Automatic Availability Check is on
    1770690
    Pro Forma Invoice
    1776948
    Calendar columns are wrong when working with Group View
    1780460
    OINM column description is not translated
    1780486
    UI_System crash when you set extreme value of double type to DataTable column
    1788256
    Incorrect User-Defined Field displayed in a Stock Transfer Request
    1788372
    ZH: 'Unacceptable Field' when export document to word
    1788818
    RU loc: No freight in the Tax Invoice layout
    1790404
    Cash Flow Inconsistency when Canceling Payment
    1791295
    B1info property of UI API AddonsInstaller object returns NULL value
    1791416
    Adding a new item to BoM is slow
    1794111
    Text is overlapping in specific localization
    1795595
    Change log for item group shows current system date in all the "Created" fields
    1797292
    Queries in alerts should support more query results
    1800055
    B1if_ Line break issue in inbound retrieval using JDBC
    1802580
    Add Journal Voucher to General Ledger report
    1803586
    Not realized payment is exported via Payment Engine using 'SAPBPDEOPBT_DTAUS' file format
    1803751
    Period indicator of document series can be changed although it has been used
    1804340
    LOC_BR_Cannot update Nota Fiscal Model
    1805554
    G/L Account displayed in a wrong position when unticking the checkbox "Account with Balance of Zero"
    1806576
    Payment Cannot Be Reconciled Internally
    1807611
    Cannot update UDF in Distribution Rule used in transactions
    1807654
    Serial No./Batch inconsistency by canceled Inventory Transfer
    1808694
    BR: Business Partner Code cannot be updated with CNPJ CPF error
    1809398
    CR_Cannot Display Related Multi-Value Parameters
    1809758
    Arrow key not work for Batch/Serial Number Transactions Report
    1810099
    Tax Amount is Recalculated Even if Tax Code Is Not Changed
    1811270
    Upgrade fails on Serial And Batches object with error code -10
    1811846
    Cannot run Exchange Rate Differences when multi branch is activated
    1812344
    Withholding Tax Amount Is Not Updated in Payment Once Witholding Tax Code Is Changed in Document through DI API
    1812740
    DI:"Operation Code" show wrong value when add "A/P Tax Invoice" based on "A/P Invoice"
    1813029
    US_Vendor address on 1099 Summary by Form/Box Report is not updated according to the latest Invoice
    1813835
    Wrong amounts of Goods Return in Open Item List
    1814207
    Preliminary page prints setting does not keep after upgrade
    1814860
    Value "Zero" cannot be imported to "Minimum Inventory Level" field via Excel file
    1815535
    RFQ: Web front end not displayed in supplier language
    1815810
    GT: Adding Incoming Payment for Some Cash Flow Relevant Accounts Fails
    1816191
    BR:System Crashes While Working with Tax Code Determination Window
    1816611
    CR_Crystal Report Displayed Incorrectly Afte

  • Problem Creating DataStore in DS with ECC 6.0 as datasource

    Dear experts,
    I was unable to create this DataStore on DataServices on this Windows 2003 SP2 machine. My source system is ECC 6.0. I get "Cannot establish database connection. .... Please make sure SAP server is running and the login information is correct. (BODI-1111348).
    I have provided the server name (192.168.xxx.xxx), username, password and in Advanced, I supplied Language as EN, Client Number as 800 and System NUmber as 00.
    I was wondering do I need to install anything related to ECC on this windows machine? The ECC is also on Windows NT machine.

    Here are some things to check:
    - Verify that the SAP app server IP address, username, password, client and SID are correct
    - Try to ping the SAP server IP address
    - Try to ping the SAP host DNS name.  You may need to use the complete DNS name, i.e., myserver.mycompany.com
    - In the datastore, try replacing the SAP host's IP address with the DNS name
    - If this a dialog account that you use to log into SAP GUI then your SAP system may require a non-dialog account for service connections
    These topics are discussed in the Technical Manual, Supplement for SAP
    - Did you install the DS functions in SAP?
    - Have you set up your SAP user authorizations?
    This link may be useful
    http://wiki.sdn.sap.com/wiki/display/BOBJ/ConnectingtoSAP

  • Web Dynpro Java Internationalization and backend ABAP function modules

    Friends,
    I have a requirement where I want my Web Dynpro Java application to support BRAZIL and CHINESE.
    I have been through the sample programs and tutorials and I understand how to support my application in these 2 languages. The challenge I am facing is how to communicate the language to the backend code (ABAP function modules) so that the function modules can written language specific error messages and texts.
    I searched SDN but could not find anything. Your help is appreciated.

    Prashant,
    When you are configuring JCo connection in WebDynpro Content Administrator, just left language settings blank for metadata connection (you may do the same for data connection). Now WD will supply language of currently logged-in user when obtaining connection settings from system landscape and you'll get necessary functionality.
    By default locale of user determined by parameter sap-locale (sap-locale=de_DE for example), settings of user's browser and lastly preferences of user stored in UME.
    Btw, BRAZIL (or Portugees for this matter) is not fully supported language by SAP, so R/3 side may be not  translated or partly translated.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • ISO Code

    Hi,
    We have assigned ISO code PCE for ST and also for PC with primary indicator set for both.
    We created PO and while doing MIGO for non stock material it is giving error
    ST is not convertable to PC.
    Can soem one explain on this isssue.

    Hi,
    you should only have one internal UOM for PCE. "ST" should be just the German translation for the "commercial use" of the UOM PCE , not an additional UOM . By this you make sure that Users who log in in different languages will use the internal UOM, no matter if they choose PCE or ST in their language. And, depending on the suppliers language, the correct text will appear in the PO.
    Greetings from Germany,
    Bernd

  • Language Output in PO by Supplier Country

    In my System the PO language output depends on the country in the address of the supplier, so every country its in spanish except USA, which its in english.
    Where should I look to find the code (or transaction) to add other countries to English language?
    Thank you, Regards,
    Carlos

    Thank you Nick its seems in my system somebody used a userexit so the country its the one setting up the language, if I change the communication it also changes the output but also material text which its not maintained in other languages.
    Best Regards,
    Carlos

  • Googling for Apple answers - Language code supplied is invalid

    When I Google for problems, many times an Apple Kbase article is listed in the search results. However, when I click on the link, I'm asked to log into support.apple.com (WHY??? - that is idiotic, if the Google cache has the answer, why do you need to know who I am to show it to me?)
    When I enter my username and password, the only response is "Language Code supplied is invalid." There is no way around this unless you dig the kbase article code out of the link and then login, and then search Apple for the article number.
    Can someone assist me on this?

    Example:
    I go to http://www.apple.com/support/snowleopardserver/
    I click on Setup and Administration, and see the two links and the discussions are not what I want. I click on See all Setup and Administration articles <http://support.apple.com/kb/index?page=search&src=support_site.psp.snowleopard .more&q=Setup%20and%20Administration>.
    I get taken to the login page and get the error. At no point do I have an option to select a language.

  • Is there a way to find out if the sap-language parameter was supplied?

    Hi all,
    I wanted to find out if the url parameter sap-language was supplied or not. I thought that I can read that with request->get_form_field, but the system automatically applies the new language and the parameter is not accessible this way. Is there any other way to check that? I could try it using javascript on the layout, check the url from the javascript and then using self-submitting form transfer that to the backend, but maybe there is some nicer solution?
    Thanks in advance.
    Marcin

    Why do you want to get it from browser URL while you can get it from ABAP?
    I think you can try SY-LANGU to get the language of user.
    Best regards,
    Chinnu

  • How to fix error: "language code supplied not valid"

    I was trying to email a apple support article and put in same user ID and password I have for this discussion and it came back with that error code: "language code supplied is not valid" ...I even tried resetting password and same error came up. I'm accessing this by using Firefox 3.5.5 and was amazed I could get into this discussion area, but got error when trying to email myself this article: http://support.apple.com/kb/HT1766?viewlocale=en_US
    ....oh what just happened now, and not sure why: I went to same link AFTER signing in here to discussions and then when hit the envelope icon to email the article it slide over to a one slot spot to put in my email address, where before it had both a slot for appleID and for password....but why I could not get there before signing in here when I used same apple ID and password is a mystery?! Oh well, I guess you can say if others have same error code come here first to sign in then try to send article to self-ha! If anyone knows why that error occurred or what it means I'd appreciate knowing the reason.

    Hmmm, that's the only thing I've heard that causes it, but the Apple sites have had a lot of Cache & Cookie problems lately.

  • Language issues in a school supplied software?

    So I am attending a school in Sweden, and was given a full CS5 install through our Tech Department.  The problem is, I am from the US, and only know the software in English.  The IT guy said he had no access to the English download anymore, so I have CS5 in Swedish.  I've tried a couple tricks for changing the language (turning the .dat to .bak and adding a new language folder), to no success.  I cannot function in this software at all anymore, it's incredibly frustrating.  Any help?
    I have CS5 version 12.0, 64 bit.

    Sort of.  Adobe will tell you it has to be ordered that way.
    About 2? months ago a user posted a PS forum thread on how to change the language.  It was not something you just click on, you had to do some more technical stuff.  Bottom line it is possible.
    Might to a search and see if you can come up with it.  Google is better than Adobe search, but you might try both.

  • I have a 4S. When I try to get my icloud to work and verify my email it states "Request could not be completed, language code supplied is not supported" What does this mean and how can I correct it?

    I had accidently put in a different email but can't get it to change. Could this be the issue?

    means that apple mobile device service needs to be started try this article to get it turned back on
    Restart apple mobile device service

  • HT4993 i did a master reset on my iphone 4. now when i try to set the phone back up from the start i put in the language and country, I hit next and it takes me to a screen that says connect to itunes, then will not me go any further, what do i do?

    i did a master reset on my sprint iphone 4 and i do not know what steps to take to get the phone to where i can connect to wifi after putting in the language and country... please help

    Connect it to your computer via the supplied sync cable and restore.

Maybe you are looking for

  • I have problem with my purchare

    Dear Apple support team Today, I bought more storage up to 20Gb storage in iCloud but it still is free packet with 5Gb free status. Please help me

  • Macbook Pro not turning off after spillage.

    Hi Yesterday night I was doing something on my laptop, and a bit of yougurt got spilled on the keyboard part. I wiped the yogurt off the keyboard very quickly, I left it upside down and went to sleep. Now I've come back home , and I have tried to tur

  • Alert - Mac OS Update cannot be installed on this computer

    My second computer is a MacBook Pro (PPC) OS 10.4.8, 2 GB RAM. When I try to install update 10.4.10 I get the alert: "Mac OS Update Combined (Power PC)cannot be installed on this computer." Why not? Thanks for any help. -Rob

  • OUI-10151:There was an error while loading library: generalQueries

    While installing CRS i am getting this error , and the solution accordint to metalink is Cause The staging area was not created properly. An example of staging area for an AIX5L box is as follows: /stage/core/AIX/5L/64bit/rdbms/10.2.0.1.0/dvd1/databa

  • Can SAP be used with Linux & Unix...

    Hi there ,                I got a query that whether SAP can be used with Unix  & Linux Operating System ... Thanks & Regards Kaushik Choudhury