Japanese Language Text in PDF Output of Purchase Orders

Hi,
We are using a custom smartform to create a purchase order output and send it as an email to the Vendor.
Std Program /SMB40/FM06P is used. We have setup the configuration for External Message and this is working fine.
We have the following 2 issues
1. We wish to over-ride the email address picked up by the Program. By default SAP picks up the vendors email address maintained in Vendor master. Is there any way to overide this?
2. The purchase order contains Japanese language texts. These Japanese texts are not getting updated correctly in the PDF file. They are displayed as junk characters.
Please note that if I view print preview of purchase orders in mE23N the display is perfectly fine. Also I executed a report in the background and then converted the spool to a PDF file. The PDF file displays Japanese characters correctly.
Any inputs on the above is welcome. Issue no 2 is more seriously affecting us.

Hi,
For issue # 1. Check OSS note OSS 852250... you need to include this logic en get_addr_key in print program: /SMB40/FM06PE02
IF is_nast-parnr NE space  AND
       is_nast-parnr NE is_xekko-lifnr.
      "-- Get address from partner -
      SELECT SINGLE * FROM lfa1 INTO ls_lfa1
      WHERE lifnr = is_nast-parnr.
      MOVE ls_lfa1 TO cv_addr_key.
Notice that line:
MOVE ls_lfa1 TO cv_addr_key
Should be
MOVE ls_lfa1-adrn TO cv_addr_key
About issue # 2.
I am facing the same problem, have you been ablo to resolve it?
Thanks

