Display many letters in One form

Hi Experts,
My goal is to display a single PDF that will contain several letters to customers.
Let me explain: for each client I will show him :
In the header : his Familly name  and his First name
In the body of the letter :  his products from  the table  'Z_BUYPRODUCTS' by passing the Client_ID
In the footer : the signature
This letter is based on a single table that'll be repeated for each client ID of the table 'Z_BUYPRODUCTS'.
is it possible to do this in the same interactive form?
Any issues please of how can i do this ... it will help, Thanks in advance
Best regards

Hi i m using this code to generate one PDF :
CALL FUNCTION 'FP_JOB_OPEN'
    CHANGING
      ie_outputparams = fp_outputparams
    EXCEPTIONS
      cancel          = 1
      usage_error     = 2
      system_error    = 3
      internal_error  = 4
      OTHERS          = 5.
  DATA fp_form_out TYPE fpformoutput.
  CALL FUNCTION '/1BCDWB/SM00000008'
    EXPORTING
      z_data          = lt_data
    IMPORTING
      /1bcdwb/formoutput = fp_form_out
    EXCEPTIONS
      usage_error        = 1
      system_error       = 2
      internal_error     = 3
      OTHERS             = 4.
  CALL FUNCTION 'FP_JOB_CLOSE'
    EXCEPTIONS
      usage_error    = 1
      system_error   = 2
      internal_error = 3
      OTHERS         = 4.
  DATA pdf_stream TYPE  fpcontent.
  pdf_stream = fp_form_out-PDF.
  cl_wd_runtime_services=>attach_file_to_response(
  i_filename      = 'PDF.pdf'
  i_content       = pdf_stream
  i_mime_type   =   '/Dsktop').
Is there any issue to incorporate many pdf_strem (type fpcontent) in the same PDF File  (PDF.pdf)
I ve tested to concatenate two variable (type fpformoutput-PDF) in the same pdf_stream but its not working.
Any idea Please .. will be helpful
Best regards

