Creating new Infotype

I created a new infotype 9015. It works and posts correctly.  Then I tried adding a module within the 9015 code to generate an infotype 0014. So the end result should be a 9015 and a 0014 record.   While Im in PA30 I can see the expected results but if I leave PA30 and come back in the records are gone.  Looks like some type of commit issue but I have tried adding code to COMMIT and it doesnt help.
Here is the additional IT0014 code.
    move GV_RETIRE-wage_type_ee  to gt_pa0014-SUBTY.
    move GV_RETIRE-wage_type_ee to gt_pa0014-LGART.
    move GV_RETIRE-ee_percent  to gt_pa0014-ANZHL.
    move p9015-endda to gt_pa0014-endda.
    move p9015-begda to gt_pa0014-begda.
    move p9015-pernr to gt_pa0014-pernr.
    move '0014' to gt_pa0014-INFTY.
    Append gt_pa0014.
    CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
      EXPORTING
        NUMBER = p9015-pernr
      IMPORTING
        RETURN = gt_return.
   CALL FUNCTION 'BAPI_EMPLOYEET_ENQUEUE'
     EXPORTING
       NUMBER              = p9015-pernr
       VALIDITYBEGIN       = p9015-begda
    IMPORTING
      RETURN              = gt_return.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
      EXPORTING
        infty         = gt_pa0014-INFTY
        number        = gt_pa0014-pernr
        subtype       = gt_pa0014-subty
        validityend   = gt_pa0014-endda
        validitybegin = gt_pa0014-begda
        record        = gt_pa0014
        operation     = 'INS'
        tclas         = 'A'
        dialog_mode   = '0'
        nocommit      = ''
      IMPORTING
        return        = lstr_bapireturn
        key           = lstr_bapikey.
    IF NOT lstr_bapireturn-number = 0.
      lv_bapierror = lstr_bapireturn-message.
      lv_failed = abap_true.
    ENDIF.
       CALL FUNCTION 'BAPI_EMPLOYEET_DEQUEUE'
     EXPORTING
       NUMBER              = p9015-pernr
       VALIDITYBEGIN       = p9015-begda
    IMPORTING
      RETURN              = gt_return.
    CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
      EXPORTING
        NUMBER = p9015-pernr
      IMPORTING
        RETURN = gt_return.
    CALL FUNCTION 'RH_UPDATE_DATABASE'
      EXPORTING
        VTASK = 'V'.
    commit work.

You can try to split the update tasks ie Put the 0014 logic inside a custom function module.. make sure to set the 'Update Module' Processing Type in its Attributes. & then  call this custom function IN UPDATE TASK fom 9015.
~Suresh

