How to generate the deferent pdfs for deferent vendor ?

Hi,
i have requirement to generate the each pdf for each vendor and i need to mail those pdfs to respective vendor,
here i am facing the prob to generate the no of pdfs for deferent vendors...please can any one help me in this how i generate the no of pdfs ?? using wrapeer program ....
if possible any one can provide some example code..(Exmplae program)
Thanks,
PK..

There are two function use one for convert PDF and second use to email, hope it will give u idea proper.
Assigning the OTFDATA to OTF Structure table
  CLEAR gt_otf.
  gt_otf[] = gs_otfdata-otfdata[].
Convert the OTF DATA to SAP Script Text lines
  CLEAR gt_pdf_tab.
  CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
      format                = 'PDF'
      max_linewidth         = 132
    IMPORTING
      bin_filesize          = gv_bin_filesize
    TABLES
      otf                   = gt_otf
      lines                 = gt_pdf_tab
    EXCEPTIONS
      err_max_linewidth     = 1
      err_format            = 2
      err_conv_not_possible = 3
      OTHERS                = 4.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        document_data              = gs_docdata
        put_in_outbox              = 'X'
        commit_work                = 'X'
      TABLES
        packing_list               = gt_objpack
        contents_bin               = gt_objbin
        receivers                  = gt_reclist
      contents_txt               = i_objtxt
        object_header              = objhead
      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.

