How to create a pdf for the URL attached to an invoice and send it as an attachment in a mail

HI,
I have requirement where i need to get the URL attached to an invoice, create the pdf and send as an attachement in a mail.
The URL attached to an invoice can be seen by following the path : VF03-> Billing document->system->Services for object ->Attachement list.
On searching through existing forums, i found that there is a table 'SRGBTBREL' which stores relationships of GOS object. On giving the invoice number in field 'INSTID_A', i could find an entry in this table.
To get the content, i used the class CL_FITV_GOS, method GET_CONTENT. To this method i passed following values:
IV_ATTA_ID = FOL21000000000521URL39000000000012 (The value if field INSTID_B from table SRGBTBREL)
IV_OBJTP   = 'URL'
On execution, i get URL link but the content table is empty.
Could anybody provide some input on how i get the content? Or may be how i can create pdf from the URL link and attach it to mail as an attachment?
Thanks,

Hi Amit,
Solution provided by you is working when the link length is one line but it is not working for more than one line
Eg: say link is https://......80 [80 characters long]
I will give    <a href="https://...72            [in first line]
                 73..80">click here</a>         [in second line]
I will get the output as 73...80">click here
But i want only CLICK HERE in my output..
Please suggest solution.
Thanks,
Kavya

Similar Messages

  • How to create a password for the pdf file

    In Adore Acrobat XI, how to create a password for the file? The help states going to Tools Menu and clicking on Protection tab - but there is no such option. In the file - properties - security screen, it shows the security details but does not allow to edit it.

    I think you may be mixing up two different products: Adobe Reader (free), and Acrobat ($$).

  • How to create a validation for the project coding mask

    Hi,
    Would just like to ask how to create a validation for the project coding mask wherein the WBS elements hierarchy will be checked against the template saved. For example,
    project coding mask is XXXX-XXXXX-XX-X-X-X-00-X
    mother WBS should be XXXX-XXXXX-X and lower level WBS would be XXXX-XXXXX-XX.
    The validation should not allow a mother WBS to be XXXX-XXXXX-XX.
    How can we go about this?

    Hi Jacquiline Bersamin,
    You can use validation with the combination of the level and the coding mask.
    In the validation:
    Pre requisite: WBS level = 1
    Validation: Prps-posid = prps-posid :1-12:
    Message : Error
    If required you can give the parameters for your detail error message.
    Please let me know if this does not work.
    Thanks
    Regards
    Srinivasan Desingh

  • HOW TO CREATE SEVERAL folder for the generation and READING FILE

    HOW TO CREATE SEVERAL folder for the generation and READING FILE WITH THE COMMAND utl_File.
    please give an example to create 3 folders or directories ...
    I appreciate your attention ...
    Reynel Martinez Salazar

    I hope this link help you.
    [http://www.adp-gmbh.ch/ora/sql/create_directory.html]
    create or replace directory exp_dir as '/tmp';
    grant read, write on directory exp_dir to eygle;
    SQL> create or replace directory UTL_FILE_DIR as '/opt/oracle/utl_file';
    Directory created.
    SQL> declare
      2    fhandle utl_file.file_type;
      3  begin
      4    fhandle := utl_file.fopen('UTL_FILE_DIR', 'example.txt', 'w');
      5    utl_file.put_line(fhandle , 'eygle test write one');
      6    utl_file.put_line(fhandle , 'eygle test write two');
      7    utl_file.fclose(fhandle);
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> !
    [oracle@jumper 9.2.0]$ more /opt/oracle/utl_file/example.txt
    eygle test write one
    eygle test write two
    [oracle@jumper 9.2.0]$
    SQL> declare
      2    fhandle   utl_file.file_type;
      3    fp_buffer varchar2(4000);
      4  begin
      5    fhandle := utl_file.fopen ('UTL_FILE_DIR','example.txt', 'R');
      6 
      7    utl_file.get_line (fhandle , fp_buffer );
      8    dbms_output.put_line(fp_buffer );
      9    utl_file.get_line (fhandle , fp_buffer );
    10    dbms_output.put_line(fp_buffer );
    11    utl_file.fclose(fhandle);
    12  end;
    13  /
    eygle test write one
    eygle test write two
    PL/SQL procedure successfully completed.
    SQL> select * from dba_directories;
    OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
    SYS                            UTL_FILE_DIR                   /opt/oracle/utl_file
    SYS                            BDUMP_DIR                      /opt/oracle/admin/conner/bdump
    SYS                            EXP_DIR                        /opt/oracle/utl_file
    SQL> drop directory exp_dir;
    Directory dropped
    SQL> select * from dba_directories;
    OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
    SYS                            UTL_FILE_DIR                   /opt/oracle/utl_file
    SYS                            BDUMP_DIR                      /opt/oracle/admin/conner/bdumpRegards salim.
    Edited by: Salim Chelabi on Apr 4, 2009 4:33 PM

  • How to create a pdf with the correct size?

    Hi there
    How do I create a pdf with the correct size? I created several albums and ordered them. Now I want to backup the album and I know how to create a pdf, but when I choose A5 it's to big, when I create my own size it's not the size it should be. The original (made with iphoto) is a small size album 200x150mm. But when I create my own size (200x150) it shows some white borders.
    Does anybody have some tips ore workarounds?
    Yuri
    Imac
    Iphoto 11 (9.4.2)

    Books are designed for and printed on 8.5 x 11 inch stock, US Letter size.  You shouldn't have to select any size.  While viewing the All Pages mode in the book Control-Click on the page and select Save Book as PDF from the contextual menu. 
    That will create a PDF that iPhoto uses to upload and print.  Not all pages will be the same size as the dust jacket will be present in it's full size, 32.8 inches x 8.91 inches:
    If you want a PDF that's designed for your own printing the type Command+P while viewing the All Pages window.  In the first print window click on the PDF button.  It will present you with a contextual menu where you should select Save as PDF.  That will give you an 8.5 x 11 PDF file with all pages the same size.
    OT

  • How to create a playlist for the movies I have?

    Hope someone can help me here. How do you set the movies to play continuously? I can't seem to create a playlist for the movies. You can create playlist for podcast videos and musics but how do you creat playlist for the 3 movies I have got on my iphone?
    Any help will be greatly appreciated.

    Not exactly true. As absurd as it sounds, if you have just one music track in your playlist, then you can select it from the Playlists section on the iPhone and play your videos, movies etc. one after the other.
    I have created a completely empty music track in Garageband which I drag onto the end of each and every video playlist I create. An ugly solution, but it works.
    You have to remember to check the playlist in both the Video and Music sections in iTunes->Devices->Your iPhone.

  • How to create search path for the file on the desktop..

    hello experts..
          I have used gui_upload module to upload the data from flatfile to the internal table, in that how can i create search path for the file selection in the selection screen, also please help me the code to update the ztable.
    thanks

    HI
      If iam not wrong you want to select a file from a location that you don't know so if this is ur problem then use the function module
    F4_FILENAME
    this FM helps to locate and select the desired file from the system.
    Sample code that you can check is
    How to get windows filename
    PARAMETERS: lv_file LIKE rlgrap-filename.
    Method 1
        CALL FUNCTION u2019KD_GET_FILENAME_ON_F4u2019
        EXPORTING
        MASK = u2019,.txt,.*u2019
        STATIC = u2019Xu2019
        CHANGING
        FILE_NAME = LV_FILE.
    Method 2
    CALL FUNCTION u2019F4_FILENAMEu2019
    EXPORTING
             program_name = syst-cprog
             dynpro_number = syst-dynnr
             field_name  = u2019 u2019
         IMPORTING
             file_name   = LV_FILE.
    Regards
    Pavan

  • How to create a matchcode for the list of Customers "Group key" KNA1-KONZS

    Hi All,
    with reference to the creation of "Group key" KNA1-KONZS for Customers,
    I'd like to know if is possible to create a matchcode for the list of Customers "Group key" created.
    Thanks
    Gandalf

    Hi
    MAINTAIN THE GROUP KEY IN GENERAL DATA ---CONTROL DATA SCREEN
    If the customer or the vendor belongs to a group, you can enter a group
    key here. The group key is freely assignable.
    If you create a matchcode using this group key, group evaluations are
    possible.
    KNA1-KONZS
    Cya
    udayakumar

  • How to create job to run daily based on form values entered and send mail.

    Hi,
    In DB we have 3 columns: creation_date, name, approved_or_not. Default for approved_or_not is 'No'.
    In the application form page suppose I fill in sysdate for creation_date and leave default for approved_or_not and click [create] button.
    Now a job should run everyday and check for where (approved_or_not='No' & creation_date = 'sysdate - 1') and send mail to the person in 'name' field mentioning: 'Approval pending. click on link <some_link> for details on approval'.
    Could anyone give me pointers to example on such job? (Working on APEX 3.0)
    Thanks,
    Priyanka

    create a DBMS JOB
    check out this forum link.
    dbms_job

  • How to create a file for the file format PDF/A?

    I want to create a file,which conform to the standard  PDF/A.
    when i use InDesign to create a pdf file and export it,i find the file format only support PDF/X,
    but i can't find any menu for PDF/A.
    who can help me?
    thank you !

    File>Print
    Choose Adobe PDF as your printer
    Go to Setup
    Go to preferences
    Choose the standard
    Make sure the rest of your settings are correct for the page size etc.
    It's a big screenshot so I've linked instead of posting here.
    Sorry had to blur out some PDF settings for privacy reasons
    http://img339.imageshack.us/img339/6103/37345539.png

  • How to create a pdf for print in print order ie p1&20, 2&19 etc

    Hi,
    This forum is amazing!
    This may be a super obvious question but I can't work it out.
    Is there a way to create a pdf that organizes the pages in the correct order for printing?
    ie page1&20 together,
    pages2 &19 together, etc.
    Thanks
    Nik

    Everything that Peter has said
    If you supply a file that is done like
    20|1
    2|19
    18|3
    16|4
    etc.
    The printers might charge you more for prepress time, as they'd have to separate the pages again to impose.
    You don't know what machines they have, how they want to impose it or if they are going to perfect it or not. You don't know what size the macine is or the plate size or if they have only 2  x 2 colour machines.
    I am with Peter. I would not trust a printers who requested work sent like I have illustrated. I would run as far away as possible from a company that requested this. A printing company that can't impose a 20 page document is crazy, shouldn't happen.
    But as Peter has said, you can do it in Print Booklet and with various scripts.
    But you can do it by setting a new document up. Then use File>Place to place page 20,1, 2,19 etc.
    Use the Pages Panel and toggle the allow document and pages to shuffle (two items) to move pages to facing spreads.
    Then just place your pages where necesary.

  • How to create a BADI for the sceanrio

    Hi abapers,
    I have a scenario as follows.
    I create a Transaction where in i put the details of the product and quantity for a particular project's site. The amount gets calculated based on the products  unit value and its displayed in net value field. Now the user saves the transaction and a number gets generated. If the net value amount is less than 500 then the user can approve , if its greater than 501 and less than 1500 then a mail should be generated to his superior who is able to approve and ifs amount is greater than 1501 then a mail should be generated to the top of hierarchy who should approve it.
    Now the real challenge is if the same project card  has more than 1  new request and the amount is less than 500 the user should not be able to approve  instead it should generate a mail to his hierarchy for approval  since  the site has already been exceeded its limit of approval. bcoz earlier 500 and current 400 which will make it to greater than 500.similarly for the hiearchy.How do i go about  it.
    Now i want to create a BADI  on the save event of transaction to check the net value amount as well as check for earlier amounts saved for the particular site.
    Any help will be appreciated.
    Regards,
    Navin .

    hai navin
    r u using ECC 6.0 or 4.7 if 4.7 u can create badi defintiion directly form se18 transaction
    and define the interface and its methods , once u define them activate them
    and to use in ur code u create an instance of ur badi name
    and then use
                     cl_exithandler=>get_instance  method in instance name parameter just pass ur badi name and this will create a badi defintion in ur code, and an oen can implement it
    if u r usign ecc6.0 then u can either create new badis usign enhancments or classical badis
    for clasical badis just go to menu  utilites and create classical badis and follw the sam eprocedure
    regards
    m.a

  • How to create clean text for the web in Photoshop/Illustrator

    I am puzzled to death on how in the world to get clean text for the web in Photoshop/Illustrator, particularly white text. I want my text to turn out exactly like the text at this website: thepainteddoor.org
    If you scroll down to the bottom of that page, notice the titles "Featured Media", "Social Networking", and "Contact Information". They are all .gif images. I have tried to replicate what these images look like for about 3 hours now to no avail. Can anyone tell me how to do this? It just looks like a simple outline or drop shadow, but I can't get it to show up like that. If someone could help me replicate that effect with text (aka make it show up clean as an image), I would graciously give them money through PayPal*.
    * = I will only give cash if it will replicate it exactly (and I mean exactly)..and it won't be too much..I'm a poor college student. :-P
    Thanks in advance!
    Thomas

    You would do it the way I created it:
    Select the Text tool in Photoshop and set the font and parameters as I have listed.  Then enter whatever text you like.  It will be rendered over the top of the lower layers you may have in the document.  Save as an image of the appropriate type and you're there.
    Note that "lower layers you may have in the document" could conceivably be none at all (i.e., you render the text over a transparent document).  You could imagine saving that as a .png with transparency and get light text in an image that could then be put over the top of anything else.  The alpha mixing will see to it that the edges smoothly blend with the background.  I haven't actually tried this (I usually do try my own suggestions) because of lack of time right now.
    -Noel
    Edit:  Markerline and I seem to be on the same crystal-controlled wavelength. 

  • How to create interactive pdf for Ipad using InDesign CS6

    Hi I created a Magazine layout using InDesign CS6 and wanted it to be viewed on native Ipad reader (but not as apps).  I put interactivity features like page navigations and hyperlinks and converted it to interactive pdf. The problem was the links and buttons are not showing on Ipad.
    I tried using Acrobat Pro to create the hyperlinks and this time the navigations and hyperlinks are showing. But is there a way not to create the hyperlinks manually one by one (specially the next page and previous page). If I have more than 100 pages of documents this process will be very tedious.
    Is there a solution to create the interactive pdf directly from InDesign without creating the links in Acrobat?

    Hi Guys
    This is Sean Smith.  Marilou who wrote the original post works for me.  Bob if you could point us in the direction of details you need I’ll ensure we provide the additional information as soon as possible.
    M tells me she pretty much doing exactly what Steve's article suggests.
    The concern is what a remarkably cumbersome process this appears to be.
    Even though I believe her explanation entirely I find the problem to be highly disconcerting as it’s wasting an immense amount of valuable time and inhibiting the production process significantly.
    She is producing wonderful results but via an immensely painstaking process fraught with potential for error.  Each page link has to be manually linked to the next by number.  It’s entirely possible to make a mistake and link to the incorrect page thus missing pages.
    If she inserts a new page – guess what? All the pages links have to changed manually and double checked yet again.
    If she makes a ‘Contents’ section as we do and exports the InDesign file as an interactive PDF all the contents items and links are missing and are therefore blank.
    She then has to export the document as a plain PDF and do the job again in Acrobat.
    For an extravagantly wealthy company with such extraordinarily expensive software I find this to be entirely incredulous.
    Who is the Product Manager for InDesign?
    Are they aware of this issue?
    What are they doing about it and when will it be done?
    Just curious are you guys paid employees or volunteers as this appears to be an official forum and we are new here?
    Digital publishing of PDF magazines appears to be an explosive growth market especially for platforms such as the iPad but this primary product for the task appears to be inadequate or ill-conceived.
    Is DPS a possible solution or is this more for Apps than PDF production?
    Regards
    Sean

  • Creating a PDF for the printers shop

    Hi Guys.
    I'm currently trying to design an annual report for our company and this is the first time, I'm trying to make it on my own.
    The biggest problem is, that our printers shop uses an older version of Adobe InDesign. So they are not able to open my file. They gave me the advice to make a PDF out of InDesign. Therefore I have two questions.
    1.) In InDesign you've got the option of printing a brochure. In this case, InDesign is sending all pages to the printer in the correct order. So if you have more than just two pages, you'll get the pages in the way they should fit, if you want to bind them. How do I reach the same effect by exporting the pages?
    2.) If I export my pages to PDF, what settings do I have to take to get the same result as the printers shop, if they would get the InDesgin-File to print directly out of InDesign? You know, I want to get the same quality on the paper.
    Hope you can help me and ... please, if you find any mistakes in grammar or orthography, please forgive me.

    Hi,
    thanks for your answers so far.
    The printer did not ask me for an imposed PDF. He just told me, that he can't open my ID-File because he would have an older version of ID. But he told me, that I could send him a PDF. I now asked him via eMail wether he can print out of a PDF in the same quality an of course in right order of the pages or not. I think, he can put the pages in the correct order. The only question is what settings I have to chose for exporting our report. I also noticed the other settings but I can't actually see the differences, even if they are explained in my own language.
    Ok. I guess I have to wait for the answer of our printer.

