How can we place a F4 help in a parameter in selection screen

Hi,
How can we place a F4 help in a parameter in selection screen. Can we do add a  Process 0n Value request similar to a module pool prg in stadard report program.
saji

Hello Saji,
Try below attached report.
Regards,
Naimesh.
Reward, if it is useful..!
REPORT ZTEST_NP_1.
DATA: HELPVAL1 LIKE HELP_VALUE OCCURS 0 WITH HEADER LINE .
DATA: VALUE_TAB     LIKE PDTASK-OTEXT OCCURS 2 WITH HEADER LINE.
DATA: VALUE         LIKE FEBMKA-BANKN,
      GIVEN_VALUE   LIKE HELP_INFO-FLDVALUE.
DATA: IT_T005T LIKE T005T OCCURS 0 WITH HEADER LINE,
      IT_T002T LIKE T002T OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN: BEGIN OF BLOCK BLK1 WITH FRAME TITLE ABC.
PARAMETERS:       P_SPRAS  LIKE  T002T-SPRAS,
                  P_LAND1  LIKE  T005T-LAND1.
SELECTION-SCREEN: END   OF BLOCK BLK1.
INITIALIZATION.
  ABC = 'Selection Criteria:'.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_LAND1.
  PERFORM VALUE_REQUEST_LAND1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_SPRAS.
  PERFORM VALUE_REQUEST_SPRAS.
*&      Form  VALUE_REQUEST_land1
FORM VALUE_REQUEST_LAND1.
*---- Reading the Screen values.
  DATA: LT_DYNPFIELDS LIKE DYNPREAD OCCURS 0 WITH HEADER LINE,
        LV_DYNAME     LIKE D020S-PROG,
        LV_DYNUMB     LIKE D020S-DNUM.
*-------Append field which you want to read from the screen
  LV_DYNAME = SY-REPID.
  LV_DYNUMB = SY-DYNNR.
  LT_DYNPFIELDS-FIELDNAME = 'P_SPRAS'.
  APPEND LT_DYNPFIELDS.
  CALL FUNCTION 'DYNP_VALUES_READ'
       EXPORTING
            DYNAME     = LV_DYNAME
            DYNUMB     = LV_DYNUMB
       TABLES
            DYNPFIELDS = LT_DYNPFIELDS.
  SELECT * FROM T005T
         INTO  TABLE IT_T005T
         WHERE SPRAS = P_SPRAS.
    REFRESH: HELPVAL1, VALUE_TAB.
    CLEAR:   HELPVAL1, VALUE_TAB, GIVEN_VALUE, VALUE.
*---- Append field name for the columns in the help popup
    HELPVAL1-TABNAME    = 'T005T' .
    HELPVAL1-FIELDNAME  = 'LAND1' .
    HELPVAL1-SELECTFLAG = 'X' . " will return the value on the screen
    APPEND HELPVAL1 .
    CLEAR  HELPVAL1 .
    HELPVAL1-TABNAME    = 'T005T' .
    HELPVAL1-FIELDNAME  = 'LANDX' .
    HELPVAL1-SELECTFLAG = ' ' .
    APPEND HELPVAL1 .
    CLEAR  HELPVAL1 .
    LOOP AT IT_T005T.
      VALUE_TAB = IT_T005T-LAND1.
      APPEND VALUE_TAB.
      VALUE_TAB = IT_T005T-LANDX.
      APPEND VALUE_TAB.
    ENDLOOP.
    GIVEN_VALUE    = P_LAND1.
    CALL FUNCTION 'HELP_VALUES_GET_WITH_VALUE'
       EXPORTING
            DISPLAY      = SPACE
            GIVEN_VALUE  = GIVEN_VALUE
       IMPORTING
            SELECT_VALUE = VALUE
       TABLES
            FIELDS       = HELPVAL1
            VALUETAB     = VALUE_TAB.
    IF NOT VALUE IS INITIAL.
      P_LAND1 = VALUE. " Assing value to the parameter
    ENDIF.
