Infotype in PPOME , disable display_period-begda and display_period-endda

Hi everyone, i create an infotype custom with subscreen; then create association for infty and type position 'O'.
From subscreen MPXXXX00 subscreen 7000 i have to disable     dynpname = 'SAPLRHOMDETAILMANAGER'.
    dynpnumb = '0300' fields DISPLAY_PERIOD-BEGDA and DISPLAY_PERIOD-ENDDA.
With f.m. 'DYNP_VALUES_UPDATE' i can change the value , but not the properties.....
How can I do , if is possible ?
Thank' s a lot !!!!!

Hi Marco.
There is chance to do what you want using implicit enhancements, but you must use it carefully.
In the include LRHOMDETAILMANAGERF01 there is a subroutine named INIT_PERIODS, this subroutine is called from a PBO module of Dynpro 0300, so as you can not modify directly this standard include you must use implicit enhancements.
After you have created the enhancement you will be able to add some code at the end of subroutine..  you can make use of field "act_info-tabtype" to identify the active tab, after that you should perform a loop at screen and change the input field to 0.
the source code looks like this:
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1) Forma INIT_PERIODS, Final                                                                                A
$$-Start: (1)----
$$
ENHANCEMENT 1  ZHCMOM001.    "active version
  if act_info-tabtype = 'IT9001'.
    loop at screen.
      if screen-name = 'DISPLAY_PERIOD-BEGDA'.
        screen-input = 0. "Inactivate
        modify screen.
      endif.
    endloop.
  else.
    loop at screen.
      if screen-name = 'DISPLAY_PERIOD-BEGDA'.
        screen-input = 1. "Activate
        modify screen.
      endif.
    endloop.
  endif.
ENDENHANCEMENT.
$$-End:   (1)----
$$
Don't forget activate the enhancement.
Let me know if it works.
Regards