Similar Messages

  • How to display many Links like text with multi lines?

    I need to:
    1)display many links in one container like text
    2)each link have onClick event Handler
    Example:
    Link1 SomeLink2 Link3 \*
    Link4 AnatherLink5            \*
    AndOneMoreLink6              \*
    \* - right border of container
    i'v tried TileGroup, but it has colums.... Group - overlapped links in one place.... and so on.
    Any ideas how to do it?

    I think you overlooked some of the possibilities provided by Apex.
    For instance you can create a simple HTML region where you put the links as you prefer (makes sense if they are a fixed number and you need a special formatting).
    You can also create Lists (see shared components). Lists are specifically meant for links, like Task lists in the Apex Builder itself, but you cannot build them dynamically, so you must know in advance each and every static link.
    Or you can create a report if links come as result of a query which is good for building them dynamically.
    A fourth option is a PL/SQL region outputting HTP calls where you have total control over every aspect.
    Flavio
    http://oraclequirks.blogspot.com

  • Form not getting displayed in sap b one

    I have created a form using screen painter.But it is not getting displayed in sap b one.When I debugged the form it doesnot show any error.

    Option Strict Off
    Option Explicit On
    Friend Class frmEmployee
        Private WithEvents SBO_Application As SAPbouiCOM.Application
        Private objForm As SAPbouiCOM.Form
        Public Sub New()
            MyBase.New()
            '// set SBO_Application with an initialized application object
            SetApplication()
            LoadFromXML("frmEmployee.xml")
            'LoadFromXML("MySimpleFormxml")
            '// Get the added form object by using the form's UID
            objForm = SBO_Application.Forms.Item("F_4")
            '// Show the loaded Form
            objForm.Visible = True
            '// Saving the Form as an XML file
            '// although it already exist as an XML file
            '// it is good for practice
            'SaveAsXML(objForm)
        End Sub
        Private Sub SetApplication()
            '// Use an SboGuiApi object to establish connection
            '// with the SAP Business One application and return an
            '// initialized appliction object
            Dim SboGuiApi As SAPbouiCOM.SboGuiApi
            Dim sConnectionString As String
            SboGuiApi = New SAPbouiCOM.SboGuiApi
            '// by following the steps specified above, the following
            '// statment should be suficient for either development or run mode
            sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
            '// connect to a running SBO Application
            SboGuiApi.Connect(sConnectionString)
            '// get an initialized application object
            SBO_Application = SboGuiApi.GetApplication()
        End Sub
        Private Sub LoadFromXML(ByRef FileName As String)
            Dim oXmlDoc As Xml.XmlDocument
            oXmlDoc = New Xml.XmlDocument
            '// load the content of the XML File
            Dim sPath As String
            'sPath = IO.Directory.GetParent(Application.StartupPath).ToString
            sPath = "D:\Final\Forms"
            oXmlDoc.Load(sPath & "\" & FileName)
            '// load the form to the SBO application in one batch
            SBO_Application.LoadBatchActions(oXmlDoc.InnerXml)
        End Sub
        Private Sub SaveAsXML(ByRef Form As SAPbouiCOM.Form)
            Dim oXmlDoc As Xml.XmlDocument
            Dim sXmlString As String
            oXmlDoc = New Xml.XmlDocument
            '// get the form as an XML string
            sXmlString = Form.GetAsXML
            '// load the form's XML string to the
            '// XML document object
            oXmlDoc.LoadXml(sXmlString)
            Dim sPath As String
            'sPath = IO.Directory.GetParent(Application.StartupPath).ToString
            sPath = "D:\Final\Forms"
            '// save the XML Document
            oXmlDoc.Save((sPath & "\frmEmployee1.xml"))
        End Sub
    End Class

  • My iPod 5's screen displays strange letters (like the one's you'd find in a malfunctioning computer) and it has a bright rectangle in the center. I haven't dripped or damaged it.

    My iPod 5's screen displays strange letters (like the one's you'd find in a malfunctioning computer) and it has a bright rectangle in the center. I haven't dripped or damaged it.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

  • Combine two lists in one form (1 to Many relation)

    I have two list instances. I have a custom form on which I would like to show two lists and add more button to let user select to add more child records and save which should save in both the lists. And again when user pull the item from main list it should
    display the child list items as well. Can someone point me good link to achieve this.
    Thanks,
    Alex

    Hi,
    According to your description, my understanding is that you want to display two lists in a form and add item to both lists when clicking a button, also
    you want to display items in child list when searching items from main list.
    If that is the case, there is a possible solution is that you can create a custom web part with two Gridviews bind with the lists data and a button. When
    you click button, you can add list items to both grid in code behind. And, when you search the items from main gridview , you can query the list items value in child list using CAML Query to display the items in child list.
    Here are some detailed code demos for your reference:
    Create a custom web part:
    http://msdn.microsoft.com/en-us/library/ee231519.aspx
    Add or update list items using C#:
    http://msdn.microsoft.com/en-us/library/office/ee539976(v=office.14).aspx
    Query list item using CAML Query:
    http://msdn.microsoft.com/en-us/library/office/ee534956(v=office.14).aspx
    Bind SharePoint list data to GridView:
    http://sharepoint.kerenapura.com/2013/09/display-sharepoint-list-data-gridview/
    Best regards
    Zhengyu Guo
    TechNet Community Support

  • How to Display an Image on my FORM

    Good Day!
    I would like to ask some help from you guys with my problem on how to display an image on my form. I would like to display my uploaded image on my form but instead of an image, the get_blob_file is showing. By the way, I'm using Apex 4.1
    I downloaded the Order Entry Sample Application and followed the Page 6, the Product Details. I even made snapshots of each details from Page Rendering to Page Processing in order not to miss a thing.
    At the moment, I was able to upload or store the image on my created Oracle table and also able to retrieve it on the Download Link Text with Content Disposition value of Inline, provided by APEX Settings. If I invoke the Download link beside the file browser, a page with the image will be shown, below is the address:
    http://127.0.0.1:8080/apex/apex_util.get_blob_file?a=200&s=339877802936975&p=230&d=7107921433296839&i=7107601420296838&p_pk1=54&p_pk2=&p_ck=7D6512D967336C4B94258EEA3CDF1BE6&p_content_disposition=inline
    However, instead of showing the image on a region, below is the one showing on my Form:
    <img src="apex_util.get_blob_file?a=200&s=339877802936975&p=230&d=7107921433296839&i=7107601420296838&p_pk1=54&p_pk2=&p_ck=7D6512D967336C4B94258EEA3CDF1BE6" />
    As you can see the parameter values are the same but I know I missed something that's why I'm here :)
    I would highly appreciate all the help you can provide and many thanks in advance.
    I tried to change gear by making an html region of type PL/SQL (anonymous block) and a procedure but still no image :(
    Below are the scripts.
    declare
    cursor cur is
    select *
    from wsemployee
    where empid = :P230_EMPID;
    begin
    for rec in cur
    loop
    IF rec.mime_type is not null or rec.mime_type != '' THEN
    htp.p( '<img src="my_image_display?p_image_id='||NVL(rec.empid,0)||'" height="'||100||'"/>' );
    else
    htp.p( 'No Image ');
    END IF;
    htp.p( ' ');
    end loop;
    end;
    PROCEDURE
    create or replace PROCEDURE my_image_display( p_image_id IN NUMBER)
    AS
    l_mime VARCHAR2 (255);
    l_length NUMBER;
    l_file_name VARCHAR2 (2000);
    lob_loc BLOB;
    BEGIN
    SELECT MIME_TYPE, PHOTO_BLOB_CONTENT, PHOTO_FILENAME,DBMS_LOB.GETLENGTH(photo_blob_content)
    INTO l_mime,lob_loc,l_file_name,l_length
    FROM wsemployee
    WHERE empid = p_image_id;
    -- set up HTTP header
    -- use an NVL around the mime type and
    -- if it is a null set it to application/octect
    -- application/octect may launch a download window from windows
    owa_util.mime_header( nvl(l_mime,'application/octet'), FALSE );
    -- set the size so the browser knows how much to download
    htp.p('Content-length: ' || l_length);
    -- the filename will be used by the browser if the users does a save as
    htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(l_file_name,instr(l_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
    -- close the headers
    owa_util.http_header_close;
    -- download the BLOB
    wpg_docload.download_file( Lob_loc );
    END my_image_display;
    Edited by: user13831927 on Dec 22, 2012 3:24 PM

    Hi Ying,
    you can add a UDF to the table spp2 with a programm
    but the table is not yet listed in the 'Manage User Fields' form.
    there's no way to "enable" it - sorry

  • [SOLVED] VIM not displaying many glyphs

    I'm struggling to get the full glyph set to display in VIM. Particularly missed are the mathematical super- and sub-script. I've worked on the problem and tried various fixes for displaying UTF-8 characters without success.
    (Code block bad form? Ok T. IMHO. There's that type of post where the OP doesn't know why something isn't working and they quote a dump truck of details, even though they're not sure what's relevant and what isn't. And the longer the quote, the harder it is to figure out what they're doing wrong. I didn't want to be that guy. I was hiding the verbosity, in the event my font problems are simpler than I've made it.)
    1) Applied settings from these WIKI pages:
    Fonts
    Xterm
    2) Apps I've installed
    $ pacman -Qs font
    local/dina-font 2.92-4
        A monospace bitmap font, primarily aimed at programmers
    local/fontconfig 2.11.1-1
        A library for configuring and customizing font access
    local/fontsproto 2.1.3-1
        X11 font extension wire protocol
    local/freetype2 2.5.3-2
        TrueType font rendering library
    local/gsfonts 1.0.7pre44-4
        Standard Ghostscript Type1 fonts from URW
    local/libfontenc 1.1.2-1
        X11 font encoding library
    local/libotf 0.9.13-2
        OpenType Font library
    local/libxfont 1.4.7-3
        X11 font rasterisation library
    local/libxft 2.3.2-1
        FreeType-based font drawing library for X
    local/t1lib 5.1.2-5
        Library for generating character- and string-glyphs from Adobe Type 1 fonts
    local/tamsyn-font 1.10-1
        A monospaced bitmap font for the console and X11
    local/terminus-font 4.39-1
        Monospace bitmap font (for X11 and console)
    local/ttf-bitstream-vera 1.10-10
        Bitstream vera fonts
    local/ttf-droid 20121017-3
        General-purpose fonts released by Google as part of Android
    local/xorg-bdftopcf 1.0.4-2 (xorg xorg-apps)
        Convert X font from Bitmap Distribution Format to Portable Compiled Format
    local/xorg-font-util 1.3.0-2 (xorg-fonts xorg)
        X.Org font utilities
    local/xorg-font-utils 7.6-4
        Transitional package depending on xorg font utilities
    local/xorg-fonts-100dpi 1.0.1-5 (xorg)
        X.org 100dpi fonts
    local/xorg-fonts-alias 1.0.3-1
        X.org font alias files
    local/xorg-fonts-encodings 1.0.4-4 (xorg-fonts xorg)
        X.org font encoding files
    local/xorg-fonts-misc 1.0.1-3
        X.org misc fonts
    local/xorg-fonts-type1 7.4-3
        X.org Type1 fonts
    local/xorg-mkfontdir 1.0.7-2 (xorg xorg-apps)
        Create an index of X font files in a directory
    local/xorg-mkfontscale 1.1.1-1 (xorg-apps xorg)
        Create an index of scalable font files for X
    3) A forum search found some common issues: 
    unicode symbols not working in my terminal
    $ localectl
       System Locale: LANG=en_US.UTF-8
                      LC_COLLATE=C
           VC Keymap: US
          X11 Layout: n/a
    $ locale -a
    C
    en_US.utf8
    POSIX
    $ echo $TERM
    xterm-256color
    4) ~/.Xresources
    ! wiki.archlinux.org/.../Xterm
    xterm*termName:           xterm-256color
    xterm*locale:             true
    xterm*saveLines:          4096
    xterm*bellIsUrgent:       false
    xterm*VT100.geometry:     80x25
    xterm*faceName:           Droid:style=Regular:size=12
    xterm*dynamicColors:      true
    xterm*utf8:               2
    xterm*toolBar:            false
    5) ~/.xinitrc
    # X11 Fonts
    xset +fp /usr/share/fonts
    Last edited by xtian (2014-07-27 14:43:23)

    Linux fonts are a muddle.  Consoles can only display 256 characters, maybe 512.  You simply cannot display many texts in a console. To navigate through the font mess in X, you need some familiarity with fontconfig.  Xft uses fontconfig to select fonts.  Fontconfig documentation is not user-friendly.
    Droid is a family of fonts. My installation of the Droid family includes 27 different fonts. The command fc-list will list fonts matching a pattern.  I usually filter the output by piping through grep. To list the Droid fonts, file name first followed by the fontconfig name, I use:
    $ fc-list | grep Droid
    Your fc-match results for Droid are from fontconfig doing its best to give you a readable display.  Fontconfig cannot find a matching font for the name 'Droid', so it falls back to a "safe" font, 'Bitstream Vera Sans'.
    XTerm or UXTerm or URxvt
    I have my locale correctly configured, I think. I do not see any real advantage for uxterm over xterm. In my X resources, I include the lines,
    xterm*termName: xterm-256color
    XTerm*locale: true
    For good glyph coverage with xterm, I have found 'DejaVu Sans Mono' to be among the better fonts.  If I truly need utf8 coverage, I use urxvt. Urxvt allows one to use a ladder of fonts. If the character is not found in the first font listed, urxvt will search through the other listed fonts until it finds a glyph that can be displayed.
    urxvt*font: xft:DejaVu Sans Mono:style=Book:antialias=false:size=8, \
    xft:WenQuanYi Bitmap Song:size=8, \
    xft:FreeSerif:style=Regular, \
    xft:unifont:style=Medium:antialias=false
    Here's a screenshot with three xterms using Droid, DejaVu Sans Mono, and Liberation Mono, plus one urxvt using the fonts in the code above.  They all show the same portion of Markus Kuhn's utf8 test text.

  • Is it better to create ONE form, for 25 different forms?

    We have a Telco Application (in Forms 10g) which has about 200 Forms which are called from the main menu. Out of that 200 forms about *25* are "file upload" type forms (shown below).
    http://www.freeimagehosting.net/alg6q
    As you can see this is small form. The functionality is as follows:
    *(a.)* Select a text file (which has data in tabular format) from the client PC.
    When file is selected, it is also copied to a directory in the DB server machine. File Name will show the full path of the file in the client machine.
    *(b.)* When user presses Load button, form calls a stored packaged procedure. In that we create a EXTERNAL table mapped to the file in the db directory and read the contents to a temporary table in the DB.
    *(c.)* When user presses Process button, the temporary table is read and our Telco tables are updated using this data.
    *(d.)* You can view the error records and correct records discovered while processing, with the View File option. This will display 2 Oracle reports.
    *(e.)* You can delete the temporary table contents using the Delete Temporary option.
    This story goes like this: Our application is in Forms 10g. Now, we want to upgrade this application to 11g Forms. One problem we encountered was the FileUploader bean which we use in the above forms. This does not work in 11g. Solution was found in using WebUtil. Now, we have to modify all 25 Forms (obviously).
    Now here comes the real important part: Our Managers think that in the future also we might have to do upgrade to these 25 forms (due to future problems/upgrades with WebUtil and so on) and they want us to create ONE form for the 25 forms. So, in that ONE form,
    (a.) We have a list box at the top where uses selects which upload function he wants.
    (b.) Then, the file is selected (and transferred to the DB directory).
    (c.) Now when the users presses Load button, we have to execute the load packaged procedure for the selected load file option.
    (d.) When he presses Process button we have to run the program unit for the selected file upload function.
    (e.) When user presses the View File button, he has to show the correct records and invalid records (found after processing) in 2 reports. The reports differ from function to function.
    (f.) He can delete the records in the temporary table using Delete Temp button.
    Is this is good idea?? My initial study tells me that it is not a good idea since we have one form with too much functionality. What are pros and cons of this approach and what is the best solution??
    Edited by: user12240205 on Jun 25, 2012 1:16 AM

    So the forms are completely different, and yet you are asked to stuff them all together into one form? What sense would that make? That's like pulling forms which are using text_io together just because when text_io is changed you simply would need to edit one form. Well of course you would have to. On the other hand there is a pile of code necessary to seperate the parts you glued together in the first place plus the effort of pulling all those forms together plus the effort of adding stuff to one "part" of the form.
    Also think about version control: you'd create more frequent conflicts in putting those forms together when different developers edit different parts of the form. Conflicts causes work as developers are forced to merge more often plus developers can make errors when merging their changes. Also the log of your version control system becomes quite useless as it always will be the xyz form which is changed. If you would want to know what did change you would have to read the log messages carefully of each revission (given the fact that developers wrote them carefully) or do diffs between revisions instead of...looking at what files changed.
    And all that just because the only thing they have in common is that they are using webutil?!? Do your managers keep their Blue Socks and their Blue Cars in the same drawer because they are blue?
    If the issue here is that you need to edit many forms and this might cause errors then you should take a look at the JDAPI, because this would be the tool to do changes in forms in batch. The forms migration assistant can also be configured to change one built-in into another, and you wouldn't have to write one line of java code. But stuffing forms together because they use the same built-ins...I'd say no, but of course this is just my opinioin ;)
    btw.:
    When you say API, u mean a PLL, right???Not only, by API I meant Application programming interface; this might be a package in a library, a whole pll file, a database package, a java class, or a combination of all those.
    cheers

  • To display hardcoded value in script form

    Hi ,
    Could anyone tell me how many ways are there to display hardcoded value in Script Form? I want to display a alphanumeric number like 'AP121345/B103/21C' in form output.
    I will reward for every usefull responses.
    Thx in Adv.
    Bobby

    yes as sandipan told exactly do like this.
    if u want to display in bold.
    then create one bold charformat suppose 'CF'.
    <CF>ur value what u want to display<\>
    thanks

  • Displaying the content of one JPanel in an other as a scaled image

    Hi,
    I'd like to display the content of one JPanel scaled in a second JPanel.
    The first JPanel holds a graph that could be edited in this JPanel. But unfortunately the graph is usually to big to have a full overview over the whole graph and is embeded in a JScrollPanel. So the second JPanel should be some kind of an overview window that shows the whole graph scaled to fit to this window and some kind of outline around the current section displayed by the JScrollPanel. How could I do this?
    Many thanks in advance.
    Best,
    Marc.

    Hi,
    I'd like to display the content of one JPanel scaled
    in a second JPanel.
    The first JPanel holds a graph that could be edited
    in this JPanel. But unfortunately the graph is
    usually to big to have a full overview over the whole
    graph and is embeded in a JScrollPanel. So the second
    JPanel should be some kind of an overview window that
    shows the whole graph scaled to fit to this window
    and some kind of outline around the current section
    displayed by the JScrollPanel. How could I do this?
    Many thanks in advance.
    Best,
    Marc.if panel1 is the graph and panel2 is the overview, override the paintComponent method in panel2 with this
    public void paintComponent(Graphics g) {
    Graphics2D g2 = (Graphics2D) g;
    g2.scale(...,...);
    panel1.paint(g2);
    }

  • How to display pie chart in smart forms

    hii experts,
                      my requirement is to display pi chart in smart forms . i have  googled but could not get any meaning full results. If any one knows this pls share ..
    Thanks and Regards
    Aditya Shrivastava

    Hi
    I really doubt If you did search at all in the first place. Anyhow, check this:
    https://www.sdn.sap.com/irj/scn/advancedsearch?query=piechartin+smartforms&cat=sdn_all
    Vishwa.

  • Displaying icons in 10g web forms

    Hi,
    I was wondering if there is anyway I could use my jar file to display my images in my form. I created a jar file with images and I want to use them for my forms. The problem is other developers are using their own images from certain directories. In the registry.dat file they have a directory default.icons.iconpath=/icons/ already in place and in the .cfg file they have imageBase=DocumentBase. In my configuration for my form i put in imagebase=codebase but it seems that the other entry overrides mine because the images do not appear.Is there any way I could use my jar file to view my images without changing what other developers are using or would I have to put them in the directory with all the other ones.
    thanks
    Richie

    Hi,
    I've tried putting the jar file in the directory it mentions in the registry.dat file but that still does not work. I've also tried leaving the parameter in the .dat file blank and setting my imagebase=codebase and i am able to see the icons. My problem is that other developers are already using it using the documentbase and setting the .dat to a specific folder. I just thought there might be a way to read my jar file without interfering with the way the others are displaying their images. Its easier to have all my icons in a jar file then putting them all in a directory.
    thanks
    Richie

  • Display Two Report IN ONE

    hi Expert,
    how to display two report in one please help me .
    Regards,
    Hamad

    Hi,
    Refer the sample code:
    CLEAR w_event.
    w_event-name = slis_ev_top_of_page.
    w_event-form = 'TOP_OF_PAGE'.
    APPEND w_event TO i_events1.
    CLEAR w_event.
    w_event-name = slis_ev_top_of_page.
    w_event-form = 'XTOP_OF_PAGE'.
    APPEND w_event TO i_events2.
    DATA: lv_repid LIKE sy-repid.
    lv_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
    EXPORTING
    i_callback_program = lv_repid
    i_callback_user_command = 'USER_COMMAND'
    i_callback_pf_status_set = 'PF_STATUS'.
    *-- Vendor Schedule List
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
    EXPORTING
    it_fieldcat = i_field_cat1
    is_layout = w_lay_out1
    i_tabname = '<I_TABLE>'
    it_events = i_events1
    TABLES
    t_outtab =<b> <i_table>.</b>  Data for Report 1
    *-- Error Lsit display
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
    EXPORTING
    it_fieldcat = i_field_cat2
    is_layout = w_lay_out2
    i_tabname ='I_ERROR' 
    it_events = i_events2
    TABLES
    t_outtab = <b>i_error[].</b> -  Data for report 2
    w_print-reserve_lines = 2.
    w_print-no_print_listinfos = c_x.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    EXPORTING
    is_print = w_print.
    ENDFORM. " f0504_create_list
    *-- Top of Page
    FORM top_of_page.
      WRITE: sy-title.
    ENDFORM.
          FORM xtop_of_page                                             *
    FORM xtop_of_page.
      WRITE: 'Error Records'.
    ENDFORM.
    Reward points if this Helps.
    Manish

  • How to display a Report 9i from Forms if the Report has a Parameter Form?

    Hi,
    could some one please post me a code sample to show how to call a (paper layout, RDF) Report from Forms if I would like it to display the Report's parameter form first?
    Thank you in advance.
    Tamas Szecsy
    I used the following code segment do achieve the job, but I get "REP-546: Warning: The value of restricted LOV parameter P_ALAL is not among the selectable values" message, even though I would like to specify the P_ALAL value on the report's parameter Form.
    declare
    paramlist_id ParamList;
    tmp_riport_name varchar2(200);
    report_id          report_object;
    report_job_id varchar2(200);
    tmp_id number;
    begin
    -- init
    tmp_riport_name := null;
              -- parameter list
    paramlist_id := get_parameter_list('mytmp_params');
    if not id_null(paramlist_id) then
    destroy_parameter_list(paramlist_id);
    end if;
    paramlist_id := Create_Parameter_List('mytmp_params');
    add_parameter( paramlist_id, 'PARAMFORM', TEXT_PARAMETER, 'YES' );
              -- call report
    report_id := find_report_object( 'DUMMY' );
    if report_id.id is null then
         return;
    end if;
    -- display
    set_report_object_property( report_id, report_execution_mode, runtime );
    set_report_object_property( report_id, report_comm_mode, synchronous );
    set_report_object_property( report_id, report_destype, 'preview' );
    set_report_object_property( report_id, report_desformat, 'PDF' );
    set_report_object_property( report_id, report_server, 'rep_geoias' );
         set_report_object_property( report_id, report_filename, :ALAP_REPORTS_NAME||'.rep' );
    report_job_id := run_report_object( report_id, paramlist_id );
    tmp_id := to_number(substr( report_job_id, length(name_in('rep_geoias'))+2 ));
    web.show_document( '/reports/rwservlet/getjobid'||tmp_id||'?server=rep_geoias', '_blank' );
    END;

    I think you specified report object name incorrect.
    in command line:
    repid := FIND_REPORT_OBJECT('REPORT1');
    Report1 must be name of report object in Form Builder.
    However to call report from Oracle Form you must do more work. For example:
    - Create report server name
    - Adding some code to set property for report object base on report server you created.
    Cheer!

  • We have many mappings, which one is good in performance wise ?

    We have many mappings, which one is good in performance wise ?

    HI
    Different Mapping Techniques are available in XI. They are: Message Mapping, XSLT Mapping, Java Mapping and ABAP mapping.
    u2022The integration repository includes a graphical mapping editor. It includes built-in functions for value transformations and queue and context handling.  There is an interface for writing user-defined functions (java) as well.
    u2022XSLT mappings can be imported into the Integration Repository; java methods can be called from within the XSLT style sheet. Advantages of this mapping are: open standard, portable, extensible via Java user-defined functions.
    u2022If the transformation is very complex, it may be easiest to leverage the power of Java for mapping.
    u2022ABAP mapping programs can also be written to transform the message structures.
    Message Mapping
    SAP XI provides a graphical mapping tool that generates a java mapping program to be called at run time.
    u2022Graphically define mapping rules between source and target message types.
    u2022Queue-based model allows for handling of extremely large documents.
    u2022Drag-and-drop.
    u2022Generates internal Java Code.
    u2022Built-in and user-defined functions (in Java)
    u2022Integrated testing tool.
    u2022N:M mapping is possible.
    JAVA MAPPING:
    Usually Java mapping is preferred when the target structure is relatively complex and the transformation cannot be accomplished by simple graphical mapping.
    For e.g. consider a simple File->IDoc scenarion where the source file is a simple XML file, whereas the target file is an IDoc with more than one hierarchy level e.g FINSTA01. Content conversion in XI can only create a single level hierarchy, so in this scenario a Java mapping would come in handy.
    See these:
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/thorsten.nordholmsbirk/blog/2006/08/10/using-jaxp-to-both-parse-and-emit-xml-in-xi-java-mapping-programs
    When to use Java mapping
    1) Java mapping are used when graphical mapping cannot help you.
    Advantages of Java Mapping
    1)you can use Java APIs and Classes in it.
    2) file look up or a DB lookup is possible
    3) DOM is easier to use with lots of classes to help you create nodes and elements.
    Java mapping can be used when you have complex mapping structures.
    ABAP MAPPING:
    ABAP mappings are mapping programs in ABAP objects that customers can implement using the ABAP Workbench.
    An ABAP mapping comprises an ABAP class that implements the interface IF_MAPPING in the package SAI_MAPPING. The interface has a method EXECUTE with the some signature.
    Applications can decide themselves in the method EXECUTE how to import and change the source XML document. If you want to use the XSLT processor of SAP Web AS, you can use the ABAP Workbench to develop a stylesheet directly rather than using ABAP mappings.
    In ABAP mapping you can read access message header fields. To do this, an object of type IF_MAPPING_PARAM is transferred to the EXECUTE method. The interface has constants for the names of the available parameters and a method GET, which returns the respective value for the parameter name. The constants are the same as in Java mappings, although the constant MAPPING_TRACE does not exist for ABAP mappings. Instead, the trace object is transferred directly using the parameter TRACE of the method IF_MAPPING~EXECUTE.
    For more details refer
    http://help.sap.com/saphelp_nw70/helpdata/EN/ba/e18b1a0fc14f1faf884ae50cece51b/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
    /people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
    ABAP Mapping
    /people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
    https://websmp101.sap-ag.de/~sapdownload/011000358700003082332004E/HowToABAPMapping.pdf
    /people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
    /people/r.eijpe/blog
    ABAP Mapping Vs Java Mapping.
    Re: Message Mapping of type ABAP Class not being shown
    Re: Performance of mappings (JAVA, XSLT, ABAP)
    XSLT Mapping
    XSLT stands for EXtensible Stylesheet Language Transformations. It is an XML based language for transforming XML documents into any other formats suitable for browser to display, on the basis of set of well-defined rules.
    /people/sap.user72/blog/2005/03/15/using-xslt-mapping-in-a-ccbpm-scenario
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    The above menotined are the mapping present in the XI.
    When it is critical and complicate we go for the ABAP,JAVA or XSLt mapping. For simple Mapping we go for the graphical mapping.
    the selection of mapping also depends upon the requirement and alos on our scenario.
    cheers

Maybe you are looking for

  • Uninstalling trial version of Lightroom 3.

    I installed a Lightroom 3 disc, then bought the new version of Lightroom 4. I want to get rid the catalogue I created practicing in Lightroom 3. I dragged it to trash and it is still showing in my applications, but no pictures come up in Lightroom 4,

  • Need a simple program equivalent to the PC paint

    I need a simple program that is equivalent to the Windows paint program thats free.

  • Sorting Multiple colunms and carry out multiple Searches

    Hello i would like to now i can carry out multiple searches for a single record. I have listed the some below Server Name Db Name Schema Name Change Reference Person GBCCCL15/16--CSAHEPA---DCDMIN----------46935------------------- GBCCCL15/16--CSAHEPA

  • What does the RunTime engine support?

    Hello, Does anyone know what functions the RunTime engine supports? Or is there a NI link I can follow. Some goodies like the VI server don't seem to be supported in RTE 5.1. 6i any different? Thanks Martin

  • Sup720 booting into rommon mode

    new sup720 drops into rommon mode. config reg is 2102 and boot system command points to right image located in sup-bootflash: