Editing LDB (DDF)selection screen

HI,
in my requirement ineed to add a profit center  in selection screen  using logical database DDF. please help me ,how should i add a profit center  in  selection screen
thanks.

Hi,
do you want add the  profit center in the fbl5n  refer to this
how to add profit center in fbl5n selection screen.
or do you want to add the profit center in the selction screen of the report using LDB
select-options:PRCTR for PRPT-PRCTR   "not sure about the table PRPT as i dont' have SAP system "now
hope it is useful to you.
Regards!

Similar Messages

  • Hiding field in LDB PERAS selection screen

    Hi all,
    I need to generate a report on which I wanted to use the LDB PERAS to help me for the data selection.
    But I don't want to use the "selection criteria" selection block of LDB PERAS selection screen.
    On which there are criteria such as:
    1. Personnel Number
    2. Employment Status
    3. Personal Area
    4. Personal Subarea
    5. Employee Group
    6. Employee Subgroup.
    Is there anyway to hide the "selection criteria" selection block?
    Many Thanks

    Hi,
    Test the following Sample Code it is working Fine for me.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        if  screen-name = '%_PNPPERNR_%_APP_%-TEXT' " For Text Lable
         or  screen-name = 'PNPPERNR-LOW'                     " For Text Field
         or  screen-name = '%_PNPPERNR_%_APP_%-VALU_PUSH'. " For Extension Button
          screen-active = '0'.
          screen-invisible = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Please Reply if any Issue,
    Best Regards,
    Faisal

  • LDB-PNP Selection Screen

    Hi Experts,
    By mistake the HR  Report Category "HRINCLMS" in LDB selection screen was changed. Now I am trying to change the same but it is not allowing.
    After executing the "HINCREMS" program.In standard program, The selection screen 1st block should be KEY DATE with fields TODAY and OTHER KEY DATE . But due to some changes it is showing PAYROLL PERIOD BLOCK with fields CURRENT PERIOD and OTHER PERIOD(remining blocks are coming correctly).
    This is because in the HR  Report Category "HRINCLMS" the person selection  period should be KEY DATE. But defaultly it is taking as NO ENTRY and I am not able to edit the person selection period it is not in editable mode.
    Its effecting whole hr screen. Please can any one help me to resolve the problem.
    Thanks,
    Shafi.

    And what you said is also right.
    This is a tricky one, and I don't know but maybe it is a bug. I tried modifying it in my development system and as soon as i hit enter the value of Person Selection Period is toggling automatically to 'No entry'.  So, in my opinion you have two options here:
    1) Modify the value via debugging. In this case you have to go to SE16 and display the record for RECPL => HRINCLMS and then set the value for XXXPS to 1
    2) The other way is choosing the following options:
         a) Data Selection Period = Key Date
         b) Person selection period = No entry
         c) Payroll Area = No entry
    Best Regards
    Edited by: Jose Maria Otero on Nov 24, 2011 11:28 AM

  • Including User selection criteria along with LDB standard selection screen

    Hi
    While creating a HR report, along with the standard selection screen, if the cusomer requires some more fields to be added, How to retrive the data from the DB?
    Is it the way to retrive the data based on Standard selection criteria from the LDB and then filter it based on user criteria or any other way?
    Please help me out in this regard.
    Thank you.

    Yes thats the way. You get the data based on Selection screen of LDB (You can select Report Catogory you wish to) once you get data, You can put CHECK statement to see the data against PXXXX type to the filter value from you custom field on selection screen.

  • Working with LDB without selection screen

    can' we take input through file without any selection screen when we are working with LDB?
    Please focus on this.
    Regards
    vamsi.

    Hi,
    yes, u can make use of :
    SET PARAMETER ID command.
    SET PARAMETER ID pid FIELD dobj.
    Effect:
    This statement sets the content of the SPA/GPA parameter specified in pid to the content of the data object dobj. For pid, a flat character-type field is expected that can contain a maximum of 20 characters, which cannot be exclusively blank characters. pid is case-sensitive. For dobj, a flat, (as of release 6.10 character-type) field is expected, whose binary content is transferred in an unconverted format.
    If the SPA/GPA parameter specified for the current user in pid does not yet exist in the SAP memory, it is created. If the SPA/GPA parameter has already been created for the current user, its value is overwritten.
    In a program, SPA/GPA parameters can only be created or assigned values if a name exists for them in the table TPARA. The extended program check reports an error if it can statically determine that a name specified in pid is not contained in the database table TPARA. ist.

  • LDB dynamic selection screens

    Is there a way to return the choices (ranges and parameters) a user made in the dynamic portion of an LDB selection screen.
    My user wants the selection choices displayed as part of the report output.
    Thanks
    Ed Baker

    Hello Andreas.
    Thanks for the advice. I assume you were referring to the function module shown below.
    Unfortunatly, I keep getting an empty range returned.
    Am I doing something wrong? It seems that the input parameters to the function module are so simple, that I'm surprised nothing was returned.
      data: sel_range type rsds_trange.
      CALL FUNCTION 'RS_REFRESH_FROM_DYNAMICAL_SEL'
        EXPORTING
          curr_report        = z_repid
          mode_write_or_move = 'M'
        IMPORTING
          p_trange           = sel_range
        EXCEPTIONS
          not_found          = 1
          wrong_type         = 2
          OTHERS             = 3.

  • LDB  PNP, selection screen, org structure field name ?

    Hi,
    Generally, what are the names of the additional selection-screen fields? There are twenty odds pnp...., the standard ones. But what is the name of the org. structure, the 4th button selection options group fiels? (I need ids of all Org units from org. structure subtree, or the root org id at least)
    Thanks,
    Piotr

    ...this it is with headerline...
    Sergey big spasiba
    Piotr

  • LDB ADA - Selection Screen

    Hello Experts,
    I need to change the selection screen in area the Settings. The field Depreciation Area is a PARAMETER. I want to change this in SELECT-OPTIONS. Is it possible ?
    for example report SAPDBADA.
    Thanks you...

    Hi Namorr,
    You can copy this as a custom one and try. Only change here wont work, inside the report while bringing data also should change.
    Regards,
    Madhu.

  • EDIT PNP Selection screen

    Hello
    I would like to edit my PNP selection screen (000) with screen painter. Does anyone know if this is possible?
    Otherwise is it maybe possible to add tabs to the screen dynamically?
    Greets

    hi ,
    go to the attributes of the program>hr report catagory>then you can create your own selection screen  give the name and description...
    regards,
    venkat.

  • 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

  • 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

  • Edit variable selection screen

    Hi,
    I want to edit the variable selection screen in WAD 7.0 (change width of colums).
    Can anyone give me the template-name?
    Michel

    As quoted from http://sapfans.com/forums/viewtopic.php?f=16&t=221261
    saw this thread on SDN: SAP Business Explorer (SAP BEx)
    Question:
    Hi,
    Most of our BW reports use one Web Template. When the variable screen pops up, the header shows "Variables for Ad Hoc Report" instead of the name of the report that were are executing from the role folder.
    Does anybody know how can I get the title of the report to show instead of "Variables for Ad Hoc Report"?
    Thanks for your help!
    Helena
    Answer from SAP Employee Heike Guder:
    Hi Helena,
    sorry, but this is only possible with modification in class cl_rsr_www_variable_screen method FILL_OPEN_FORM(no customizing for this)
    Heike
    If you are really into it you might want to start diggin in that class and if do - please let us know the result of it.
    Cheers,
    Skibum

  • Hr report selection screen ..

    Hi ...
    Is there anybody knows how can change or remove hr report's selection screen .Please find below selection screen but I guess according to usega of logical database it gets additional selection screen .So by this selection screen (log, db) report goes on LDB .

    See the following ex: i have done it for SDF ldb
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-GROUP3 = 'IXS'.
          SCREEN-ACTIVE = '0'.
          SCREEN-INVISIBLE = 1.
          MODIFY SCREEN.
          CONTINUE.
        ELSEIF SCREEN-GROUP4 = '023'.
          SCREEN-ACTIVE = '0'.
          SCREEN-INVISIBLE = 1.
          MODIFY SCREEN.
          CONTINUE.
        ELSEIF SCREEN-NAME = 'DD_BUKRS-LOW'.
          SCREEN-REQUIRED = '1'.
          MODIFY SCREEN.
          CONTINUE.
        ELSEIF SCREEN-NAME = 'DD_BUKRS-HIGH'.
          SCREEN-ACTIVE = '0'.
          SCREEN-INVISIBLE = 1.
          MODIFY SCREEN.
          CONTINUE.
        ELSEIF ( SCREEN-GROUP3 = 'VPU'
            AND SCREEN-GROUP4 = '007' ).
          SCREEN-ACTIVE = '0'.
          SCREEN-INVISIBLE = 1.
          MODIFY SCREEN.
          CONTINUE.
        ELSEIF SCREEN-NAME = 'DUEDATE1'.
          SCREEN-INPUT = 0.
          MODIFY SCREEN.
          CONTINUE.
        ENDIF.
      ENDLOOP.

  • 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.

  • Restricting the Multiple Selection for the Standard PCH selection Screen.

    Hi -
    I want to Hide the Extension pushbutton for the OBJID in the PCH LDB Standard Selection Screen. How do I do that ??
    Thanks,
    Mullai

    Hi,
    In the screen layout, open the attributes for push button. there u find four columns of group.
    Enter any text in that and write a query like this......
    (if text eneterd is GR1).
    Loop at screen.
    if screen-group1 = 'GR1'.
    screen-input = 0.
    modify screen.
    endif.
    endloop.

Maybe you are looking for