Similar Messages

  • How to generate the ATR files for reports with out manually?

    Hi all,
    how to create the ATR files for reports in OBIEE 11g with out manually?
    is there any other method to create the ATR files by using the OBIEE Server?
    please provide me the solution for this?
    we are creating manually for each and every report, it is time taken process how can we generate ATR files automatically
    by using the OBIEE Server?
    Thanks,

    Hi,
    I am afraid not.ATR are attributes files contains the object's full name, access controllist (ACL), description, and so on.Each catalog object has a corresponding attributes file, I am not sure why do you have to generate the atr files.In case you need info about atr files: http://businessdecisionsystems.com/blog/?p=7
    If you have huge number of similar reports(with filter variations and same kind of layout), try to play around with the xml to minimize the development effort.
    Rgds,
    Dpka
    Edited by: Dpka on Oct 4, 2011 12:00 AM

  • How to generate the batch number for group of records

    Hi All,
    requirement: i have created one sequence to generate the batch numbers.i have to get the nextval of the sequence for batch number (this column is not part of the table. its dynamic column/alias column) only for every 50000 records of a table.
    detail description:
    for example, if i have 10 records in a table. And, if i want to generate the batch number for every 2 records, then the output should look like belo.
    batch-number qty
    1 10
    1 20
    2 30
    2 40
    3 50
    3 60
    4 70
    4 80
    5 90
    5 100
    Please help me on this. Please let me know if you need more info.

    one more update on the above request. this has to be done using SQL query only.

  • How to generate the trace files for remote db link session's?

    User are complaining, the db link queries are performing slowness..
    how to enable the sql trace session for db link's in remote database...
    Is there any way to enable sqltrace for the dblink session ?
    if not how to enable the sql trace for entire database level, rather than session based...

    An explain plan of the SQL being ran on the local database will review the SQL being passed to the remote db. You can then explain that SQL on the remote db.
    I have had to tune a few distribued queries so more than likely the explain plan alone will be enough to allow you to tune the query to improve performance. If not then you can go to the trouble of trying to set up dual traces.
    HTH -- Mark D Powell --

  • How to generate the request number for the changed  script

    Hi guys
        I am having a reqirement, to modify the script which was already transported to production server. I changed the script, but while saving it is not asking any request number.
        On which request number it is getting saved?
        Or is there any methods to generate the <b>request number for the changed script</b>
         Kindly suggest me the procedure with step by step operation.

    Goto Se03 Transaction : 
    select change object directy entries ->execute->select one empty check box ->FORM-> your form name -Execute->

  • How to do the hard recovery for exchange 2010 (No Restore.env generated)

    enrollment:Windows server 2008 R2, exchange 2010.
    I want to test the fundamentally of eseutil /cc
    so I backup the exchange database by Using the Windows backup, then I restore the database, and no Restore.env be found.But  I found I can run the
    eseutil /r.
    what's happened? 
    1,why No Restore.env generated for exchange 2010 in Windows server 2008 r2?
    2,why I can do the soft recovery after the restoring the database? 
    3, how to do the hard recovery for this situation(No Restore.env )?
    Please click the Mark as Answer button if a post solves your problem!

    Hi Eric,
    From your description, I would like to clarify the following things:
    1. Before performing the restore process, we need to dismount the Exchange databases that we want to restore. If the database is still mounted, the restore process will fail. If the restore process doesn't succeed, Restore.env won't be generated.
    2. It is because the log files are healthy, you can run Eseutil/r and perform soft recovery.
    3. In your case, you can continue to perform the soft recovery.
    For more information about hard recovery and soft recovery, here are some helpful threads for your reference.
    Exchange Server Soft and Hard Recovery
    http://technet.microsoft.com/en-us/library/aa996168(v=exchg.65).aspx
    Exchange Database Recovery – Using eseutil commands (Note: It isn't from Microsoft, please pay attention to refer to it.)
    http://msexchangeguru.com/2009/07/12/exchange-database-recovery-using-eseutil-commands/
    Hope it helps.
    If there any problems, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support
    " If the restore process doesn't succeed, Restore.env won't be generated. "
    thank you for you reply.The restore process  succeed,otherwise I can't do the soft recovery after the restoring the database,but can't see the restore.env
    Please click the Mark as Answer button if a post solves your problem!

  • How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B

    Hi Friends,
    How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    External Trading Partner is sending the EDI 856 via AS2 URL to our Oracle B2B Server.
    In the inbound 856 agreement, we have checked the option of Funtional Ack and also Functiona Ack handled by B2B is yes.
    We have the outbound agreement which is sending that Functional ack 997 (auto generated by oracle b2b) and we have specified the Outbound AS2 channel of the Partner.
    997 doc is being sent to external partner using AS2 channel, but the filename is generating as '40101'.
    Please can you let me know how to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    Appreciate your valuable answers!!
    Thanks,
    Amirineni

    Amirineni,
    AFAIK, there is no option to set the file name when the 997 is generated automatically by B2B.
    Alternatively, if this is a must requirement, you can generate the FA from backend and  send to B2B with MSG_TYPE =9. In this case, you can set the header with filename (How to set the actionname property in B2B 11g)

  • How to generate multiple output pdf's from one oracle reports

    how to generate multiple output pdf's from one oracle reports.
    I have a report where I have to generate more than one output files from the same report based on a parameter.
    Each output file is for each parameter.
    Is this possible in oracle reports, is so how ?

    You can better post your question in the reports forum instead of this pl/sql forum.

  • How to Generate a Java file for a JSP Page

    Hi ,
    I am using weblogic11 .
    I am working on a JSP page which nearly consists of 4000 lines of code.
    I need to debug the file , but weblogic server is not generating the java file for the JSP pages .
    Please let me know how can i genertae Java file for the jsp pages ??

    JSPs are compiled into servlets automatically and those classes are stored in WEB-INF/classes folder. Servlet engine handles servlets.

  • How to see the changes made for iPad in iTunes on my iPad?

    How to see the changes made for iPad in iTunes on my iPad? I've been transferring some pdf-files and changed the name on them in iTunes under the index books for my iPad device, but the changes do not show in iBooks-PDF. What to do?

    Yes I tried syncing a lot of times, but the changes still wouldn't show, so I did as you said by beginning from the start by adding the PDF's once again.
    Thanks for your help, it works now :-)

  • How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0

    How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?

    Hi,
    First go thourh the FM import export parameters list.
    Try to create an internal table of type INRI-NRRANGENR for number ranges.
    We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
    Try to create the ncessary ones using this FM.
    In the Exit, EXIT_SAPMM06E_001,
    the Export parameters are-
    EKKO-EBELN- the PO ios created with in that specified range
    Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
    Try to code this in the Include provded and keep Breakpint and check the PO number generated.
    Reply if u need more help on this.
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • How can I export to PDF for Offset printing including color and grayscale photo's?

    After reading dozens of forum, I still don’t found the answer.
    I made a photobook with full-colur and B/W photos for Offset printing. I want the B/W to be in grayscale to avoid color possible color shades. It seems InDesign doesn’t support grayscale, the images become way to dark. Even with exporting without any colour conversion or destination and/or including original colour profiles, the grayscale pictures are being exported to dark to PDF.
    How can I export to PDF for Offset printing including color and grayscale photo’s?

    Yes, the Photoshop & ID CMYK working spaces are the same
    This can get difficult because the 3 programs handle soft proofing differently.
    The working spaces don't matter, it's the document profile(s) that manage the preview. So here is the same grayscale image placed in ID on top and PS on the bottom. I've set my Photoshop info to show the doc profile in the lower left corner. I can see my InDesign's Document CMYK profile in my Proof Setup (the Working CMYK is different and isn't being used). Both profiles are effectively the same Coated FOGRA39 (Black Ink FOGRA in the case of PS).
    But the previews don't match because I have Overprint turned off, so the InDesign preview is Gamma 2.2 or a "screen" media preview.
    If I turn on Overprint preview I get a match because I'm soft proofing for print:

  • How to generate an XML file for an animation of IK armature

    Can someone please tell me how to generate an XML file for an animation of IK armature.
    I have a 5 keyframe/16 frame animation of a human character made up of a series of moveiclip symbols that is animated with an IK armature.  I need the XML information from the animation. 
    When I go to Commands > Export Motion XML I get the error message "There is more than one object on frame 1" and then nothing happens.
    Thank you,
    c

    I hope that's not the case.  I want to write to adobe about it.  I think it's a great feature and it functions really well even though it is not a very developed IK tool.  My biggest issue with it is ouput options and integration with motion tweens.
    I have seen a lot of examples of animators using it online, just no one talked about output.  I just feel it hasn't been developed.  It can generate a sprite sheet but only for a single pose frame of the animation, and not all the key frames or pose tweens.  I find that functionality quite odd, as if adobe just forgot about IK when added in sprite sheets, etc. and the reason it half works is just an accident.

  • How To Generate Debug Log Files for ebs jsp?

    hi   How To Generate Debug Log Files for ebs r12 jsp?
    and where i get the log .please help me thanks!

    Please check following MOS Document
    Oracle Application Server Diagnostic Tools and Log Files in Applications Release 12 (Doc ID 454178.1)

  • How to iterate the opened pdf document?

    How to iterate the opened pdf document?

    Thanks for your response. Could you please advise me how to call a following "DocExistEnable" method.
    static ACCB1 ASBool ACCB2 DocExistEnable(void *data)
    if (AVAppGetNumDocs() <= 0)
    return false;
    else
    return true;

Maybe you are looking for

  • Can't print from the web

    no matter what i do i can not get any part of a web page to show up in "print preview" and therefore I can not print from the web.  Using an HP Officejet Pro L7580 All in one, running Vista 32 bit, and IE 9. Have already uninstalled and reinstalled p

  • How to edit the song information contained in the ID3 tags?

    Hello! I am a newbie to Mac. I used to change the ID3 tags of songs when using Windows by right clicking on 'Properties' and changing the values there. How to do the same on my Mac? I saw only one option related to ID3 tags in iTunes' interface - 'Ad

  • Bluetooth Hands free car - Audi A4

    Hi Just wondering if antone else has had problems with the bluetooth connection with their Audi A4. Although the phone still connects I cant access the contacts on the phone, though before the update I could no problem. Is there something I'm doing w

  • Need some tutorials

    hi everybody... i am new to javafx... and i want to learn this .... so will u provide me some link that help me to learn javafx step by step thanks & regards fun_with_me

  • Need software for airport extreme for 10.2.8

    Hi, I just bought a airport extreme card, but it says I cannot install the software b/c I need yo have Mac OS X 10.3.3. I have 10.2.8 on my system. Anyone know where I can download this? I've searched with no success...thanks!