How to pass a default value in selection screen of logical database pnpce

Dear All,
Can any one tell me how to pass a default value in selection screen of logical database pnpce .
Regards
Rakesh Singh

Hi Rakesh,
Go to SE36 (logical database Builder).First enter PNPCE in Logical Database and press documentation,here you will get the details of exactly what is PNPCE and how it works.After that select selections in subojects in se36 only and enter display ,there you have the include from where you acn get the idea.
Regards,
Rahul

Similar Messages

  • How to create a new selection screen IN LOGICAL DATABASE PNPCE

    how to create a new selection screen LDBS PNPCE

    Hello Ankit,
    Do you want to create a new selection screen in LDB PNPCE, or do you want to create a new selection screen in one of your reports using LDB PNPCE?
    For later (which is more common), you can use HR Report Category.
    Hope this helps.
    Best Regards,
    Biraju Rajyaguru

  • How to set a default value in Select one choice.

    Hi
    I'm using ADF BC, in that how to set a default value in select one choice.
    pls. help on this.
    regards

    set the default value on the underlying EO or VO attribute
    john

  • Default value for selection screen field

    Hi all,
      I am using LDB PNPCE. I want to give default value for field Personnel area on selection screen.
    How can I do it?
    Thanks
    Rahul

    Hi Rahul,
    In the INITIALIZATION event we can set the default values for selection screen fields.
    INITIALIZATION.
    loop at screen.
    if screen-name = 'S_MATNR-LOW'.
    CLEAR S_MATNR.
    s_matnr-low = '1234'.
    s_matnr-option = 'EQ'.
    s_matnr-sign = 'I'.
    append s_matnr.
    CLEAR S_MATNR.
    s_matnr-high = '5678'.
    s_matnr-option = 'EQ'.
    s_matnr-sign = 'I'.
    append s_matnr
    clear s_matnr.
    endif.
    endloop.
    Hope it helps.
    Mark if useful
    Regards,
    Saumya

  • Default value on Selection Screen

    Hi experts,
    I want to put sy-datum + 1 as a default value on selection screen.
    I tried this but it didnt work. Please help me.
    DATA : tarih like sy-datum.
    initialization.
    tarih = sy-datum  + 1.
    SELECTION-SCREEN BEGIN OF BLOCK 3 WITH FRAME TITLE TEXT-002.
    parameters : h_tarih like sy-datum obligatory default tarih.
    SELECTION-SCREEN END OF BLOCK 3.
    Thanks

    Hi,
    Do it in INITIALIZATION event.
    SELECTION-SCREEN BEGIN OF BLOCK 3 WITH FRAME TITLE TEXT-002.
    parameters : h_tarih like sy-datum obligatory default tarih.
    SELECTION-SCREEN END OF BLOCK 3.
    INITIALIZATION.
    h_tarih = sy-datum + 1.
    In this case no need to have one more extra variable. U can directly assign to ur parameter.
    In data declaration u can only default hard coded values. But not calculated values. This is because first selection screen will be triggered and later ur calculations. So at the time of selection screen is triggered ur variable dont have any value. Thats why it was not working. Change ur code to like above. It will work fine.
    Thanks,
    Vinod.
    Edited by: Vinod Reddy Vemuru on Jun 27, 2008 12:37 PM

  • How to define our own selection screen for logical database  in abap-hr?

    Hi Friends,
    Can u please help me
    How to define your own selection screens for  logical database.
    we use to do like(goto->attributes-HRReportcatagerious ).but How to desin using  customer table like t599c, t599f and how to add to my logical database?
    Thanks in advance
    charan

    check out this online help
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/dba65c35c111d1829f0000e829fbfe/frameset.htm
    Regards
    Raja

  • How to suppress the Selection Screen of Logical Database

    Hi,
    I am using one Logical Database for my report.
    I want to show my customized selection Screen.
    How can I hide the Selection Screen of Logical Database?

    Hi,
    Check the attributes of the report program where you assign the LDB. You can see the parameter Selection Screen press the F4 and check the LBD is provided any Blank screen or not.
    For some LDB's you can find the Report Category in the attribute section of the report. either you can create the new screen or standard screen might be provided with Blank.
    Check there ..
    If you don't find you can use LOOP AT SCREEN..ENDLOOP to hide the fields of LDB.
    Which LDB you are using.

  • How to display selection screen of logical database on a screen

    Hi Experts,
    I create a screen 100, how do I display a selection screen of logical database on this screen.
    Thanks!
    Anthony

    hi
    if u are making HR report then goto attribute -> Logical database -> write PNPCE to create in build selection scree.
    regards,
    Abhilash

  • Modify selection screen for Logical Database 'SDF'

    Hi
    I need to make a section of the standard selection screen for logical database 'SDF' invisible. I have tried the differet selection screen options of the report attributes, but none of the provided ones give me what I want.
    How can I find the name of the screen group for the "Line Item Selection" block of the selection screen so that I can make it invisible when the selection screen is displayed?
    Thanks,
    Thomas

    I tried to do this:
    Loop at screen.
             if   screen-group4 = '026'
               or screen-group4 = '027'
               or screen-group4 = '028'.
                 screen-invisible = 1.
                 modify screen.
             endif.
    endloop.
    This removed the selection text for these fields, but the Line Item Selection block is still visible, and the actual input fields are also visible. They now look like password input fields with all ***** in them.
    What am I doing wrong?
    Thanks for your help!
    Thomas

  • How to get default values on selection screen(multiple ranges)?

    i want to know how to maintain default ranges in selection screen...like 2000 to 3000 and 7000 to 8000 and 11000 to 15000
    all the above ranges must get by default how to provide those to selection screen by default...please give me idea...with example...

    Hi Suresh,
    You can either use select-options or Ranges. If you want the selection screen to be displayed with allwoing user to enter values apart for the default ones use select options else use ranges. With ranges what ever values use hard code would be set and the end user will not be able to add any more values (or range of values).
    Simply write the following code
    tables : <name of the table from which the field belongs>
    select-options <fieldname> for <tablename>-<fieldname>.
    <fieldname>-sign = 'I'.
    <fieldname>-option = 'BT'.
    <fieldname>-low = '7000'.
    <fieldname>-high = '8000'.
    append <fieldname>..
    similiarly add all the ranges that you need to include as default and in your select statement use the IN operator inthe where clause to include the range.
    If using range replacethe select-option with the range statement.
    Thanks.

  • How to pass the default value to search help selection screen

    Hi
    I need to push a certain value as a default value based on a condition to the slection screen of search help in web UI.
    Could you please let me know how can we do this?
    When we try to open the 'F4' help in web ui then it should populate a certain value as a default value to the selection screen of this 'F4' help. We will get this  default value based on condition.
    Regards
    Anil

    Hi Arun
    I'm using SE11 search help.I'm giving you my code for your reference here.
    DATA:
        ls_map    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
        lt_inmap  TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
        lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
        lr_qs           TYPE REF TO cl_crm_bol_dquery_service,
        lr_current     TYPE REF TO if_bol_bo_property_access,
        lv_category    TYPE STRING.
      ls_map-context_attr = 'struct.zzattr_i_1'.
      ls_map-f4_attr      = 'ATTRIBUTE'.
      APPEND ls_map TO: lt_inmap,lt_outmap.
      CLEAR ls_map.
      ls_map-context_attr = 'struct.zzattr_i_1'.
      ls_map-f4_attr      = 'SERVICE_LINE'.
      APPEND ls_map TO: lt_inmap.
      CREATE OBJECT rv_valuehelp_descriptor
        TYPE
          cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id                  = 'ZATTR1'
          iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
          iv_trigger_submit           = abap_true
          iv_input_mapping            = lt_inmap
          iv_output_mapping           = lt_outmap.
    Here 'ZATTR1' is my search help name in SE11 and the field which is having 'F4' help is 'ATTRIBUTE'.
    Now when I press 'F4' on 'ATTRIBUTE' then it will give a popup and this popup is having 3 fields..
    1.'ATTRIBUTE'
    2.'SERVICE_LINE'
    3.Description of 'SERVICE_LINE'  and hence by pressing 'F4' i should get a value in the field 'SERVICE_LINE' based on
       a condition.
    However, if there is a value for ATTRIBUTE on the screen and when we press 'F4' on this then in the popup the value of
    ATTRIBUTE which is there on the screen is appearing in the 'ATTRIBUTE' field  and the same value is being copied to
    'SERVICE_LINE' field in the popup.
    Please guide me how do we populate the value to 'SERVICE_LINE' field inside the search help popup of 'ATTRIBUTE'.
    Best Regards
    Anil

  • How to pass some default values in all elements which are blank in xslt.

    Hi,
    Help needed:
    Scenario:
    After .xslt transformation, there are some elements which are being mapped but left blank. I want to assign some default values to it like '0'. How to do that.
    Thanks.

    One solution would be something like this...
    http://remysharp.com/2008/08/15/how-to-default-a-variable-in-xslt/
    Or you can use a template like this...
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="node()|@*">
         <xsl:copy>
           <xsl:apply-templates select="node()|@*"/>
         </xsl:copy>
    </xsl:template>
    <xsl:template match="Title">
        <xsl:choose>
            <xsl:when test="string-length(normalize-space(.)) = 0">
                <Title>default</Title>
            </xsl:when>
            <xsl:otherwise>
                <xsl:copy-of select="."/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>
    </xsl:stylesheet>For every empty "Title" node, this template will add <Title>default</Title>... If the Title has value it won't be changed... You can change this to your fields/your defaults... If you need default for other field just add another template in the same transformation...
    Cheers,
    Vlad

  • Set default value to selection screen for report

    Hi All,
       I've a report selection screen which has 3 fields from the report category: PNPPERNR, PNPSTAT1, PNPBTRTL. My logical database is PNPCE.
       How can I set the default value to the field PNPSTAT1? Means when I first display the selection screen, the value for this field will automatically display '3' in it.
       Hope someone can help me on this.
    Thanks.

    Hi All,
       Thanks for reply. But I think I should declare my question clearer.
       Actually it's not a parameter.
      My problem is when using the logical database, if you define a TABLES: PERNR, then you can see the SAP standard report selection screen. So my selection screen has 3 standard fields which are PNPPERNR, PNPSTAT1, and PNPBTRTL.
       I need to set the default value '3' to field PNPSTAT1.
    Thanks.

  • How to set set default value in dialog screen?

    Dear experts:
              As subject. If I want to set system date/time, login user id in a dialog screen , how can i do? Just like parameter or select-options statement, when use 'default XXXX', then in the selection screen will show default value.
    Best Regards,
    Nicole Chen

    Hi,
    here are two simle ways to do it.
    first as parameters with only display, second as comment in selection screen.
    PARAMETERS: P_UNAME LIKE SY-UNAME MODIF ID DSP DEFAULT SY-UNAME.
    PARAMETERS: P_DATUM LIKE SY-DATUM MODIF ID DSP DEFAULT SY-DATUM.
    PARAMETERS: P_UZEIT LIKE SY-UZEIT MODIF ID DSP DEFAULT SY-UZEIT.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: COMMENT 20(20) T_UNAME.
    SELECTION-SCREEN: END   OF LINE.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: COMMENT 20(20) T_DATUM.
    SELECTION-SCREEN: END   OF LINE.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: COMMENT 20(20) T_UZEIT.
    SELECTION-SCREEN: END   OF LINE.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 EQ 'DSP'.
          SCREEN-INPUT       = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    INITIALIZATION.
      WRITE SY-UNAME TO T_UNAME.
      WRITE SY-DATUM TO T_DATUM.
      WRITE SY-UZEIT TO T_UZEIT.
    Hope it helps.
    regards, Dieter

  • Default value in selection screen in display mode

    Hai Friends,
    In my selection screen i have a parameter PA_LEVEL, this should have a default value as 10 but it should not be in the change mode. i want that to be in the display mode as in FAGLL03 ( Ledger value ).
    how can i do this.
    Moderator message - Please do not ask such basic questions. This can easily be answered by searching the forum.
    Edited by: Rob Burbank on Apr 16, 2009 12:18 PM

    Hi,
    Use LOOP AT SCREEN...ENDLOOP. in the AT SELECTION-SCREEN OUPTUT event to disable the input field.
    LOOP AT SCREEN.
    IF screen-name CS 'FIELDNAME'.
    screen-input = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.

Maybe you are looking for

  • Centering with CSS inside a div box

    Am subbing on a job, would appreciate help: I am trying to center the three columns inside the address box at the bottom of the page. http://www.mariagrist.net/dev/motors/bodyshop.htm It should look just like the box at the bottom of the main page ht

  • Handling Exception in BADI

    *Hi Experts,* *I am using a badi WORKORDER_UPDATE in that i am using a method BEFORE_UPDATE  for  IW31 or IW32 Operations to give an error message, if the operation dates less than today's date but at the time of saving the tcode is giving an Error M

  • Selecting an option in a SELECT feild

    lets say i have a form which allows me to edit details of products stored in a database. on this edit form, i have a select box where the user can indicate the color of the item. since it is an EDIT form, there is already data abotu the product in th

  • IDOC Structure no need

    Hi People           My Requirement is IDOC to File(outbound scenario), after completion of scenario file is coming xml format in receiver side but thing is no need of idoc segments but in receiver side all segment also coming                      MT_

  • Still trying to insert my photo into Avery template

    Thank you I was able to turn the background to white.  However I am still trying to figure out how to insert my image into this template so I can then have photoshop manage the color and print it with my Epson 3800 printer.  When I click on the templ