Dynamic selection of DDF  standard logical database

Dear All
I have requirement like i have to hide dynamic selection button from my custom report where I am using logical database DDF .
Is there any way to hide this button on my custom report .
Regards
Sunanda Mandavi

Hello Thomas,
thank you very much for the precious help.
I appended the field BKTXT to BSIK and BSAK as used in logical database and these are automatically filled for new postings thanks to Move corresponding (as indicated).
We are left with only to feed these new fields with existing data/records.
kind regards..
Edited by: Devi on May 19, 2009 12:51 PM
Edited by: Devi on May 19, 2009 12:51 PM

Similar Messages

  • Try to capture the dynamic selections of a standard LDB

    Hi experts,
    I checked on the SDN, some people said we can use set parameter and EXPORT/IMPORT to do it. Does it mean we use this statement in the LDB and send the value of selections to memory then get them in the program? If there is a standard LDB, how can I get the value of its dynamic selections?
    Also There are some FMs, such as FREE_SELECT_*, but the INIT and DIALOG FM are used to show the user dialog and fetch its results. The rest FMs in the FG are used to convert the format of the selection reults. So is there any FM which can be used to get the value of the dynamic selections of a standard  LDB in my program? I hope there is a selection ID for the LDB's dynamic selection and it can be captured by a FM.
    Thanks for reading and help.

    use fm RS_REFRESH_FROM_DYNAMICAL_SEL
    here's a sample to search for a free selection (her field XBILK)
    DATA RANGE TYPE RSDS_TRANGE.
    DATA : BEGIN OF WA OCCURS 0,
             TABLENAME LIKE RSDSTABS-PRIM_TAB,
             FRANGE_T TYPE RSDS_FRANGE_T,
           END OF WA.
    DATA : BEGIN OF CA OCCURS 0,
             FIELDNAME LIKE RSDSTABS-PRIM_FNAME,
             SELOPT_T TYPE RSDS_SELOPT_T,
           END OF CA.
    DATA ERR.
    DATA: RSDSSELOPT LIKE RSDSSELOPT OCCURS   0 WITH HEADER LINE.
    CALL FUNCTION 'RS_REFRESH_FROM_DYNAMICAL_SEL'
           EXPORTING
                CURR_REPORT        = SY-REPID
                MODE_WRITE_OR_MOVE = 'M'
           IMPORTING
                P_TRANGE           = RANGE
           EXCEPTIONS
                NOT_FOUND          = 1
                WRONG_TYPE         = 2
                OTHERS             = 3.
      ERR = 9.
      LOOP AT RANGE INTO WA.
        APPEND WA.
        IF WA-TABLENAME = 'SKA1'.
          ERR = 0.
        ENDIF.
      ENDLOOP.
      CHECK ERR = 0.
      ERR = 9.
      LOOP AT WA-FRANGE_T INTO CA.
        APPEND CA.
        IF CA-FIELDNAME = 'XBILK'.
          ERR = 0.
        ENDIF.
      ENDLOOP.
      CHECK ERR = 0.
      ERR = 9.
      LOOP AT CA-SELOPT_T INTO RSDSSELOPT.
        IF RSDSSELOPT = 'IEQX'.
          ERR = 0.
        ENDIF.
      ENDLOOP.
    hope that helps
    Andreas

  • Modifying Dynamic selection in standard logical database

    Hello guys,
    I have a requirement to add a field to a dymamic selection of standard programs.
    The standard programs used the logical database KDF.
    I have created a custom selection view and included the required field which is from table BKPF.
    But this field is not appearing as the table BKPF is not defined as a node in Dynamic selection but in only field selection.
    Can anyone please provide me with come help on this?
    I need to add the a field from BKPF to the dynamic selection of standard logical DB KDF. Is this possible?
    Thanks and regards

    Hello Thomas,
    thank you very much for the precious help.
    I appended the field BKTXT to BSIK and BSAK as used in logical database and these are automatically filled for new postings thanks to Move corresponding (as indicated).
    We are left with only to feed these new fields with existing data/records.
    kind regards..
    Edited by: Devi on May 19, 2009 12:51 PM
    Edited by: Devi on May 19, 2009 12:51 PM

  • Mandatory field in selection screen of pnp logical database report

    Hi experts,
         Im using pnp logical database in my report.
    It give the standard selection screen. I need to make some fields in the selection screen as mandatory like pnpwerks.
    How its possible. Give me some solution.
    Thanks,
    Priya.

    how about if u do this step
    1. Goto- Attribute.
    2. Click "Change"
    3. Click 'HR Report Category'
    4. Click 'Create Report Category'
    5. Click 'new entries' for careating Report Category
    5. Select newly create report category
    6. Click the folder 'Definition of Organizational Selection'.
    7. Click 'New entries'.
    8. Here you assign the required fields to be displayed, for eg pywerks - personal area.
    9. finally assign this newly created 'report category' in the screen you will get upon clicking 'HR report Category' button in the Program attribute screen.
    Hope this may help you.  I am not much into hr abap. but sharing the info which i am aware.

  • Creating Selection Screen version in Logical Database

    Hi,
    I want to design my own Selection screen while creating a report with Logical Database. My requirement is not to show the Standard Selection screen of LDB.
    Can it be achieved by creating Selection Screen Version in SE36 and using that version in Attribute of the Report?
    If yes, then how can it be created?

    You can change the Selection Include to include your selection screen version.
    Go to SE36
    Select "Selections"
    Change
    Create a new version like:
    SELECTION-SCREEN BEGIN OF VERSION 904 TEXT-904.
      SELECTION-SCREEN EXCLUDE PARAMETERS: KD_STIDA.
      SELECTION-SCREEN EXCLUDE SELECT-OPTIONS: KD_GJAHR, KD_BUDAT, KD_AUGDT,
                                               KD_ZUONR, KD_UMSKZ.
    SELECTION-SCREEN END   OF VERSION 904.
    Regards,
    Naimesh Patel

  • Need to restrict selection screen entries in logical database in HR report

    After creating custom HR Report Category using Logical database, I need to restrict the options available in the in the selection Screen
    for example- for company code i m getting 182 entries, but after running the program, selection-options for company code, i need only first 3 entries, don't want remailing entries
    how can i do this?

    Hi
    You can retrieve the required entries into an internal table and use FM F4IF_INT_TABLE_VALUE_REQUEST to provide them under F4 help.
    Regards
    Raj

  • Selection Screen  of PNP Logical database

    Experts,
    I am stuck up in filtering of data.
    I am using PNP logical database in Adhoc Query, if I select Current Month as data selection than also it is giving all list of data..
    Can anyone give Input to me.
    it is urgent.
    Point will revert for useful answer.
    Hetal.

    how about if u do this step
    1. Goto- Attribute.
    2. Click "Change"
    3. Click 'HR Report Category'
    4. Click 'Create Report Category'
    5. Click 'new entries' for careating Report Category
    5. Select newly create report category
    6. Click the folder 'Definition of Organizational Selection'.
    7. Click 'New entries'.
    8. Here you assign the required fields to be displayed, for eg pywerks - personal area.
    9. finally assign this newly created 'report category' in the screen you will get upon clicking 'HR report Category' button in the Program attribute screen.
    Hope this may help you.  I am not much into hr abap. but sharing the info which i am aware.

  • To make selection period mandatory in Logical Database Report

    Hi All,
    My report is using customized HR Report Category with selection period as Key Date.
    My requirement is to make Key Date as mandatory field and with default value as sydatum.
    Pls help .
    Regards,
    Nibha

    Hello,
    Although the selection screen will appear from the logical database you define, you can add your validation check at the event 'At selection-screen' to check if particular field is initial or not and give proper error message.
    Other way would be at the initialisation event use the following :
    loop at screen.
    if screen-name = 'P_NAME'.
    screen-input = '1'.
    endif.
    modify screen.
    endloop.
    Also at initialisation
    s_date = sy-datum.
    Regards,
    Mansi.

  • Restrict selection screen when using logical Database(HR ABAP)

    Hi,
          I'm using <b>PNP</b> logical Database in my  
          report program. I want to restrict the deafult
          selection screen.
          Pls suggest me if knows.
    Kind regards,
    - Selva

    if you don't use the NODE or TABLE statement pnp selection screen will not come.
    other wise use screen number 900 which have fever fields and you can make the invisible using
    loop at screen.
    endloop.
    Regards,
    Wasim Ahmed

  • How to hide selection fields when using logical database PNP

    hi.
    i m using a logical database PNP and report catagory 1PY_DEF in my program.
    but when i execute it , it shows to selection box. one name is period and second is selections.
    but i just want to show only period box selection fields , not the selection box fields.
    how it iz possible.

    HI,
    In my case i haved used the PNP logical database..in the selection box i don't wnat to display Contorling area,Cost Center & Organizational Unit. i have written this code to hide those fields..
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name CS 'PNPKOKRS' OR
           screen-name CS 'PNPKOSTL' OR
           screen-name CS 'PNPORGEH'.
          screen-active = '0'.
          screen-invisible = '1'.
          MODIFY SCREEN.
          CLEAR screen.
        ENDIF.
      ENDLOOP.
    Try modify hide the total block instead of individual fields in that block.

  • How to make changes on the selection screen of a logic database?

    I want to make one of the select-options of logic database PNP no-interval no-extension, what should I do? Is there any links for manipulating LDB? thx~

    Hi,
    This blog on SDN will help you on this.
    [Re: Change selection screen in LDB (KDF logical database - NOT HR);
    Regards
    Abhii....

  • How to remove spaces at selection screen coming from logical database

    Hi Experties,
    When we hide some selection from the logical database.  The spaces still occupied and this make our selection screen looks awkward.
    How to remove the spaces left by hidden selection ?
    Regards
    Nislina

    Hi,
    I came across your un-answered question while searching for a solution on the similer problem. Though I couldn't fine a solution on SDN, but figured out one myself. Thought its a good idea to share it.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group4 = '003'.
          screen-active = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Here screen-group4 contains the sequence number of the select-options field starting from 000 onwards.
    You may like to assign points and close the question.
    Kind Regards,
    Khalid Mustafa

  • How to code for DSynamci Selections without using a logical database?

    In a custom program, how to generate dynamic selections without specifying a LDB int he attributes.
    Thanks,
    Ven

    This does not relate to the dynamic selections I am looking at.
    If you look at FBL3N or FBL1N, there will be a Dynamic Selections button which gets in as part of the LDB associated with it.
    I want to know if there is a simpler way of putting this in a custom program without reference to the LDB.
    Thanks,
    Ven

  • Exclude one field from Logical Database's dynamic selection screen

    Hi Guru,
    I have a requirement to amend a program to exclude the document number field (bsik-belnr) from the dynamic selection-screen of the logical database KDF(Vendor Database) so that the program will not filter according to the document number.
    I have use the below syntax in my zprogram.
      selection-screen exclude select-options: doc-no.
    However I get syntax error "The addition EXCLUDE is only allowed in INCLUDE DBKDFSEL".
    Please advice.
    Best Regards,
    Fung

    The selection part of the logical database defines input fields for selecting data.
              The runtime environment displays these on the selection screen when you run an executable program linked to the logical database.
              Include called DB<ldbname>SEL.
            SELECTION-SCREEN BEGIN OF VERSION ver TEXT-xxx.
                                                                    SELECTION-SCREEN EXCLUDE ... .
                                                    SELECTION-SCREEN END OF VERSION ver.
    Defines a selection screen version (with a three-character name ver ). Between BEGIN OF VERSION and END OF VERSION , you can exclude selection screen objects for the version ver , i.e. remove them from the selection screen with SELECTION-SCREEN EXCLUDE.
              SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE dbtab
    If one of these tables is active in the report (i.e. it is declared under TABLES or lies somewhere on the path from the root of the database hierarchy to a table declared with TABLES ), a pushbutton called 'Dynamic selections' appears on the selection screen.

  • Restrict Select-Options for Logical Database field

    The way we restrict select options for custom defined select option fields on selection screen.. can we restrict select options for standard Logical Database fields?
    i.e. report uses PNPCE logical database and has field called PERNR. I want to restrict select options for this PERNR field so that it has options for 'Select single values' only.
    Thanks,
    Falguni
    Edited by: Falguni V on Nov 13, 2010 6:42 AM

    You can user AT SELECTION-SCREEN event, and check whether any record is having high value for PNPPERNR.

Maybe you are looking for