HI.....can u pls solve this MODULEPOOL Thread

CAN WE INSERT LOGO IN MODULE POOL.
IF YES PLS SAY THE PROCEDURE.

Hi,
u can check the below thread
Module poolu0085.logo insert in the screen
sample code from that.............
You can display logo(s) on your screen using the custom control function. A custom control is an area on the screen, created using the screen painter. Custom controls are used to embed controls. Container controls are instances of special global classes from the SAP Control Framework. The global class for custom controls is called CL_GUI_CUSTOM_CONTAINER. To link a custom control to a container control, pass the custom control name to the CONTAINER_NAME parameter of the container control constructor when you instantiate it. The following is a sample program to demonstrate the logo display using the custom control. This program was written in SAP4.6C. Design a screen with the custom control, by name PICTURE_CONTAINER. It has the following flow logic:
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
PROCESS AFTER INPUT.
MODULE CANCEL AT EXIT-COMMAND.
The GUI status SCREEN100 has the functions BACK, EXIT, and CANCEL (all with type E).
Code
REPORT ZLOGO_TEST .
Type declarations.....................
TYPES pict_line(256) TYPE c.
data declarations......................
DATA :init,
      container TYPE REF TO cl_gui_custom_container,
      editor    TYPE REF TO cl_gui_textedit,
      picture   TYPE REF TO cl_gui_picture,
      pict_tab TYPE TABLE OF pict_line,
      url(255) TYPE c.
CALL SCREEN 100.
Dialog modules......................................
MODULE status_0100 OUTPUT.
  SET PF-STATUS 'SCREEN100'.
  IF init is initial.
    init = 'X'.
    CREATE OBJECT:
           container  EXPORTING container_name = 'PICTURE_CONTAINER',
           picture    EXPORTING parent = container.
  ENDIF.
  IMPORT pict_tab = pict_tab FROM DATABASE abtree(pi) ID 'ENJOY'.
  CALL FUNCTION 'DP_CREATE_URL'
       EXPORTING
            type    = 'IMAGE'
            subtype = 'GIF'
       TABLES
            data    = pict_tab
       CHANGING
            url     = url.
  CALL METHOD picture->load_picture_from_url EXPORTING url = url.
  CALL METHOD picture->set_display_mode
       EXPORTING display_mode = picture->display_mode_fit_center.
ENDMODULE.
MODULE cancel INPUT.
  LEAVE TO SCREEN 0.
ENDMODULE.
~~Naveen

