PNP Screen Doubt.

Hi,
I have executed a PNP program.
I can see the Standard PNP Selection Screen with the radiobutton at Other Period as default.
How can i change the program so that the radiobutton takes Today on selection screen as Default.
Thanks,
Rohit

Hi Rohit,
if you are using the new PNPCE you can say in the customizing of the report class (SM30 T599C) what should be the default value and what should be available.
Even better than creating coding.
In the coding for PNP you should use PNPTEIMED.
Regards,
Michael

Similar Messages

  • There isn't Org. Search in free search of  PERNR on PNP Screen with report

    Hi experts,
    I create a standard PNP screen with HR report, but i find there isn't org. structure search in free search for PERNR .
    Should I do configure anywhere to use the org. struture search of PERNR ?
    Thanks a lots.
    Yoga.

    Hi,
    do you use a reportclass e.g. X__X2201 ?
    Regards
    Bernd

  • How to make comnapy code defalut got 100 and 1001 in the PNP screen

    Hi Expart ,
    can u tell me my que how to make comnapy code defalut got 100 and 1001 in the PNP screen in HR reporting?
    Regards
    Razz

    Use the below code in the   INITIALIZATION   
                     INITIALIZATION                                      *
    initialization .
    " Make Default values for Company Code 2100 & 2200
      PNPBUKRS-LOW  = '2100'.
      PNPBUKRS-HIGH = '2200'.
      append PNPBUKRS.
    regards
    .....lakhan

  • Changing the Label of the LDB - PNP Screen Field(Date field)

    Hi,
    I got a req. to change the label of the field "Data Selection Period".  This field is from PNP LDB.
    Pls let me know, is there any FM or any other process?

    you can customize the PNP selection screen by creating a report class. you will find the button in the report attributes.
    or you can define your own selection view via SE80 an maintaining table T599C.
    but I dont't think you will be able to rename the field lable.

  • Call PCH screen from PNP screen

    Hello.
    In my program I need a PNP selection as well as a PCH selection.
    Does anyone know how I can realise that?
    I've created a seperate report for the PCH selection. I was trying with Submit report_test. But it doesn't show the output screen.
    Greets

    Hehe after a few tries I found it out myself. When I do Submit report .. via selection-screen .. it seems to work so.
    Thanx for the reply anyway.
    Greets

  • Pnp screen

    Hi All,
    Im developing a ALV report for time management module. in this when I'm picking current month on the selection screen then an customizing error is thrown on contrary if i select a period for the same month then the reprot runs . Please tell me what would be the probable error.
    reward point for all useful answere.

    Hi Rohit,
    if you are using the new PNPCE you can say in the customizing of the report class (SM30 T599C) what should be the default value and what should be available.
    Even better than creating coding.
    In the coding for PNP you should use PNPTEIMED.
    Regards,
    Michael

  • Logical database PNP screen

    Hi All
    I want to initialize the Employment Status to Active employee that is 3.
    Does any body know how can I do it.
    Thnaks in advance.
    Regards
    AJ

    Hi AJ,
    here a simple codeexample, try it:
    Log. datenbank PNP (P-Stammdaten)
    TABLES: PERNR.
    INITIALIZATION.
      REFRESH PNPSTAT2.
      CLEAR   PNPSTAT2.
      PNPSTAT2-SIGN   = 'I'.
      PNPSTAT2-OPTION = 'EQ'.
      PNPSTAT2-LOW    = '3'.
      APPEND PNPSTAT2.
      START-OF-SELECTION.
    GET PERNR.
      WRITE: / PERNR-PERNR.
    END-OF-SELECTION.
    Regards, dieter

  • Field in a screen doubt

    hi all
    what does the value like this ___________,__V in the text field of a particular field in the screen attributes means
    can anyone tell what it does and what is the purpose. i have seen it in the attributes of a particular field in the screen layout
    and its given in the text field
    Thanks
    kajol

    Hi
    Iam confused in here little bit
    i have a dec data type length 10 and decimals 3 . when i input 3 and press enter , it will give ma avlue of
    3.000 and doesnot take any aphabets right.
    if iam rightfor the same field i see  ___________.__V  what s the purpose of this again
    and i also see ___________,__V what is the purpose of this.
    sorry iam cofused in here little bit.
    can you explain
    thanks

  • General selection screen doubt

    Hi
    what is the difference between the following  two
    selection screen
    select-options:sid FOR Zxxx-ID  NO-EXTENSION NO INTERVALS.
    parameters : sid like zxxx-id.
    I KNOW I HAVE TO USE IN FOR FIRST AND = FOR SECOND IN SELECT QUERIES.
    Apart from that is there any difference that has to be taken care in the program
    Thanks .

    ... NO-EXTENSION
    Effect
    The user can only make an entry on one line. Calling the additional "Multiple Selection" screen is not supported and no pushbutton for this appears on the selection screen.
    Addition 12
    ... NO INTERVALS
    Effect
    The selection option is displayed on the selection screen without a 'to' field. The pushbutton for calling the "Multiple Selection" screen appears immediately after the 'from' field.
    This addition thus allows you to generate a simplified display on the selection screen. This is particularly useful if you are not making any range selections for this selection option.
    <b>with this ranges can be included where as with parameters they cannot be included</b> ..
    Regards,
    Santosh

  • Blue screen doubt

    Sorry for opening this post but it is not clear to me what apple wants to say when it says in the article http://docs.info.apple.com/article.html?artnum=306857 that if appear blue screen for a long time. i installed leopard, a blue screen appears but not for much time. Time that appears the blue screen was very little and after that finder started. ALso now when i start my mac, the blue screen appears instead of the mac os x bar advancing bit it is very fast as when i had the mac os x bar advancing.
    When i close the system is very fast too.
    Now, the fact that i saw the blue screen for little time after installing, that i see now for few seconds when i start my mac, it is right? Do I have to re-install leopard doing archive and install option as suggested by apple?
    What does it means for a long time?
    Thanks
    Aldo

    aldo.spinelli wrote:
    What does it means for a long time?
    Forever.
    If you're happy with your Leopard behavior and performance, there is nothing you need to do. That document is Apple's way of telling people they should have done "Erase/Archive and Install".

  • Selection screen doubt

    can anyone help on this:-
    i hav tables pa0000, pa0001, pa2001.
    my selection screen:-
    parameters : S_BTRTL LIKE PA0001-BTRTL,
                 s_month like      ?
    how should i get month in the selection screen?
    i am callig fun module:-REAL_ESTATE_F4_MONTH to get the month .
    so i taken like this
    s_month like VVIS_SOPTI-SMONTH.
    when i am retriving data from select queries based on selection screen...
    eg: - select .... from .. where btrtl eq s_btrtl
                                    <b>smonth eq s_month</b>.
    it's showing errror smonth is unknown?
    Am I called the right function module?

    Hi hari bhai,
        Here is the code. almost everything is perfect.except one where condition thats giving error, you check your second select statement and modify it.
    the report is ok.
    AND PLEASEE reward points, may be 10 to this and 6 to some other also. so much modification wanted.
    REPORT ZANID_TEST.
    PARAMETERS : S_MONTH LIKE VVIS_SOPTI-SMONTH default '03',
                 S_BTRTL LIKE PA0001-BTRTL default 'EAS'.
    data: start_date like sy-datum,
    end_date like sy-datum." VALUE '99991231'.
    data : BEGIN OF EMP_DATA OCCURS 0,  "INTERNAL TABLE
           count_workerno type i,
           count_daylost type i,
           sub_text(100),
           END OF EMP_DATA.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_MONTH.
    CALL FUNCTION 'REAL_ESTATE_F4_MONTH'
    EXPORTING
    I_MONTH = 00
    I_POPUP_TITLE = 'Choose Month'
    IMPORTING
    E_MONTH = s_month .
    start-of-selection.
    concatenate sy-datum(4) s_month '01' into start_date.
    concatenate sy-datum(4) s_month '31' into end_date.
    SELECT COUNT(*) INTO EMP_DATA-count_workerno
    FROM PA0000 AS a inner join PA2001 as b on apernr = bpernr
    inner join PA0001 as c on apernr = cpernr
    WHERE aENDDA = '99991231' AND aSTAT2 = '3'
    and ( b~awart eq '0591' )
    and c~btrtl = s_btrtl.
    SELECT COUNT(*) INTO EMP_DATA-count_daylost FROM PA2001 AS A
    INNER JOIN PA0001 AS B ON APERNR = BPERNR
    WHERE
    *AABWTG = BABWTG AND
    B~BTRTL = S_BTRTL.
    select single btext from t001p
    into EMP_DATA-sub_text
    where BTRTL = s_BTRTL.
    APPEND EMP_DATA.
    Format color COL_HEADING on.
    write sy-uline(80).
    write:/ sy-vline, ' No of worker ', sy-vline.
    write:' No of Lost Work-day', sy-vline.
    write: 50 ' Sub-Area text',
            80 sy-vline.
    write:/ sy-uline(80).
    Format color COL_HEADING off.
    loop at emp_data.
      write:/ sy-vline,
              2 EMP_DATA-count_workerno ,
              18 sy-vline.
       write: 21 EMP_DATA-count_daylost ,
              41 sy-vline.
       write: 43 EMP_DATA-sub_text ,
              80 sy-vline.
    endloop.
    write:/ sy-uline(80).

  • Not able to hide all fields on PNP selection screen.

    Dear Freinds,
               i wanted to hide all the field which are given on PNP selection screen, with the help of the
    report category i have hided all the field including the Person selection period  as i require only the
    Data selection period.  further through coding as below iam able to remove all the  radio buttons
    Today, Current month,Current year, from today, upto today,Other Period . But i am getting spaces above  period (PNPBEGDA and PNPENDA)  .  i.e in the frame Period i have spaces being left due to
    the radio buttons being Hidden . Could any one let me know how to remove the spaces so that
    Period range will set exactly in the frame.
      LOOP AT SCREEN.
        IF screen-name = 'PNPTIMR4' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-name = 'PNPTIMR2 .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF
        IF screen-group4 = '090' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-name = 'PNPTIMR1' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '092' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '094' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '100' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP
    Please could any one let me know how can i push up the Period date (PNPBEGDA and PNPENDDA)
    so that i will not have any blank space left out in the frame(Period) .
    Thanks & Regards
    Divya.
    Edited by: Divya Kumari on Jan 4, 2009 1:53 PM

    hi, sorry i think i misunderstand you question,
    if i can understand it right now? the following code can help you i am using "PNP" Screen no '900'.
    tables:pc207, hrp1000,pernr, pyorgscreen.
    infotypes: 0001.          "Organizational Assignments
    nodes: payroll type pay99_result.
    at selection-screen output.
      loop at screen.
        if ( screen-group1 = 'RES' or screen-group1 = 'YB1' or
             screen-group1 = 'YB2' or screen-group1 = 'YB3'  ).
          screen-active = '0'.
          screen-invisible = '1'.
          modify screen.
        endif.
      endloop.
    try the following too,
    TABLES:pc207, hrp1000,pernr, pyorgscreen.
    INFOTYPES: 0001.          "Organizational Assignments
    NODES: payroll TYPE pay99_result.
    AT SELECTION-SCREEN OUTPUT.
      BREAK-POINT.
      LOOP AT SCREEN.
        IF (
    *       screen-name = '%BYB1005_BLOCK_1000'
           screen-name = '%FYTI007_1000'
         or  screen-name = '%FBIS010_1000'
         or  screen-name = 'PYVW0_0'
         or  screen-name = '%_PYPERNR_%_APP_%-TEXT'
         or  screen-name = 'PYPERNR-LOW'
         or  screen-name = '%_PYPERNR_%_APP_%-VALU_PUSH'
          screen-active = '0'.
          screen-invisible = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Replay if any problem,
    Kind Regards,
    Faisal
    Edited by: Faisal Altaf on Jan 4, 2009 6:55 PM

  • Query: PNP Logical Database Screen

    Hi,
    My requirement is to default some values in the SORT ORDER button of the PNP screen.
    I can do that by creating a variant and attaching it to the Tcode, but is there any other way to do it.
    Also, I need to add couple of new values to that list.
    Please suggest how to achieve it.
    Helpful replies will be rewarded.
    Regards,
    Amit

    Amit,
    you need to use Report categories as a solution to the issues mentioned in your mail.
    You can access report category by going to attributes of your HR report which is using PNP logical database.
    You will find a button in 'Attributes' dialog screen for HR Report Categories which will enable you to add new fields, default the values etc.
    Reward points , if helpful.
    Regards
    Waz

  • Reg : Selection Screen For PNP LDB

    Hi All,
    I am having problem in selection screen of logical database PNP..  I am attaching the screenshot of the screen which I am using.
    [https://www.2big2send.com/collect/861452b5d77254eea4fa17cec4842d63]
    Actually.. I created 3 radio buttons down in the screen.. i.e. Delta, delta for X date, full file.
    If the user click on Delta radio button then he can only select today radio button.. If he select others than.. the error message should come.. Can anyone help me.. coz.. I dont know.. which event is triggering if the user select other than today radio button of the PNP screen.
    I put break points on the AT SELECTION SCREEN and AT SELECTION SCREEN OUTPUT.
    But, none of the event is triggering.. Can anyone help me regarding this.
    Thanks,
    Regards,
    Jhings.

    Hi...
    Thanks for the reply.. I did this also..
    AT SELECTION-SCREEN ON RADIOBUTTON GROUP $zb2.
      BREAK-POINT.
    $zb2 is the group name of the radio button which is there in PNP logical database selection screen..
    Same problem again.. this event is not triggering also..
    Regards,
    Jhings

  • PNP standard screen

    Hi,
    I am using a PNP screen to get all the employees that are under a personnel area. I don't want to show Personnel area as a parameter but I still want to select only the employees that are under a specific personnel area.
    How do I achieve this?
    Regards,
    ~Mark

    Hello Mark,
    The Personeel area field is just not shown on the selection screen because of the report category choosen. But it is still the part of the selection screen of logical DB PNP. The fieldname is PNPWERKS
    It is a select-option.
    So you can just pass the value to this field in the INITIALIZATION.
    Regards,
    Atish

Maybe you are looking for