ENDFORM.                    " VALUE_REQUEST_land1
*&      Form  VALUE_REQUEST_SPRAS
FORM VALUE_REQUEST_SPRAS.
  REFRESH: HELPVAL1, VALUE_TAB.
  CLEAR:   HELPVAL1, VALUE_TAB, GIVEN_VALUE, VALUE.
  HELPVAL1-TABNAME    = 'T002T' .
  HELPVAL1-FIELDNAME  = 'SPRSL' .
  HELPVAL1-SELECTFLAG = 'X' .
  APPEND HELPVAL1 .
  CLEAR  HELPVAL1 .
  HELPVAL1-TABNAME    = 'T002T' .
  HELPVAL1-FIELDNAME  = 'SPTXT' .
  HELPVAL1-SELECTFLAG = ' ' .
  APPEND HELPVAL1 .
  CLEAR  HELPVAL1 .
  SELECT * FROM T002T
         INTO   TABLE IT_T002T
         WHERE  SPRAS = SY-LANGU.
  LOOP AT IT_T002T.
    VALUE_TAB = IT_T002T-SPRSL.
    APPEND VALUE_TAB.
    VALUE_TAB = IT_T002T-SPTXT.
    APPEND VALUE_TAB.
  ENDLOOP.
  GIVEN_VALUE    = P_SPRAS.
  CALL FUNCTION 'HELP_VALUES_GET_WITH_VALUE'
       EXPORTING
          DISPLAY      = SPACE
          GIVEN_VALUE  = GIVEN_VALUE
       IMPORTING
          SELECT_VALUE = VALUE
       TABLES
          FIELDS       = HELPVAL1
          VALUETAB     = VALUE_TAB.
  IF NOT VALUE IS INITIAL.
    P_SPRAS = VALUE.
  ENDIF.
ENDFORM.                    " VALUE_REQUEST_SPRAS

