Read screen field in infotype 8

Hi all,
I am using exit Exit_SAPFP50M_002 for transaction PA30.In the include, i have to read the basic salary field (Q0008-betrg).
But, my problem is Q0008 is structure.How to read the screen field. That value does not exists in any table.
Please help.

I am using BAdi HRPAD00INFTY (before output) for defaulting some values of the HR infotypes such as Salary.I am accessing those values by using following code.
data : I0008 TYPE P0008.
CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
EXPORTING
PRELP = INNNN
IMPORTING
PNNNN = I0008.
all the values all populating in I0008 but when i change the value of bet01(I0008-bet01 = 123456.) , it is not displaying on screen.
any idea??
Thanks,
Prashant

Similar Messages

  • Add ifnotype field to an Infotype Screen Control for Infotype 0006

    How do I add an infotype field to an Infotype Screen Control for Infotype 0006. We need to add an additional Field for mobile phones. I have lloked in screen control (V_T588M) with no joy.
    Edited by: Henry Manana on Sep 1, 2010 12:11 PM
    Edited by: Henry Manana on Sep 1, 2010 12:12 PM

    You may copy your current screen into a new screen (e.g. 2099) for MP000600 and add the 2 fields into the element list as well as the screen layout of screen 2099. Then set an appropriate Modification Group 3 to these 2 fields in T588M detail screen for screen 2099. Configure feature P0006 and table T588M to set screen 2099 for molga 16.

  • How can we read the screen field values from the report selection screen wi

    Hi expart,
    How can we read the screen field values from the report selection screen with out having an ENTER button pressed  .
    Regards
    Razz

    use this code...
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
    **Read the Values of the SCREEN FIELDs
    CALL FUNCTION 'DYNP_VALUES_READ'

  • How to add one more field in infotype and PA 30 screen

    Hi to all
    My requirement is to add a new field in infotype and that should be reflected in PA30 screen.
    Actually in my company one field require from which date the car allowance is started.
    For that one date field is require on PA30 screen ..
    Also suggest me which screen is suggestable for that. and also give me any othe way is possible.
    Thanks & Regards
    Anubhav

    Yes .. I added the field in the structure but that field is not reflecting in PA30 screen.
    please advice me .. what to do...
    Thanks..
    Anubhav

  • How to hide OM infotype screen field

    Hello Experts.
    Please let me know how to hide OM infotype Screen field ? i want to hide Percentage field on IT1011.
    I know i can create alternative screen "Z" and hide the field and attach alternative screen to the Module pool.
    Please let me know if i can do this using BADI so there will not be any change to standard.
    Regards,
    Saurabh

    Hi Shiva,
    To get the detail about a table filed you can use DDIF* function module.
    Here in this particular case you can use FM   DDIF_FIELDINFO_GET.
    Pass the table name & field name.
    After executing that FM you can check   DFIES_TAB  in Tables parameter. i t will be having an entry.
    Check for filed name as   KEYFLAG  , if it is not initial ie.  X then supplied filed is Primary Key.
    If KEYFLAG is initial then supplied filed is not a primary key.
    Thanks & Regards
    Satyam

  • Updating infotype screen with screen fields

    Hello everyone,
    I am working on a RFC to update infotype 0077. Infotype 77 has veteran status as screen fields from Q0077 structure. I am using HR_INFOTYPE_OPERATION to update 77. Could anyone please tell me how to update the screen and database table pa0077.
    Thanks for your time and answers.
    Rush

    Thank you Balaji. I tried updating with HR_INFOTYPE_OPERATION but no luck. Could you please suggest any other way of updating field in info type screen (Q0077 structure) as well as in PA0077 table??
    Thanks
    Rush

  • Screen field reading

    Hi All,
    I am working on a TCode EC50E(IS-U). The second screen of this TCode have a Tabstrip with 5 tabs . One tab is calling two subscreens.Now i want to read a field value in the second subscreen. How can i read this. Please explain with an example.
    Thanks in Advance,
    Subhani.

    You can do it in two ways.
    1. By using the Parameter Id , if you have the parameter id then you can read it from get parameter id.
    2. if you does not have then use the following FM to read the values.
    call function 'DYNP_VALUES_READ'             
          exporting                               
               dyname               = dname       
               dynumb               = dynnr       
          tables                                  
               dynpfields           = fields      
          exceptions                              
    Thanks,

  • Read the buffer in screen fields of the report program.

    Hi all,
    I have 2 screen fields in a report program. I need to do some process based on the entry in the 1 st field.
    But i need press 'enter' after making an entry in the 1st field. I want to read the field dynamically. I was able to find a function module to do it 'DYNP_VALUES_READ'. In this one of the import attribute is the dyname. I give the field name of the 1st field as per its defined in the selection parameter of th report program. And when exectued the function module returns invalid dyprofield. 
    kindly advise on what should be the dyproname for selection parameter.
    Thanks And Regards
    Ravish

    hi ravi,
    just execute the code and try to know where u r getting error in ur code .
    in this just give the input as USD(us dollar)
    substitute for dynname = sy-cprog in ur code and check that .
    hope this helps u out .
    regards,
    vikky.
    tables tcurt.
    DATA   DYFIELDS LIKE DYNPREAD OCCURS 1 WITH HEADER LINE.
    PARAMETERS: P_WAERS LIKE TCURT-WAERS,        "Currency
                P_LTEXT LIKE TCURT-LTEXT,        "Long Text
                P_KTEXT LIKE TCURT-KTEXT.        "Short Text
    *--- Example of updating value of another field on the screen -
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_WAERS.
      CLEAR: DYFIELDS[], DYFIELDS.
    *--- select currency
      CALL FUNCTION 'HELP_VALUES_GET'
           EXPORTING
                fieldname        =  'WAERS'
                tabname          =  'TCURT'
           IMPORTING
                SELECT_VALUE     =   P_WAERS.
    *--- get long text for the selected currency
      SELECT SINGLE LTEXT FROM TCURT
        INTO DYFIELDS-FIELDVALUE
        WHERE SPRAS = SY-LANGU
        AND   WAERS = P_WAERS.
      IF SY-SUBRC <> 0.
        CLEAR DYFIELDS-FIELDVALUE.
      ENDIF.
    *--- update another field
      DYFIELDS-FIELDNAME = 'P_LTEXT'.
      APPEND DYFIELDS.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
           EXPORTING
                DYNAME               = SY-CPROG
                DYNUMB               = SY-DYNNR
           tables
                dynpfields           = DYFIELDS .
    **--- Example of reading value of another field
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_KTEXT.
    *--- read another field
      CLEAR: DYFIELDS[], DYFIELDS.
      DYFIELDS-FIELDNAME = 'P_WAERS'.
      APPEND DYFIELDS.
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                DYNAME                   = SY-CPROG
                DYNUMB                   = SY-DYNNR
           TABLES
                DYNPFIELDS               = DYFIELDS .
      READ TABLE DYFIELDS INDEX 1.
    *--- get short text and update current field
      SELECT SINGLE KTEXT FROM TCURT
        INTO P_KTEXT
        WHERE SPRAS EQ SY-LANGU
        AND   WAERS EQ DYFIELDS-FIELDVALUE.

  • How to Read the Screen Fields after a Transaction ?

    Hi all,
    I am working on the Transaction 'O4K_LICENSE'. After the transaction is run, it generates an Internal License number which is displayed on the screen. I tried using 'GET PARAMETER', but as the CALL TRANSACTION is called within a loop, the SAP Global memory is not getting refreshed and iam getting the same value for every loop for the Internal License Number.
    Is there any function Module other than DYNP_VALUES_READ to get the screen field values? I tried using the above function module, but in vain and it is not getting any values.
    Warm Regards,
    Vijay.

    Well .... let me explain this very clearly.
    The table OIHL has a composite primary key which is the combination of "External License Number" and "Internal License Number". The latter is generated after running the O4K_LICENSE transaction.
    Moreover, iam attaching every record with a record generated in the program. Now, the same User(ERNAM) can create records having the same External License Number.
    For example:
    If i created a record yesterday with an external License Number 123, then say an internal lic no of 3 is assigned to it.
    If i Create another record today with the same external lic no of 123, and an internal no of say 20 is attached to it, then i donot have any criterion to select the one which i have created today, as it fetches both the records.
    To add to the worst, there is no timestamp field also.
    Message was edited by: Vijay Sai

  • Make Screen field non editable

    Hi All,
    We have following requirement in our project:
    When entering infotype 1 in any action a check should be made to set default values in Work Contract. If Employee Group =u2019 1u2019, Work Contract u2018ZFu2019 should be set and this value must not be changed. If Employee Group u20181u2019 the Work Contract could be all other values except u2018ZFu2019.
    We are using badi HRPAD00INFTY to handle the above requirement. But there is a problem. When we perform an action and go to infotype 1 screen the contract field is populated with correct value and is display only field. Once you press enter on the screen the field becomes an editable field and can be changed by the user. I debugged the program and found that PSYST-NSELC is set as NO (0) in the program MP000130 and is checked if it has a value YES in module p0001 called in PBO of screen 2000 include MP000120. If the value is YES only then BADI is called else not.
    Can someone suggest what could be the problem area or any other way to meet the requirement ?
    BR Jaideep,
    Duplicate Post. Continue here: Screen field not getting editable..
    Edited by: kishan P on Sep 9, 2010 2:20 PM

    Can you explain how a physical inventory is done in your company., and what problems come up if a wrong date is entered?
    In my company we create and print the inventory documents immediatly before counting, and we are making sure, that the volume can be counted, entered and difference posted on the same day.
    Further we are setting a posting block in SAP, and of course we make sure that no physical movement happens during the count.
    And of course we make sure that everyting what was received or issued prior to the count is already entered in sAP before we start creating the documents.
    SAP takes the book inventory in the moment the counted quantity is entered in this case. No matter if the user enters a count date of today or of last week.
    But if you close the field (which is not possible with customizing), then you have to make sure that you enter the count on the same day you have counted, because if you would enter the count on the next day, then your counting date would be wrong and you would not have a chance to enter the correct counting date.
    And as SAP stores everything what a user enters, it is easy to identy the user who has fooled the system, and then the HR guy should do his job, especially as the physical inventory is in most countries a legal requirement, which has to be done seriously.
    don't give authorization to the guys who dont follow your policies.

  • Additional field in infotype 0009 issue ( PBO and PAI )

    Hi Guru,
    I need your help please.
    I have a additional field in IT0009 and when I want created a new infotype 0009, I fill all field but after ENTER or SAVE all field are save in the layout but not the additional field.
    To save the additional field in the layout, I must fill it again and after the ENTER or SAVE the field is save in the layout.
    I have checked in the debbugger, when I create a new infotype 0009 it goes to the PBO but after ENTER or SAVE it doesn't go to the PAI so I must do it again ( fill the additional field and ENTER or SAVE ) and then it goes to the PAI.
    Thus I would like to know how I can make so that after the ENTER or SAVE the screen goes in PAI before the PBO and at the first time.
    Thanks very much in advance.
    Regards.

    Hi Srini Vas, hi Pedro Guarita and thanks for your reply,
    After more investigation, the probleme come from a check over country bank.
    In fact, the screen of the infotype 0009 must be adpated following the country bank but to do this, the standard module pool (mp000900) check if the country bank have changed.
    call method cl_hrpad00_iban=>process_iban_pai
          changing
            cs_bankdata = ls_bank_data_current
          exceptions
            error_iban  = 1
            others      = 2.
        if sy-subrc <> 0.
          message id sy-msgid type sy-msgty number sy-msgno
                     with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.
        call method cl_hrpad00_iban=>get_bank_data_old
          importing
            bank_data_old = ls_bank_data_old.
        if ls_bank_data_current-banks <> ls_bank_data_old-banks. "MELN1357200
    bank country changed -> leave screen needs to be done
          leave_screen = 'X'.
        endif.
    But when you create a new infotype 0009, the ls_bank_data_old-banks is always initial. So when module pool compared the ls_bank_data_old-banks with the ls_bank_data_current-banks, those are always different.
    In conclusion, when you create a new infotype 0009 it is always mandatory to push ENTER before to fill any additional field because at each first time that the standard module pool go in the PAI, it make a leave screen.
    Thanks in advance for all yours reply.

  • Custom field in infotype: Cannot see in T588M

    Hi ,
    I created a new field in CI include of infotype 0008. I can see the field on infotype screen, but i cannot see the same in infotype screen control T588M. I have activated and adjusted the database (se14) after making changes . Please advice..
    Thanks
    Arun.

    Hi,
    Solved it myself.. The problem was that I had not assigned screen group to the new fields in the module pool layout.
    Thanks
    Arun.

  • Approver name as changed field in infotype instead of WF-BATCH

    HI Experts,
    I am working scenirio webdynpro with workflow. When user submits the reocrd  from webdynpro screen it should be stored in custom infotype. Creating record process should be done through workflow backgroud step.
    In above scenirio ,Changed By filed in infotype  as WF-BATCH. But i need to display user name in that field.
    Please refer below image FYI.
    Thanks in advance

    Thanks for quick reply..
    In standard infotype 2002 has already field UNAME, So no need to add field in infotype.
    I have tried like p2002-UNAME = 'SCNUSER'.
    But it didn't work because updation done by backgroud through workflow.
    Please let me know in you find any alternative solution.
    Thanks,
    Srinivas.

  • What SAP Table contains the info that a screen fields is hidden

    What SAP table contain screen painter information. Specifically what table contain the logic that a Infotype screen field is vivisable / hidden from the online user. I have been looking in SM51 and cannot track down the table used for this purpose...

    Hi Ryan,
    Please post this question in ABAP forum.

  • PA30 Screen Field

    Hi all,
    For a particular User, if he executes the PA30 tcode and sees an overview  a particular infotype the there are two field which are seen in DE language and rest of the screen feilds in English.
    Pls help how to convert those two screen field which are in DE to EN language.
    The users logs in to system as a EN only
    Pls help me...!
    Regards
    Vijay

    Go to transaction SE11
    Put the P* struc of the infotype (i.e for Infotype 0001, put P0001) and hit Display.
    Double click the <b>data type</b> of the element you need, then click:
    Goto -> Translation
    Set the new language you need (in this case EN) and confirm.
    Translate step-by-step the texts and save.
    Hope this helps,
    Roby.
    PS: you can do this in any system, even Productive.

