Add custom infotype in PTMW

Hi Experts,
I received one requirement to add a custom infotype in PTMW transaction to maintain data.
I want to know is it possible to add a infotype in PTMW? if yes can anyone give me procedure for that?
Thanks in advance.

It should be possible to customize the program module of the PTMW transaction, using standard ABAP Enhancement.  The infotype will need to be added in the infotypes list (usually this would be in an include of the main program); this will result in reading the infotype when GET PERNR is executed.
For changing the input screen, validation, and output to the required infotype records, also the same ABAP Enhancement can be used.
see links:
Enhancements in SAP ABAP [ Introduction ] ~ New To SAP
ABAP Enhancement Implementations - Introduction | ABAP Help Blog
Implementing Implicit Enhancement - YouTube
**************** - Demo on Enhancement Framework</title><meta name="description" content="SAPTEC…

Similar Messages

  • How to add custom infotype in ALE for HRMD_A  message type

    Hi  Friends-
    Pls help me for our req  we are using HRMD_A  Message Type for  HR master data but now we need to add one custom infotype ( 9902 ) also in standard ALE filters for this message type   how i can do that pls let me know ?
    <<removed_by_moderator>>
    Regards
    Meeta &  Glory
    Edited by: Vijay Babu Dudla on Dec 14, 2008 11:38 PM

    Hi
    Thanks for your support,
    Pls let me know which steps i should go ?  my secanrio is  inbound side only,
    step 1 )   Define idoc extension for HRMD_A01 using WE30 transaction and define it in partner profiles
    step 2) do i need to write some code in BADI also to update information for my custom infotype also  if yes then where and which BADI pls let me know  ? because already am working on one badi HRALE00INBOUND_IDOC for  few validation for incoming data.
    step 3 )  add  this new custom infotype in my standard ALE  filters.
    Pls let me know if am mistaking some where or if  i have to do some thing else ?
    Regards
    Meeta & Glory

  • Add custom infotype on ppome

    Hi all,
    I'm struggling with adding a custom infotype (tab) to a position in transaction PPOME.
    I searched on sdn and the net, but I'm not able to find a solution.
    Problem is that the tab is displayed, but there's only the message 'no subscreen found' displayed.
    I've done following steps :
    - created the infotype using PM01
    - created subscreen 7000 using PPCI
    - added subscreen 7000 in table T77ID
    - adapt the sequence of the framework in SPRO
    I'm sure that I'm missing something, but what ?
    Thanks for the help !
    best regards,

    Hello,
    Note 327614 and 385019 might help troubleshoot your issue
    Kind regards
    Sarah

  • How to add fields in custom infotype and update its screens

    Hi Experts
        I want to enhance a custom infotype ( Add some new fields, and add special function on its screen). This custom infotype is created in previous release.   is there any way to add fields in infotype? and let system automatcailly modify corresponding screens to add new fields

    Go to Transaction PM01.
    2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
    3) Select the u2018Employee Infotypeu2019 radio button.
    4) Select the u2018PS Structure Infotypeu2019.
    5) Click on Createu2026 A separate table maintenance window appearsu2026
    6) Create a PS structure with all the fields you want on the Infotype
    7) Save and Activate the PS structure
    8) Go back to the initial screen of PM01.
    9) Click on u2018Allu2019 push button. It takes a few moments.
    10) Click on u2018Technical Characteristicsu2019. Infotype list screen appears
    11) Click on u2018Changeu2019(pencil) button
    12) Select your Infotype and click on u2018Detailu2019 (magnifying glass) button
    13) Give u2018T591Au2019 as subtype table
    14) Give u2018T591Su2019 as subtype txt tab
    15) Give your subtype field as subtype field
    16) Save and come back to PM01 initial screen
    17) Click on u2018Infotype Characteristicsu2019 u2026 Infotype list screen appears
    18) Click on u2018Changeu2019 (pencil) button
    19) Click on u2018New Entriesu2019
    20) Enter your Infotype number and short text
    21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotypeu2019s infotype characteristics screen and use as the reference to fill yours)
    22) Save your entries.
    23) Now the Infotype is created and ready to use.
    24) If you want to change the layout of the Infotype as per your requirementu2026
    25) In the PM01 initial screenu2026Select u2018Screenu2019 radio button and give 2000 as the screen name, then click on edit.
    26) In the next screen.. Select u2018Layout Editoru2019 and click u2018Changeu2019.
    27) Screen default layout appearsu2026here you can design/modify the screen..change the attributes of the fields..etc.
    28) Save and activate. (Donu2019t forget to u2018Activate at every level
    i think u have to select CI_INCLUDE while enhanceing the Standrad Infotype

  • Add new loop field in custom infotype - error field .. not assigned to loop

    Hi,
    I have a task of adding a new loop field in a custom infotype screen 3000. Here, in the past there have only been the fields begin date and end date. I need to add a new field, so this is how I proceeeded:
    1) I modified the screen 3000 in SE38, adding the field where I wanted and defining a loop.
    Now, I get the syntax error : Field P9500-field is not assigned to a LOOP. LOOP...ENDLOOP must appear in PBO and PAI.
    There must be something wrong in what I'm doing, can you please let me know a quick fix on this or how I can accomplish this in PM01? Please keep in mind that this is a custom infotype for SAP TEM, I can't see it in PA.
    Best regards,
    George

    Not a nice solution but I had to do this quick and I'll correct it in the next days:
    The old flow logic PBO code was:
      LOOP.
        MODULE FILL_DYNPRO.
      ENDLOOP.
    If I wanted to insert here something like:
      FIELD whatever
        MODULE dummy.
    , I'd get stupid error messages like this other field is not in loop, endloop, then if I put that other field I'd get the error that the fields are in the same loop...
    Wanting just to get this over with, I added the following code (after the initial loop):
      LOOP.
        FIELD whatever
          MODULE FILL_DYNPRO."same module as above
      ENDLOOP.
    This was repeated in PAI.
    This pretty much works out fine for the moment, I'll look for finer solutions in the week to come.
    Thanks for the help, guys.
    Best regards,
    George

  • How to add F4 functionality to a field in the Custom Infotype

    Dear Friends,
    I have created a custom Infotype 9332 for tracking the career growth of the employee. now i want add F4 functionality to a field in this infotype. How to do it and where to implement the code. Please suggest your valuable options.
    regards.

    Hi,
      You have 2 options.
    1.Table Level
    create a search element and you can attch it in table.
    2.Screen Level.
    In the Flow logic, create a module like " FIELD P9332-fieldname MODULE f4_values" under PROCESS ON VALUE-REQUEST.you can do the coding in the module for populating.
    Reward points if helpful.
    Regards,
    Manoj.

  • Add the custom infotype in Fast entry screen

    Dear All,
                       I add the one new created the custom infotype in the fast entry screen but when am going to create the entry threw pa70 transaction in that case my table control which is been in that infotype is not in editable mode means it's only display mode ..
    Kindly help me to fix this issueees.
    thanks
    Regards
    Sandeep Dabral

    Hi Sandeep,
    Can you share the steps to create fast entry screen to custom infotype? Also is it possible to create custom TCODE to access this instead of PA70?

  • How to add search help to custom infotype listbox??

    Hi All,
    How to add search help to custom infotype listbox??
    Thanks in advance

    Hi Vinay,
    We have search help and list box as 2 different options.
    At a time we can make a field a list box or a search help.List box is restricted and we can pick values from the defined list whereas in search help we can allow more entries and then validate the value entered later.
    Implementing a listbox or search help in infotype is same as that of implementing it in a modulepool .
    for search help..we can create a custom search help or check for existing search help in se11
    then in the screen on infotype field..assign the search help direcly at the screen painter level..
    double click on the field in screen painter -> change mode and then in the space for "search help" enter the search helps name
    for list box..in the screen painter ,make sure the field is selected as list box..then in PAI of screen we do a
    (Process on value-request..field fieldname module module name)..check syntax and other details...
    Using function module vrm_set_value fill the field and populate it as required
    Pls check and revert
    Regards
    Byju

  • Hiding table fields in custom infotype

    HI guyz,
    i have created a custom infotype which has 2 subtypes . certain fields should not be displayed when we select the subtypes. i have used the code below. the screen contains a table.
    MODULE hide_FIELDS OUTPUT.
    IF p9555-subty = '1'.
    LOOP AT SCREEN.
    IF screen-group2 = 'ABC'.
    screen-active = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ENDIF.
    IF p9555-subty = '2'.
    LOOP AT SCREEN.
    IF screen-group2 = 'XYZ'.
    screen-active = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ENDIF.
    ENDMODULE. " hide_FIELDS OUTPUT
    the fields which are not in the table are not getting displayed as required but the fields in the table still appear on the screen(they are grayed out). i do not want them to appear on the screen. can anyone help me with this. Thanks in advance.

    Hi Madhu Reddy , instead of using screen-invisible = '1' , u can try this .
    MODULE sereen_modify OUTPUT.
    DATA:  COL TYPE CXTAB_COLUMN.
    LOOP AT TC-COLS into COL.      " TC is ur Table Control
      IF col-screen-group1 EQ '007'.     " Modification group1 is say 007.Also u can add other              checks like pnnnn-subty = 1 here .
       col-invisible = '1'.
       col-screen-output = '0'.
       modify TC-COLS from COL index COL-INDEX.
         ENDIF.
    ENDLOOP.
    ENDMODULE.                           " Call this module in ur Flow Loic PBO.
    *Reward Points If Helpful

  • Change Pointers not being created for HR-PA Custom Infotype

    Problem Description:
    We have a custom Infotype in SAP to store the data for contingent employee - Infotype 9001. Change pointers is
    turned on. We are running the program RBDMIDOC to send changes to Oracle IDM using message HRMD_A. The change
    detected for all infotypes except 9001. For 9001, the change pointer is not created.
    The following are the current configuration details:
    IDOC Extension Created to Idoc type HRMD_A07 (ZHR_EXT)
    custom segment zhr_seg
    Change pointers are switched on.
    Change pointers switched on for message Type HRMD_A.
    IDOC configuration created for Port / Process code etc.
    Maintenance of view T777D - Added ZHR_SEG.
         If I add the segment ZHR_SEG as a 2nd segment to Infotype 0000, I dont get a syntax error. But the changes for Infotype 9001 are not picked up.
         If I add the segment ZHR_SEG as a segment to Infotype 9001, I get a syntax error - check EDI: Syntax error in IDoc (mandatory segment missing) below.
    EDI: Syntax error in IDoc (mandatory segment missing)
    Message no. E0072
    Diagnosis
    The segment ZHR9001 has the attribute 'Mandatory' in the syntax description of the basic type HRMD_A07 (customer enhancement ZHR_EXT). However, the segment is missing in the IDoc. The segment number logged in the status record identifies the item before which the segment is missing.
    This error may have been triggered by an unidentifiable segment before the expected mandatory segment.
    Procedure
    Please check the IDoc or the syntax description of the basic type HRMD_A07 (customer enhancement ZHR_EXT).

    Were you able to resolve the issue?
    If yes, could you please share what was done to resolve it.
    Your help will be greatly appreciated.

  • HR ABAP : Custom Infotype updations

    Hi All,
    I am new to HR ABAP. Actually, I want to update the custom infotype 3 fields as per my user inputs. I am fetching the data from the PA table acoording to sy-datum falling in the begda, enda limitations. now I am changing the field with new values in the work area. And pass with the following data to the FM.
    But I am getting the error 'No data stored for 9008 in the selected period'. I had seen prvious therads, but could not get how they solved the issue.
    Please provide the inpus for the following code. I had also passed the validity start and end.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
    EXPORTING
    infty = '9008'
    number = pernr
    SUBTYPE =
    OBJECTID =
    LOCKINDICATOR =
    VALIDITYEND =
    VALIDITYBEGIN =
    RECORDNUMBER =
    record = wa_pa9008
    operation = 'MOD'
    TCLAS = 'A'
    DIALOG_MODE = '0'
    NOCOMMIT =
    VIEW_IDENTIFIER =
    SECONDARY_RECORD =
    IMPORTING
    return = l_bapireturn
    key = bapipakey_tab
    Regards,
    Brijesh Patel

    Hi Remi,
            I have done the same thing. Please see the code. data is also available in the database. But the output is the error message. Please give some inputs on this.
    ***Updation of the PA9003 Infoty pe with the LTA amount and Medical Amount
        SELECT SINGLE endda
                      begda
                      FROM pa0001
                      INTO (endda, begda)
                      WHERE pernr EQ pernr
                        AND endda GE sy-datum
                        AND begda LE sy-datum.
        SELECT SINGLE *
                      FROM pa9003
                      INTO lwa_pa9003
                      WHERE pernr EQ pernr
                        AND endda >= sy-datum
                        AND begda <= sy-datum.
        wa_pa9003 = lwa_pa9003.
        wa_pa9003-zzallw = zzallw.
        wa_pa9003-zzlta = zzlta.
        wa_pa9003-zzmed = zzmed.
        ADD 1 TO wa_pa9003-seqnr.
    ***Locking the object
        CALL FUNCTION 'ENQUEUE_EPPRELE'
          EXPORTING
            pernr          = pernr
          EXCEPTIONS
            foreign_lock   = 1
            system_failure = 2
            OTHERS         = 3.
        CALL FUNCTION 'HR_INFOTYPE_OPERATION'
          EXPORTING
            infty                  = '9003'
            number                 = pernr
       subtype                = wa_pa9003-subty
       objectid               = wa_pa9003-objps
       lockindicator          = wa_pa9003-sprps
       validityend            = wa_pa9003-endda
       validitybegin          = wa_pa9003-begda
       recordnumber           = wa_pa9003-seqnr
            record                 = wa_pa9003
            operation              = 'MOD'
      TCLAS                  = 'A'
      DIALOG_MODE            = '0'
      nocommit               = space
      VIEW_IDENTIFIER        =
      SECONDARY_RECORD       =
         IMPORTING
           return                 = l_bapireturn
           key                    = bapipakey_tab
    ***Unlocking the object
        CALL FUNCTION 'DEQUEUE_EPPRELE'
          EXPORTING
            pernr = pernr.
    Regards,
    Brijesh Patel

  • Text fields are not displayed for custom infotypes in Adhoc query

    We have developed a custom infotype , which we had incldued in the adhoc query.  when we generate output , it is showng codes instead of text . In the output filed , it is hwoing only vaue and Vale and text is diabled.
    please let me know , how to add text in the out filed filed
    thanks
    rajaram B bhat

    HI
    But in the out put filed , when  i click on the output filed , i am get three drop downs , only text , only value and valu & text.
    Only value is enabled and other two ate disabled.
    How to enable the othet two , i.e text only and value & text
    thanks & regards
    Rajaram B Bhat

  • Custom infotype in SAPHRActiveSync - supervisor field

    Has anyone been successful in adding a custom infotype in the SAP HR ActiveSync adapter to get the values? I added it to the schema and did the mappings in the wofkflow, but its always returning null value. I need to add supervisor field and work address fields which are custom attributes that are being looked up in another table in SAP, thus no specific infotype for them. I read in the documentation that there are 6 infotypes supported (0000, 0001, 0002, 0006, 0105) but no mention of custom infotypes...anyone faced similar issue and what was the workaround? Should we just use a BAPI call to get the values? We're using IDM v8.0.
    Any help is appreciated.. Thanks!

    Hi,
    When you take a drop down from the infotype column, you will see a window with infotypes. By default, it is restricted to 500 entries. To change that, click on the narrow bar under u201Crestrictionsu201D (has a downward arrow) and change the maximum number of hits to 999. You will then get all the infotypes including the custom ones.
    Hope this helps.
    Donnie

  • Adding field from Custom Infotype in Screen Header-PA30

    Hi all,
    Can we add the fields from custom infotype to the screen header in PA30? When I tried through Change Screen Modifications, I could not see the custom infotype in the Infotype column, so I could not select the required field.
    Please guide.
    Thanks in advance.

    Hi,
    When you take a drop down from the infotype column, you will see a window with infotypes. By default, it is restricted to 500 entries. To change that, click on the narrow bar under u201Crestrictionsu201D (has a downward arrow) and change the maximum number of hits to 999. You will then get all the infotypes including the custom ones.
    Hope this helps.
    Donnie

  • Adding Custom Infotype to a Infoset

    Hi,
    I have created a Custom Infotype for OM with some custom fields.These fields need to be made available to the Infoset for Adhoc Query.
    Any idea how this infotype can be added to the infoset?
    or made available for Queries.
    Thanks,
    Vijay

    Here are the steps that I followed:
    Enter the transaction code PPCI
    Enter a four digit infotype number (9nnn) and an infotype name.
    Select Field Infotype
    Choose Infotype Create.
    Choose Check environment to maintain the required entry in table T777I (Infotypes per object type).
    Choose the Entry 'T777I' under the list of 'Table Entries' (This list is produced when you choose 'Check' on the First screen of the Transaction PPCI.
    Press the 'Change' button and you will be taken to the 'Maintain Table Views' Transaction (SM30).
    Press the Maintain button.
    From the list of Infotypes locate the custom infotype created and select the entry for that.
    Click on the 'Time Constraint' folder appearing on the left hand corner of the screen.
    The screen for Change View Time Constraint would appear.
    In the object type field put in: O,P,S whatever is relevant to your requirement.Also add the time constraint.
    Save it and double click on the 'Infotypes per object type' folder (on the left hand side again).
    Create a new entry here for your infotype and save it.
    Come back to the Transaction PPCI and you are all set.
    This is all I did and it worked.
    Thanks,
    Vijay

Maybe you are looking for