Not able to hide all fields on PNP selection screen.

Dear Freinds,
           i wanted to hide all the field which are given on PNP selection screen, with the help of the
report category i have hided all the field including the Person selection period  as i require only the
Data selection period.  further through coding as below iam able to remove all the  radio buttons
Today, Current month,Current year, from today, upto today,Other Period . But i am getting spaces above  period (PNPBEGDA and PNPENDA)  .  i.e in the frame Period i have spaces being left due to
the radio buttons being Hidden . Could any one let me know how to remove the spaces so that
Period range will set exactly in the frame.
  LOOP AT SCREEN.
    IF screen-name = 'PNPTIMR4' .
      screen-input = '0'.
      screen-invisible = '1'.
    ENDIF.
    IF screen-name = 'PNPTIMR2 .
      screen-input = '0'.
      screen-invisible = '1'.
    ENDIF
    IF screen-group4 = '090' .
      screen-input = '0'.
      screen-invisible = '1'.
    ENDIF.
    IF screen-name = 'PNPTIMR1' .
      screen-input = '0'.
      screen-invisible = '1'.
    ENDIF.
    IF screen-group4 = '092' .
      screen-input = '0'.
      screen-invisible = '1'.
    ENDIF.
    IF screen-group4 = '094' .
      screen-input = '0'.
      screen-invisible = '1'.
    ENDIF.
    IF screen-group4 = '100' .
      screen-input = '0'.
      screen-invisible = '1'.
    ENDIF.
    MODIFY SCREEN.
  ENDLOOP
Please could any one let me know how can i push up the Period date (PNPBEGDA and PNPENDDA)
so that i will not have any blank space left out in the frame(Period) .
Thanks & Regards
Divya.
Edited by: Divya Kumari on Jan 4, 2009 1:53 PM

hi, sorry i think i misunderstand you question,
if i can understand it right now? the following code can help you i am using "PNP" Screen no '900'.
tables:pc207, hrp1000,pernr, pyorgscreen.
infotypes: 0001.          "Organizational Assignments
nodes: payroll type pay99_result.
at selection-screen output.
  loop at screen.
    if ( screen-group1 = 'RES' or screen-group1 = 'YB1' or
         screen-group1 = 'YB2' or screen-group1 = 'YB3'  ).
      screen-active = '0'.
      screen-invisible = '1'.
      modify screen.
    endif.
  endloop.
