Put logo in executable program

hi friends ,
    i want to put logo in report( not alv report) and not in selection screen. i want put it on output.

hi,
IT IS POSSIBL USING OOPS CONCEPT GO FOR THIS CODE:--
REPORT y_pic_show .
DATA:
docking TYPE REF TO cl_gui_docking_container,
picture_control_1 TYPE REF TO cl_gui_picture,
url(256) TYPE c .
DATA : sum(4) , num1(4) , num2(4).
PARAMETERS: p_dummy(4) DEFAULT '4' .
PARAMETERS: p_dummy1(4) DEFAULT '5' .
AT SELECTION-SCREEN OUTPUT.
PERFORM show_pic.
START-OF-SELECTION.
num1 = p_dummy.
num2 = p_dummy1.
sum = num1 + num2.
WRITE : / sum.
*& Form show_pic
FORM show_pic.
DATA: repid LIKE sy-repid.
repid = sy-repid.
CREATE OBJECT picture_control_1 EXPORTING parent = docking.
CHECK sy-subrc = 0.
CALL METHOD picture_control_1->set_3d_border
EXPORTING
border = 5.
CALL METHOD picture_control_1->set_display_mode
EXPORTING
display_mode = cl_gui_picture=>display_mode_stretch.
CALL METHOD picture_control_1->set_position
EXPORTING
height = 150
left = 700
top = 10
width = 138.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = 'PIX PATHNAME'.
IF sy-subrc NE 0.
Fehlerbehandlung
ENDIF.
ENDFORM. "show_pic
Hope this helps, Do reward.

