Error in Email PDF of purchase order

In the purchase order, we have set up a message(output) type as
external send for sending the email to the buyer. It has been working
good for the past 1 year and suddenly for the past few weeks we started
noticing errors.
The error is that we cannot see any data in one of the pages of the PO
output(PDF attachment). For example, if a PO has 5 pages, the 2nd page
will be blank and all the other pages would have come out fine. This
does not happen in every PO and also it is not the same page which is
missing in all the error PO PDFs. But when we print the output with
the Print medium it always looks fine. Both uses the same smartform
and the program.
Even in the same PO, the first time they email it does not work
correctly and if they repeat the output after a few minutes all pages
look fine.
This error happens sporadically and it does not have any connection
with the number of pages a PO prints or it is not the same page that is
missing always. I beleive it does not have anything to do with the
special characters in the PO. The language we are trying to print is
English.
We use CONVERT_OTF function module to convert from OTF to PDF. This
was working good always before and suddenly we see problems every now
and then. I will also attach a screen shot of the error when the PDF
is opened(this shows a page in PO which is blank & error of PDF). Can
you please look into this and direct us in the right path
to solve the issue?
Thanks

Hi,
As mentioned the pdf missing page error is sporadic, I would recommend you to check the following:
1. Add a delay 'WAIT' Function Module before 'CONVERT_OTF'. Maybe, due to some change in hardware, patch upgrade or increased user load, the pdf is not getting generated the first time. Hence, it works fine the next time.
2. Ask your BASIS Team to monitor the dialog processes when you run this activity. You can also use SQL Trace to get any leads with reference to bandwidth issues.
Regards,
Pranav.

