Problem with the default selection screen condition

hi guys,
I have got some problem with the default screen given by the PNP logical database, P0000 infotype automatically populated according to the condition given in default screen.
Reg,
Hariharan

Don know what u r trying to acheive.
1) when u have specified PNP in the logical databse field of attributes of program, the SAP wil proivde u default PNP screen and here u can also add ur paramters if u want.
2) in the program u have to declare like
INFOTYPES: 0000,0001. "Etc
for all the infotypes u want to use in the program.
3) it is the GET PERNR event which wil fil all the p0000 and p0001 (internal tables for al the infotypes declared via INFOTYPES syntax as shown above)
4) after tht get pernr, u now have data in P tables and u can use it for further reporting.
5) refer below dummy code -
REPORT  ZPPL_PREVEMPLOYERS   message-id rp
                             line-size 250
                             line-count 65.
*Program logic :- This Report is used to Download all the Previous
* Employer (IT0023) records of the employees
*eject
*& Tables and Infotypes                                                *
tables: pernr.
infotypes: 0000,
           0001,
           0002,
           0023.
*eject
*& Constants                                                           *
constants: c_1(1)       type c               value '1'   ,
           c_3(1)       type c               value '3'   ,
           c_i(1)       type c               value 'I'   ,
           c_x(1)       type c               value 'X'   ,
           c_eq(2)      type c               value 'EQ'  ,
           c_pl03       like p0001-werks     value 'PL03'.
*eject
*& Selection-Screen                                                    *
parameters: p_file  like rlgrap-filename default 'C:TempABC.xls',
            p_test  as checkbox default c_x               .
*eject
*& Internal tables                                                     *
* Internal Table for Output
data: begin of t_output occurs 0    ,
       pernr like pernr-pernr       ,
       nachn like p0002-nachn       ,
       vorna like p0002-vorna       ,
       orgeh_stext like p1000-stext ,
       plans_stext like p1000-stext ,
       begda like p0023-begda       ,
       endda like p0023-endda       ,
       land1 like p0023-land1       ,
       arbgb like p0023-arbgb       ,
       ort01 like p0023-ort01   .
data: end of t_output           .
*eject
*& Variables                                                           *
data: o_stext like p1000-stext,
      p_stext like p1000-stext.
*eject
*& Initialization                                                      *
Initialization.
* Initialize Selection-Screen values
  perform init_selction_screen.
*eject
*& AT Selection-screen                                                 *
at selection-screen .
* Check if Test run selected, download file name should be entered
  if p_test is initial.  "
    if p_file is initial.
      message e016 with 'Please enter file name'
                        'specifying complete path'.
    endif.
  endif.
*eject
*& Start-of Selection                                                  *
Start-of-selection.
get pernr.
  clear t_output.
* Read Infotype 0
  rp-provide-from-last p0000 space pn-begda pn-endda.
  check pnp-sw-found eq c_1.
* Check if employee is active
  check p0000-stat2 in pnpstat2.      "pernr Active
* Read Infotype 1
  rp-provide-from-last p0001 space pn-begda pn-endda.
  check pnp-sw-found eq c_1.
* check if employee belongs to PL03
  check p0001-werks in pnpwerks.  "belongs to PL03
* Check if emp belongs to Active Group
  check p0001-persg in pnppersg.
* Read Infotype 2
  rp-provide-from-last p0002 space pn-begda pn-endda.
  check pnp-sw-found eq c_1.
* Read Org Unit Text.
CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT'
     EXPORTING
          OTYPE                   = 'O'
          objid                   = p0001-orgeh
          begda                   = p0001-begda
          endda                   = p0001-endda
          reference_date          = p0001-begda
     IMPORTING
          object_text             = o_stext
      EXCEPTIONS
          nothing_found           = 1
          wrong_objecttype        = 2
          missing_costcenter_data = 3
          missing_object_id       = 4
          OTHERS                  = 5.
*Read Position Text.
CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT'
     EXPORTING
          OTYPE                   = 'S'
          objid                   = p0001-plans
          begda                   = p0001-begda
          endda                   = p0001-endda
          reference_date          = p0001-begda
     IMPORTING
          object_text             = p_stext
     EXCEPTIONS
          nothing_found           = 1
          wrong_objecttype        = 2
          missing_costcenter_data = 3
          missing_object_id       = 4
          OTHERS                  = 5.
* Gather all the required information related to the emp
  move: pernr-pernr to t_output-pernr,
        o_stext to t_output-orgeh_stext,
        p_stext to t_output-plans_stext,
        p0002-nachn to t_output-nachn,
        p0002-vorna to t_output-vorna.
* Gather previous Employee details
  loop at p0023.
    move-corresponding p0023 to t_output.
    append t_output.
  endloop.
*eject
*& End-of Selection                                                    *
end-of-selection.
  perform print_report.
* Downlaod the file
  if not t_output[] is initial.
    if p_test eq space.
      perform download_file.
    endif.
  else.
    write: 'No records selected' color col_negative.
  endif.
*eject
*& Top-of-page                                                         *
Top-of-page.
* Print Header
  perform print_header.
*eject
*&      Form  download_file
* Description :
FORM download_file .
  DATA: full_file_name    TYPE string,
        z_akt_filesize    TYPE i     .
  full_file_name = p_file.
*  download table into file on presentation server
  CALL METHOD cl_gui_frontend_services=>gui_download
    EXPORTING
      filename                = full_file_name
      filetype                = 'DAT'
      NO_AUTH_CHECK           = c_x
      codepage                = '1160'
    IMPORTING
      FILELENGTH              = z_akt_filesize
    CHANGING
      data_tab                = t_output[]
    EXCEPTIONS
      file_write_error        = 1
      no_batch                = 2
      gui_refuse_filetransfer = 3
      invalid_type            = 4
      no_authority            = 5
      unknown_error           = 6
      header_not_allowed      = 7
      separator_not_allowed   = 8
      filesize_not_allowed    = 9
      header_too_long         = 10
      dp_error_create         = 11
      dp_error_send           = 12
      dp_error_write          = 13
      unknown_dp_error        = 14
      access_denied           = 15
      dp_out_of_memory        = 16
      disk_full               = 17
      dp_timeout              = 18
      file_not_found          = 19
      dataprovider_exception  = 20
      control_flush_error     = 21
      not_supported_by_gui    = 22
      error_no_gui            = 23
      OTHERS                  = 24.
  IF  sy-subrc               NE        0.
    MESSAGE e016 WITH 'Download-Error; RC:' sy-subrc.
  ENDIF.
ENDFORM.                    " download_file
*eject
*&      Form  print_report
*Description:
FORM print_report .
  data: i       type i,
        w_count type i.
  sort t_output.
* Print the report
  loop at t_output.
    i = sy-tabix mod 2.
    if i eq 0.
      format color col_normal intensified on.
    else.
      format color col_normal intensified off.
    endif.
    write:/1     t_output-pernr          ,
           10     t_output-vorna(25)     ,
           35    t_output-nachn(25)      ,
           61   t_output-orgeh_stext     ,
           102  t_output-plans_stext     ,
           143  t_output-begda           ,
           154   t_output-endda          ,
           168   t_output-land1          ,
           178   t_output-arbgb(40)      ,
           219   t_output-ort01          ,
           249   space              .
  endloop.
  uline.
  Describe table t_output lines w_count.
  Skip 2.
  Write:/ 'Total No of Records Downloaded: ' color col_total,
          w_count.
ENDFORM.                    " print_report
*eject
*&      Form  print_header
*Description:
FORM print_header .
  skip 1.
  Uline.
  format Intensified on color col_heading.
  write:/1   'Pers. #'        ,
         10   'Last Name'     ,
         35   'First Name'    ,
         61   'Org Unit'      ,
         102  'Position'      ,
         143  'Beg Date'      ,
        154   'End Date'      ,
        168   'Cntry Key'     ,
        178   'Prev Employer' ,
        219  'City'           ,
        249   space          .
  format intensified off color off.
  uline.
ENDFORM.                    " print_header
*eject
*&      Form  init_selction_screen
*Description:
FORM init_selction_screen .
  refresh: pnpwerks,
           pnppersg,
           pnpstat2.
  clear:   pnpwerks,
           pnppersg,
           pnpstat2.
  pnpwerks-sign   = c_i.
  pnpwerks-option = c_EQ.
  pnpwerks-low    = c_pl03.
  append pnpwerks.
  pnppersg-sign   = c_i.
  pnppersg-option = c_EQ.
  pnppersg-low    = c_1.
  append pnppersg.
  pnpstat2-sign   = c_i.
  pnpstat2-option = c_EQ.
  pnpstat2-low    = c_3.
  append pnpstat2.
ENDFORM.                    " init_selction_screen

Similar Messages

  • Problem with user defined selection-screens

    Hi,
    in my case, i have a default selection screen and a user defined selection screen. Now, after selecting a radio button in default selection screen, the user defined selection screen is called. after executing it report output is displayed. now if i press f3 (back) it is going to default selection screen. here my requirement is, when i press f3 it should go to the user defined selection.
    Can u plz help me solve this.
    bye n regards
    sree

    Any modifications to screen 1000 will be lost the next time the program is generated.
    When the user hits the back key from the report output, your ABAP is restarted just like when you originally started it.  That is why you are getting the default selection screen again.
    Use the AT USER-COMMAND event.  When BACK is hit from the report, use the SUBMIT command to re-execute the program, passing it the selections from the default selection screen.  Leave out the RETURN option.
    For help on filling the selection screen during SUBMIT, help is available at
    http://help.sap.com/saphelp_470/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/frameset.htm

  • Problem with logic at-selection screen

    Hi ,
        I have this piece of code :
    I have 3 radiobuttons and corresponding screens and fields like r_matnr s_charge etc on that screen .
    default radio button is r_build .
    a) If on this screen is user forgots to give value for s_matnr then error is given .
    now if we click on r_conf the contents of display screen when r_buld was pressed should be gone ..
    the r_matnr , r_werks etc . should be blank .
    what i should do to implement it ? also validation  of point a) should be performed for the current values of that screen .
    plz help..
    SELECTION-SCREEN BEGIN OF LINE.
      PARAMETERS: r_build RADIOBUTTON GROUP r1 USER-COMMAND act DEFAULT 'X'.
    PARAMETERS: r_conf RADIOBUTTON GROUP r1.
    SELECTION-SCREEN BEGIN OF LINE.
      SELECT-OPTIONS : s_matnr FOR mara-matnr MODIF ID c.
      SELECTION-SCREEN END OF LINE.
      SELECTION-SCREEN BEGIN OF LINE.
      SELECT-OPTIONS : s_charg FOR mch1-charg MODIF ID c.
      SELECTION-SCREEN END OF LINE.
    LOOP AT SCREEN.
             IF r_conf = 'X'.
            IF screen-group1 = 'A'.
              screen-active = 0.
            ENDIF.
          ELSE.
            IF r_rel = 'X'.
              IF screen-group1 = 'A' OR screen-group1 = 'B'
                OR  screen-group1 = 'C'.
                screen-active = 0.
              ENDIF.
            ENDIF.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
    AT SELECTION-SCREEN ON s_matnr.
        IF s_matnr IS NOT INITIAL.
        some select where = s_matnr .
          MESSAGE e019(zesapp).
          LEAVE TO SCREEN 0.
        ENDIF.
    plz help..
    Regards .

    hi ujjwal,
    can you please elaborate on "the values are getting blank just after entering it ."...
    you mean material number gets blank after you enter the value?
    also in the below code you are checking material number NOT INITIAL that means some value is entered and if it does not satisfy the SELECT condition then it will give error message and navigate u again to your initial screen...maybe this could be the reason for the blank values...
    AT SELECTION-SCREEN ON s_matnr.
        IF s_matnr IS NOT INITIAL.
        some select where = s_matnr .
          MESSAGE e019(zesapp).
          LEAVE TO SCREEN 0.
        ENDIF.
    hope this is helpful.

  • ASA 5505 - 2 Internet Connections, Problems with the Default Route

    Hey there,
    i have a Problem at a Customer Site at the moment. The customer uses an ASA 5505 with two internet connections attached to it. On the first connection (which is the only one in use at the moment) he has some Static-PAT's from Outside to Inside where he translates different services to the internal servers. He also has a site-2-site VPN terminating there and AnyConnect.
    He now wants to switch the Internet Traffic from Inside to the new Internet Connection. Therefore changing the default route to that new ISPs Gateway. The problem now is, that no traffic recieved on the old "outside" Interface is transmitted back out of that old "outside" Interface. And this happens although the "same-security permit intra-interface" command is set.
    Can you tell me what's wrong here? For every Static-PAT from outside to inside there is also a dynamic PAT from inside to outside. But the ASA seems to ignore this. I have not looked into the Logs yet, was too busy finding the problem because i had no real time window to test on the productive ASA.
    Can it be achieved in any way? Having a default route on the ASA which leads any traffic to the second internet connection while still having connections on the first internet connection where no explicit route can be set? Because connections arrive from random IPs?
    Many thanks for your help in advance!
    Steffen

    Phillip, indeed , I have as well read may comments,it all depends on your environment as they all differ from one another, you best bet is to have a good solid plan for upgrade and fall back. You do have a justification to upgrade for features needed, so I would suggest the following:
    1- Do a search again in forum for ASA code upgrades and look at comments from users that have gone through this process and note their impact in fuctionality if any. I believe this is good resource to collect information .
    2- Very important , look into release notes for a particular version. For example version 8.0, look into open CAVEATS usually at the end of the link page, reading the open bugs gives you clues what has not yet been resolved for that particular code and if in fact could impact you in your environment, it is possible that a particular bug does not realy apply to your environment becuase you have yet not implemented that particualr configuration. Usually we all try to aim towards a GD (General Deployment) code which is what we all understand is most stable but not necesarily means you have to be stack in that code waiting for another GD release, in my personal experience I have upgraded our firewall from 7.2 to 8.0(3) long ago and had no issues, and recently upgraded to 8.0(4)when it was first release in August this year.
    Release notes
    http://www.cisco.com/en/US/products/ps6120/prod_release_notes_list.html
    3- AS a good practice precaution -
    a-Backup firewall configs in clear text as well as via tftp code.
    b-Backup running code and ASDM version code currently running in firewall.
    c- Save the output of " show version " to have as reference for all the feature licenses you currently have running as asll as activation keys - good info to have to compare with after upgrade.
    d- Ensure that the code you will be using to upgrade also uses correct ASDM version code.
    I think with thorough assesment and preparation you can indeed minimize impact.
    Rgds
    Jorge

  • Problem with PNP customized selection screen

    Hi guys,
    I have done a report in R/3 system using logical database PNP with customized selection screen. i have 3 parameters as below:
    1. radiobutton1 group a for current period,
    2. radiobutton2 group a for other period.
    3. personnel number.
    my program works fine in R/3 but not in my portal. i think it couldn't recognize my radiobutton in my customized screen. whichever radiobutton i selected also it would return current month records.
    any idea how to fix this?
    any configuration that i can do?
    thanks.

    try testing it through ITS first.
    in order to do so . Go to sicf transaction and run webgui. Then run the application using the tcode. Check the results.
    Seems wrong paramter are getting passed to the SAP system.
    Your ITS server should be activated first in order to use webgui otherwise you will be getting dump.
    Regards
    Atul Shrivastava

  • How to set the default selection screen

    I modified screen using screen-input = 0.
    then how to set the screen-input = 1.
    that is how to make that field input enable.
    if use the statement screen-input = 1 directly it is giving 2 fields to enter value

    In the PBO / AT SELECTION-SCREEN OUPUT
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name = <your FIELD>. " Fields by name
    *   IF SCREEN-GROUP1 = <your group of fields>. " Fields with MODIF ID
          IF <test>.
            screen-input = 1. " For input enable
          ELSE.
            screen-input = 0. " For input disable
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Regards

  • Does anyone have a problem with the ipad air screen?

    I bought an ipad air last week and the left edge of the screen was darker than the other side. It was obvious so I just returned it and bought a new one since the store didn't have the same style in storage. I bought another one from another retailer, and just found the same problem, but not as serious as the former one. So I just took it back to the store the next day and exchange another one. Unfortunately, the third one had the same problem at the up-left corner of the screen. I admit that I am picky, but I think I pay this amount of money so I deserve perfect screen. If the brightness of the two sides is different, I dont think it is a product of good quality.
    Just want know if anyone else have the same problem with me. Or you just can bear the small diffrence of display.  BTW, in China, it is reported spreadly that the ipad air screen has a problem. They even generalize the serial number for problematic ipad air.

    Yep.   Many quality control problems.   The new mini has fewer issues.   No problems with older models.
    Steve Jobs, where are you when we need you!

  • Problem with CURSOR on Selection-Screen

    Hi Experts,
    This question is for you. We have recently upgraded our system to 7.01 Stack 5 (Enhancement Pack 1).
    The screen supplied by a custom transaction is quite behaving in a strange manner. Whenever we execute the transaction the CURSOR appears by default at the 3rd Radio button and the UP/DOWN keys present in keyboard are not working and we have to place it back to the correct position using Mouse.Our customer raised a Ticket to check this.
    Please suggest a work around for this.I need to remove this cursor blink completely at the selection screen.
    Best Regards,
    lakshman.

    Hi,
    Not sure to really get the issue... looks like your radiobuttons are not grouped properly and default is set on the third one...(?)
    So just use the same radiobutton group for the three buttons and set the first one as default, either on selection screen or initialization level...
    Kr,
    Manu.

  • Problem with validation of selection screen

    I am creating session process for BDC
    For that i am taking the flat file at runtime.i want check whether the entered file is valid or not..that means it exists are not?
    how to do that..

    Hi,
    DATA: W_FILENAME TYPE STRING,
    W_RESULT TYPE C.
    W_FILENAME = WK_DIRECTRY.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_EXIST
    EXPORTING
    FILE = W_FILENAME
    RECEIVING
    RESULT = W_RESULT
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    WRONG_PARAMETER = 3
    NOT_SUPPORTED_BY_GUI = 4
    others = 5.
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-* MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    IF W_RESULT IS INITIAL.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_EXIST
    EXPORTING
    DIRECTORY = W_FILENAME
    RECEIVING
    RESULT = W_RESULT
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    WRONG_PARAMETER = 3
    NOT_SUPPORTED_BY_GUI = 4
    OTHERS = 5.
    IF SY-SUBRC 0.
    ENDIF.
    ENDIF.
    IF W_RESULT = 'X'.
    RC = '1'.
    ELSE.
    RC = '0'.
    ENDIF.
    Regards,
    nagaraj

  • Problem with the flip/rotate screen

    my screen wont rotate when i put my phone sideway......how do i fix? it totally stopped doing it...this stupid phone is annoying me...

    radical24 wrote:
    contact nokia care as these games are not avaliable anywhere that i know of for redownload. i know its crazy but they could potentially be the only ones to help you in this situation. are these full games or demos? i have not even launched either one of these games on my phone even once so i dont know. if they are demo then who cares but if they are full games then for sure give them a call. 
     most of the time calling them is reallyyyyyy useless and waste of time. most of the time they say ship it to us and we will reinstall them for u. that's what they told me when i called them to get accuweather again !

  • Scripting Problem with the Default SplitStory.vbs Schript. Windows Scripting Error No. 429, ActiveX-Component cannot create object: 'InDesign.Application", Engine: Default File: C:\Program Files (x86)\Adobe\Adobe InDesign CS6\Scripts\Scripts Panel\Samples

    On another PC it works. I can't find any difference in the script line 15. I could run the Script 1 time and the 2nd time it Show this error
    Set myInDesign = CreateObject("InDesign.Application")
    Rem Set the user interaction level to allow the display of dialog boxes and alerts.

    Hi
    delete the tbl file so it regenerates see Re: InDesign CS6 scripts don't work on CC anymore
    HTH
    Trevor

  • Problem with the selection screen

    Hi All,
           In my program i have given the input in selection screen , Its process something and a msg was displayed , and user confirm it to continue , the program take us back to the selection screen - in this case i have to clear all the values from the selection parameters.
    I tried lot , but i didn't get this result.
    I know this is the standard functionality , But anything is there to clear the selection parameters.
    Regards,
    S.C.K

    Hi All,
    In my program i have given the input in selection screen , Its process something and a msg was displayed , and user confirm it to continue , the program take us back to the selection screen - in this case i have to clear all the values from the selection parameters.
    I tried lot , but i didn't get this result.
    I know this is the standard functionality , But anything is there to clear the selection parameters.
    Regards,
    S.C.K
    I didn't go through the long list of replies nor I don't know if you gave it a thought, but you can try this,
    create a [system variant|http://help.sap.com/saphelp_nw04/helpdata/en/c0/980389e58611d194cc00a0c94260a5/content.htm] (variant name starts with CUS& eg: CUS&BLANK) with the entire selection screen fields blanks and use the following function module to call that variant after msg is displayed.
    CALL FUNCTION 'RS_SUPPORT_SELECTIONS'
           EXPORTING
                report               = sy-repid
                variant              = 'CUS&BLANK'
           EXCEPTIONS
                variant_not_existent = 01
                variant_obsolete     = 02.
    You can hide the variant by checking the box "Only display in catalog".

  • How to change the text in default selection screen

    Hi,
      I have created the default selection screen(using PNP Logical database) ,In that I wants to display 'Data Selection Period' instead of 'Period'.
    Please send me the related code.
    Thanks in advace
    mohan

    HR Logical Database is PNP
    Main Functions of the logical database PNP:
    Standard Selection screen
    Data Retrieval
    Authorization check
    To use logical database PNP in your program, specify in your program attributes.
    Standard Selection Screen
    Date selection
    Date selection delimits the time period for which data is evaluated. GET PERNR retrieves all records of the relevant infotypes from the database. When you enter a date selection period, the PROVIDE loop retrieves the infotype records whose validity period overlaps with at least one day of this period.
    Person selection
    Person selection is the 'true' selection of choosing a group of employees for whom the report is to run.
    Sorting Data·
    The standard sort sequence lists personnel numbers in ascending order.
    · SORT function allows you to sort the report data otherwise. All the sorting fields are from infotype 0001.
    Report Class
    · You can suppress input fields which are not used on the selection screen by assigning a report class to your program.
    · If SAP standard delivered report classes do not satisfy your requirements, you can create your own report class through the IMG.  
    regards
    vinod

  • How to replace the existing selection screen with new selection screen

    Hi,
    I have first selection screen with parametre as a table name, then I have created dynamic selection screen as 2nd selection screen with different fields of that table as select options. This is done using genaration of dynamic report. Now If I click on button on this 2nd selction screen , then I want to replace this 2nd dynamic selection screen , with the other selection screen fields.
    Can anybody guide me, How to do replace one slection screen with different selection screen.
    and one imp thing is this selction screen is populating with dynamic fields on it.
    Regards,
    Mrunal

    As I can understand you want to make some of the screen field to disable or visible on screen  depending upon the interaction of user with screen 1.
    You may use this example code in PBO of screen 2.
    LOOP AT SCREEN.
        " action has been taken to modify the area office screen as per the option chosen at screen 99.
        CASE ACTION.
            " if the user has taken up the option of UPLOAD
          WHEN 'UP'.     " screen processing while we upload the plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'AO_DO' OR SCREEN-NAME = 'AO_VE'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
          WHEN 'DN'.      " screen processing while we upload the approved plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'AO_UP' OR SCREEN-NAME = 'AO_VE'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
          WHEN 'VW'.      " screen processing while we view the plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'RLGRAP-FILENAME' OR SCREEN-NAME = 'FNAME'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
            " and hide the file input field
            IF SCREEN-NAME = 'AO_DO' OR SCREEN-NAME = 'AO_UP'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
        ENDCASE.
      ENDLOOP.

  • Logical database EQI (equipment)  .. I dont want to use the default selecti

    i am using Logical database EQI (equipment)  its realated to PM module.....
    i dont want to use the default selection screen.
    instead i want to process my own selection screen inputs..
    (ie..) i want to fetch the data using the GET event using my  own selection screen  inputs.
    my selection screen inputs is   equipmentnumber (equnr)
    and  the output list : 1.equnr      "equipment number
                                  2.shtxt       "Equipment Description
                                  3.tplnr        "Functional Location
                                  4.pltxt        "Functional Location Description
                                  5.qmnum    "Notification Number 
                                  6.qmtxt      "Notification Description
                 and  so on  ..........             
    how to do this ... can any one give sample code... or logic

    Hi Victor,
    I have a simple solution for this.i think it will help you.Do u have any idea about query designer in SAP.
    by using it we can satisfy u r  reuqirement.follow the below steps.
    1)Go to SQ01
    2)In the screen click on QuickViewer option.then you will go to another screen.
    3)In that screen give any name starting with 'Z' in the QuickView box and then click on create.
    4)In the dialogbox enter title and comments and then select LogicalDatabase as the DATASOURCE and give DataSourceLogicalDatabase as EQI.check the radio button Basis Mode and then click on ok.
    5)then on the screen in the first half of leftside you will  get another screen with the columns DATAFIELDS,LISTFIELDS,SELECTIONFIELDS,TECHNICALNAME.
    6)In the DATAFIELDS column expand the tree,then u can see the fields what we have,and what you want.and also you can see the check boxes in front of the columns LISTFIELDS,SELECTIONFIELDS.
    7)LISTFIELDS means the output fields,SELECTIONFIELDS means the selection screen fields(equnr).
    check the checkboxes as per u r requirement and click on execute.
    8)then a progam will be created.to know the program name after executing the program GO TO
    SYSTEM->STATUS.then u can see the program name there.
    If u know all these,let me know so that i can try for another solution.
    Thanks,
    N.K.C

Maybe you are looking for

  • My iPod Classic 5th Gen 30gb won't sync

    I need some help here. In the past, I've been able to connect my iPod to my iTunes, hit sync, and be on my way. Now, I don't know what has happened, but, whenever I connect my iPod to iTunes and hit sync, iTunes just keeps saying that it is "Starting

  • Java plug-in 1.4.0-03

    I received an "upgrade report" from microsoft re: installation of wndows xp. it says "software that does not support windows xp" (for my computer) Java Plug -in 1.4.0-03 (in control panel) what can I do for this problem? thanks Ken

  • AP problem Cisco aironet 1040

    I have a Cisco aironet 1040. On my Accespoint i have 2 vlans: 1 for my wifi phones and 1 for my network. Wifi Lan has the SSID LAN with WPA enterprise authentication to a radius server(ms server 2008). Wifi Phone has SSID PHONE and vlan 50 with local

  • [OIM] Automate AD provisioning with multiple custom rules.

    I am working on setting up provisioning automation and I'm very confused about the best way to do it. I need to have OIM do the following when creating an Active Directory Account If the user is an employee put them in container X if they are a contr

  • Scaled 4k monitor gives me smaller 1920x1080

    Hello, I just bought the new mac pro 12 core, 2 amd 700, 64 gig of ram AND a Samsung 4k monitor U28D590D. I'm having a strange behaviour (maybe its normal). I'm on 10.9.3 and when I scale the monitor to resolutions smaller than 4k I have smaller 1920