Similar Messages

  • In Executable program displaying results in custom screen.

    Hi,
    I have a executable program,  when the program display's the out put of this program I need to display output in custom screen (like screen 100) instead of displaying in default List screen.
    Can any one tell me how to create and display output in that screen.
    Thanks.
    Chris.

    Hi,
      Check the pseudo code....
    <b>Start-of-selection.</b>
    Retrieve data
    <b>End-of-seleciton</b>
    call screen 0100.
    <b>*PBO</b>
    form PBO_200 output.
    endform.
    <b>*PAI</b>
    FORM PAI_200 input.
    endform.
    To call Screens use any of the following commands
    <u><b>1. CALL SCREEN scr.</b></u>
    Addition:
    ... STARTING AT x1 y1 ... ENDING AT x2 y2
    <b>Effect</b>
    Calls the screen scr; scr is thenumber of a screen of the main program. You use SET SCREEN 0. orLEAVE SCREEN. to define thereturn from the CALL screen.
    <b>Addition</b>
    ... STARTING AT x1 y1  ENDING AT x2 y2
    <b>Effect</b>
    The coordinates x1, y1 (start column andstart line in the window) and x2, y2 (end column and endline in the window) define the size and position of the CALLscreen ("top left - bottom right"). Besides these coordinates,you can also see the contents of the primary window, but cannot performany action there.
    <b>Note</b>
    If "ENDING AT ..." is not specified, suitablevalues are substituted for x2 and y2, taking into accountthe size of the called screen.
    <b>Note</b>
    <b>Runtime errors:</b>
    DYNP_TOO_MANY_CALL_SCREENS: No further screen level (callscreen); the maximum number of nested screen levels is restricted to 50at present.
    2. <u><b>SET SCREEN scr.</b></u>
    <b>Effect</b>
    In ABAP dialogs: Sets the number of the nextscreen.
    Screen number scr is then processed when the current screen has finished.
    <b>Example</b>
    SET SCREEN 200.
    <b>Notes</b>
    To leave a CALL SCREEN chain or return to the application menu, use one of the followingstatements:
    SET SCREEN 0. or LEAVE TO SCREEN 0.
    I hope this solves your problem.
    Regards,
    Vara

  • How to print procedure in an executable program

    Hi Everyone
                           I am having one procedure  PR_PRICING_T_1723_2000 using cu02.In this some code is written and i want to print the code lines of this procedure in my executable program output.Can anyone help me in finding where this procedure get stored for example in table or is their any function module or bapi where we can directly pass procedure name and can get the desired lines of code.
    Hitesh

    Are they making the changes under a same CR? If so there is actually no way to track the changes made by individual user, unless they put some comments. In such a case, the other option is to have individual users generate a version after completing their changes (but ensuring that no other user makes a change at the same time by using editor lock and releasing the editor lock after generating a version).. Once the version is generated, u can use change management
    If the changes are made under different CR, then you can use version management as suggested by Rich.

  • Creating an executable program to control a machine

    Hello
    I've created an executable program under Labview that I want to install
    on a computer without Labview to control a machine. On the second
    machine I have just installed Labview runtime, driver for measurecard
    (ni) and daq.
    How can I save this application as an exe file, or as an install or
    setup file? How can I put the library, dll-files and vi-files in the
    exe-file?
    Fahri

    To create an .exe, you need the application builder. It is included with the Professional versions of LabVIEW or you can purchase it separately as an add-on. I think the current price is U$995. The app builder inlcudes an installer that you can use to package the .exe and any support files that you might need.

  • Output has to print from the executable program

    Hi All,
    I have 'zaap01' executable program. once provided the materil,plant, batch. the out put directly has to print(Via Printer) as well as when I'm getting alv grid.. can u help me how to proceed.
    Thanks,
    srii.

    Hi Sridhar
    Users can print the ALV output on a printer or they can view the printout on the screen. You are able to change the look of these printouts by making various settings in the list-type ALV outputs using the ALV object model.
    You can make the following settings for the printout of the ALV output:
    · Output additional information
    · Output standard title of the program
    · Determine that the ALV be called in print mode
    · Take actual list size into consideration during printing
    · Optimize Column Width in the Printout
    · Reserve Rows for Event END_OF_PAGE
    Methods
    Function-Output of list information
    Class-CL_SALV_PRINT
    Method-SET_LISTINFO_ON
    Function-Check whether list information are being output
    Class-CL_SALV_PRINT
    Method-IS_LISTINFO_ON
    Function-Output selection information
    Class-CL_SALV_PRINT
    Method-SET_SELECTIONINFO_ON
    Function-Check whether selection information is being output
    Class-CL_SALV_PRINT
    Method- IS_SELECTIONINFO_ON
    Function-Output additional information on a separate page
    Class-CL_SALV_PRINT
    Method- SET_COVERPAGE_ON
    Function-Check whether additional information is being printed on a separate page
    Class-CL_SALV_PRINT
    Method- IS_COVERPAGE_ON
    Output Standard Title of the Program
    The standard title of the program comprises the current date, the title of the ALV output and the page number. You are able to show the standard title.
    Methods
    Function-Output standard title of the program
    Class- CL_SALV_PRINT
    Method
    SET_REPORT_
    STANDARD_HEADER_ON
    Determine that the ALV Be Called in Print Mode
    You are able to print the ALV output directly without having to first display it on the screen.
    Methods
    Function-Print ALV output directly
    Class- CL_SALV_PRINT
    Method- SET_PRINT_ONLY
    Function-Check whether ALV output is being printed directly
    Class- CL_SALV_PRINT
    Method- IS_PRINT_ONLY
    Take Actual List Size into Consideration During Printing
    You can use the application to determine how wide the list should be in the printout. If the width of the ALV output has changed (for example because the user is showing columns), it can be that the page is not big enough to show all the information. You are able to set that ALV determine the current size before printing and then changes the print parameters accordingly.
    Methods
    Function
    -Take actual list size into consideration during printing
    Function
    Class- CL_SALV_PRINT
    Method- SET_PRINT_PARAMETERS_ENABLED
    Function
    -Check whether the list size can be adapted
    Class- CL_SALV_PRINT
    maethod-
    IS_PRINT_PARAMETERS_
    ENABLED
    Regards.
    Eshwar.

  • Does any one know how to execute program in Jump developer desktop

    hi,
    Does any one know how to execute program in Jump developer desktop,
    actually i copied the hello world project from my eclipse workspace to jump
    developers workspace and once i run the program it asks for the main class
    and then i gave main class as my HelloWorld Class,it generates error as
    java.lang.NoSuchMethodError: main
    Exception in thread "main"
    Can any one help me to come out of this problem.....
    Thanks
    MRaj

    i solved it,
    thanks
    MRaj

  • Error while executing program RFUMSV50 for deferred tax

    Hi,
    While executing program throgh T.Code S_AC0_52000644 - Deferred Tax Transfer (New), program RFUMSV50, system gives error as Message no. F7229 Only company codes without a jurisdiction code permitted.
    We are using TAXINJ procedure.
    We have implemented SAP Note  No. 921634.
    Kindly suggest solution ASAP.
    Regards,
    mahesh

    Hello Samay,
      I believe you are running the query in Excel.
    You are in 700. I would advise to use the latest patch if possible ( > 904 ).
    May be, that will solve your issue.
    Otherwise, please attach the trace file details.
    You can record a front-end trace as follows:
    1.) Start BExAnalyzer
    2.) Go To Global Settings
    3.) Go to the trace tab
    4.) Check "Record Trace"
    5.) Close the dialog
    6.) Close BExAnalyzer
    7.) Reproduce the problem
    After the "Critical Program Error" popup appears you find a file
    BExAnalyzerTrace.txt in the %temp% folder.
    Regards,
    Sheik Bilal

  • I purchased Adobe CS4.  I am now being asked for my serial number and when I put it in the program does not recognize it for Acrobat Pro 9 though it does for PhotoShop, Bridge and the rest of the suite.  What can I do?

    I purchased Adobe CS4.  I am now being asked for my serial number and when I put it in the program does not recognize it for Acrobat Pro 9 though it does for PhotoShop, Bridge and the rest of the suite.  What can I do?

    Contact support if you have serial number issues. Otherwise start by checking this stuff:
    Sign in, activation, or connection errors
    Mylenium

  • When  i executed program , it go to dump, show this error

    Hi Gurs
    when  i executed program , it go to dump, show this error .
    Short text                                                   
         The ABAP program lines are wider than the internal table.
    Error in the ABAP Application Program                                                                               
    The current ABAP program "SAPLSKBH" had to be terminated because it has 
    come across a statement that unfortunately cannot be executed.          
    it show this lines.
        read report l_prog_tab_local into l_abap_source.          
      366 *      catch cx_sy_read_src_line_too_long into ex_too_long.   
      367 *    endtry.                                                  
      368     check sy-subrc eq 0.
    Edited by: Rob Burbank on Feb 17, 2010 2:54 PM

    d022s length is only 72 char
    so u have to copy D022S Structure  to ZD022S Structure and
    and define  like  LINE  CHAR(data type)  1500(length)
    then u define internal table like
    data: begin of itab occurs 0.
            include structure  Zd022s.
    data: end of itab.

  • How to Add New Parameter in Cluster with LabVIEW Executable Program?

        In this VI,it can write the parameter in Cluster to the database (Access 2003).it run well.
        But When I add another parameter in Cluster,such as EE,I have to modify this Cluster. And at the same time,I have to modiy the database (I should add a column of EE).if this vi build to exe, how can I achieve it?Can LabVIEW have any way to increase new parameter EE in Cluster and in Database in executable program?
        Would you give me some advice?Thank you
    Attachments:
    Add ParaMeter In Cluster 20130206.zip ‏105 KB
    Cluster.JPG ‏9 KB

    It's rather unclear what you try to do here. In your first post you talk IMHO about the high level Datatbase Toolkit functions that take a cluster and translate it automagically into the appropriate SQL Query/Update.
    Your second question seems to be about the user interface of your application.
    Proper application design would mean to separate the user interface aspect from the actual database query in some ways. I definitely wouldn't use the same cluster for both. Also if you simply hide a control on the frontpanel (possible also in an executable) it still is present logically and if you end up using the high level database toolkit functions with that cluster it will result into a query or update of the database with all the data in the cluster, also the hidden ones.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Call an executable program inside function module and pass the table values

    Hi,
           i'm pretty new to HR Abap programming. I have a requirement like "calling an executable program within a function module and the output of the program data(Stored in internal tables) should be passed to the function module tables".
    I've some idea about SUBMIT keyword and i used it in the function module..
    Please do the needful to solve this.
    Regards,
    Selvi.

    Hi,
    Thanks for all your reply.
      I've used Option 3 as per dsouzajovito suggestion. Now i'm getting data in function module tables using import/ export table to memory concept.
    Again a small issue arises, while i'm executing function module it fetches all pernr available in the server and displays the details of last pernr. GET pernr statement is used in the Z report and submit statement is used like this as follows.
      SUBMIT ZHR_RFC_PAYSLIP   WITH  PERNR-PERNR EQ EMPCODE
                                          WITH PYBEGDA EQ FDATE
                                          WITH PYENDDA EQ LDATE
                                          AND RETURN.
    Pls suggest if there is any corrections in the code.
    If i give a pernr as input in the function module, then it should fetch the details related only to that pernr.
    FYI, No selection screen is used here as per requirement.
    Regards,
    Selvi.

  • Calling a module pool program screen to an executable program

    Hi gurus,
    I have created a executable program to use selection-screen and want to see my output in module pool program where I have designed table control according to my requirement.
    How can I call the module-pool program screen from an executable program?
    Any help?
    Regards
    Mac

    Hi Mac,
    I think you can proceed with a report program alone . There you create a screen with the table control to populate your result.
    In the report program, after getting values for internal table for your display, just call the said screen.
    i.e.
    CALL SCREEN <screen number>.
    Hope this may help you.
    Regards,
    Smart Varghese

  • Calling an Executable program in a Web dynpro

    Hi
    We would like to change the initial screen of one of our functionalities (kilometre claims), but the info after you submit the selection info does not need to change.  We have an executable program with the detail of the screen.
    I created a new Web dynpro application with the select options that must be entered; if you then click on a Submit button, I would like to call the current executable program, but I am not sure how I must do this.
    Example:
    To call a method, I always use: Call method ZCL_WD_PA=>ZHRPA_UPDATE_IT9004, but I am not sure how to call an executable program and with info is needed.
    Could anyone please assist?
    Regards
    Debbie

    Hi
    We have a functionality via Employee Self-Service (Portal ECC6) where an employee can view their Kilometre claimsin a Report format.
    To get the info to be displayed, someone else created a Program via the GUi SE38 (Attribute is an Executable program).  The front screen (selection screen) where the dates for which you would like to run the report for, needs to be changed.  It is not a nice screen to look at.  On that same screen which I would like to change, is a submit button.  If you click on that, it shows info and that info must not be changed at all.
    So I will also have a submit button on my new Web dynpro functionality where I am building hopefully a nicer selection screen.  I will also have a Submit button and I wanted to add something when clicking on this submit button to call the existing program that will show the info selected.
    Regards
    Debbie

  • Calling a report from a executable program

    Hi All,
    i want to call a report which is generated by tcode CO88 from a executable program. I want to pass the values of order from the exe program only. But my requirement is such that i want co88 to process only open orders, so please suggest how can i do that.
    thanks in advance.
    Pankaj Sharma

    hi,
    chk this sample.
    *Code used to populate 'select-options' & execute report 
    DATA: seltab type table of rsparams,
          seltab_wa like line of seltab.
      seltab_wa-selname = 'PNPPERNR'.
      seltab_wa-sign    = 'I'.
      seltab_wa-option  = 'EQ'.
    load each personnel number accessed from the structure into
    parameters to be used in the report
      loop at pnppernr.
        seltab_wa-low = pnppernr-low.
        append seltab_wa to seltab.
      endloop.
      SUBMIT zreport with selection-table seltab
                                    via selection-screen.
    *Code used to populate 'parameters' & execute report 
    SUBMIT zreport with p_param1 = 'value'
                    with p_param2 = 'value'.
    Other additions for SUBMIT
    *Submit report and return to current program afterwards
    SUBMIT zreport AND RETURN.
    *Submit report via its own selection screen
    SUBMIT zreport VIA SELECTION-SCREEN.
    *Submit report using selection screen variant
    SUBMIT zreport USING SELECTION-SET 'VARIANT1'.
    *Submit report but export resultant list to memory, rather than
    *it being displayed on screen
    SUBMIT zreport EXPORTING LIST TO MEMORY.
    Once report has finished and control has returned to calling
    program, use function modules LIST_FROM_MEMORY, WRITE_LIST and
    DISPLAY_LIST to retrieve and display report.
    rgds
    anver
    if hlped pls mark points

  • How to call a Include type Report Program in Executable Program. ?

    Hi experts,
    I have created a Include type report program and I want to run this include program in other report program. Which abap statement should i use ?
    Thanks
    Saurabh

    Hi Saurabh,
    We can make use of programs of Type - Include(I) in other type of ABAP Programs.
    These Include programs cannot be executed directly but can be used as a part of the main program i.e Executable program - Type E.
    So after creating your main program of type executable program then use the below line
    REPORT ZM_SAMPLE_PROGRAM.
    INCLUDE INC_PRG_NAME.
    Now the code as availablein INC_PRG_NAME becomes part of the  main program ZM_SAMPLE_PROGRAM.le
    Also you can make use of this Include program in other executable/include programs too...
    Regards,
    Rafi

Maybe you are looking for

  • Service Messages

    Hello, I need some help please. I downloaded something from WAP and it went into my service messages, this did come up automatically at the time. But I now wish to find it again Where are Service Messages located on Nokias. Thanks

  • F.12 tcode

    Hi, What is the use of f.12 tcode(advance return for tax on sales/purchase).could you explain the what are the steps involved in monthly utilisation process in CIN .and also give the Tcodes. regards, Nagaraju

  • Oc4j and ejb3.0 as web services

    Hi, I have deployed a ejb3.0 jar with following files. Interface : package samples.webservice; import javax.jws.WebService; *@WebService* public interface HelloRemote public String echo(String input); Bean package samples.webservice; import javax.ejb

  • Not all Exchange contacts are showing up in Address Book

    My exchange sync resulted in about 100 missing contacts in address book. Both outlook and iphone display the correct number of contacts...anyone else seeing this and know how to fix?

  • Backup errors.

    Hi Gurus, I have scheduled the backup of the 3 essbase applicatoin databases. Out of 3 only one is running fine and 2 are giving me the following error messages. MAXL> login 'admin' '********' on 'esshost'; OK/INFO - 1051034 - Logging in user [admin]