Similar Messages

  • Error "No entry in table T589A for P" while creating new Infotype

    HI,
    I've created a new infotype (9605). All the tables, structures, screens etc. have been created using transaction PM01 successfully. But upon execution of Infotype from PA30, the infotype screen is displayed with the following error:
    "No entry in table T589A for P"
    Any input will be highly appreciated.
    Thank you,
    Farooq.

    Hi Farooq,
    Untill and unless the the field PSYST-IOPER is cleared explicitly in the program MP960500 (in PBO modules), this error should not occur.
    Also is this error is coming only for 9605 infotype ? Also is any other info availaible in the error message such as entry in table t589a is not available for which value of OPERA (INS, MOD, DEL, LIS etc) ?
    Regards,
    Shrinivas

  • Create new Infotype 9027

    Hello,
    to create an Infotype 9027. After that I try via PM30 to enter the infotype data for an employee.
    But when I start the transaction pm30, enter pers-nr, infotype-nr and click on create, nothing happens.
    Thanks & best regards

    Custom Infotype                       https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1
    Please find this thread
    Best Regadrs

  • Creation of NEW Infotype

    Hello Experts,
    I need to create new infotype ,which will be replica of Infotype-0008(basic pay). user can enter the wage types in that custom infotype.
    is it possible????
    Thanks & Regards,
    Saurabh

    "there are some employees who works extra apart from their regular position "
    questions:
    1. "there are some employees "--> do they have specific characteristic?
    2. "who works extra apart from their regular position"-->
    is the extra salary payment will be included in their regular payroll or will be paid separately or it is only to record the "extra work"? or
    "work extra" is it a form like overtime payment?
    if it will be included in the salary payment, you can create new wagetype and include it in in IT0014-IT0015 depends on the regularity of the payment.
    "currently in custom infotype there is only limited information ie. position and pay scale area, groups n all and cost centers.."
    did u mean "currently in IT0008" there is only limited info (position, pay scale area, groups ...)
    please check or consider to use IT0014 and IT0015 -- sap standard infotypes for other extra payment not included in the Basic Pay.
    best regards,
    dhenny muliawaty (pei pei)

  • Problem Regarding Creating OM Infotype

    Hi Experts
    Very good morning ,,,,, n happy new year....
    i would like to create one OM infotype .i have found some
    threats in forum unable to get result. initially i have created
    HRI9*** structure in Se11 then in PPCJ tried to create new
    infotype but there is log for not creation of infotype and
    that process stops right there only.kindly give me the
    systematic step for the same.
    Thanks
    Nishita

    Hi experts....
    There is no authorisation issue as such...i have just created HRI**** structure in SE11 and
    then finally went to the PPCJ for creating it showing following errors.
    Table HRP9012 does not exist
    HRP9012 not created in the database
    Database index XXXX not created
    Module pool MP901200 does not exist
    Include MP901220 does not exist
    Include MP9012BI does not exist
    Screen 1000 does not exist
    Screen 2000 does not exist
    Screen 3000 does not exist
    User interface for MP901200 does not exist
    T778T: no table entries exist
    T777T: no table entries exist
    T777D: no table entries exist
    T77ID: no table entries exist
    T777I: no table entries exist
    T777Z: no table entries exist
    T77OA: no table entries exist
    T777M: no table entries exist
    T778U: no table entries exist
    T777U: no table entries exist
    T77NI: no table entries exist
    OBJECT PDST: no table entries exist
    OBJECT PDWS: no table entries exist
    Dialog module RH_INFOTYP_9012 does not exist
    R3TR TABL HRP9012 does not exist
    R3TR PROG MP9012BI does not exist
    R3TR DIAL RH_INFOTYP_9012 does not exist
    kindly know me the systematic procesure to create OM Infotype.

  • New Infotype

    Hi gurus....
    While creating New infotype...i am facing a problem..
    after giving the required fields..and tyring to save it...
    'm getting an error   """PACKAGE IN ORIGINAL SYSTEM IS MODIFIABLE WITH ORGANIZER TOOLS"""
    Plz throw some light on this issue..
    regards
    krishna

    please go thru the below, i can see similarities with ur issue. itsshld be a pointer..
    http://help.sap.com/saphelp_nw04/helpdata/en/57/38de9b4eb711d182bf0000e829fbfe/content.htm

  • About new infotype creation ?

    Hi Experts,
    I want to create new infotype in PD.
    Will any one help me how to start with.
    Before creating infotype whether we need to create structure.
    How to create the structure HRI9xxx.
    *Please give the step by step procedure and t-code to create theHRI9xxx structure,Pxxxx,any tables like T777 etc.
    *Suggest some links to create these things.
    *Give step by step procedure to create structure and Infotypes.
    Helpfull answers are rewarded for sure.
    Thanks,
    Sakthi C

    Steps to create a HR Infotype:
    1) 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 'Employee Infotype' radio button.
    4) Select the 'PS Structure Infotype'.
    5) Click on Create... A separate table maintenance window appears...
    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 'All' push button. It takes a few moments.
    10) Click on 'Technical Characteristics'. Infotype list screen appears
    11) Click on 'Change'(pencil) button
    12) Select your Infotype and click on 'Detail' (magnifying glass) button
    13) Give 'T591A' as subtype table
    14) Give 'T591S' as subtype txt tab
    15) Give your subtype field as subtype field
    16) Save and come back to PM01 initial screen
    17) Click on 'Infotype Characteristics' ... Infotype list screen appears
    18) Click on 'Change' (pencil) button
    19) Click on 'New Entries'
    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 Infotype's 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 requirement...
    25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.
    26) In the next screen.. Select 'Layout Editor' and click 'Change'.
    27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.
    28) Save and activate. (Don't forget to 'Activate at every level)
    Subtype Creation :
    Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.
    Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.
    Subty.text tab is T591S and time const tab is T591A.
    See:
    http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
    HR related site:
    http://www.sapdevelopment.co.uk/hr/hrhome.htm
    Enhancement of Infotype
    Check the following
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf
    Infotype Enhancement overview screen
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1
    Reward points if uesful.

  • Create New Field in infotype 0001

    Hi
    Can any body guide me how to create new field in Infotype 0001,
    i want to create  two new fields with six reasons in each new field
    Thanks

    Hi,
    his can be acheived through enhancement. Hope these link helps
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/4f/d526be575e11d189270000e8322f96/content.htm.
    General steps are
    Step 1
    Using transaction PM01 chose the 'Enhance Infotype tab' and press the create 'All' button.
    Step 2
    Enter the new fields you wish to add to the Infotype.
    Step 3
    Once saved and activated the new fields will appear in the Infotype screen and database table
    Edited by: Raghu C on Nov 4, 2009 6:15 AM

  • Workflow - Create a new buisness object type for an new infotype.

    Hi all,
    I have an issue with creating a new buisness object type, which is related to a
    supertype, for an new infotype.
    I am new to workflow and business object. I don't have much knowledge in these area. I need to resolve this problem ASAP.
    Could someone please provide me a step-by-step guide on how to create a new business object type, which is related to an existing supertype, for an newly created infotype?
    If would be very much appreciated if someone could assist me in resolving this issue.
    Thank You.

    Business objects are maintained in SWO1 creating a subtype is done with the button: Create subtype (F9)
    If you don't have knowledge of workflow or abap objects, it is perhaps better to tell your employer that and find someone who has.
    If your problem is simply only creating a subtype then go with the instructions I already gave you, if however more things need to be done, like extending the subtype with (virtual)attributes, methods, events, delegating the subtype and implementing the methods in newly created tasks and subsequently workflows I really advise to find someone who can do this, or attend a SAP course on this subject.
    Kind regards, Rob Dielemans

  • Creation of new infotype 9001

    am trying to create the new infotype 9001 (PM01) for license but SAP not allowing.. asking access key to proceed further.. wot to do?
    Shan

    and also check this
    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

  • Best Practice - Changing description for Org Unit/Position or creating new?

    Hello Freinds,
    I just want to know from your experience what's normally practiced in your implementations for OM :-
    For scenarios where there is a need to change the description of a particular org unit or position, do u
    1. just change the description effective a particular date (to maintain history) or
    2. put an end date to those objects and create new ones ?
    Solution 1 is quick and easy, but in IT0001 the description displayed is as on start date of that infotype which is normally a date prior to the change in desc of those objects. As a result this infotype keeps displaying old description.
    Is there any way to change this display to show the current description instead of the description as on start date of this infotype ???
    Solution 2 calls for a lot of related activities, say if i create a new org unit and delemit the old one - then i have to move all the sub org units and positions into this new one ... which is quite time consuming and doesn't really seem practical.
    How do u manage such scenarios ?
    Thanks
    Allen

    We use option #1, although I am not sure this is best practice.  Using option 1 for positions makes it challenging when it comes to reporting on length of time in position.  We frequently have the scenario where a person is reorged not because they applied for another position, but just because the big wigs want to move around the chess pieces.  In these cases we simply modify the position attributes and then run a PA action.  Then if you run a query and use the standard delivered Length of time in position field, it appears as if the person has been in the same position for years (which they have), but their position has been retitled, re-graded, and re-orged numerous times.  This makes it very difficult to get to an employee's length of time in their role. 
    This is a great discussion question I hope more people respond with what they do and why.

  • Searching SAP Report to create new entries in IT 1001

    hello,
    due to some changes in our FI / CO system we have to create new relationships between cost centers and org. units.
    Does anyone know a sap report which could help here?
    I only knew reports to delimit relationships and / or objetcs but i found nothing to create!
    Thanks
    Walter
    Message was edited by:
            Walter Furitsch

    Hi
    Not come across any such report that creates the OM relationship in Infotype 1001. If its a big number of entries, it would be worth writing a bespoke upload program for table HRP1001.
    Regards
    UR

  • Need to send mail from new infotype

    Hi,
    i must send email notification when i new PA specific infotype is created/changed.
    Finally, i don't think worflow is the best way... but i don't know where i must implemented my code, i've tested this idea by modifying the PAI but it don't work, e-mail is not sent, but function is correct, if i test it it's ok.
    Cheers

    Hi ,
         I came across the same requirement 2 yrs back and i have done it with workflow. You need to create a workflow
    with a single task which sends the mail to corresponding person .
          I forgot the Business Object name , but it was containing an event "CREATED".  When ever a new infotype is created , this event is triggered which inturn triggers WF and the mail is sent.
    Reward points if the info. is useful to you.
    Regards,
    Vijay

  • Unable to create the infotype

    Hi SAP Guru,
    Greetings for the day,
    I had hired a guy with the infotype of  0207,0208,0209,0210 after hiring i try to transfer him using TRANSFER ACTION to another location say from New York to California, which is entirely a different state, where unable to create the 0208,0209,0210 in that i can able to create 0207 infotype alone, when i tried to create after 0207 creation, it is not accepting the information, Here i am looking for some one help, where some one can throw a torch for this issue.
    I had checked with dynamic action, which shows correctly.
    Pls help me in this regards, this  is very urgent.
    Thanks in advance for your reply.
    Regards,
    Babu.

    Generally, an Infotype 208 is not required.  Therefore, you would
    not get an error in RPCACLU0 if an employee does not have one assigned
    Without an IT0208 record, the system uses the tax authority
    specified on IT0207.  Additionally, the same applies to IT0209; one is
    not required and the system will use that of either IT0207 or IT0208.
    Best regards,
    Márcio Leoni

  • How we create custom infotype and how to configure with its subtypes.

    hai abap-hr gurus,
    how to create custom infotype and how to configure with its subtypes. when i am creating infotypes i am not getting how to configure subtypes.
    plz help me for this with an example code.
    thanks..
    kiran kumar

    Hi Kiran,
        Please fallow the below steps to create the custom infotype. If you have any quires let me know.
    For Creation of Infotype first Go to Transaction PM01, Enter the custom Infotype number which you want to create, it should be a 4 digit number and have to start with 9xxx.
    then select the `Employee Infotype' radio button
    after that select the `PS Structure Infotype'
    then click on Create… A separate table maintenance window appears
    then Create a PS structure with all the fields you want on the infotype
    Save and Activate the PS structure
    now Go back to the initial screen of PM01
    Click on `All' push button. It takes a few moments
    Click on `Technical Characteristics’. Infotype list screen appears
    Click on `Change'(pencil) button
    Now select your Infotype and click on `Detail' (magnifying glass) button
    Give `T591A' as subtype table & also Give `T591S' as subtype txt tab
    Give your subtype field as subtype field & Save and come back to PM01 initial screen
    Click on `Infotype Characteristics' … Infotype list screen appears
    Click on `Change' (pencil) button & on New Entries
    and then Enter your Infotype number and short text Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference
    to fill yours). Now save ur entries
    Now the Infotype is created and ready to use.
    If you want to change the layout of the Infotype as per your
    requirement…
    In the PM01 initial screen…Select `Screen' radio button and give
    2000 as the screen name, then click on edit.
    In the next screen.. Select `Layout Editor' and click `Change'.
    Screen default layout appears…here you can design/modify the
    screen..change the attributes of the fields..etc.
    Save and activate. (Don't forget to `Activate at every level)
    Regards,
    Ramakrishna kotha.

Maybe you are looking for

  • Error while saving to ekpo table

    sir, PO was created with currency japanese YEN using Tcode ME21N . The net price was showing 142502300 (in JPY). My problem is when checked in EKPO table , it saved with a value 1425023.00      So this is decimal value error. what can be done to corr

  • Amend XML payload Error for Processing

    I have an issue where I need to amend the XML payload for a message that is stuck in a queue.  I am on PI 7.0, SP10 and I know I have seen this in the runtime workbench where you select the message in error and select Message Editor in Message monito

  • Problem of super class.

    Hi all, I am adding a menuItem to a menu of a menuBar which the menu has a old menuItem. The requirement is that the old menuItem of the menu only enable in the main window and disable in the others, and the new menuItem only disable in the main wind

  • List of supported functions of excel ....

    hi, Is there any repository of supported excel  functions in xcelsius designer 4.5?..... i used DSUM() & SUMIF() functions while make one dashboard solution  but it doesnt work......i was wondering if is supported by xcelsius.. suggestions would be a

  • My touch screen won't work when I wan to listen to music.

    When I try t scroll or touch any buttons while in the "Music" option, I can't do anything. The touch screen works for absolutely everything else, but the Music. Has anyone else had this problem?