Select option in LDB

hi i am using a LDB in my report whcih had 3 fields.i dont want the third field to be displayed on the selection screen.how can i do that,plz suggest.it does not have modifid to changes the status in the at selection screen output.
regards

Hi,
First of all to find the Screen Field name follow the steps bellow.
1. --> Display the Screen With all the fields
2. --> Place you Muse Courser on the Field you want to hide using the Loop at Screen
3. --> Press 'F1' Key and on the display Window
4. --> From the Tool bar select the Technical Information Button
5 ---> From here you will be able to find the name of the Field
Now Please Have a Look at the following Thead, hope it will solve out your problem
[Hide Fields in LDB|Re: Not able to hide all fields on PNP selection screen.]
Please Reply if any Problem,
Kind Regards,
Faisal
Edited by: Faisal Altaf on Feb 5, 2009 9:55 AM

Similar Messages

  • Default Selection Option on LDB based Query

    I have written an InfoSet and Query over logical database KDF.  One selection option from the logical database is the clearing date (KD_AUGDT).  I want to select only items that are still open (not cleared) so, manually, I set the selection option to single value [EQ], and no date.
    I want to set this default value within the InfoSet with a coding element so that any query using this InfoSet defaults with the value EQ set.
    Thanks for your help.
    Sergio

    Thanks for your reply, Waseem
    This is not an ideal solution for my needs, unfortunately.  The selection option I need to set here is that the value is equal to 'blank'.  I want to only show open items and via this LDB I can only do so this way.  Also, as a control on performance, I wanted to delegate this InfoSet to open items only so I would prefer to restrict from within the InfoSet.
    Sergio

  • Can I change the select option text for pnp ldb ?

    hi Akll,
    I am using a pnp logical database in my report and I have created my own hr category because i wanted to use field ename from the ldb in the selection screen. Now the problem with ename is I cant do a case sensitive search.
    So I have replaced it with sname, so now my screen has sname instead of ename, however I want to change the selection text for select option ( at present it is 'EE name can be sorted' )
    Kindly advise,
    thanks,
    GV

    I guess the text cannot be changed.. anyways you can add the field as an additional field by normal coding in your report

  • Want to insert select-options field in between LDB nodes selection fields

    Hi Guys,
    I want to add a select-options field in between the LDB nodes selection fields. Please let me know how I can do this.
    Thanks,

    Use  SELECTION-SCREEN BEGIN OF LINE,
    SELECTION-SCREEN BEGIN OF LINE.
      PARAMETERS: PERIODO LIKE QPPNP-PABRP,
                  ANIO    LIKE QPPNP-PABRJ.
    SELECTION-SCREEN END OF LINE.

  • How to retrieve data using logical database and custom select options

    Hi all,
    I have a selection screen which is displayed by logical database PSJ and I have two select options of my own. I need to retrieve data based on both selection screen of logical database and my own select options. How can I do it?
    Thanks in advance.

    Hai Gupta
    Check the following Document & Links
    1. A logical database is in fact
    a program only.
    2. This LDB provides two main things :
    a) a pre-defined selection screen
    which handles all user inputs and validations
    b) pre defined set of data
    based upon the user selection.
    3. So we dont have to worry about from
    which tables to fetch data.
    4. Moreover, this LDB Program,
    handles all user-authorisations
    and is efficient in all respects.
    5. tcode is SLDB
    good info about Logical Database. you can check the link.
    http://www.geekinterview.com/question_details/1506
    http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm
    Re: How to Create and Use ldb in reports?
    Re: Logical databases
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
    Functions for displaying and changing logical databases:
    Call Transaction SE36 or
    Choose ABAP Workbench -> Development -> Programming environ. -> Logical databases
    Interaction between database program and report:
    During program processing, subroutines are performed in the database program and events are executed in the report.
    To read data from a database tables we use logical database.
    A logical database provides read-only access to a group of related tables to an ABAP/4 program.
    advantages:-
    The programmer need not worry about the primary key for each table.Because Logical database knows how the different tables relate to each other,and can issue the SELECT command with proper where clause to retrieve the data.
    i)An easy-to-use standard user interface.
    ii)check functions which check that user input is complete,correct,and plausible.
    iii)meaningful data selection.
    iv)central authorization checks for database accesses.
    v)good read access performance while retaining the hierarchical data view determined by the application logic.
    disadvantages:-
    i)If you donot specify a logical database in the program attributes,the GET events never occur.
    ii)There is no ENDGET command,so the code block associated with an event ends with the next event
    statement (such as another GET or an END-OF-SELECTION).
    1. transaction code SLDB.
    2.enter name z<ldb-name>
    3.create
    4.short text
    5.create
    6. name of root node (here Ekko)
    7. enter short text (f6)
    8.node type -> data base table.
    9.create
    10 change logical DB
    riht click on ekko and insert node
    here node name ekpo
    11.create
    12. click on selections
    13. press no Should the changed structure of Z<ldb name> be saved first.
    14.select tables which you want to join.
    15.transfer
    16 now you have to o to coding part.
    17. save
    activate.
    19.click to src code
    double click on first include and activate
    Regards
    Sreeni

  • Infoset Query- How do I clear the in-built selection screen in LDB

    Dear Experts,
    When LDB is used in queries unwanted selection screen blocks appear.
    Please help in getting rid of the same.
    Kind Regards
    Jogeswara Rao

    Hello Jogeswara,
    1.  In the Infoset push button Extras and then select Code tab.
    2.  Select AT SELECTION-SCREEN OUTPUT for Code Section.
    Suppose your query is based on logical database KDF and you went to hide the SELECT-OPTIONS for Company Code.
    loop at screen.
      if SCREEN-NAME = '%_KD_BUKRS_%_APP_%-TEXT' OR
         SCREEN-NAME = '%_KD_BUKRS_%_APP_%-OPTI_PUSH' OR
         SCREEN-NAME = '%_KD_BUKRS_%_APP_%-TO_TEXT' OR
         SCREEN-NAME = '%_KD_BUKRS_%_APP_%-VALU_PUSH' OR
         SCREEN-NAME = 'KD_BUKRS-LOW' OR
         SCREEN-NAME = 'KD_BUKRS-HIGH'.
        screen-invisible = '1'.
        screen-active = '0'.
        modify screen.
      endif.
    endloop.
    Kind Regards,
    Rae Ellen Woytowiez

  • Reg : Selection-Screen in LDB's

    hi,
    Iam  working on a report which uses Logical DataBase : PSJ.
    Iam getting output based on the standard selection screen of LDB PSJ.
    Now my requirement is :
    I need to add a new field(select option) to the Selection screen and the output should be displayed based on  new field select option values
    how to do this?
    Plz answer
    Regards
    vaja

    Hi,
    You simply add the check in the relevant GET event of the LDB.
    For example, you may have an event for DOCUMENT as follows.
    GET DOCUMENT.
      check document-ref in s_ref.    
    S_REF being your new select option.
    Hope this helps.
    Darren

  • How to get dynamic select options from logical database?

    Hi,
    in one of my extended reports (means - overwritten standard SAP functionality in Z-namespace) I'm using LDB 'DDF'. I've been requested to validate some of the dynamic selection options (for example - field HKONT at Document level) and to split the logic depending on the particular value(s).
    Tracking what is happened in the LDB program I found that this select option is added as dynamic WHERE clause to the SELECT statement - in a way:
    WHERE bukrs = p_burks AND ... AND
    (where_tab)
    Is there a way to get values of these LDB dynamic select options into my report and if yes - how?
    Thanks in advance.
    Regards,
    Ivaylo Mutafchiev
    Senior SAP Abap Consultant

    Hi,
    Try to use the following fm in your report and check
      call function 'RS_REFRESH_FROM_DYNAMICAL_SEL'
        exporting
          curr_report        = sy-cprog
          mode_write_or_move = 'M'
        importing
          p_trange           = gt_dyn_trange
        exceptions
          not_found          = 1
          wrong_type         = 2
          others             = 3.
    PS please make a whereused of this fm , how it has been used in LDB's to get dynmic selection values

  • Text for block and select option on the selection screen of Logical Databas

    Hi,
    I have copied a standard program (RFBELJ10) which is making use of LDB (BRF) and created a custom program. Now, the requirement is to add a selection screen option to the custom report and do some validation on the data extracted. I have added the select option and provided a text (lets say "Segment") to it using menu path Goto --> Text Elements --> Selection Texts and activated. But this text is not displayed on the screen when i execute the report. It is showing the string which i used while defining the select option.
    Also i need to provide a frame and title to it. but its not displayed.
    i have written the following code for that:
    SELECTION-SCREEN: BEGIN OF BLOCK seg WITH FRAME TITLE text-h01. " Segment
    SELECT-OPTIONS: s_segmnt FOR faglflexa-segment. " Segment
    SELECTION-SCREEN: END OF BLOCK seg.
    Could you please help me in getting the texts displayed for fram and the select option?
    Thanks,
    Phani

    Solved the problem. I have maintained the text in German. So, when I execute the report in english, it is not displaying the text. I have translated the texts to English and is working fine now.

  • Select-option in AR02 txcode

    Hi,
    I want to keep select-option in AR02 txcode in the selection screen SETTINGS, i want
    to replace REPORT DATE from parameter to select-options.
    I have copied the standard programs RAGITT_ALV01 and LDB ADA into
    Zprogram can anyone guide me to this requirment.
    Regards
    VEnk@

    Hi ilesh,
    Thanks for the answer. Actually someone have prepared this report but report is running
    correctly when we are not checking the depreciation checkbox for the date rang (select-options).
    It is not running correctly i mean it is fecthing wrong data according to the date
    range when deprication checkbox is checked. Hope you got it now.
    Please check my subroutine get data.
    FORM GET_DATA .
    Populate Report Start Date
      CLEAR FS_VARI_CONTENTS.
      FS_VARI_CONTENTS-SELNAME    = 'BERDATUM'.
      FS_VARI_CONTENTS-KIND       = C_P.
      FS_VARI_CONTENTS-SIGN       = C_I.
      FS_VARI_CONTENTS-OPTION     = C_EQ.
      FS_VARI_CONTENTS-LOW        = BERDAT1.
      FS_VARI_CONTENTS-HIGH       = SPACE.
      APPEND FS_VARI_CONTENTS TO T_VARI_CONTENTS.
    Populate Variant table
      PERFORM POPULATE_VARIANT_TABLE.
      W_FLAG = '1'.
    Submit report ZRAGITT_ALV01 using variant PPE_VARIANT
      PERFORM SUBMIT_REPORT_ZRAGITT_ALV01 TABLES ITAB_DATA1[]
                                          USING  W_FLAG.
    IF ( BERDAT2 IS NOT INITIAL ) AND
      IF BERDAT1 NE BERDAT2.
        DELETE T_VARI_CONTENTS INDEX 1.
      Populate Report End Date
        CLEAR FS_VARI_CONTENTS.
        FS_VARI_CONTENTS-SELNAME    = 'BERDATUM'.
        FS_VARI_CONTENTS-KIND       = C_P.
        FS_VARI_CONTENTS-SIGN       = C_I.
        FS_VARI_CONTENTS-OPTION     = C_EQ.
        FS_VARI_CONTENTS-LOW        = BERDAT2.
        FS_VARI_CONTENTS-HIGH       = SPACE.
        INSERT FS_VARI_CONTENTS INTO T_VARI_CONTENTS INDEX 1.
        W_FLAG = '2'.
      Submit report ZRAGITT_ALV01 using variant PPE_VARIANT
        PERFORM SUBMIT_REPORT_ZRAGITT_ALV01 TABLES ITAB_DATA2[]
                                             USING W_FLAG.
      ENDIF.                               " IF BERDAT1 NE BERDAT2
      IF W_ENDDATE IS NOT INITIAL.
        IF W_ENDDATE NE BERDAT1.
          DELETE T_VARI_CONTENTS INDEX 1.
        Populate Report End Date
          CLEAR FS_VARI_CONTENTS.
          FS_VARI_CONTENTS-SELNAME    = 'BERDATUM'.
          FS_VARI_CONTENTS-KIND       = C_P.
          FS_VARI_CONTENTS-SIGN       = C_I.
          FS_VARI_CONTENTS-OPTION     = C_EQ.
          FS_VARI_CONTENTS-LOW        = W_ENDDATE.
          FS_VARI_CONTENTS-HIGH       = SPACE.
          INSERT FS_VARI_CONTENTS INTO T_VARI_CONTENTS INDEX 1.
          W_FLAG = '3'.
    This is where i was strucked in.
    Regards
    VEnk@
    Edited by: Venkat Reddy on Sep 21, 2009 12:59 PM

  • Alternative for "check select-options" for select query.

    hi all,
    my report is using a "GET" syntax, followed by "check select-options".
    My senior told me to replace the Get syntax with select query.
    Now, my program also has dynamic selection screen.
    the dynamic selection screen almost has all the fields of database table.
    so, what is the way to replace this check select-options while applying select query?
    can you tell me how dynamic selection screen fields are populated? are they stored in some internal table?
    thanks for help.

    HI
    Here is some points about LDB.
    Logical databases are special ABAP programs that retrieve data and make it available to application programs. The most common use of logical databases is still to read data from database tables by linking them to executable ABAP programs.
    However, from Release 4.5A, it has also been possible to call logical databases using the function module LDB_PROCESS. This allows you to call several logical databases from any ABAP program, nested in any way. It is also possible to call a logical database more than once in a program, if it has been programmed to allow this. This is particularly useful for programs with type 1.
    Logical databases contain Open SQL statements that read data from the database. You do not therefore need to use SQL in your own programs. The logical database reads the program, stores them in the program if necessary, and then passes them line by line to the application program or the function module LDB_PROCESS using an interface work area
    For further on LDB's refer to this link.
    [http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm]
    Hope this will help.
    Reward if helpful.
    Sumit Agarwal

  • How to remove multiple selections button in LDB selection screens

    Hi Friends,
    I am facing a problem while doing an HR object. I took an LDB with Selection screen '100'. i got the company code select-option in it. But i need to avoid multiple selection button so that i have to take only a single company code to print the ALV heading as the company Text. Please tell me quickly, how can i do it.
    Regards,
    Santosh.

    You may have to do something like below where S_BUKRS is your company code select option of the LDB.
    REPORT  zakstest1 NO STANDARD PAGE HEADING.
    TABLES t001.
    TYPE-POOLS: sscr.
    SELECT-OPTIONS s_bukrs FOR t001-bukrs.
    INITIALIZATION.
    *-- Remove the the ranges option
      PERFORM remove_ranges_for_sel_options.
    *&      Form  remove_ranges_for_sel_options
    *       text
    FORM remove_ranges_for_sel_options.
      DATA: optlist  TYPE sscr_opt_list,
            restrict TYPE sscr_restrict,
            ***      TYPE sscr_***.
    *-- Allow EQ only
      CLEAR optlist.
      optlist-name       = 'EQ_ONLY'.
      optlist-options-eq = 'X'.
      APPEND optlist TO restrict-opt_list_tab.
      CLEAR ***.
      ***-kind    = 'S'.
      ***-sg_main = 'I'.
      ***-sg_addy = 'N'.
    *-- Make S_BUKRS range to have only EQ
      ***-name    = 'S_BUKRS'.
      ***-op_main = 'EQ_ONLY'.
      APPEND *** TO restrict-***_tab.
      CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
        EXPORTING
          restriction            = restrict
        EXCEPTIONS
          too_late               = 1
          repeated               = 2
          selopt_without_options = 3
          selopt_without_signs   = 4
          invalid_sign           = 5
          empty_option_list      = 6
          invalid_kind           = 7
          repeated_kind_a        = 8
          OTHERS                 = 9.
    ENDFORM.                    " rem_ranges

  • Regarding Selection views in LDB

    Hi Experts,
    What is use of Selection Views in LDB ??
    and how can we generate different Selection Views in LDB because i am getting only two Options either SAP or CUS for every LDB ??
    I want to declare 4-5 and how to use Those Selection Views ( as by default it takes SAP one or newly generated one)
    Thanks,
    Regards,
    Anil Sonesar

    Hi Suny,
    When I run the T-code FBL1N at my place and click on Dynamic selections button,what I see that there are all the three options--Vendor Master,Company Code and Documents available.
    You need to observe that against Vendor number there is no input box available but all the fields available under it till Company Code belong to Vendor Master.Similarly,all the fields mentioned under Comaony Code belong to Company Code and likewise all the fields mentioned under Documents like Special G/L Indicator,Assignment,Document number etc. belong to Document.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • Working with dynamic selection screen in LDB FMF

    Hi Guys,
    I am working with LDB FMF and I have a requirement where user need the selection field in initial screen which is already comming in dynamic selection option.
    Is it possible without changing the standerd LDB.
    Atul
    Edited by: Atul Dhariwal on Jun 16, 2009 6:27 AM

    Hi,
    my requirement is to list fields from dynamic selection to appear in the main selection screen.
    user doesn't want's to click on dynamic selection option and select the fields.
    I hope i am clear this time.
    Atul

  • How to disable a standard selection screen of LDB?

    Hi Friends,
       My requirement is to disable a standard selection screen of a standard LDB and use my own Selection screen instead.How to go about it?.
    Prompt replies would be rewarded.
    Regards,
    Tamilarasan.

    Hi Tamilarasan,
      U can hide LDB field, in the following way.
    1.In tables statement remove the table name for the fields
      you done require.
    2.You can modify the screen fields. LOOP AT SCREEN
    3.In the program attributes you can choose the SAP defined
      selection screen if provided.
    Add can add new field, in the following way,
    1.If it is Customer program then as normal way like
    SELECTION-SCREEN: BEGIN OF BLOCK 1
    SELECT-OPTIONS:
    SELECTION-SCREEN END OF BLOCK 1.
    2. Goto SE36 and modify the selection views by creating  'CUS'.
    All LBD will not have dynamic selection. If you want you can copy to Z* version and add the following statement to have dynamic selction
    "SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE" XXXX
    Regards,
    Prabhu Rajesh.