try the following too,
TABLES:pc207, hrp1000,pernr, pyorgscreen.
INFOTYPES: 0001.          "Organizational Assignments
NODES: payroll TYPE pay99_result.
AT SELECTION-SCREEN OUTPUT.
  BREAK-POINT.
  LOOP AT SCREEN.
    IF (
*       screen-name = '%BYB1005_BLOCK_1000'
       screen-name = '%FYTI007_1000'
     or  screen-name = '%FBIS010_1000'
     or  screen-name = 'PYVW0_0'
     or  screen-name = '%_PYPERNR_%_APP_%-TEXT'
     or  screen-name = 'PYPERNR-LOW'
     or  screen-name = '%_PYPERNR_%_APP_%-VALU_PUSH'
      screen-active = '0'.
      screen-invisible = '1'.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.
Replay if any problem,
Kind Regards,
Faisal
Edited by: Faisal Altaf on Jan 4, 2009 6:55 PM

Similar Messages

  • SQVI  - Not able to see all fields in a table.

    Hello all,
    I was not able to add few fields in a table into my report as I am not able to see those table fields in SQVI. For example T508A-RTEXT. Please let me know.

    Hi,
    As Tamas suggested, field RTEXT is actually a filed in text table T508S. You would have to join table T508S in your query.
    For more info on text-tables, please look the below link:
    [Text Tables|http://help.sap.com/saphelp_smehp1/helpdata/en/cf/21ea9e446011d189700000e8322d00/content.htm]
    Thanks.
    Ravi

  • Initialization for Date Fields on PNP Selection screen

    Hi All,
    I need to initialize the date on the LDB PNP selection screen to today.
    I gave the following code in the Initialization
    Set the Key Date to Today
      pnptimr1 = 'X'.
    but this doesn't get reflected on the selection screen.
    Please suggest.
    Thanks,
    Suryakiran D.

    Hi Suryakiran,
    1. Only as Default.
    2. Use this.
    DATA : firstover TYPE c.
    AT SELECTION-SCREEN OUTPUT.
      IF firstover = ''.
        firstover  ='X'.
        pnptimr6 = ''.
        pnptimr1 = 'X'.
      ENDIF.
    regards,
    amit m.

  • How to hide the fields in the selection screen

    hi please let me know how to keep hide the fileds in the selection screen  i.e in display mode, for the condition

    Hi Sudhir,
    Check the below code.
    tables: pa0000, pa0001.
    parameters: p_chk1 as checkbox user-command rusr,
    p_chk2 as checkbox user-command rusr,
    p_chk3 as checkbox user-command rusr,
    p_chk4 as checkbox user-command rusr,
    p_chk5 as checkbox user-command rusr.
    selection-screen: begin of block blk1 with frame.
    select-options: s_pernr for pa0000-pernr modif id ABC,
    s_stat2 for pa0000-stat2 modif id DEF,
    s_werks for pa0001-werks modif id GHI,
    s_persg for pa0001-persg modif id JKL,
    s_persk for pa0001-persk modif id MNO.
    selection-screen: end of block blk1.
    AT SELECTION-SCREEN output.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = 'ABC'.
    IF p_chk1 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'DEF'.
    IF p_chk2 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'GHI'.
    IF p_chk3 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'JKL'.
    IF p_chk4 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'MNO'.
    IF p_chk5 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    *Note
    *Titles for check boxes and select options
    *P_CHK1 Personal Number
    *P_CHK2 Employment Status
    *P_CHK3 Personnel Area
    *P_CHK4 Employee Group
    *P_CHK5 Employee Sub group
    *S_PERNR Personal Number
    *S_PERSG Employee Group
    *S_PERSK Employee Sub group
    *S_STAT2 Employment Status
    *S_WERKS Personnel Area

  • How to put a table's all fields on a selection screen?

    Hi, I am new here. I am currently create a report in which I need to put a transparent table's all fields on selection screen. Please give me hints about it. Thank you very much in advance.
    Tom

    Hi,
      Use parameter or select-options for all the fields in the transparent table..I am not sure if there is any dynamic way of creating the parameters..
      Otherwise you can create a dynamic report..
    Check this example for dynamic report..
    DATA: p_temp(30) TYPE c DEFAULT 'ZTEST_REPORT'.
    TYPES: BEGIN OF t_abapcode occurs 0,
    row(72) TYPE c,
    END OF t_abapcod.
    T_ABAPCODE-ROW = 'REPORT ZTEST_REPORT.'.
    APPEND T_ABAPCODE.
    T_ABAPCODE-ROW = 'PARAMETERS: P_MATNR LIKE MARA-MATNR.'.
    APPEND T_ABAPCODE.
    T_ABAPCODE-ROW = 'WRITE: / P_MATNR. '.
    APPEND T_ABAPCODE.
    INSERT REPORT p_temp FROM it_abapcode.
    SUBMIT (p_temp) AND RETURN.
    Thanks,
    Naren

  • How to hide  some fields in default selection screen in hr abap

    Hi experts,
    I have created default selection screen,in that in the Period option I wants display only 'Today'.
    And in the selection criteria i wants to display personnel number,companycode,personnelsubarea,employee status and instead of payroll area i wants to display 'Org unit'.please tell me step by step procedure,that could be greate helpfull.
    Thanks in advance,
    mohan

    use this logic to display only today in the period option
    **Local constants
       CONSTANTS:
              c_0                   VALUE  '0'  ,
              c_089     TYPE char3  VALUE  '089',
              c_091     TYPE char3  VALUE  '091',
              c_095     TYPE char3  VALUE  '095',
              c_097     TYPE char3  VALUE  '097'.
                     At Selection Screen
    at selection-screen output.
    LOOP AT screen.
          IF
               screen-group4 = c_089 OR
               screen-group4 = c_091 OR
               screen-group4 = c_095 OR
               screen-group4 = c_097  .
          screen-active = c_0.
          MODIFY SCREEN.
         ENDIF.
      ENDLOOP.

  • Can we modify the pnp selection screen and get only month and year?

    Dear Freinds,
                  I have requirement where i have to modify the PNP selection screen. So with the help of report category and coding in AT SELECTION-SCREEN OUTPUT  , i have modified all the fields relating to dates . i.e i have removed all the radio buttons (i.e Today, Current month,current year etc) and finally
    i have landed with only Period ( PNPBEGDA & PNPENDDA range) . But i dont want the PNPBEGDA & PNPENDDA range , but i want only is the month and year ( i.e just like the PNPPABRP & PNPPABRJ)
    on my selection screen along with the pernr .
    i have used the below code to close all the fields except pnpbegda and pnpendda.
    AT Selection-Screen output.
    loop at screen.
      IF screen-group4 = '098' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '092' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '094' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '100' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '104' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        MODIFY SCREEN.
    endloop.
    i.e on my selection screen i want only  month & year combination and pernr -
    when iam using the logical database PNP . Could any one please let me know how can i get only mon & year only on my selection screen .
    If it is possible please let me know .
    Thanks & regards
    divya.

    Hi ,
       The requirement is that the user doesnt want to enter the date range i.e for ex:  01012008 to 31012008.
    As per the requirement the user will enter only the month and year only . so i on the selection screen
    i want only the month and year only . Is there any means i can modify the date period which is there by
    default (PNPbegda and PNPendda) on PNP selection screen. Instead of we givign to the user the
    PNPBEGDA and PNPPENDA i want is only month and year .
    AS already the code has already been written and now they have asked that they want only the month and year on the selection screen.
    Please suggest me in this regard.If iam hiding all the buttons relating the dates fields, and now if iam adding the parameters for the month and year  it is coming below below the fields pernr , personnel ara and subara , company code , payroll area, employee group of the standard fields of PNP selection screen , there by any body could please suggest me how to change.
    regards
    divya.

  • Hiding and Unhiding Fields On The Selection Screen

    Hi Guys/Dolls
    I've managed to grey out and hide some fields on a selection screen within the AT SELECTION-SCREEN OUTPUT section but don't know how to re-instate them.
    basically on initial entry of the screen some fields are hidden but once I enter some pre-requisite data I need to display them but in a greyed out manner.
    I've done the first bit but don't know how to do the 2nd bit i.e re-display the fields.
    Any help would be appreciated.
    Many thanks in advance.
    Raj
    My code is as follows:-
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION POS_LOW.
    PARAMETERS: begcalsh LIKE t549q-begda MODIF ID pe4.
    SELECTION-SCREEN COMMENT (1) text-199 FOR FIELD endcalsh
    MODIF ID pe4.
    PARAMETERS: endcalsh LIKE t549q-endda MODIF ID pe4.
    SELECTION-SCREEN POSITION POS_HIGH.
    PARAMETERS: begrefsh LIKE t549q-begda MODIF ID pe5.
    SELECTION-SCREEN COMMENT (1) text-199 FOR FIELD endrefsh
    MODIF ID pe5.
    PARAMETERS: endrefsh LIKE t549q-endda MODIF ID pe5.
    SELECTION-SCREEN END OF LINE.
    AT SELECTION-SCREEN OUTPUT.
    * Grey out the parameters.
      PERFORM params_grey_in_out USING 'false' 'PE4'.
      PERFORM params_grey_in_out USING 'false' 'PE5'.
    * Hide the parameters.
      PERFORM params_show_hide USING 'false' 'PE4'.
      PERFORM params_show_hide USING 'false' 'PE5'.
    AT SELECTION-SCREEN.
      PERFORM params_show_hide USING 'true' 'PE4'.
      PERFORM params_show_hide USING 'true' 'PE5'.
    *&      Form  params_grey_in_out
    FORM params_grey_in_out USING value(iv_triggering_param)
                                     value(iv_screen_group).
    *this form activates fields with MODIF ID = IV_SCREEN_GROUP
    *if IV_TRIGGERING_PARAM eq TRUE and greys them out otherwise.
      DATA lx_input LIKE screen-input.
      IF iv_triggering_param EQ 'true'.
        lx_input = 1.
      ELSE.
        lx_input = 0.
      ENDIF.
      LOOP AT SCREEN.
        IF screen-group1 EQ iv_screen_group.
          screen-input = lx_input.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " params_grey_in_out
    *&      Form  params_show_hide
    FORM params_show_hide USING value(iv_triggering_param)
                                     value(iv_screen_group).
    *this form displays fields with MODIF ID = IV_SCREEN_GROUP
    *if IV_TRIGGERING_PARAM eq TRUE and hides them otherwise.
      DATA lx_active LIKE screen-active. "(1) type n.
      DATA lx_invisible LIKE screen-active. "(1) type n.
      IF iv_triggering_param EQ 'true'.
        lx_active = 1.
        lx_invisible = 0.
      ELSE.
        lx_active = 0.
        lx_invisible = 1.
      ENDIF.
      LOOP AT SCREEN.
        IF screen-group1 EQ iv_screen_group.
          screen-invisible = lx_invisible.
          screen-active = lx_active.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " params_show_hide

    hi u use this logic
       LOOP AT SCREEN.
          IF screen-group1 = 'GR3'.
            screen-active = 1.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF screen-group1 = 'GR2'.
            screen-invisible = 0.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.

  • Not able to download the field names in GUI_DOWNLOAD(very urgent)

    Hi All,
    I am downloading the file contents to the presentation server.i am able to get the file contents proeprly but not able to download the field names into text file.
    Can anybody please help me in this issue..? its very urgent. Valuable answers will be rewarded.
    CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = w_filename
          filetype                = 'DAT'
         write_field_seperator   = c_x
          col_select              = c_x
          COL_SELECT_MASK         = t_mask
        TABLES
          data_tab                = t_tab
          fieldnames              = t_colnames
        EXCEPTIONS
    Thanks & Regards,
    Satish.

    Hi,
    I have tried in both ways its not working.
    while a ran the program it is going to the dump.
    I am working in mySAP ECC6.0
    Can pl you suggest other way..
    Thanks & Regards,
    Satish.

  • Older version of graphical modeller is displayed ;Not able to view all customers

    Hi Folks,
    Currently I am trying to perform segmentation in web ui screen(SAP CRM 7.0 EHP3). Whenever I click on Graphical modeller I get the following Java error.
    Java version currently being used is 1.6.0_06
    Java Plug-in 1.6.0_06
    Using JRE version 1.6.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\jayalakshmii
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    p:   reload proxy configuration
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    and after that an older version of segmentation appears as below:
    I am not able to see "All customers" in the staging area of graphical modeller.I posted a question about this earlier but could not get any reply till now.Please reply and help me in resolving this.Any help is highly appreciated.
    Regards
    Jaya

    Atul --
    What do you see? Are there any error message, either when executing the script, or when opening/browsing the connection?
    (Please contact me directly at [email protected] or repost this on the JDev forum, as the JDeveloper team doesn't monitor this forum).
    -- Brian (JDev Team)

  • FBL3N  Report  -not able to get all the transaction code details

    Hello,
    when FBL3N report  ran for one the expenses account (time paid off  - project charges account) , only few  line items are displaying  the transaction code like CJ88 and CJ8G.
    can you please tell me why all the line items are not showing the transactions codes and is there any know situation when the T- codes are not displayed.
    What I need to do, to get all the T- codes in the report ?
    I really appreciate your help.
    Regards
    Radha

    I know it is a line item report and I was expecting to see the transaction code details in the report for every line item. But in I'm not able to see all  T- codes for all the line items
    Thanks
    Radha

  • Not able to download all of my music onto my ipod 5 after 8.2 update

    After updating my 5th gen ipod touch to 8.2 software I am not able to download all of my music from my itunes library.
    I have updated the software twice now and have restored and gone back to factory settings and have started over from scratch.
    Before doing this my ipod wouldn't download any music. After doing this, it has downloaded some but not all music.
    For instance, out of 100 songs on a playlist, only 90 will download. My apps and photos seem okey, just not the music.

    Dotted circles next to songs, won't...: Apple Support Communities
    What does the gray dotted circle in...: Apple Support Communities
    what does the dotted circle mean?: Apple Support Communities

  • ODBC connection not able to see all schemas

    Hi everyone,
    We have noticed an unusual problem that just recently started. In our database, I have created a read-only user - only has the ability to connect to the database, and SELECT ANY TABLE. Then we have some applications (Crystal Reports and Lotus Notes Agents) that use this user to query data. The applications use an ODBC connection, and when we initially set this up, everything worked beautifully.
    However, suddenly we have noticed that the ODBC connection is not able to see all of the schemas in the database. We have tested and confirmed this - using either 9.02 ODBC or 10.01, this happens with both of them. I created a couple new ODBC connections, one for each version, then I try to create a new Crystal Report, using this ODBC connection - when I connect using the read-only user, it connects just fine, but when it shows me all of the schemas available, I am only seeing about half of them (and of course not seeing the one that I really need to see).
    However, when I use Microsoft Access, and try to import some External Data, and I use the same ODBC connections, then I AM seeing all of the schemas.
    Has anyone ever seen anything like this? Any ideas on what I can do to troubleshoot?
    Thanks,
    Brad

    I'm trying to get this issue figured out. Can you
    tell me what you mean when you ask me to log in
    directly as the same user using ODBC and query
    ALL_TABLES - how would I do that?Using whatever Oracle database account you use in Crystal, log in to the database using SQL*Plus (or your favorite GUI like SQL Developer) and run a query like
    SELECT owner, table_name
      FROM all_tablesDoes that query show all the tables you expect, or are you missing some?
    Also, you mention a parameter in the ODBC API that
    controls which schemas are returned - is there any
    way to see that value?An ODBC trace might show the value, I don't recall if the actual value is written out in the trace. Different front-end tools often have a place that allows you to filter out certain schemas, which is generally done by passing in a parameter to this ODBC API call. I don't know enough about your tools, though, to know where this might be.
    Are there any other ODBC drivers I could try?There are plenty of third party ODBC drivers out there, but I would tend to be suprised if the ODBC driver was at fault here. You could also try patching the ODBC driver and/or Oracle client to the most recent patchsets.
    Justin

  • About 2 weeks ago, not able to print all pages in a .pdf document using internet explorer 11?

    About 2 weeks ago, not able to print all pages in a .pdf document stored in a folder (I'm using Windows 7)? 
    It only prints 1 page then my Brother MFC-J4510DW Printer says "Please put another piece of paper in the feed slot"....the problem is the print setting is set to "manual mode" in Windows 7 rather than "general setting".  If you try to change the setting to "general", it will not accept the change.

    Hi.
    I did try using the printParams feature and it worked, but since I need to be able to print sets of non-consecutive pages,  I end up having to bring up the print dialogue multiple times and have the user set watermarks each time. 
    I decided to just create a new pdf in a temp directory containing the selected pages and open this document in a new window.  This works well and allows them to use the print button on the window to print, bringing up the print dialogue just once.  However, since I need to open the document in a way that shows the print button, I am using OpenInWindowEx, with AV_DOC_VIEW, and the option PDUseBookmarks or PDUseThumbs, rather than PDUseNone.  This displays a toolbar which also includes icons for creating a new pdf, deleting pages, etc.  I do not really want to include these icons on the toolbar.  Is there a way to remove unwanted icons from the toolbar, or make them invisible?
    Hope this makes sense.  Thanks for your help.
    Mary

  • I have updated my ipad yestarday sicne then i am not able to open any application on my ipad2. some of the application able to open in the page and not able to open all the applications in the second page. Does any one got this type of issue? any sugg?

    i have updated my ipad yestarday sicne then i am not able to open any application on my ipad2. some of the application able to open in the page and not able to open all the applications in the second page. Does any one got this type of issue? any suggestions?

    This problem has been reported a few times. The solution is to install any new App say a free one. This seems to fix whatever has gone wrong.

Maybe you are looking for