Skip to Content

OTF Format of Purchase Order in email unreadable

We have setup emailing of purchase orders and this is working fine. However, the file that is sent to the vendor is in format .OTF

How is this file read? Is it possible to send a different format? We can see the order in SOST, but the email that the vendor receives can not be read.

Can someone help please.

Thank you

Karen

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2006 at 09:59 AM

    Karen ,

    u have to convert OTF into other Formats like PDF .etc.

    check FMs convert_otf*.

    Regards

    prabhu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2006 at 10:06 AM

    Goto SE80, In the Navigation path select Package and give STDX in the package name, press enter you see all the components asociated with SAP Scripts there, probably this would be helpfull for you.

    Regards:

    Santosh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2006 at 10:09 AM

    hi Karen,

    USE following FM to convert OTF to PDF.

    *-- Read OTF from memory

    CALL FUNCTION 'READ_OTF_FROM_MEMORY'

    EXPORTING

    memory_key = nast-objky

    TABLES

    otf = lt_otf

    EXCEPTIONS

    memory_empty = 1

    OTHERS = 2.

    IF sy-subrc = 0.

    *-- Convert the OTF data to PDF data

    CALL FUNCTION 'CONVERT_OTF_2_PDF'

    EXPORTING

    use_otf_mc_cmd = 'X'

    IMPORTING

    bin_filesize = v_bin

    TABLES

    otf = lt_otf

    doctab_archive = it_doctab

    lines = lt_pdfdata

    EXCEPTIONS

    err_conv_not_possible = 1

    err_otf_mc_noendmarker = 2

    OTHERS = 3.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.