Maybe you are looking for

  • "Arrangement" tab missing, can't display Macbook on HDTV

    Hello, I have a mini-DVI to HDMI adapter, an HDMI cable and an HDTV. I'm trying to hook up my Macbook to the HDTV, but I'm having trouble because the "Arrangment" tab is missing in the Display settings. The crazy thing is that I've successfully mirro

  • Frequently losing connection

    I use iTunes 12. When I share the iTunes library (on my iMac) I frequently lose connection when my iPhone plays a playlist from the iMac iTunes library. Can you help me find a solution?

  • Deleted Pictures in iOS 8 - allow immediate deletion!

    Subject is pretty clear... I don't want a nanny option for deleted pics. I'm responsible enough to know that when I delete a pic, I want it gone right away, for good Please give us option to change the 30 day (!!!!) deletion PS This "feature" can lea

  • SHD0 -- Transaction variant for specific users

    Dear All, I want to change label text for VA02 using GUIXT. I have created Group ZGROUP1 and the transaction variant is ZGROUP1VA02. Then I have activated the variant. It is supposed to change the label for the users belong to ZGROUP1 but it is chang

  • FCE crashes when importing from camera

    I'm using FCE 2.0.3 and a Panasonic NV-GS300 camcorder. I've installed the program with the camera on and connected (as recommended by Apple). No matter what 'easy settings' (or otherwise) FCE crashes before importing anything. The camera isn't inclu