Module Pool-to enable find and fint next button

hi all
i have one module pool program, and i have to enable find and find next button on top of the screen, it should work as it works for our standard transaction(eg-SE28).
Can anyone provide or tell me were I can get the code.
Thanks & Regard
Rajyalaxmi

Hi Friend,
Please assign a function code against find button in PF-STATUS.
Write the code in PAI to find the data in module pool.
Code sequence will be like:
......AFTER CALLING A SCREEN( MODULE DIALOG BOX)..WITH STARTING AT 30 8 ENDING AT 60 10...
......IT WILL SHOW TH SCREEN ON THE MIDDLE OF SCREEN..
......WRITE CODE .... SET SCREEN 0. LEAVE SCREEN...I
....READ THE CONCERN INT TABLE WITH THE VALUE ENTERED BY USER FOR SEARCH
...  THEN....TAB_CTRL-TOP_LINE = SY-TABIX.
Hope it will help you.
Regards
Krishnendu

Similar Messages

  • ThePrevious button, a choice, and a Next button in the tabel dont work (new

    Im writing the code like that for adf faces earlly access 13 but The Previous button, a choice, and a Next button in the tabel select one dont work i dont know why , they were working properly in the early access9 with the HR employees tabel with the same code but in the newest versions it dosent work .
    <af:table var="row"
    value="#{myEmployees.employees}" rows="10">
    <f:facet name="selection">
    <af:tableSelectOne text="Select Employee and "
    </af:tableSelectOne>

    what method does myEmployees.employees call?
    that method must cache the List.
    if a new List is returned each time, then the table resets to the first row.
    we have fixed this in EA15.

  • ThePrevious button, a choice, and a Next button in the tabel dont work

    The Previous button, a choice, and a Next button in the tabel select one dont work i dont know why , they were working properly in thw early access9 with the HR employees tabel but in the newest versions it dosent work and i dont know why.

    Could you clarify the technology and versions you're using - that'll make it much easier for us to understand the problem.

  • Module pool ---Problem in finding the line index for the table control

    Hi Friends,
    I am working in Module pool programming.
    My requirement is when i select any record on the lead selection I need to find out the index of the line on which  row i have selected.
    Could any one please suggest me the proper solution how to get the line index for the table control in module pool programming.
    Thanks
    Satish Raju

    Hi Raju,
    Follow the steps
    <li>U should take one variable in your internal table or in structure which is used for table control fields.
          DATA :BEGIN OF itab OCCURS 0 ,
                mark TYPE c ,
                matnr LIKE mara-matnr ,
                matkl LIKE mara-matkl,
                maktx LIKE makt-maktx,
            END OF itab .
       controls: tabc types tableview using screen 100.
    <li>This mark variable should be given in Table control properties. follow the path
    double click on the table control-->attributes .->select w/SelColumn and in that give itab-mark.
    <li>Flow logic of the screen
       process before output.
         MODULE status_0100.
         LOOP AT itab with control tabc
         endloop.
       process after input.
         module cancel at exit-command.
         LOOP AT itab.
           MODULE read_table_control.
         ENDLOOP.
         MODULE user_command_0100.
    <li>read_table_control module code
         MODULE read_table_control INPUT.
         MODIFY itab INDEX tabc-current_line."this will update the itab table
                                             "mark field with 'X ' whatever we
                                             "have selected on table control
         ENDMODULE.
    <li>If you want to Delete some of the records from Table control follow this code u2026Create one pushbutton and give Fucnction code to that and write below code
       CASE okcode.
         WHEN 'DELETE'.
           LOOP AT itab WHERE mark = 'X'.
             DELETE itab.
           ENDLOOP.
       ENDCASE.
    I hope that it helps you.
    Thanks
    Venkat.O

  • I cannot find anything about next button

    Neither in the personalization nor in the code or the page opened in jdeveloper, i can find nothing about next or back button. the other buttons cancel, etc. can be found in navigation region. these buttons are seen both the top of the page and the bottom of the page. how can i manage the next button. any idea?

    I wanna learn to differentiate next and back buttons after
    if ("goto".equals(pageContext.getParameter(EVENT_PARAM)) && "NavBar".equals(pageContext.getParameter(SOURCE_PARAM)))
    statement. Is there any suggestion for this. I could not find about something anywhere. May be i missed something.
    Thanks again.
    Gunes Kahraman

  • How do I make track end jump go to menu and highlight next button.

    I have a DVD with several programmes each with its own menu button, with track (button) one as the highlighted default. I would like the end jump of each programme to be back to the menu (easy) BUT with the button for the next track highlighted. How do I do that.

    Click on the Track your want to jump from - then in the properties panel select "End Jump". A pop out menu will appear giving you the choice of where to go. Select the Menu you want and choose the Button you want to land on in the list.

  • Module pool fields enable

    hi abapers,
    I developing a screen.
    am using this screen to insert header and item tables to database.
    in the initial display am making all fields in disable mode in PBO.
    so wen i click on update or display i hav to enable some key fields.
    am making enabling the particular fields in PAI but its showing in disable mode.
    even when i click 'ADD LINE' button i have to make multiple entries to my line item table based on my header table.entries.
    <<inapproprate text removed by moderator>>
    Thanks & Regards,
    Rajesh
    Edited by: Matt on Nov 5, 2008 1:19 PM

    use flag...
    declare variable flag1 ,flag2,flag3, flag4 type c....
    in pai...
    when push1.
       flag1 = 1...
    when push 2.
      flag2 = 1.
    etc......
    in pbo....
    if flag1 = 1.
    loop at screen.
    endloop.
    endif.
    if flag2 = 1.
    loop at screen.
    endloop.
    endif.
    etc....

  • How can I disable the previous button in the first page and the next button in the last page?

    Hi all,
    I have created a new skin for a webhelp by modifying the layout and the buttons. However, I am not able to find a way where in we can
    disable the previous button ini the first page of the webhelp and hte the next page in the last page of the webhelp. If both the next and previous button is visibile in the first and last page, it is sort of misguiding the user.
    I am using Robohelp 9.
    Please advice.
    Thanks,
    Parag

    I think you are mixing Previous and Next in a browse sequence and the Previous and Next that you get in the browser itself.
    In a browse sequence, they are automatically disabled at the start and finish. When in the first topic in the sequence only Next will be enabled, when in the last topic only previous will be enabled.
    Previous and Next in the browser are working on the topics your user has viewed which is not the same thing.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Firefox can't find the file at (a location is specified) when either "Navigate previous" (and next) buttons are pressed in an HTML5 skin (but OK in IE/Chrome).

    I create HTML5 help projects from a package called MadCap Flare. It uses what they call an HTML5 'skin' that sets the style/layout of the page and also includes 'Navigate previous' and 'Navigate next' buttons. When viewing the help and pressing these navigate buttons in IE8 or Chrome 32 there is no problem, but in Firefox 27 I get the following: (typical error for pressing a button on any page)
    "File not found"
    "Firefox can't find the file at /C:/SVN/FlareEnglishOnLineHelp/Output/HTML5_Help_Modeller_Reference/4attrib/idh_jointinterface_element_meshes.htm?TocPath=Modeller Reference Manual|Chapter 5 : Model Attributes|Meshing|_____2."
    " Check the file name for capitalisation or other typing errors."
    " Check to see if the file was moved, renamed or deleted."
    - Because the files and buttons work in other browsers I'm wondering just what is going on here with Firefox>>>>

    I should correct that last entry and state that the | charactacters are generated automatically in the Toc-Path for each 'book' name in the online help, and are not something manually created, whereas the : characters have come from the TOC book topic names (which were manually entered names and are what we would ideally require). But, because 'previous' and 'next' topics within nested TOC books without colon (:) characters CAN be browsed successfully when just | characters are present in the Toc-Path, the limitation would appear to be solely due to the : characters.

  • Problem with Back and Next Buttons: a solution?

    Hello,
    It is well known that including the Back and/or Next buttons in Captivate quiz questions presents real problems. I have come up with what I think to be a solution. It should allow one to include both Back and Next buttons, if one wants to do this. It involves doing the following:
    With Question 1, do not include a Back button. (This is so that the quiz-taker cannot get out of the quiz scope in the forward direction.)
    Create this advanced action: If cpQuizInfoTotalUnansweredQuestions = 0, then Go To The Next Slide (i.e. the results slide); Else Continue.
    Insert a slide after the final question (and before the results slide). On this slide, include the following:
    A message to this effect: ‘You have not answered all of the questions. Please go back and complete all of them.’
    A button labeled ‘Return to Questions’ (on success: Jump to slide with Question 1). But include no other buttons. That is, if the quiz-takers lands up on this slide, he or she has only this option.
    On Enter (i.e. on entering the slide being described here), Execute Advanced Action =  the advanced action described in Item 2 above.
    Now for something odd. Before the slide described in Item 3, insert a slide with a Text Caption with variable $$cpQuizInfoTotalUnansweredQuestions$$. Keep the slide as brief as possible (something like 0.5 sec.) and make the text of the Text Caption invisible. And why all this? Because I found that, without it, problems arose quite regularly. If one or more questions were not answered, the quiz-taker would come, as expected, to the slide described in Item 3 above. The quiz-taker would then go back to complete the unanswered questions. But then—sometimes—the Item 3 slide would still appear, even though all the questions were answered! The quiz-taker would return once again to the questions (since this is the only option available), only to find that now none of the questions were answered! And at this point, there was no escape: the Item 3 slide would always appear no matter what one did. Why should inserting the additional slide described in the present item solve the problem? I don’t know. All I can say is that (1) without it, the problem arises often (though not always), and (2) with it, the problem hasn’t occurred yet, even though I’ve done lots of testing.
    Final note. It will be clear that this solution is meant to be used together with the option Allow Backward Movement. Will the solution work with Branch Aware? I don’t know yet. Will it work with Question Pools? Again, I don’t know yet. I’ve only done a bit of testing in both cases. The results thus far indicate that at least one of these options presents real problems. Both might.
    I’m still testing this solution (or what I hope is a solution). If anyone else wants to try it, I’d be interested in hearing how it goes.
    Best regards,
    Marvin DuBois

    Dear Lilybiri,
    Thank you for your response.
    1. 'I don't get it why you don't use the Submit All option?'
    Submit All is fine in some cases. But it limits the options: the quiz-taker does not get immediate (question-by-question) feedback. So where immediate feedback is wanted, the Submit All option presents problems.
    2. "Why do you need a Back button . . . ?'
    a. The Back button is needed during Review. Otherwise, the quiz-taker can only review in one direction.
    b. In some quizzes, the quiz-taker should be free to go back, whether to check earlier question slides (since the questions and/or responses can be relevant for the current question) or to re-read/re-hear information slides inserted between question slides.
    But the more general issue is this. The Cp Back and Next buttons provide us with possibilities, with further options. Workarounds are available, such as not allowing backward movement and placing a Clear button over Next. But these workarounds limit the possiblities, i.e. the possibilities that are there—i.e. that Adobe puts there. It's not that we always need these possibliities. But neither should we be hindered from using them if we so choose—and especially when we would be hindered simply because Cp doesn't work as well as it should.
    Kind regards,
    Marvin

  • Re Module pool Adding time

    Hi
    friends .. i had 2 screen in my module pool one for header and then for
    details.
    In detail screen there is from time and to time etc columns.
    i want went user press enter ot click on insert button the next record
    in that screen should be appear with totime in the column of from time.
    for ex.
    fromtime .   totime
    00.01.00     21.00.00
    the nextline should be
    21.01.00      -
    in next line of totime user will enter .
    can anybody tell me the logic for it .
    answers will be rewarded points.

    Hi,
    Here is a sample code.
    * program
    REPORT  z_tab_control.
    DATA: BEGIN OF itab OCCURS 0,
           frtime LIKE sy-uzeit,
           totime LIKE sy-uzeit,
          END OF itab.
    DATA: okcode(20).
    CONTROLS: tab1 TYPE TABLEVIEW USING SCREEN 9500.
    DATA: IND TYPE I.
    CALL SCREEN 9500.
    *&      Module  USER_COMMAND_9500  INPUT
    *       text
    MODULE user_command_9500 INPUT.
      CASE okcode.
        WHEN 'BACK'.
          SET SCREEN 0.
          LEAVE SCREEN.
        WHEN 'ADD'.
    * add a new line.
          CLEAR: itab.
          DESCRIBE TABLE ITAB LINES IND.
          READ TABLE ITAB INDEX IND.
          IF SY-SUBRC = 0.
            ITAB-FRTIME = ITAB-TOTIME + 60.
            CLEAR: ITAB-TOTIME.
          ENDIF.
          APPEND itab.
      ENDCASE.
      CLEAR: OKCODE.
    ENDMODULE.                 " USER_COMMAND_9500  INPUT
    *&      Module  MODIF  INPUT
    *       text
    MODULE modif INPUT.
      MODIFY itab INDEX tab1-current_line.
    ENDMODULE.                 " MODIF  INPUT
    *&      Module  STATUS_9500  OUTPUT
    *       text
    MODULE status_9500 OUTPUT.
      DESCRIBE TABLE itab LINES tab1-lines.
      IF itab[] IS INITIAL.
        tab1-lines = -1.
      ENDIF.
    ENDMODULE.                 " STATUS_9500  OUTPUT
    Flow logic of screen 9500.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_9500.
    loop at itab with control tab1.
    endloop.
    PROCESS AFTER INPUT.
    loop at itab.
      MODULE MODIF.
    endloop.
    MODULE USER_COMMAND_9500.
    Hope this would help you.
    Thanks and regards,
    S. Chandra Mouli.

  • Module pool screen element not shown

    Hi,
    I have a module pool with table control.
    I have added a new field to the internal table and included it in layout-checked properties and it is active/shown in output and input enabled
    Also, when I checked in PBO debugging, loop at screen, when the screen element is this field, active/input/output = 1
    I have activated the program/generated it/logged off from system and logged in again (to take care of refreshing the screen)
    The internal table has values for this field.
    When I execute the screen directly instead of module pool program, field is shown in table control
    But when I execute the module pool program, this field and heading are not shown in table control but empty space allocated for this field is shown.
    May I know how can I resolve this.
    Thanks!

    Hi Vasu,
    Go through this [Sample|http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dbac5e35c111d1829f0000e829fbfe/content.htm].
    Regards,
    Maruthi

  • Testing a Module Pool

    Good Morning,
    I need to test a Module Pool but i can't. I receive a system message saying that the object cannot be executed.
    Best Regards,
    Pedro Gaspar

    Although i've activated everything and created a transaction, the program returns a ABAP Dump "SUBMIT_WRONG_TYPE".
    Also when i try to execute the transaction i receive the following message:
    "Screen 0001 of program <my program> is not a selection screen".
    This is strange, i've created Module Pools in the past and can run them directly in se80...
    Also i've compared my initial (and only) screen with other initial screens in module pool programs and i can't find any diference...
    Regards,
    Pedro Gaspar

  • Can we submit the module pool code in background as a job.

    Hi All,
    Is there any possiblity that, we can capture the module pool program screen element, and run the process in background as a job using the same logic as module pool program.
    In other words, can we have any feasible solution to have push button on the transaction screen of a module pool  program, after clicking which, it will capture all the screen elements of module pool program and using the same logic of module pool program it will submit a job in background and process the data.
    Any hep will be appreciated.
    Thanks in adv.
    Regard,
    Vivek.

    Hi Prasenjit,
    Thanks for your reply.
    My question is, can we use "SUBMIT" statement in module pool program so as it will submit job in backgroung.
    The same logic of module pool we will write in executable statement and submit in background using SUBMIT. will this thing is feasible. I am trying the same. Anyways thanks.
    Regards,
    Vivek

  • Screen Programming(Module Pool ) using Abap Objects

    Hi gurus.,
    I need to create a module pool program with tabstrips and tablecontrols using Abap objects...plz guide me how i can achieve this... i am very much confused.. i dont know how and where to start .. plz send me documents and sample codes related to this topic..Also hoe i can implement f4 help in screen fields..
    Regards.,
    S.Sivakumar

    Hi Sivakumar,
    Go through the following links:
    [url]http://www.savefile.com/download/156691?PHPSESSID=c49d6bed6630d830f3270f7eab51e547 [url]
    [url]http://www.sapdb.info/category/sap-ebooks[url]
    [url]http://sap.niraj.tripod.com/id25.html[url]
    [url]http://abaplovers.blogspot.com/2008/03/sap-abap-tutorial-module-pool_17.html[url]
    Thank you,
    Prasad G.V.K
    Edited by: Craig Cmehil on Jul 1, 2008 9:48 PM

Maybe you are looking for

  • My iphoto'09 is not working, version 8.2.1 (424). Any suggestions?

    Message is: Your photo library is either in use by another application or has become unreadable Shut down and restart your computer, and then open iPhoto again. If the problem persists, try rebuilding your photo library. To do this, quit iPhoto, and

  • Camera not working with Facetime under iOS7

    Hello, My front camera doesn't work since upgrading my iPhone 4S to iOS7.  The image is not clear (I just see my shadow) It was working perfectly under iOS 6.1.4 The front camera is working with other apps like Skype and I can take picture with Camer

  • Process template

    How to create process template in E-Recruiting??

  • Need to refresh the data

    Hi I am using Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production I need to refresh the data in test box with the production database. I dont have the dblink. Please advise me the fastest method to refresh the data in test server. Regards, Rav

  • MAC reboots when I try to back up to TM after upgrading to OS 10.8.

    I am trying to back up to TM after upgrading to OS 10.8.  I managed to do a full back up once but now every time i try to back up the MAC reboots.  This is the 4th time today.