Similar Messages

  • HOW CAN I PLACE 2 PUSHBUTTONS SIDE BY SIDE ON THE SELECTION-SCREEN?

    i want to place 2 buttons but using my code, the other goes below the first. Can anyone help me?

    hi,
    write as below
    selection-screen: pushbutton 10(30) text-003 user-command
                                                    clk1 modif id sg1,
                       pushbutton 50(50) text-004 user-command clk1
    the push buttons appear in the same line.
    reward if useful,
    thanks and regards
    Edited by: hema bobbili on May 23, 2008 6:58 AM

  • How to add f4 help for a parameter in selection screen (Report)

    hai friends
           I am hving a pblm regarding the F4 help in selection screen for a parameter field ,currenly this parameter field is for personnel number , now in f4 help all the personnel numbers r listing ,i need to include the name of the corresponding personnel numbers along with it ,how do i do that .please give me a help.
    thankyou

    Hai
    you first extract personal number and name into one internal table say itab.
    THEN CALL THE FM.
    AT SELECTION-SCREEN ON VALUE REQUEST FOR P_PARAMETER.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD     =  P_PARAMETER
           DYNPPROG     = SY-REPID
          DYNPNR       = SY-DYNNR
          VALUE_ORG    = 'S'
          WINDOW_TITLE = 'Open Quantity'
        TABLES
          VALUE_TAB    = ITAB.

  • A previous and unrelated text always appears when I need to send a new text. This prevents forwarding texts also, which I need to do all the time for my business. How can I fix? Please help!

    A previous and unrelated text always appears when I need to send a new text. This prevens forwarding texts also, which I need to do all the time for my businss. How can I fix? Please help?

    Hi,
    This sounds like it is about Window positions.
    iChat has Default places for Incoming Invites.
    Video is always top Center of your Screen
    Audio and Text chats are Upper right with the Audio slightly lower than Text Chats.
    Secondary invites are sort of Stacked like when you open multiple files from the same App.
    Your outgoing Windows are "Remembered" as to where the last one was when you used it.
    This can be an issue if you use your Mac with a second display and turn Off Mirroring.
    You windows can get "left" on the other screen.
    Go to System Preferences > Displays and turn On Mirroring and the windows should come back to one Screen/display.
    If this does not help go to your Home Folder/Library/Preferences and delete (Drag to Trash) com.apple.ichat.plist and restart iChat.
    Unfortunately you will need to reset any iChat Preferences you have changed from defaults.
    10:42 PM      Tuesday; April 26, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
    , Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How can I place MediaPlayer in PDF?

    Help me please!
    How can I place Windows Media Player in my PDF?

    Bernd Alheit wrote:
    How can I place Windows Media Player in my PDF?
    Why want you the media player in a pdf file?
    e.g. pushing Mozart - button to listen to Mozart's music. But it must be a script not embedded player. Is it possible?

  • What are the tools to create a digital magazine for ipad version and how can be place it in newsstand?

    Hello..
    "what are the tools to create a digital magazine for ipad version and how can be place it in newsstand?"
    I am very tired after done a week of R&D on this issue..
    But i doesn't get any fair solution for this one..
    I hope this is best option to place my issue here to get quick solution..
    Thanks and Regards..

    We are all users here.
    There is no one here from Apple.
    In order for you to develop and distribute content for the iPad, you need to become an apps developer.
    Not sure where you sign up for this or who you have to call.
    There should be a place on Apple's site that refers to a section of the site if you want to be an Apple iOS content developer.
    It cost, I believe $99 U.S. to become an Apple apps developer. You'll agree to Apple's Non-disclosure rules.  You'll receive Apple's app/software developers kit,and access to Apple's app developer site.
    No one here is going to be able to help you.
    Good Luck.

  • How can I place photo icons on top of folders?

    I put 4 folders in my dock. I need to ID them with photo - icons.
    1) How can I place photo icons on top of 3 folders, so that they also retain
    their folder shape?
    2) And, to make one of them look like a folder that has text?
    Intel Mac - Dual - Tiger 10.4.9
    Thank you.

    It sounds like what you actually need to do is amend the icon itself - something like Iconographer will help you with that. Open the icon of any standard folder, copy in your photo image, amend the result to your satisfaction, and save it as a new icon. Then apply that icon to your folder.
    Matt

  • How can i place face on another persons body for passport size.

    i have a computer shop but i recently started business of photography. And i want to learn about photoshop by myself. Please help me how can i place face of one person over an other body with blue background.

    Photoshop/Elements: How do I remove a background from an image or merge images?

  • Apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    Thanks Barney, I tried that but all that comes up in Spotlight are the log files that show the file paths! I don't know how Steam works. Are all the files held by Steam on their server perhaps?

  • How can we place a push button in ALV  report

    hi
    could anybody inform me
    how can we place a push button in ALV  report
    thanx
    regards
    kals.

    Hi kals.
    please have a look at demoprogram
    SALV_DEMO_TABLE_FUNCTIONS
    BCALV_GRID_05
    Regards
    Bernd

  • My speaker is not working properly in 4s if i use headphone its working now my volume increase decrease button is also not working properly how can i solve it pl help me my warranty finished

    my speaker is not working properly in 4s if i use headphone its working now my volume increase decrease button is also not working properly how can i solve it pl help me my warranty finished

    Hello. I sent my WRT1900AC V1 to Linksys four days ago (Monday) via UPS with a RMA. Linksys paid the shipping and everything. The router is still in route, and it should arrive to their offices tomorrow. Once they receive the WRT1900 AC V1, they are going to send me an EA8500 as a replacement. But I have been reading the comments about the EA8500 here in the forum and it seems to have the same problems. I guess the firmware is extremely flawed in both routers (maybe it is almost the same code?). Anyway, I will try the EA8500 and I hope it works. I bought a temporary router from Walmart and I paid $35 for it. It is a Belink N600 DB. I can't believe that a $35 router is working a lot, lot, lot better than my previous $250 WRT1900AC router. Unbelievable. If the EA8500 doesn't work, I'm going to try and get my money back from Linksys, or contact The Consumerist or someone to get my money back and get a Nighthawk instead.

  • How can I place calendars in multiple calendar groups?

    I would like to use a group for each of my family members but reference some of the same calendars from multiple calendar groups. Here is an example:
    Lets say I have a calendar for school, sport1, sport2, activity, family, and work
    I would like the groups to look like this:
    Me: family and work
    Wife: activity and family
    Son_1: school, sport1 and family
    Son_2: school, sport2 and family
    When a group is visible, that person can see the activities in which they participate. When several groups are visible, though, only single copies of shared events would appear and shared events would only have to be entered once.
    Is there a way to do this or do I need to place this on the feedback page?

    Bernd Alheit wrote:
    How can I place Windows Media Player in my PDF?
    Why want you the media player in a pdf file?
    e.g. pushing Mozart - button to listen to Mozart's music. But it must be a script not embedded player. Is it possible?

  • My computer crashed so i had to reformat, but the only problem is i lost my old itunes account, had to download new version. Now i have an ipod full of music but how can i place all my music I have on the ipod into my new itunes account??

    my computer crashed so i had to reformat, but the only problem is i lost my old itunes account, had to download new version. Now i have an ipod full of music but how can i place all my music I have on the ipod into my new itunes account??

    Not if you first do a sync and have iTunes make a backup. However, if your only copy of the iTunes data is in the Touch, then you need to first copy the data to a new iTunes Library using third-party software such as Phone To Mac.

  • I forgot my icloud account and my email how can i recover it please help me icloud maker and icloud password and username holder

    i forgot my icloud account and my email how can i recover it please help me icloud maker and icloud password and username holder

    If you don't know your ID, you can try to find it as explained here: http://support.apple.com/kb/HT5625.  Then you can reset the password as explained here: http://support.apple.com/kb/PH2617.  Of course, you can only do this if it's your ID.

  • Hello! I was on my Mac and then I clicked on iTunes. Then I clicked on iTunes, and accidentally removed my device from my Mac, how can I get it back? Also when I plug my iPod into the computer, it downloads everything, how can I stop this. please help!thx

    Hello! I was on my Mac and then I clicked on iTunes. Then I clicked on Account, and accidentally removed my device from my Mac, how can I get it back? Also when I plug my iPod into the computer, it downloads everything that is on my computer, how can I stop this. please help! please help!!!!!!thank you

    Is the iPod still singed into the account isn Settings>iTunes and App Stores and SettingsZ>iCloudl? If it is then I would not be concerned.
    Also see:
    iTunes Store: Associating a device or computer to your Apple ID
    since you may have started the 90 day window.
    For the other "problem", go to iTunes>Preferences>Devices and check the box that says Prevent iPod....automatically syncing.

Maybe you are looking for

  • Table in the footer

    Hello, I am new to BI Publisher, in fact I am working on my first report. I have the following problem: I use MS Word 2007 to build the rtf template. As you know Word doesn't allow fields to be inserted in the header and footer section of the page. S

  • Slow receipt of e mail

    My e mail does not show up on my Galaxy lll until hours after it is actually received in my e mail account (on my computer etc).  Is there a setting adjustment I need to make so that I receive them in real time.  Text messages work fine in real time.

  • How to use Filters in FileDialog class

    Hi! I want to get the open dialog of FileDialog window with filters eg, *.java. Could any one help me out to get the solution.... Regards Shan [email protected]

  • PP crashes immediately when trying to move a clip to the time line

    I am a fairly new user, so this problem may be mine! I can import a clip to PP but the program crashes as soon as I try to move it to the timeline. This happens randomly. The movie I was working on and importing to last week is now causing crashes an

  • How to view folder and application in Icon view in 10.10 the new OS X ?

    I recently update to Yosemite from that time i am not able to view my folders or applications in ICON view but i am able to view them in LIST,COLUMNS, and COVER view. So what do I do to view them in ICON view. The options are also displayed on the to