Similar Messages

  • Email of the Purchase Order to the User

    Hi,
    Currently, I am able to send the email of the purchase order to the vendor mail address, which is mentioned on general data tab of the vendor master.
    In addition, the requirement is that the purchase order also to be emailed to the User, who has created it.
    I have added the VU in NACE settings for application EF, output type NEU. The payment medium I have used is 5 (external send).
    However, when I try to add the VU and the user name to the vendor master partner details tab, the system is not taking in.
    Please let me know how can I email the purchase order to user.
    Thanks in advance for your time.
    Thanks,
    Ravi

    Hi,
    1) Add the user email address also in the vendor master.
    2) Verify all settings in condition records.
    3) Check tcode sost for any waiting send requests.
    Regards,
    BK

  • Re: Error in submitting Import Standard Purchase orders from Pl/Sql

    Hi All,
    Iam using the following code to submit a concurret program
    "Import Standard Purchase orders" from pl/sql
    Program is sucessfully submittted but it is Completing in error status i am stuck there please help me in resolving this
    My instance R12
    My Code
    ======
    DECLARE
    v_request_id VARCHAR2 (100);
    BEGIN
    mo_global.set_policy_context ('S', 204); --org_id for the operating unit which the purchase order records belong too
    mo_global.init ('PO'); -- sets the application
    FND_GLOBAL.APPS_INITIALIZE (1013436, 50578, 201); --Consists of the user_id, responsibility_id, responsibility_application_id which is 201 for purchasing
    v_request_id :=
    fnd_request.submit_request (application => 'PO',
    program => 'POXPOPDOI',
    description => NULL,
    start_time => NULL, -- To start immediately
    sub_request => FALSE,
    argument1 => '31348', -- Buyer_ID
    argument2 => 'STANDARD', -- Doc Type
    argument3 => '', -- doc subtype
    argument4 => 'N', -- update items
    argument5 => '', -- create sourcing rules not used
    argument6 => 'INCOMPLETE', -- Approval status
    argument7 => '', -- release generation method
    argument8 => '1021387', -- batch_id
    argument9 => '', -- operating unit null
    argument10 => '', -- global agreement null
    argument11 => '', -- enable sourcing null
    argument12 => '', -- sourcing level null
    argument13 => '', -- inv org enabled null
    argument14 => '' -- inv org null
    DBMS_OUTPUT.put_line ('Request submitted. ID = ' || v_request_id);
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line (
    'Request set submission failed - unknown error: ' || SQLERRM
    END;
    output
    =====
    when i check output i am getting the follwing error
    DECLARE
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at line 133
    Log message
    ==========
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    31348
    STANDARD
    N
    INCOMPLETE
    1021387
    Start of log messages from FND_FILE
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 945297
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
    User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
    End of log messages from FND_FILE
    Thanks
    Manoj kumar

    Pass NULL instead of ''
    Check the flag
    SELECT multi_org_category
      FROM fnd_concurrent_programs
    WHERE concurrent_program_name = 'POXPOPDOI'Update it as per the below MOS Doc
    R12 / POXPOPDOI - 'ORA-01422' Error While Running 'Import Standard Purchase Orders' [ID 457628.1]
    Otherwise,
    Follow the below doc and insert values to the interface tables (headers, lines and distribution) and run the Import Standard Purchase Orders from the front end.
    How To Diagnose Problems With Importing Standard Purchase Orders [ID 781351.1]
    HTH
    Cheers,
    ND
    Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.

  • Standalone Scenario - Error during Creation of Local Purchase Order

    Hi All,
         I am trying to setup Standalone Scenario, i have created all the master data locally, i am able to Order SC, but after workflow approval SC goes into error 'Error during creation of local purchase order from shopping cart XXXXXXXXX'
         I have created following configuration setting for local PO number
    1) In SPRO -> Cross-Application Basic Settings -> Number Ranges -> Define Number rang. for Schopping Carts and Follow-on Doc. --- i have number ranges for PO follow-on doc. i.e.
    inrerval No = PO, from number = 0004000000, to number = 0004999999, ext. = unchecked
    2) In SPRO -> Cross-Application Basic Settings -> Number Ranges -> Define Ranges per backend system for follow-on documents PO, PR etc
    3) In sourcing (SPRO -> Cross-Application Basic Settings -> Sourcing -> Define Interactive Sourcing for product categories) ---  sourcing is never carried out.
    Can anybody help?
    Regards,
    SAP Guy.
    Edited by: SAP Guy on Apr 23, 2008 2:32 AM

    Hi SAP Guy,
    Following steps are must for Local number range
    1) Create number range for local PO
    2) Maintain your logical system in 'Define number range per backend system for follow on document'
    3) Define Transaction Type for BUS2201, define document type (e.g. EC1)
    4) Assign Document type (EC1) in Org attribute BSA.
    Hope this helps.
    Regards,
    Manish.

  • Error -5002, Update quantities in purchase order? (INV1.Quantity) Line[2]

    We are trying to create Invoices using the SDK tool for a clients interface. Everything goes ok, except at the point where we add the document, we get the following message:
    Error -5002, Update quantities in purchase order? (INV1.Quantity) Line[2]
    Any ideas? We have searched the SAP notes, but nothing is available. Are we missing anything?
    We are running on Version 6.50.098
    Thanks
    Marios

    Hello Marios,
    This error occurs because the last line you are trying to add to the Marketing Document is an empty line. It is a new functionality in Version 6.5 that the document object automatically comes with one document line so if you are adding just one line you do not need to use oDocument.Lines.Add,                                           
    It is only for the second and subsequent lines of marketing documents that you require the method oDocument.Lines.Add. Note 722693 describes the issue.                 
    Regards,
    Lisa

  • HT1933 cant find out email receipt of purchase order

    i cant receive email reply with purchased order code even thought my bank recorded patment

    Hey there myfahuynh,
    It sounds like you need to report a problem with a purchase but do not have the email reciept needed as HT1933 outlines. You can also find the item and the Report a Problem button in your Purchased history for your Apple ID:
    iTunes Store: See your purchase history and web order numbers
    http://support.apple.com/kb/ht2727
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • PDF form as email attachment for purchase order

    Hello All,
    I need send to send the PDF based form as an email attachemnt when ever a new PO is created, I have already created a form thru SFP tcode and set the message type for PO and getting the PDF based form as output in the preview.
    Could any one suggest me where to put the code to send the generated PDF as a mail when I set the message output type medium to 'External send'  for the purchase order.
    Regards,
    Phani

    hi Phani,
    with regard to your problem I would suggest you to please go thru this link.
    Hope this would be helpful to you.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/offline%20interactive%20pdf%20form%20using%20e-mail.pdf
    Thanks,
    kris

  • How to send external email of a Purchase Order

    Hello,
    I have to send an external email (pdf attachment) of a Purchase Order.
    I use the standard sap program: /SMB40/FM06P and the smartform: /SMB40/MMPO_L.
    Within transaction NACE I used the following entries:
    Medium: 5 (External Send), Program: /SMB40/FM06P, Form routine: ENTRY NEU and Smartform: /SMB40/MMPO_L.
    After running transaction ME22n (messages: External Send) I got the following error-messages in processing log:
    - Please maintain an output device in your user master data.
    - Archiving format not equal to PDF.
    Please, can someone help me to solve this problem.
    Regards,
    Rajesh

    hi
    U need to write the code to convert the smartform to PDF using FM Convert_otf and also for sending mail
    The standard program has to be copied to Z and write ur code..to perform u requirements
    Check the below links
    SO_NEW_DOCUMENT_ATT_SEND_API1
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8cd6adbb-0301-0010-39ba-938c601d5db9
    Email Invoices to customer as a PDF attachment
    surya

  • Email Sending of Purchase Order Created versus Print Output

    Dear All,
    I have been successful in sending the Purchase Order created as a PDF Attachment in email.
    The problem i am facing is in the formatting of the attached output.
    The attachment has different bold characters as compared to the print output of the PO , though both the outputs are using the same sapscript.
    I am not able to find the reason for the difference.
    Only because of this reason, my delivery is on hold.
    Please guide me on how to find where the difference could be and how to rectify it.
    Thanks & Regards,
    Bhavika

    Could you tell us which fonts you tried?
    What device type did you choose? (SPAD transaction, select your output device to determine the device type)
    Could you upload TrueType fonts (one normal, one bold) with RSTXPDF2 program (do not tick "do not embed font in PDF" option so that the font is embedded in the PDF file)?
    Did you make sure that your font is not converted to another one? (SE73, printer font, choose your device type, click conversion button, and check what is the converted font)

  • Error in DTW while importing purchase order

    Dear Experts,
    when trying to import purchase order ( Documents and Documents lines) ends up with an error
    key: DocEntry
    Reason: Vendor record not found application - defined or object defined error 65171
    Please help
    Regards
    Jijo

    i had to possible import data, i add some additional fields. here i attached latest sample data
    Documents_lines:-
    RecordKey     LineNum     DiscountPercent     ItemCode     UnitPrice     Quantity     TaxCode
    RecordKey     LineNum     DiscountPercent     ItemCode     UnitPrice     Quantity     TaxCode
    1          2     12.1     8500     1     [email protected]
    2          2     12.2     1200     1     [email protected]
    3          2     12.3     2200     1     [email protected]
    Documents:-
    RecordKey     DocEntry     CardCode     DocDate     DocDueDate     DocType
    RecordKey     DocEntry     CardCode     DocDate     DocDueDate     DocType
    1     2     V01     20090626     20090626     dDocument_Items
    2     3     V01     20090626     20090626     dDocument_Items
    3     4     V01     20090626     20090626     dDocument_Items
    Thank you for you valuable information Kind co operation
    Regards
    JIjo

  • Error in Standard Program for Purchase Order

    Hello Everyone,
    I am getting an ABAP Dump Error while Displaying & Printing Purchase Order using TCODE : ME9F & ME23N.
    We have applied new Patches.
    for Logistics it is 26 & ABAP it is 58.
    I am getting Error in standard INCLUDE
    Program : LMEDRUCKF1K at line 64.
    The Error is :- "Field "ENJPREVIEW" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement."
    Declaration for "ENJPREVIEW" is also available in
    include LMEDRUCKTOP. still it gives an error.
    These lines of code is included by SAP note 855263.
    Before applying these Patches it was working properly, but now it gives an error.
    Please , Can anyone give solution for this.
    Regard's
    Archana.

    Hi Archana ,
    Check is there any Inactive Versions in ur Systems ?
    useful tcodes are SPAU /SPDD for tables
    Regards
    prabhu

  • Error While submitting Import Standard Purchase Order Concurrent Program

    Hello All,
    When I am trying to submit Import Standard Purchase Order Concurrent Program from front end, it gets submitted properly.
    and from backend,I am getting Following error.
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 27810853
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
    User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
    When I looked in Parameters in both program(manually submitted and called from backend) I found a difference.
    difference is Parameter Operating Unit. It not get submitted while program calling from backend.
    Please anybody tell me solution for this. for setting this parameter.
    (Also I have applied for patch 13001705 as per Metalink suggested).
    Thanks in advance.
    Regards
    Ravi Raj.
    Edited by: Ravi Raj on Jan 23, 2013 10:50 PM

    Please paste the code here.. there may be some parameter issue while submission.

  • Error while submitting standard import purchase order program

    Hi,
    iam submitting Standard import purchase order concurrent program, iam getting
    error in view - output like
    Enter value for 12: EXEC FND_CONC_STAT.COLLECT;
    Enter value for 14:
    in view-log like
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 10451963
    can any one help me?
    Regards
    Bhaskar

    Please paste the code here.. there may be some parameter issue while submission.

  • Error Occurred while saving the purchase order

    Dear Experts,
    While changing PO and Schedule Agreement using T.Code : ME22, ME32 we are facing below error message.
    Problem occurred While altering and saving the purchase order.
    Error message FGV004 - "SYST:date 00.00.0000 is not permitted" is generated
    when modifying an Scheduling Agreement that does not have a Delivery
    Schedule using ME32L.
    Please Kindly help to fix this error as soon as possible.
    Thanks in Advance.
    Prasath Manoharan

    hi,
    In addition to above..
    I also checked for the SAP note...
    It shows only one note regarding MM...
    pls check the sap note 355827..
    As per this note you need to add few corrections...pls take help of basis consultant..
    Regards
    Priyanka.P

  • How to stop notification email of Completion: Purchase Order

    When a PO is rejected, user gets the email "RE: Notif. of Completion:Purchase order 4500000695 rej" from the system. It is not part of the rejection task. Does anyone know how to stop it?
    Thanks in advance.
    Philip

    The notification of completion email is sent out from workflow and the users don't want to get it anymore. My question is on how to stop the system of sending out those emails.
    Philip

Maybe you are looking for