Similar Messages

  • Pn-begda and pn-endda

    Hi all.
    I am developing a hr report with logical database pnp and screen 900 i.e the payroll screen.
    I wan to access the start date of payroll and hence m using pn-begda and pn-ennda but to my surprise both of them are null. i also tried payroll-evp-fpend and payroll-evp-fpbeg but they are also set to null.
    can any one please explain y is it happening and what should i do to find out the start and end date?
    thanks
    HM

    Dear Hitesh,
    Get the payroll run from your HR Functional consultant first. Maybe then, you would get the values in Pn-begda and Pn-endda.
    Reward points if answer is helpful.
    Regards,
    AXE

  • Help me plz ,about pn-begda and pn-endda

    hi everyone.
    what do "pn-begda" and "pn-endda" means?
    it always EQ "18000101" and "99991231"
    can anyone explain it to me ?
    thanks very much

    Hi Grubby,
      pn-begda and pn-endda are depend on the selection options for the period.
    Example:
    1) If you select radio button <b>Today</b> then the values for pn-begda and pn-endda are
    pn-begda = 20070905
    pn-endda = 20070905
    2) If you select radio button <b>Current month</b> then the values for pn-begda and pn-endda are
    pn-begda = 20070901
    pn-endda = 20070930
    3) If you select radio button <b>Current year</b> then the values for pn-begda and pn-endda are
    pn-begda = 20070101
    pn-endda = 20071231
    4) If you select radio button <b>Up to today</b> then the values for pn-begda and pn-endda are
    pn-begda = 18000101
    pn-endda = 20070905
    5) If you select radio button <b>From today</b> then the values for pn-begda and pn-endda are
    pn-begda = 20070905
    pn-endda = 99991231
    For <b>other period</b>, you can enter the dates for the Data selection period and person selection period.
    I hope you understood.

  • Why pn-begda and pn-endda not filled ? but pn-begps and pn-endps filled.

    Hi,
    Im using logical database PNP.
    in all my reports, whenever i fillPayroll period, the from date and enddate (pn-begda and pn-endda) is populated for the  given pay period.
    In one of my report, these value (pn-begda and endda) are blank.
    pn-begps and pn-endps is getting filled instead. (Why ? What setting i have to do, to bring pn-benga and pn-endda?)
    Thanks,
    Jhove.

    Hi Jhove,
    BEGPS and ENDPS refer to person selection period (whether a person exists on a specified period) whereas BEGDA and ENDDA refer to data selection period (whether a specific IT record exists in a specified period). Probably in your report person selection period fields are filled whereas data selection period fields are left blank (or these fields even do not exist in your selection screen). Thus, you need to check whether data selection period is available in selection screen and it is filled prior to report execution.
    Best regards,
    Dilek

  • Custom Infotype : Only for Disply Mode Change and Create Should be disable

    Dear Experts,
                        I Created a custom infotype in PM01 for Exit process , my client requirement is this infotype  only shows the details .
    Could you please tell me how to disable the Create and change button in PA30 Screen ?
    Regards,
    Sivakumar.A

    hi siva
    In PM01 itself you have option module pool, select that option go to screen program.
    there select field->dbl clk-> screen attributes pop up will come.
    there you have to change the input/output option
    Regards
    Deva

  • Updating HRP infotype's begda and endda fields using RH_PNNNN_MAINTAIN.

    hi all,
            I want to change the begda and endda fields in hrpXXXX infotype tables, but use the functiom module RH_PNNNN_MAINTAIN in dialog mode, the begda and endda fields can not be edited.
    can we change these things using this FM?
    or are there any other FMs can make this?
    thanks,
    Huai Zhi

    Hello,
    Use in this way
      CALL FUNCTION 'RH_PNNNN_MAINTAIN'
           EXPORTING
                ACT_FCODE          = ACT_FCODE
                ACT_PLVAR          = IPLOG-PLVAR
                ACT_OTYPE          = IPLOG-OTYPE
                ACT_OBJID          = IPLOG-OBJID
                ACT_INFTY          = IPLOG-INFTY
                ACT_SUBTY          = IPLOG-SUBTY
                ACT_ISTAT          = IPLOG-ISTAT
                ACT_BEGDA          = IPLOG-BEGDA
                ACT_ENDDA          = IPLOG-ENDDA
                ACT_PNNNN          = IPLOG
                SUPPRESS_DIALOG    = '1'
           IMPORTING
                ACT_OK_CODE        = OUT_FCODE
                ACT_PNNNN_OUT      = IPLOG
           EXCEPTIONS
                INFTY_NOT_VALID    = 01
                NO_PLVAR           = 02
                OBJECT_NOT_DEFINED = 03
                OTYPE_NOT_VALID    = 04.

  • Error for custom infotype in PPOME

    Hello Experts,
    I have created one custom OM infotype for object position.Now when i am trying to acccess that Infotype in PO13 it is working fine but when i am trying to acccess the custom infotype in PPOME it is giving a dump.
    EERROR:
    Error in the ABAP program "SAPLRHOMDETAIL_PP01" had to be terminated because it has come accross a statement which cannot be exceuted.
    An exception occurred.
    The exception, which is assigned to class 'CX_SY_ASSIGn_CAST_UNKNOWN_TYPE', was not caught in procedure "INIT_SUBSCREEN" "(FORM)" nor was it propagagted by raising clause exception.
    The reason for the exception is :
    The type "" dynamically specified with ASSIGN....CASTING TYPE is unknown.
    Please guide me where i am doing mistake.
    Thanks in advance.
    Shweta

    Hi Sudha,
    PM01 is the tcode.
    Similar questions were already answered in the following threads
    ABAP HR : Infotype Enhancement
    So please search and then post specific queries.
    rgds
    gayathri

  • Adding a customer infotype in PPOME

    Hello experts,
    I'am trying to add a new customer infotype to PPOME, which should be displayed for all nodes of type "O" - so far, so good. I created the Structure HCI9600 and then I used PPCI without any problems. The new infotype is a part of PPOME, but when I want so save the data, the transaction dumps saying "DYNP_WRONG_SCREEN_TYPE". This is because the screen of the infotype to be processed is a subscreen (Dynpro 7000 of the generated module pool). But I cannot switch the Dynpro to normal dynpro because the PPOME then dumps immediatly.
    So what to do? Nothing found in the OSS...
    Thank you
    T.
    Sorry, the question is solved - never use dynpro 7000!
    Edited by: Thomas Frühling on Sep 12, 2010 8:58 PM

    Hello experts,
    I'am trying to add a new customer infotype to PPOME, which should be displayed for all nodes of type "O" - so far, so good. I created the Structure HCI9600 and then I used PPCI without any problems. The new infotype is a part of PPOME, but when I want so save the data, the transaction dumps saying "DYNP_WRONG_SCREEN_TYPE". This is because the screen of the infotype to be processed is a subscreen (Dynpro 7000 of the generated module pool). But I cannot switch the Dynpro to normal dynpro because the PPOME then dumps immediatly.
    So what to do? Nothing found in the OSS...
    Thank you
    T.
    Sorry, the question is solved - never use dynpro 7000!
    Edited by: Thomas Frühling on Sep 12, 2010 8:58 PM

  • Begda and endda missing

    Dear experts,
    I'm making HR reports and noticed that i could only retrieve data from the current month and year. I did some problemsearching and discovered that my begda and endda infotypes aren't present in my HeadCount and Personnel Actions cube in BW.
    My question to you:
    Is there a way i can still access these infotypes for my query?
    or do i need to remake my cube?(if so, how?)

    Hi,
    Thanks Atish...
    I'm creating a custom infotype which has to be populated from more than one infotype..
    So in that dynamic action i've to check the values of begda and endda in a module... for that i don't want to include the structures of all the infotypes from which the custom infotype is going to be populated.
    I want to fetch the values of begda and endda from some other table..
    Got it my friend?

  • Updating Infotype 0077 for the New Race and Ethnicity Codes

    Hi,
    I would like to ask for a help or any ideas on below case:
    There are new race and ethnicity codes required by the US EEO Law. I've already maintained them in table T505R. My problem now is on how infotype 0077 records of the employees will be updated showing the new race and ethnicity codes. Program RPURACU0 is use to update the records in infotype 0077. In this program, I first map the old ethnic origin to the new race and ethnicity codes. But after I've run and execute the program, infotype 0077 records of the employees still shows the old ethnic origin codes. It does not show the new race and ethnicity codes which should be based on the mapping I've done.
    Another problem is that in infotype 0077 in the field "Ethnic Origin", upon clicking on the drop down list, it shows all of the entries I've entered in table T505R. I think that ethnicity and race categories should be two different fields and thus, there should be another field for the race categories. May I know on how to add such field?
    To summarized, I need help in the following:
    -how to update infotype 0077 showing the new race and ethnicity codes
    - how to create field "Race" in infotype 0077 to display the new race categories
    Thanks in advance for your help!

    Mary,
    We have applied the relevant note, updated MP007700 (as below) and executed program RPURACU0 with the required mapping.  However, the Race field check boxes are not visible on IT0077 because as you can see the relevant field is not listed below.
    Module Pool          MP007700            Variable key    10
    Standard screen      2000                Feature
    Alternative screen   2010
    Next screen          2010
    001     P0077-RACKY     Ethnic origin
    002     P0077-MILSA     Military status
    003     P0077-ETHEN     Ethnicity
    004     P0077-SURVY     Survey answered
    005     P0077-DISAB     Disability
    006     FRAME_2     Veteran Status
    007     P0077-MEDIC     Benefit Indicator for Medicare
    008     P0077-DISDT     Date of Determination of Disabil
    009     P0077-DISLE     Date Employer Learned of Disabil
    011     P0077-EEOEX     EEO Exempt Indicator
    012     Q0077-VETS2     Veteran status
    013     Q0077-VETS3     Veteran status
    014     Q0077-VETS4     Veteran status
    015     Q0077-VETS5     Veteran status
    016     Q0077-VETS6     Veteran status
    017     Q0077-VETS7     Veteran status
    018     IT_ITAB-MARK                                    
    019     Q0077-VETS1     Veteran status
    021     FRAME_1     Additional Personal Data
    023     FRAME_3     Disability
    Thanks!
    Edited by: Victoria Nate on Sep 23, 2008 6:35 PM

  • Open PDF with disable save as and Print option

    Hello,
    I want a pdf viewer to use it in my website with disabling save as and print ,i mean user only can see my books online.I need something like "books.google.com" viewer. It is possible thru java programming or with the help of any open source. Please provide me some solution i am in deep trouble.
    Thanks for any reply.
    Shambhu Mitra

    You cna do this with the security options in the PDF file itself, which you can set with Adobe Acrobat, assuming you have access to the security options in the first place.

  • Apple disabled my account and disallowed my credit card!

    I'm so angry at Apple now that I don't know where to begin. There were unauthorized in app purchases from my account and I contacted a Apple asking for a refund. They first refused blaming me or someone else in my household did the purchases. I wrote back that no one but me knew the itunes password. I got a reply that they would make an exception in my case and refund me and for that I'm happy. But they also said this: "To prevent further purchasing, I have disabled your account and have disallowed your Credit card from being used on the iTunes Store.". Now its not even possible to install free apps on my iphone since I only get a message that my account is disabled. I contacted them again asking how I could get my account back and credit card enabled again. They said that there was nothing they could do, I had to make a phone call to their support to get help. Should I call them? I'm scared they will be just as bad and unhelpful as the mail support. I just want this solved as fast as possible, actually I regret asking for a refund. If I knew this would happen I would rather have paid the unauthorized purchase than have go through this ****.
    I really need to get my account back since I have done lots of earlier purchases that I don't want to lose.

    After talking to Apple support over phone, they have now enabled my account, but he couldn't do anything about the disallowed credit card. He said that I should contact Apple again by mail to get my credit card unbanned, so that's what I did. This is part of the reply I got from them:
    "-----, Apple takes the security of your account very seriously as you had earlier reported for unauthorized activity on your credit card, so it has been prevented from being used on the iTunes Store.
    If you have not done so already, please ask your card issuer to cancel the card and provide a replacement card with a new number."
    I never said there were any unauthorized activity on my credit card, there was absolutely no need for them to ban it in the first place. Now they refuse to unban it and suggest that I should get a new credit card (I only have one)? I will not do that, if you do not unban my credit card you lost me as a customer and I will never buy anything from Apple again.
    How can I convince Apple to unban my credit card? What should I do? I can't believe how bad support I got by e-mail from Apple. The person I talked to over phone was very nice and helpful, but the e-mail support is really horrible.

  • How can I disable e-mail and text messages when I'm close to or over my data quota ?

    How can I disable e-mail and text messages when I'm close to or over my data quota ?
    Is this possible? I don't see any options?
    All I see is this:
      Receive confirmations of many account transactions via Email and/or free Text Alerts delivered right to your cell phone. You can receive these confirmations for  
       transactions done online, over the phone or from your handset. Account management Text Alerts do not count against any Messaging allowances.
          Your bill is ready for review.
         Payment Confirmations: Your payment has been  received    Your credit/adjustment     has been applied.1
         Account Activity Confirmations     Plan changes     Feature changes1

    What phone?
    You would need to disable data on the phone itself.  You wouldn't do it online on your account.
    Note also that text messages do not count toward your data allowance.

  • Is there a way to disable 'Save as' and 'Send Email' function in Acrobat XI?

    Hi,
    Is there a way to disable 'Save as' and 'Send Email' function in Acrobat XI?
    Thnx in advance.

    I would hope there would be no way to disable Save AS that would reduce the applicationss capability. What are you trying to prevent happening?

  • My daughter has disabled her ipod, and screen is saying "connect to itunes!, when I connect ipod it is asking for password???? can anyone tell me what to do, we have an itunes account set up???

    My daughter has disabled her ipod and we do not know how to re-set her password,Message on ipod screen
    is "connect to itunes" have connected ipod and it keeps asking for password which we have disabled??
    can anyone help.

    Place the iPod in recovery mode and then restore the iPod.  For recovery mode see:
    iPhone and iPod touch: Unable to update or restore

Maybe you are looking for