Selection Screen - Help required

Hi ,
I am developing a SD report in which he selection screen is executed without any inputs it shows me the customers which are maintained against my ID in a Ztable.
However customer needs for internal users he should be able to view all without any inputs.
can anyone help me..?
Varun

hi Varun,
do not include the user id on the where condition on your select statement.
regards,
Peter

Similar Messages

  • Selection screen Help required urgently?

    Hi experts,
    I need to gve a popup on slection. This popup will contain table with col1 and col2.
    The user needs to enter data in this..
    I tried using table control, but I am not able to handle it properly..
    Can you please help me with a sample code of report similiar to above..
    Its urgent

    data : itabt like sval occurs 0 with header line.
    itabt-tabname = 'MARA'.
    itabt-fieldname = 'MATNR'.
    append itabt.
    itabt-tabname = 'MARD'.
    itabt-fieldname = 'LGORT'.
    append itabt.
    CALL FUNCTION 'POPUP_GET_VALUES'
      EXPORTING
      NO_VALUE_CHECK        = ' '
        POPUP_TITLE           = 'Enter value'
       START_COLUMN          = '5'
       START_ROW             = '5'
    IMPORTING
      RETURNCODE            =
      TABLES
        FIELDS                = itabt
    EXCEPTIONS
      ERROR_IN_FIELDS       = 1
      OTHERS                = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    you can use return code also.
    regards
    shiba dutta

  • Dynamic Selection Screen Help

    Hi,
    I am trying to create a report screen with dynamics call....
    I have a Sales Order select-option no interval and no extension
    then i have few Parameters below such as
    Customer Name, Part No, Material...
    Whenever i select a SO, the screen will refresh and the value Customer Name, Part No and Material will reflects based on my selected SO.
    Any experts can tell me, how can i do this..can it be done in normal report screen or needed dialog programming.............
    urgently needed
    Thanks

    Maybe below is what you are looking for, though the requirement doesnt really make any sense to me.
    tables: vbak, vbap.
    select-options: s_vbeln for vbak-vbeln no intervals no-extension modif
    id ABC.
    parameters: p_kunnr like vbak-kunnr,
                p_matnr like vbap-matnr.
    at selection-screen output.
      if not s_vbeln[] is initial.
         select a~kunnr b~matnr into (p_kunnr, p_matnr)
                from vbak as a
                inner join vbap as b
                on a~vbeln = b~vbeln
                where a~vbeln in s_vbeln.
         endselect.
      endif.
    Kind Regards
    Eswar

  • AT-SELECTION SCREEN OUTPUT REQUIREMENT

    AT SELECTION SCREEN OUTPUT
    RADIO BUTTON RECORD1
    RADIO BUTTON RECORD2
    IF SELECT R1
    R2 WILL BE DISABLED
    IF SELECT R2
    R1 WILL BE DISABLED

    hi,
    try like this
    TABLES : kna1, lfa1.
    SELECTION-SCREEN:BEGIN OF BLOCK blk1 WITH FRAME TITLE text-002.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : rad_but1 RADIOBUTTON GROUP one DEFAULT 'X' USER-COMMAND ucom.
    SELECTION-SCREEN COMMENT 3(26) text-003.
    SELECT-OPTIONS : kunnr FOR kna1-kunnr.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : rad_but2 RADIOBUTTON GROUP one .
    SELECTION-SCREEN COMMENT 3(26) text-004.
    SELECT-OPTIONS : lifnr FOR lfa1-lifnr.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN:END OF BLOCK blk1.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF rad_but1 = 'X'.
          IF screen-name = 'KUNNR-LOW' OR screen-name = 'KUNNR-HIGH' .
            screen-input = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-name = 'LIFNR-LOW' OR screen-name = 'LIFNR-HIGH'.
            screen-input = '0'.
            REFRESH lifnr.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
        IF rad_but2 = 'X'.
          IF screen-name = 'KUNNR-LOW' OR screen-name = 'KUNNR-HIGH'.
            REFRESH kunnr.
            screen-input = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-name = 'LIFNR-LOW' OR screen-name = 'LIFNR-HIGH'.
            screen-input = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.
    reward if usefull...

  • LDB  SELECTION SCREEN HELP

    Hi,
    In ldb when when we go for selection system suggests
    1.nodes for which free selections are generated.
    2.nodes for which fields selections are to be generated
    please explain what does both option means.
    thanks in advance.

    Hi Manish
    Dynamic Selections
          The tables defined in the structure can have dynamic selections using the following
            code  in the Selections Include program
    SELECTION-SCREEN DYNAMIC  SELECTION FOR TABLE <tbnam>
      Field Selections
          The tables for which field selection is defined can be called from the ABAP/4 program
            using GET <tbnam> Fields <f1> ….<fn> addition . The code for field selection in the
    SELECTION-SCREEN FIELD SELECTION FOR TABLE <tbnam>
    regards
    kishore

  • Selection screen help

    In report program, how can i get the default screen values as current month's low and high values as sy-datum will only give current date. i. e. suppose today it is dec 30 then, default low value should show dec 01 and high should show dec 31. please help.

    Here it goes...
    DATA: lv_begda TYPE sy-datum,
          lv_endda TYPE sy-datum.
    INITIALIZATION.
      CALL FUNCTION 'HRWPC_BL_DATES_MONTH_INTERVAL'
        EXPORTING
          datum          = sy-datum
          month_pst      = 0
          month_ftr      = 0
        IMPORTING
          begda          = lv_begda
          endda          = lv_endda
        EXCEPTIONS
          invalid_values = 1
          OTHERS         = 2.
      IF sy-subrc = 0.
        WRITE: lv_begda,
              / lv_endda.
      ENDIF.
    START-OF-SELECTION.
    Regards,
    Shailaja

  • MySQL Select Statement Help Required

    I am trying to generate a report in VS 2008 (C#) using a mysql select statement but cannot get it right.
    I have groups that meet on a weekly basis on different days. I want to generate a report that shows me all the members that have not attended their group where they have missed 3 meetings in a row.
    Below is the select statement I have tried but it does not give me the results I am looking for. I have tried to look at all the meetings in a 4 week period but would prefer to look at the last 3 meetings that are recorded. Some groups might not record a meeting every week. So I want to look at the last 3 recorded meetings and count each members attendance and only report on the members with more than 3 meetings missed.
    SELECT COUNT(`groupattendance`.`Attended`) AS Attendance, `smallgroupform`.`MeetingDate`, `userinfo`.`FirstName`, `userinfo`.`Surname`, `smallgroup`.`GroupName`, `groupattendance`.`Attended`, `groupattendance`.`UserID`, `groupattendance`.`GroupID`
    FROM ((`anatomy`.`groupattendance` `groupattendance`
    INNER JOIN `anatomy`.`smallgroupform` `smallgroupform` ON `groupattendance`.`FormID` = `smallgroupform`.`FormID`)
    INNER JOIN `anatomy`.`userinfo` `userinfo` ON `groupattendance`.`UserID` = `userinfo`.`UserID`)
    INNER JOIN `anatomy`.`smallgroup` `smallgroup` ON `groupattendance`.`GroupID` = `smallgroup`.`GroupID`
    WHERE (`smallgroupform`.`MeetingDate` >= DATE_SUB(CURDATE(),INTERVAL 4 WEEK) AND `smallgroupform`.`MeetingDate` <= CURDATE()) AND `groupattendance`.`Attended` = 'False'
    GROUP BY `userinfo`.`UserID`
    HAVING Attendance >= 3
    Thanks,
    Garth.

    Hi Garth,
    Seems no one can help you directly. Try googling your SQL request. Someone may be able to help you. At this point its not really a Cr problem.
    One option is to get all the data and add filtering using the record selection formula.
    Thank you
    Don

  • Hi its urgent...help on selection screen parameters

    Hi all,
    I need help on selection screen parameters.
    requirement is that,
    i am having input fields for material, plant ,start date and end date and a check box and an input field for getting the txt file.
    when i select the checkbox, it should ignore the mandatory fileds in the selection screen.
    and when i get the file input, it should take  the input data material, plant, start date and end date from the flat file and populate the corresponding input fields in selection screen.
    How to do this..
    thanks in advance.

    Hi ..
    While declare the Matnr, Plant etc dont use the OBLIGATORY addition.
    instead of the based on the value of check box validate them .
    AT SELECTION-SCREEN.
      IF c_box = ' '.
       << validate for mandatory fields>>
    endif.
    <b>REWARD IF HELPFUL.</b>

  • Logical Database (PNPCE) , selection screen hide.

    Hi Gurus,
             i have couple of questions related to logical database pnpce.
    1.Since i know logical database has there own selection screen , my requirement is i want to add my custom fields to the selection screen other than what is provided is it possible or not.
    2. i want to hide the selection screen of the logical database, but i do want to create my own in which i will be declaring some select options of the standard logical database screen has, like pernr, organisation unit, etc, how do i communicate the entered data with the logical database if i dont use the logical database standard selection screen, hope i could able to explain my problem, please see into my problem and let me know thanks in advance,
    hussaini

    Hussain,
    LDB have standard selection screens, if at all you want to customize those standard selection screen you would have to define a report category for your program. You`ll have to configure in the spro settings for your corresponding report category.
    If you would like to declare your own selection criteria, you can very well do it and these criteria are visible below the standard selection criteria. You can process these elements in your program and not in the LDB standard program. Use the normal selection screen events in your program for processing your selection criteria.
    Hope this info is helpful, reward points if convinced.
    Regards

  • WBS Element  in selection screen

    hi,
    WBS Element in selection screen of the report need to be added from BSEG table of field PROJK.
    requirement is
    for eg- if you take a WBS Element suppose 11020017 and you put in BSEG table give the values as
    BUKRS= 0010
    GJAHR =2008
    PROJK =11020017 it gives a message WBS Element 11020017 does not exist.
    where as this WBS element if you insert in Function module  CONVERSION_EXIT_ABPSP_OUTPUT
    input as 11020017 , you will get output as 1000050-01.
    and again goto BSEG table and give the values as
    BUKRS= 0010
    GJAHR =2008
    PROJK =1000050-01, now u will get the value of  WBS Element as 11020017 .
    in the report the bussiness requires WBS Element in selection screen , the user gives the value of WBS Element in selection screen 11020017,it gives a message WBS Element 11020017 does not exist, the user should give this value1000050-01, but user doesnot know this value,user knows only 11020017 value.
    now if the user gives in selection screen 11020017 it should work i mean it must convert  to 1000050-01.
    how to use function module in selection screen.help with code
    thanks in advance

    Hi,
         Use in following way, declare a parameter P_PROJK as character type, if you declare it as TYPE BSEG-PROJK system will defaultly check in dadabase table.
    PARAMETERS : p_projk(10) TYPE c.
    AT SELECTION-SCREEN.
      CALL FUNCTION 'CONVERSION_EXIT_ABPSP_OUTPUT'
        EXPORTING
          input  = p_projk
        IMPORTING
          output = p_projk.
    START-OF-SELECTION.
      BREAK-POINT.
    Regards
    Bala Krishna

  • Dynamic ALV Layout - Immediate help required

    I have a Summary and a Detailed ALV layout screen. Now when i get to detailed screen from summary screen; I choose a layout say L1 here. Then I press F3(back) this would get me back to the summary screen.Now my requirement is when i click on detailed view from here now; the previously chosen layout L1 needs to be used for the report output. Can this be done?
    Note : This needs to be done without choosing layout from selection screen.
    Require help urgently on this.
    Regards
    Swamy

    Yes you can do that.
    When you are backing out of detailed screen, store the name of the layout in a variable. When you are coming in the detailed screen again, pass this layout name in the IS_VARIANT-LAYOUT variable along with other values.
    Before backing out of the detailed screen you can get the layout chosen using the function REUSE_ALV_GRID_LAYOUT_INFO_GET or calling the method GET_FRONTEND_LAYOUT of the class CL_GUI_ALV_GRID, depending on how you are displaying the report.
    Regards,
    Ravi
    Note - Please mark all the helpful answers

  • Background processing for ABAP report with selection screen

    Hi ABAP Gurus,
    I m facing a strange problem in scheduling a background job for my report with a selection screen. I have a variant for the report.
    I scheduled a job, but it seems to be not doing anything though all the system resources are available. The job overview shows "Acive" for the job. The job is neither stopping anything, it is just sitting there In SM50, the status shows "On Hold".
    Any ideas/comments on the problem and how this can be overcome?
    Qucik replies and solutions will be highly appreciated as this is a crucial part for a go-live project.
    Thanks in advance.
    Shivani.

    Yes. My report has a selection-screen which requires user input. But I have created  a variant for the report and trying to run it in background using this variant. But facing this problem.
    Strange thing is, instead of the usual SM36/SM37 option where we schedule and monitor background jobs, this option does not work for my report.
    But I tried through SE38, and from my selection screen I selected "Schedule background job" and "run immediately" option, and this works. Though I still use SM37 to monitor this background job.
    I have never faced such a situation before.
    Any hints/tips why this happens and how this can be overcome in the future?
    Thanks in advance.
    Shivani.

  • Prefill LDB selection screen

    Hi Guys,
    Is it possible to prefill LDB PNP selection screen with required values like PERNR. If yes, how?
    Thanks,
    mini.

    You can do it 2 ways
    1. You need fill  field name and other attributes thru transaction code SLDB
    2. Other wise if you are using fm LDB_PROCESS then you can find tables SELECTIONS you need to fill up with initial values

  • How to shift cursor from one field to another on selection screen

    Hi,
    On the selection screen, I have many fields, like material code, plant, valuation type etc.
    Materoal Code,
    Serial Number
    Plant
    Valuation type,  and many other fields
    those fields are on selection screen my requirement is when user enter the material code in Material code field and when he press the enter the cursor should come in the second filed Plant and so on, how to do this i dont want to use keyboard keys lik TAB, Arrow key, because I am entering the data on selection screen., with a scanner device and on that device there is one command which act as ENTER key of the keyboard. after after entring the data in first field when the scanner gives the enter command i am doing som e validation for the given field value then want to shift the curson position to next field..
    regards,
    zafar

    Hi,
    after entring the data in first field when the scanner gives the enter command i am doing som e validation for the given field value then want to shift the curson position to next field
    After doing the validation, write the code - SET CURSOR FIELD 'SELECTION_SCREEN_FIELD_NAME'.
    Eg - SET CURSOR FIELD 'P_SERNR'.
    Thanks

  • Query Drilldown - Target Selection Screen

    When navigating from one query to another in SAP BW using RRI RSBBS,
    the target query selection screen is appearing. All of the parameters
    on the target query screen are optional so we are not expecting that
    the selection screen should popup.
    If the Sender query is run in the web and the same target query is
    selected for drilldown, the selection screen for the target query does
    not popup.
    During the drilldown, a sub-selection variable popup screen appears.
    We are not expecting the selection screen for the target query to
    appear, none of the selection parameters are mandatory (all optional),
    how do we supress the screen of the target 'drill-down' report?

    Hi,
    None of the fields on the second selection screen are Required Entry.  The required entry fields are all populated on the first selection screen.
    Adrian
    Edited by: Adrian Smith on Nov 9, 2010 10:42 AM

Maybe you are looking for

  • How do you use AIR's WebKit/htmlloader?

    Hi everyone, A long standing issue in AIR has been the inclusion of an older version of WebKit.  The request to update this library has come up many times in the forum and is in the top 10 on the community driven Uplist feature page.  As with the rec

  • Ichat hangs at connection, then dumps

    Hey there, so my ichat seems to hang just after connecting, i get an error that looks somthing like this: Audio channel info: local machine using x.x.x.x:16402, expecting remote machine to send to 192.168.1.15:16402 Video channel info: local machine

  • How does Iterate work inside an Action

    I'm having trouble figuring out how does <Iterate > work inside an <Action> in a workflow. My <Action> is to call a subprocess that takes several arguments and initiates an approval. Since I need to fire-off several approvals at the same time instead

  • Question about IAC using VBA in Excel

    How can I execute the "reduce file size" inside "document" menu in acrobat through IAC? I am using vba in EXCEL

  • Question on activation of Business content.

    Hi friends,                Our client is implementing BW , and we are in the process of activation of business content, I already some content activated already , for Porcurement, right not I see , in Administrator work bench > Infoprovider TAB>0MMPU