Maybe you are looking for

  • How can I transfer music from my ipod to a mac?

    I have just over 1000 songs on my 4th generation ipod touch. When I try transfering my ipod purchases onto my mac, it says I need to authorize my computer. So I authorize it, and then transfer the purchases. An error comes up saying there are 91 prob

  • Printing problem with RTF file in java

    Hi, i actually got code to print the RTF doc using java, it works fine if we give small content (some text), but throws error 'java.io.ioException: Too many close-groups in RTF " when actual bill content is pass. Thanks in advance

  • Firefox can't open a plugin to make comments as a Facebook user in some pages...

    It seems a malware blocks the comments in some pages that use the facebook comments plugin. This malware infects Firefox and Chrome and is addressed to block interactions in some social networks. ¿Any suggestions to restore Firefox to his normal beha

  • Oracle.apps.fnd.framework.OAException: oracle.jbo.NoObjException: JBO-25003

    Hi ! I am working with OA framework 9i ARU4 (11.5.10 RUP4) and tried to run /oracle/apps/cs/charges/newreport/webui/ChargesReportPG from JDeveloper. I've copied $JAVA_TOP/oracle/apps/cs to myclasses and $CS_TOP/mds to myprojects according to guidelin

  • Photoshop crashes randomly.

    i have photoshop cc and it will crash randomly when i like resize or use brush tool. My drivers are up to date and i fresh installed windows 7 64bit. My GPU is a AMD Radeon HD 6800 series and photoshop doesnt reconise my GPU http://prntscr.com/1haihg