Similar Messages

  • Pls solve this tension

    my query is that i have to take input from 1 file & produce output
    the input file is in csv format we have some inputs in this file this input i have to give directly to any webpagewithout entering it manually.means once running the program it automatically
    takes input from that file & pass it into required web page after showing results we have to scrap that data & store that data into variables & have to generate scripts

    Hi Jagadish,
    first of all, as Detlev said in your last <a href="https://forums.sdn.sap.com/thread.jspa?threadID=94978">thread</a>, please be more specific when you asking questions here on SDN.
    Second, by using thread names like "pls solve this one", you will not attract more readers like you might think but either the contrary. And it would be also better for the search to use a "speaking" thread name.
    Now to your question: To integrate a website in your portal, create a new iView of type "URL iView" and specify the URL there. You could also capture parts of Websites on iViews. After you have created the iView(s), assign it to roles and those to users.
    For more information on creating Web-Based URL iViews check this <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/f5/eb51730e6a11d7b84900047582c9f7/frameset.htm">link</a>.
    Hope this is what you were asking.
    Best regards,
    Robert
    Last remark: If you ask questions here on SDN like in this  <a href="https://forums.sdn.sap.com/thread.jspa?threadID=94978">thread</a>, please return and answer your replies or at least validate them by assigning points. Thanks!

  • I've installed CS6 and web Premium on a Mac running 10.9.5, and Dreamweaver,Flash and Illustrator wont launch.  All other components work normally.  In Activity monitor it says Adobe switchboard failed to respond.  Can anyone help solve this issue?

    I've installed CS6 and web Premium on a Mac running 10.9.5, and Dreamweaver,Flash and Illustrator wont launch.  All other components work normally.  In Activity monitor it says Adobe switchboard failed to respond.  Can anyone help solve this issue?

    Release: 4/25/2012
    http://support.amd.com/us/gpudownload/windows/Pages/radeonmob_win7-64.aspx

  • I'm trying to sync a new i phone to i tunes.  I get message that says cannot be used because the apple mobile device service is not started.  Any idea what I can do to solve this issue?

    I'm trying to sync a new iphone into i tunes.  I'm getting a message that says that this iphone cannot be used because the apple mobile device service is not started.  Any idea what I can do to solve this issue?

    See Here...
    AMDS for Windows
    http://support.apple.com/kb/TS1567
    AMDS for Mac
    http://support.apple.com/kb/ht1747

  • I can't synchronise my Ipad with my Imac. It's given unknown cause but nevertheless an indication (-50). Does anybody know what's happening or what I can do to solve this?

    I can't synchronise my Ipad with my Imac. It's given unknown cause but nevertheless an indication (-50). Does anybody know what's happening or what I can do to solve this?
    Thanks in advance

    If the iPad is running iOS 7, the security feature is called Activation Lock.
    There is no way around it. Hopefully he will be able to get the Apple ID password
    reset or remember it.
    Perhaps one or more of the following will help your family member:
    https://iforgot.apple.com/password/verify/appleid
    http://support.apple.com/kb/HT5787?viewlocale=en_US&locale=en_US
    Apple - Support - Apple ID - Manage Account

  • Can you pls correct this query :: ( In Oracle Core HRMS )

    Dear all,
    i have created query get result :: ( In Oracle Core HRMS )
    •     EE Number
    •     Forename
    •     Surname
    •     Dept
    •     Start Date
    •     Leave Date
    •     Date of Birth
    •     Address
    •     Salary (New & Existing Employee)
    •     Car Allowance
    •     Effective date (changes/updates)
    •     Creation Date/Update date
    •     Email address
    •     Gender
    •     Job Description
    •     Grade
    •     From and to date for parametres
    •     Last Modified Date
    SELECT
    papf.EMPLOYEE_NUMBER emp_no
    , papf.FIRST_NAME forname
    , papf.LAST_NAME surname
    , replace(replace(hou.attribute1,'10-',''), '14-', '') department
    , pps.date_start strt_date
    , pps.actual_termination_date leave_date
    , papf.DATE_OF_BIRTH dob
    , pdd.ADDRESS_LINE1||''||pdd.ADDRESS_LINE2||','||pdd.ADDRESS_LINE3 Address
    , ppp.proposed_salary_n salary
    , papf.EFFECTIVE_START_DATE estart_date
    , papf.EFFECTIVE_END_DATE eend_date
    , papf.CREATION_DATE crt_date
    , papf.EMAIL_ADDRESS mail_addrs
    , papf.SEX GENDER
    , pj.NAME Job_Des
    , substr(pg.name, 1, 1) GRADE
    , papf.LAST_UPDATE_DATE Last_Modified_Date
    FROM per_all_people_f papf
    , per_all_assignments_f paaf
    , per_addresses pdd
    , per_pay_proposals ppp
    , per_grades pg
    , pay_payrolls_f pp
    , per_jobs pj
    , per_periods_of_service pps
    , per_person_types ppt
    , per_person_type_usages_f pptu
    -- , pay_element_entries_f pee
    , hr_organization_units hou
    WHERE papf.person_id = paaf.person_id
    AND papf.person_id = pdd.person_id
    AND papf.person_id = pptu.person_id
    and papf.person_id = pps.person_id
    and pps.period_of_service_id = paaf.period_of_service_id
    AND ppp.assignment_id = paaf.assignment_id
    -- AND pee.assignment_id = paaf.assignment_id
    AND paaf.grade_id = pg.grade_id
    AND paaf.payroll_id = pp.payroll_id
    AND pptu.person_type_id = ppt.person_type_id
    AND paaf.organization_id = hou.organization_id
    AND pj.job_id = paaf.job_id
    AND ppp.pay_proposal_id = (SELECT MAX (pay_proposal_id)
    FROM per_pay_proposals
    WHERE assignment_id = paaf.assignment_id)
    AND pp.payroll_id = 224
    AND pdd.primary_flag = 'Y'
    AND pee.element_type_id = 221 for car allowance
    AND papf.employee_number <> 'NONE'
    AND ppt.user_person_type in ('Employee', 'Ex-employee' ,'Intern')
    AND ppt.system_person_type in ('EX_EMP', 'EMP')
    AND TRUNC(SYSDATE) between papf.effective_start_date and papf.effective_end_date
    AND TRUNC(SYSDATE) between paaf.effective_start_date and paaf.effective_end_date
    AND TRUNC(SYSDATE) between pptu.effective_start_date and pptu.effective_end_date ;
    can you pls correct this
    still i need to add Car Allowance and Bank details in above query pls tell me where i can get dept details in oracle core HR
    Thanks all
    Edited by: 981527 on Jan 30, 2013 3:41 AM
    Edited by: 981527 on Jan 31, 2013 1:22 AM
    Edited by: 981527 on Jan 31, 2013 1:30 AM
    Edited by: 981527 on Jan 31, 2013 9:03 PM
    Edited by: 981527 on Feb 1, 2013 4:50 AM

    I am taking a guess that 'Dept' is where the employee works, so that will be the column 'NAME' in the table HR_ALL_ORGANIZATION_UNITS; you will need to join with this table on the assignment's organization_id value
    Edited to add: Whilst you're testing this, you might want to consider removing the table PAY_ELEMENT_ENTRIES_F from the table list, otherwise you can look forward to potentially large cartesian product of returned rows!
    Clive
    Edited by: clive_t on 31-Jan-2013 09:59

  • My computer has become much slower and may have been infected.  Is there any course of action I can take in solving this problem?

    my computer has become much slower and may have been infected.  Is there any course of action I can take in solving this problem?

    If this started happening without your having made any changes and without a warning of low disk space, then it's likely that the startup drive, or some other hardware component, is failing. Back up all data immediately, then run Apple Diagnostics or the Apple Hardware Test.
    Even if the test is negative, you should make a "Genius" appointment at an Apple Store to have the machine tested more thoroughly.

  • Error Message:"Cannot find or create the font 'WP-MathA'. Some characters may not display or print correctly."  Who can help me solve this problem?

    Some of the pdf files I work with (receive) come up with a comment: “Cannot find or create the font ‘WP-MathA’. Some characters may not display or print correctly.”  Who can help me solve this problem?
    Thank you in advance for  your time.
    Marlen

    Hello Anubha,
    I am having a similar problem on my machine.  I was using Word 2008 and I created a PDF inside Word.
    I am opening the file on the system itself and I am running Windows 8.1.  I am using Version 11 of Reader.
    When the PDF I created (my resume) attempts to open, it says:  cannot find or create the file Times, Bold.  Some characters may not display or print correctly. 
    However, the entire Reader keeps freezing and will not allow me to open or test print the document.  Also, it is not displaying any of the Bold Times New Roman Print.  Can you please help?  Thanks.

  • When i zoom pic then coming some Black or wight boxes in image or when zoom agin they it will come in ohere side in picture pls solv this problom. this problom start when i update photoshop cc 2014

    When i zoom pic then coming some Black or wight boxes in image or when zoom agin they it will come in ohere side in picture pls solv this problom. this problom start when i update photoshop cc 2014

    in mac command-k
    preferences/interface/Workspace/Reset
    or in windows control-k
    preferences/interface/Workspace/Reset

  • I have iphone 3gs . that i erased all the contents , it going on process for more than 23 hours pls solve this

    iphone 3gs
    i erased all the contents .its going on process for more then 23 hours pls solve this
    pls pls pls pls
    thanks & regards
    ganesh

    Something has gone wrong. Force the phone into recovery mode, as described here, & restore it:
    http://support.apple.com/kb/ht1808

  • HT201066 I have problem with recently with playing DVDs on my iMac. the problem only with DVDs, please anybody can help me solve this problem?

    I have problem with recently with playing DVDs on my iMac. the problem only with DVDs, please anybody can help me solve this problem?

    Get a lens cleaner disc. One with brushes and try that. CDs and DVDs use different lenses, so since CDs load and play, I strongly suspect a dirty lens.

  • Can any one solve this problem

    when i sent request to the jsp using struts1.1 this error occurred. i couldn't understand this error. can any one let me know when such error comes and let me Know how to solve this error.
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:279)
         org.apache.jasper.compiler.TagLibraryInfoImpl.createValidator(TagLibraryInfoImpl.java:653)
         org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:246)
         org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
         org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
         org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
         org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.ClassNotFoundException: org.apache.taglibs.standard.tlv.JstlCoreTLV
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1338)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1187)
         org.apache.jasper.compiler.TagLibraryInfoImpl.createValidator(TagLibraryInfoImpl.java:649)
         org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:246)
         org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
         org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
         org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
         org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.12 logs.

    Its problem related to your configuration files. check struts config file

  • I have an Ipod Touch, it appears inactive and says conect to Itunes. When I connect it to the PC, the PC says "USB device not working". How can do to solve this problem.

    I have an Ipod Touch, it appears inactive and says "connect to Itunes". When I connect to the PC, the PC says "USB device not working". How could do to solve this problem?

    See:
    iOS: Device not recognized in iTunes for Windows
    I would start with
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    or
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • I still cannot stream YouTube/Netflix/iPlayer etc. on my iPhone 4 via WiFi since updating to iOS 6.0.1....can anyone please solve this for me??

    I posted a couple of days ago about a problem my iPhone 4 was having trying to stream video via WiFi
    Basically, since I upgraded to iOS 6.0.1 I cannot stream YouTube videos via the app or via Safari, Netflix will not work nor will services such as BBC iPlayer.
    I've also discovered this evening I cannot stream any radio apps either.
    All of them will play for 10-30 seconds then stop buffering making them impossible to play.
    I was given several pieces of advice including restoring the phone to factory settings, restoring it as a new phone, hard resetting twice in a row, deleting all the cache/data in Safari but nothing that has been suggessted has solved the problem.
    I know it is not a problem with my internet/WiFi as I have a laptop and a PC both using it and streaming YouTube/raddio stations etc. with no problem. Also, my girlfriend has a 3GS with the old YouTube player and that works with no problems at all.
    Can anyone please help me out as it's getting a bit frustrating not being able to use the streaming function on my iPhone.
    One thing that is odd, I have no problem surfing the web on the phone via WiFi or streaming over 3G. It is only a problem when trying to stream video/audio over WiFi.
    Thanks.

    This is a link to the Apple support page on this issue. Have you tried all of these steps?
    http://support.apple.com/kb/TS1559?viewlocale=en_US&locale=en_US
    Not sure what you mean that you have no signal but are on 3. What are you trying to say?

  • TS2734 iphone 4s, iphone disabled connect to itunes how can i do solve this problem?

    iphone 4s passcode blocked & say iphone disabled connect to itunes how can i enable this passcode unlocked ?

    https://discussions.apple.com/message/18310137#18310137
    Do what is suggested in this thread and restore