Similar Messages

  • Output of Purchase order Configured FAX as medium..

    Hi All,
    One of Purchase order is configured with communication medium as FAX and output type as NEU.How to see the output?
    Thanks

    hi
    Output of Purchase Order
    1. Condition Table
    SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
    Select:
    Purchasing Doc. Type, Purch. Organization, Vendor
    2. Access Sequences
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
    3. Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
    *4. Message Determination Schemas*
    4.1. Message Determination Schemas
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
    4.2. Assign Schema to Purchase Order
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
    5. Partner Roles per Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
    6. Condition Record
    Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data-
    here all above steps u can do from transacton NACE
    now when u create po in the messages select out put as FAX and the take out put
    http://www.scribd.com/doc/7839934/Faxing-a-Purchase-Order
    regards
    KI
    Edited by: SAP Learner on Apr 17, 2009 12:15 PM

  • BBP_PPF - Output Control Purchase Order

    Dear Experts,
    We use SRM Server 5.50
    Is anyone knows how can we control the UI of transaction 'Output Control Purchase Order' (BBP_PPF)?
    Thanks & Regards,
    Keren

    Keren,
    sorry I misunderstood your requirement.
    The ways of controlling user screens is one of 3.
    1. Screen Variants - you say you have already tried this
    2. Use a BADI to hide fields or control user defined fields, if one is available?
    3. Modify the template - extreme solution that will create future issues during upgrade but sometimes is the only way.
    As I am a functional person you would need to contact your ABAP/technical support for the details.
    Hope this helps
    Allen.

  • Role for "OUTPUT CONTROL PURCHASE ORDER" in SRM 7.0

    Hi all,
    What is the role in SRM 7.0.1 which will give me menu for the "OUTPUT CONTROL PURCHASE ORDER" in portal?
    Thanks.

    Hi CG,
    The role of operational purchaser should be sufficient to give 'OUTPUT CONTROL PURCHASE ORDER" in SRM 7.0.
    Thanks and regards,
    Ranjan

  • Handling Non English language characters in PDF output

    Hi All,
    We have a requirement wherein we have to display an existing Smartform output in a PDF format.
    We have used OTF to PDF conversion and displayed the PDF output in a container.
    The issue is if certain characters are of non english language then the PDF is displaying these characters as special symbols.
    The following string is getting dispalyed in the SmartForm as follows:
    ОРЕНБУРГАВТОРЕМСЕРВИС_ 
    The same string is displayed as follows in the PDF form :
    Any pointers on how to handle such cases would be highly appreciated.
    Thanks in advance.
    regards
    Chaitanya
    9703019495

    Before calling the smartform, use the FM 'SSF_GET_DEVICE_TYPE' and get  the device type based on the language.
    For eg:
      CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
        EXPORTING
          i_language = l_langu
        IMPORTING
          e_devtype  = lwa_output_options-tdprinter.
    Then you need to build the other control parameters like this:
    Build control parameters.
      lwa_control_parameters-getotf  = c_charx.
      lwa_control_parameters-device = 'PRINTER'.
      lwa_control_parameters-preview = ''.
      lwa_control_parameters-no_dialog = c_charx.
      lwa_output_options-tddest = 'LOCL'.
    Pass this lwa_output_options & lwa_control_parameters to output_options & control_parameters respectively in the Smartform FM.
    This should ideally solve this issue.
    Regards,
    Amirth

  • I am not able to modify the text in pdf output file using pdf editor

    Hi,
    We have upgrade the xml 5.6.1 in server level. After upgrading this, we are not able to modify the pdf output file. Previously we used to modify text and delete text in pdf file which is generated by oracle Application. As of now we cann't upgrade higher version. Can you suggest what to do?.

    Check the xdo configuration file option in the user guides. There should be options that allow / disallow modifying text specifically. If you are in EBS, you should be able to change the configuration file options from the XML Publisher Administrator UI.
    Klaus

  • Item text needed in Smartform for Purchase Order

    Dear Friends
    i am creaing a smartform form for a Purchase Order , where i am to show item text , & material po text
    also but i am not getting how to show them , i have tried with Function Module Read_ text but if for any item text is not maintained it throw a error     text xxxxxxxxxx code f01 not found in language en .
    kindly somebody help me with the elaborated steps
    regards
    digvijay rai

    Requirement : Need to display the item text in the scripts Tcode me23n.
    problem: the below subroutine program which i wrote reads the entire paragraph but when the values transfered to the script, the script variable accepts only one line. can you please help to pass  the entire value to scripts.
    Actual output
    th respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the exchoose warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.D
    Displayed  output
          th respect to the materials. The only warranties for SAP Group products and s
    code written in scripts :
    DEFINE &VALUE& TYPE STRING(500)
    PERFORM ITEMTEXT IN PROGRAM ZDISPLAYINGITEMTEXT
    USING &EKKO-EBELN&
    USING &EKPO-EBELP&
    CHANGING &VALUE&
    ENDPERFORM
    Item Text : &VALUE&
    REPORT  ZDISPLAYINGITEMTEXT.
    DATA : name type thead-tdname,
           p_ebeln TYPE ekko-ebeln,            "  Purchase order Number
           p_ebelp TYPE ekpo-ebelp.
    types :strin(450).
    data : p_valu type strin.
       data : p_valu1 type strin.
    data: lines type table of tline with header line.
       data: IT_LINE LIKE STANDARD TABLE OF itcsy INITIAL SIZE 0 WITH HEADER LINE,
    IT_TEXT1 LIKE STANDARD TABLE OF itcsy INITIAL SIZE 0 WITH HEADER LINE,
    W_LINE LIKE IT_LINE.
    Types : stri(450).
    data f_name type stri.
    FORM itemtext TABLES i_intab STRUCTURE itcsy
                           i_outab STRUCTURE itcsy.
    *BREAK-POINT.
        READ TABLE i_intab INDEX 1.
      MOVE i_intab-value TO p_ebeln.
      READ TABLE i_intab INDEX 2.
      MOVE i_intab-value TO  p_ebelp.
    *parameters: p_ebeln type ekko-ebeln,
               p_ebelp type ekpo-ebelp.
    concatenate p_ebeln p_ebelp into name.
    call function 'READ_TEXT'
         exporting
              id                      = 'F01'
              language                = sy-langu
              name                    = name
              object                  = 'EKPO'
         tables
              lines                   = lines
         exceptions
              id                      = 1
              language                = 2
              name                    = 3
              not_found               = 4
              object                  = 5
              reference_check         = 6
              wrong_access_to_archive = 7
              others                  = 8.
    loop at lines.  "   INTO w_line.
    BREAK-POINT.
    *move w_line to it_text1.
    *append it_text1.
    *write:/ it_line.
    *p_valu = f_name.
    *p_valu1 = w_line.
    concatenate p_valu lines-tdline into p_valu.
    *p_valu = f_name.
    endloop.
    message p_valu type 'I'.
    READ TABLE i_outab INDEX 1.
        MOVE p_valu TO i_outab-value.
        MODIFY i_outab INDEX sy-tabix.
    *loop at lines.
    write:/ f_name.
    *endloop.
    *READ TABLE i_outab INDEX 1.
       MOVE lines TO i_outab-value.
       MODIFY i_outab INDEX sy-tabix.
    endform.

  • Problem in Automatic pickup of message in output of Purchase Order

    Dear friends,
    i am facing a problem in PO at output messages, after creating the PO i am unable to go for print automatically. ie: i nead to give the output type NEU in the messages manually.
    i was gone through all the possibulities and settings i have to give. can any one please tell me all the possibulities that causes this problem.
    i am getting the below message regarding this
    No message generated for output of purchasing document
    Message no. 06261
    Diagnosis
    The system was not able to find a message record via the message determination schema. Therefore it was not possible for such a record to be generated for this purchasing document. In consequence, the purchasing document cannot be outputted (printed or transmitted).
    Procedure
    The message determination process should be checked and, if necessary, corrected.
    The message record can be created manually for this document. For this purpose, choose the function "Messages" in the menu "Header" and maintain the necessary data.

    hi
    You need to do some configuration for this.
    u2022 Goto NACE .
    u2022 Select EF and click on OUTPUT TYPES.
    u2022 Then select Output Type NEU and click on processing routines .
    u2022 In that you have to add a new entry - medium 5 .
    u2022 Then you need to assign a program, form routine and form.
    u2022 You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
    u2022 Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .
    u2022 For subject of the mail goto Mail Title and Texts. In title give PO No. &EKKO-EBELN& .
    u2022 Under General data -> Replacement of text symbols give programm as SAPMM06E and Form Routine as TEXT_SYMBOL_REPLACE .
    u2022 Now the subject will be PO No. 1800004202.
    u2022 You need to maintain your email id in tcode SU01 and also the vendor's email id.
    u2022 Now while creating a new purchase order , change the medium to External Send .
    u2022 Then goto Communication Method and select CS01 . ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .
    u2022 Goto tcode ME9F .
    u2022 Execute.
    u2022 Select the checkbox and click on Output Message.
    u2022 You will get a message MAII 00000000000001 generated .
    u2022 Use note no 191470
    VB

  • Automatic Output of Purchase Order

    Dear Experts,
    I have Extended Classic Scenario with SRM 5.0 (SP-14)
    Shopping cart is ordered to create purchase order and PO created is approved automatically. The requirement is to trigger output automatically upon po approval.
    If I trigger the output manually it is processed successfully. We are not using standard PO form but a customised smart form.
    I have done following configuration -
    Under : Set Output Actions and Output Format--->Define Actions for Document Output
    Processing Time: Processing when saving document
    Processing time not permitted: Immediate Processing
    Determination Technology: Determination Using Conditions that Can Be Transported
    Within 'Condition-Dependent Document Output' - 'Schedule conditiona and Start Condition is maintained' 
    Could you please advise if I am missing any step?
    Best Regards,
    Amit Patil

    Hi
    BBP_OUTPUT_CHANGE_SF
    Change Forms for Document Output
    You can use the Business Add-In BBP_OUTPUT_CHANGE_SF to override the Smart Forms that are defined in the activity Define Actions for Document Output.
    This BAdI serves as an alternative to the IMG activity Condition-Dependent Document Output.
    Note that no Smart Forms are used for output via XML.
    Standard settings
    The following parameters are available in the method CHANGE_FORMS. Depending on the input parameters, you can define other Smart Forms to output the document type.
    Importing
    IV_GUID
    Globally Unique Identifier of the document.
    IV_MEDIUM
    Output medium found for this document according to Define Actions for Document Output (print: PRN, fax: FAX, e-mail: MAI, XML: MET).
    IS_PARTNER
    Business partner to whom the document is sent.
    IV_OBJECT_TYPE
    Business transaction type.
    Changing
    CV_SMARTFORM
    Smart Form used to output the document.
    E-mail output
    Smart Form with which the document is added to the e-mail in the form
    of a PDF attachment.
    Note:
    Note that the BAdI with this parameter overrides the parameter form name (technical name of the Smart FormBBP_PO for example) irrespective of the defined determination technology (SRM: Purchase Order Output Determination, for example).
    CV_SMARTFORM_MAIL
    regards
    muthu

  • Message Output for purchase order

    Dear SAP Expert,
    We have defined the message output type for purchase order document type XX with special function. We have maintained condition record for the same. It is working fine.
    Now we have defined another output type for another PO document type YYwith special function by copying earlier one.
    But message output is not genarated in case of YY document type.
    Please tell us what we have missed out.
    Thanks & Regards,
    Reva.

    Hi Reva,
    In ME22N for your PO, click on the Messages button. Then click on the blue information button - this should display the output determination analysis for the order, and will show you which output determination procedure was used, which output type and access sequence was processed and whether the system was able to find a matching record. At the lowest level of detail it will show you the keys that were used to read the condition records. All this information should help you to determine why a condition record could not be found for the purchase order.
    Regards,
    Monika

  • Substitution for text of line items in purchase order

    Hi everyone,
    I have this requirement: suppose we create a purchase order, and that this PO is posted to a new (or yet existing) fixed asset. We must update the text in the line item of the PO with some information of the asset (new or existing).
    Any BAdI's/user-exits/enhancements to do so?
    Any help will be appreciated. Best regards,
    Alvaro

    Finally I decided to repair a standard object to do such substitution

  • Getting pdf attachments of Purchase order as OTF

    Hi gurus, i need to get the attachment list of a purchase order and then get the OTF data of each PDF files to convert then an get the pdf Binary data. The problem is that i´m using an enterprise service, so i need to avoid any pop-up. I tried to use the FM GOS_EXECUTE_SERVICE with method 'VIEW_ATTA' and it displays me a popup, so it doesn´t work for my ES.
    Hope someone  can help me with this.
    Regards,
    Diego.

    Solved, i use this thread..
    /people/siddhartha.jain/blog/2007/01/16/how-to-retrieve-a-generic-object-services-gos-or-sapoffice-document-display-it-in-a-bsp-webdynprojava-application
    Thanks for all.
    Regards,
    Diego.

  • Repeat email output for purchase order

    Hi all,
        I have an email output (ZMAL)) that sends a notification from purchase order when the total value exceed $50,000 at creation of PO.  This works fine.  However, during ME22N, when the total po value goes from  intial $30,000 to $60,000, at saving, it should email out a notification but it does not as initial output ZMAL was created at po creation.
    Q:  How can i get the notification to send out automatically the second time or third time when the condition exceeding $50,000 
         is   met ?
    If i create another output ZMAL manually in PO, then i can resend ZMAIL. 
    The condition checking is made in   'EXIT_SAPMM06E_012 in Include ZXM06U43.
    Pls provide any suggestions you have.
    thanks
    Joyce

    Hi,
    Does the output type get triggered for the first time automatically?  Instead of writing the condition in enhancement, it is recommended to write the output type determining conditions in Output type Requirement routine.
    NACE -> Select application -> Click on Procedures -> select procedure -> Click on Control -> Insert record for the output type -> Create routine and assign .
    Check standard output procedure of Purchase order "RMBEF1" to get an idea.
    Regards
    Vinod

  • Header text dump for the given purchase orders.

    Hello Gurus,
    Could you please help in pulling the report, which contains all the header text and the header note data for the  purchase orders.
    I tried EKKO and EKPO, these tables giving me all the data except the Header details ( we as the end users will make so much of notes in the header of the po).
    Please help me in pulling this report.
    Thanks,
    Chandra.

    hi Chandra
    this seems to be more of a MM issue
    However text is general stored (as pointers ) on the STXH/STXL tables.
    You could try using the function module READ_TEXT  in SE37
    and the object will be EKPO
    kind regards
    Paul Quinn

  • Copy text from allocation table to purchase order

    I am unable to get header/item text to be copied to follow-on Purchase order. I am unable to link AK1, AP1 to purchase order text types. Help please.
    Thanks.

    I am unable to get header/item text to be copied to follow-on Purchase order. I am unable to link AK1, AP1 to purchase order text types. Help please.
    Thanks.

Maybe you are looking for

  • Fault policy files in MDS repository is not working 11g

    Hi All, I have created my fault policy and fault bindings file and tested in my local project. It worked fine. To make it available in MDS, I added the files under JDeveloperHome/jdeveloper/integration/seed/apps/faulthandling I deployed this MDS repo

  • BTE 1321 "How we configure "?

    Hi, anybody  had used BTE 1321 ,if yes the plz reply me. Regards Ricky

  • Weird internet font problem

    the font on some websites had changed fr some reason, Google, youtube etc. but not myspace, apple etc. This is happening on all my browsers and i dont no why

  • Offline approval from outook in sap

    Dear experts, am having below requirement. When Purchase order has been created from me21n tcode, workflow need to trigger and workitem needs to send as per the release groups and release startegies. But instead of workitem i need to send a mail to e

  • Mixed Codecs

    I have footage shot on a Canon XL-H1 - HDV and on a Canon 5d MII. I have the 5D footage imported in ProREs 422 I have a number of potential sequence scenarios: 1 - using only the Prores 5D footage, no problems 2- using only HDV footage, again no prob