Maybe you are looking for

  • RDP for Mac 8.0.5, Where does it store configuration files?

    The old 2.1.0 RDP client would store its RDP configuration files in ~/Documents/RDP Connections, and had plists in Preferences. Where does the new 8.0.5 version store RDP configurations and general prefs? Thanks!

  • Difference between different Context classes

    Adler_Steven always used this: // Create the initial directory context LdapContext ctx = new InitialLdapContext(env,null); I use this: DirContext ctx = new InitialDirContext(env); both methods work for changing a password... Can someone explain that

  • How to determine if its already printed

    i create a list report and want to print it how would i know if i already print the report so that i can update the table that this certain record is already printed. i have a print_flg in a table and need to update it if i already print a record. th

  • How to prevent iTunes form deleting songs when iPhone/iPod is NOT connected?

    One day, I was reading a pdf file on my Mac Computer and decided to open iTunes. All my songs was deleted!!!! I didn't even connect my iPhone to the computer!!!! I the forced quit iTunes and reopened it again. Some of my music came back. I then shut

  • JDeveloper 3.0 installation

    I just installed JDeveloper 3.When I try to start the JDK 1.2.2 environment I get the message: " Unable to start Java VM for JDevelopper", and doesn't run. If I start the JDK 1.1.8 the system load it OK. What's wrong in my VM Machine? How can resolve