Maybe you are looking for

  • How to track calendars with multiple devices apple and droid

    I have a iPhone 5 and iPad but would like to find a way to communicate my calendar with others using apple and droid products. How would I do that?

  • Can't open a projector in mac, only in win.

    Hello, using DIrector MX 2004, win platform. I made a movie that contains only one .dir file, it's a slideshow, so i used only some behaviours for the buttons, some music and two buttons that allow to send an e-mail or visit my site. The problem is t

  • ERROR creating table with dynamic SQL :-(

    Hi friends, I have a problem when I try to create a table using dynamic SQL. (Env.: Forms 6i, WinXP, Oracle 9i) I only want to create a table, insert data and drop the table. I have a user with the correct privileges (At least ....I think so), becaus

  • Workflow not trigerring for Clock-in/clock new entries or corrections

    Dear All, I am using the workflow ws12300111 template for clock-in/clock out for approval to manager. Is this appropriate one or anything else is available, whenever i raise request for the clock-in/clock out change in ess a new request is getting ge

  • Send Separate Remittance Advices in R12 Customization

    How to add the new XML tag in Send Separate Remittance Advices in R12 which is java concurrent program. What is the approach to add the new XML tag using standard Send Separate Remittance Advices in R12 and the new tag will use in my .rtf ( template