Updation problem in custom infotypes.

HI ALL,
I have created two custom infotypes, and the process is that one infotype updates the other infotype.
When i open the first infotype by pa30 and then open the second and changes some value which update the first infotype table. now when i go to first info type it shows the old value. untill i exit pa30 and start again then it shows the updated values. what is the solution for this.
Thanks.

Hi abap sap,
  It is becasue of PAI and PBO module itterations.
Go to the custom related program created with that infotype and insert your logic to clear the field contents.
Reward if useful!

Similar Messages

  • Display Problem in Custom Infotype

    Hello Experts,
                          A problem is being encountered in the display of data using the overview icon for a custom infotype. When we enter data through transaction PA30, we are able to see data as per the date validities when the user clicks on display icon. But when the Overview button is clicked, the data is not being displayed properly.
    The following comments were logged with the following dates.
    02.12.2007 31.12.9999 - Comment 1
    14.11.2006 30.11.2006 - Comment 2
    01.01.2006 13.11.2006 - Comment 3.
    when the same is observed using Overview icon, data is not being diaplyed properly.
    Any help would be greatly appreciated.
    Thanks
    Srinivas.

    Hi Sankhadip,
                           Thanks for your reply. The problem is in my Custom IT9005. The time constraint of the infotype is 2. I am using LSMW to upload data. I am not having any problem with loading data as of now, but its only wit the overview icon, its not updating properly.. Please help me with this. Thanks again for your response.
    Srinivas.

  • Update BDCP table custom infotype custom field

    Hi All,
    I have created  a custom infoype and added a custom field with in this infotype.
    I have clicked change document button for the dataelement.
    When i changed the value with in that infotype the entry is not updating in table BDCP.
    When i changed the value in standard infotype the value is updated in table BDCP table.
    Is it possible to update the BDCP table for custom infotype custom field.
    If yes please let me know the procedure.
    Thanks,

    Hi Tarangini,
    Check the below transactions once again:-
    BD61 - To activate the Change Pointers
    BD50 - Activate the change pointer for the message type
    BD52 - To include the fields which needs to be tracked
    BD66 - Maintain Segment field and change document field.
    Check all the above transactions once again and you could resolve the problem.
    Thanks,
    Mahesh.

  • Problem in custom infotype module pool

    Hi experts,
    I have created custom infotype using PM01 where i am showing fields Basic and HRA. When I enter the value for Basic, automatically the calculation for HRa should be done depending on formula. Also, the HRA fields should be only output field. When I do the changes in the module pool PBO and regenerate the object , the changes I made get disappered. Do I have to create Z of the includes. If so, how to assign it to the infotype?  Please help me to solve this problem since its urgent.
    Thanks in advance.
    Proper solution would be rewarded.
    Ujjwala

    C
    This is the flavour of Infotype.
    When you regenerate the Infotype, you are again reassigning the Chanrecterstcis of your Infotype. so the Existing will get regenerated with the Standard Code.
    To avoid this what I suggest you is.
    After finishing the Regeneration then edit the Module pool of the Infotype basically Screen 200 then add your code and Activate it there itself. Hope you got it.
    If you again Regenerate it you loose your Code.
    If you have further Questions please let me know.

  • Problem in custom infotype.

    Hi friends,
    I have two problem on creating custom infotype 9010.
    The infotype has 4 field:
    docu_type -> subtype field
    Docu_number
    cost -> DE:WAERS
    cost_curr -> DT: Curr length 10 dec 2
    I referred the cost to the cost_curr field of the infotype 9010
    First Problem
    The infotype is created but when I tried to enter the cost via pa30
    put 50 on it, and press enter, 50 will be changed into 5000. But when I re-enter again, the ammount remained unchanged.
    2nd Problem.
    For the infotype i need to give a further information on the screen.
    Such as that, it looks like the screen on IT0022 where when you put the educational establishment, the text of the subtype appears beside it. How do I suppose to do things like that with my infotype so that when I enter 4 as the subtype field, the subtype text appears.
    Thanks

    prob 1 .
    what is the reference field u have given for the currency of ur 9010 table .. just check the reference field u have given for currency ..
    how are u handling this in the pai part of the code , can u just make the field pass to a char field and then reassign it to the screen field .. for primary investigation.
    prob 2.
    u need to maintain a field just adjacent field in the layout as ouput field only . and populate this field with the suitable text once u enter the subtype field which is input field .
    this u need to do in the pai part of the infotype mp901000 code  ..
    if p-styp is not initial .. "subtype is present fire the text part .
    populate text to screen field p9010-stxt.
    endif.

  • Problem in custom infotype --urgent

    Dear Freinds,
                i have create a custom infotype , iam facing one problem when i say
    create and enter into the screen, and if the user doesnt do any change any thing
    in the screen (i.e if he is not performing any changes in the screen) and hits
    the button back , it is asking do  you want to save.  Please let me know why it is  behaving in this way.
    regards
    syamala.

    Dear Pranesh
                 i have created the custom infotype..........while testing i have found that
    if i am creating a new record and we dont select any record in the infotype
    and try to exit (by clicking X button) then a popup button is coming for a confirmation do you want to save the record.......here i have not select any field
    after me pressing F5 (create) in PA30 . So now if  say yes it saves record , if no
    then it exists out of infotype without saving............this should not come like this
    please let me know what i should do in this regard.
    however--- if  enter begda and endda  it is saving on the dates i have entered...so it will be new record only...........it gets delimited ...as begda and endda or not defaulted.
    thanks in advance

  • T582A Update Custom infotype information

    Hi experts,
       I created custom infotype but the table T582A does not have my custom infotype IT9009  data.
    please let me know T582A is update manually Using maintenance view or it updates while creating infotype .
    Please send your Suggestions.
    Thanks in advance.
    Regards,
    Sivakumar.A

    hi
         Table T582A  - is used for customer settings in Administration infotypes.
    the info type that u created is  for admistration  .
    Hope this will give u lead to solve ur problem
    Cheers
    Snehi

  • Updating a customer infotype detail table (in PIQSTM) from an interface

    We have a customer infotype that has a header table (HRP....) and a detail table (HRT.....) and we have this attached to transaction PIQSTM. This works fine. However, we now have a requirement to update the infotype via an interface and we have hit a problem using the standard function modules. We have tried, for example, using FM 'HRIQ_PNNNN_MAINTAIN' but have found that whilst it updates the header ok, if any detail record exists it is always overwritten. We need to keep the existing detail records attached to the same header.
    I've debugged the way our tables are updated when saved in PIQSTM and can see that there is a lot going on with buffers. It seems that buffers are updated and then FM 'RH_BASE_UPDATE_DB_DIALOG' is called, ultimately resulting in an insert to our detail infotype table. In our interface program, obviously I would prefer not to update the table directly. I guess BDC is always an option but again, I'd prefer not to use it if possible.
    Has anyone out there done this and can offer me any advice ?
    thanks,
    Malcolm.

    Malcom,
       Try to feed old HRT record and New records(from interface) to Insert/update info-type function module.
    Thanks,
    Prabhat Singh

  • Creating / Updating Custom Infotype Records

    Hello everbody,
    We implement alot of custom HR infotypes in our system, both PA &  HRP.
    For the past several we have been using BDC (Batch-Input) recorded functions in order to update / create the records in our infotypes.
    We're currently facing an upcoming ECC upgrade , and I would like to lead a change that will eventually lead to us using generic SAP supplied functions.
    I've researched a few functions that might do the trick:
    RH_INSERT_INFTY:
    This one is giving me an SY-SUBRC 2 error code - Insert error, I tried to select a current record and insert it as different objid but this doesnt work.
    HR_INFOTYPE_OPERATION:
    I've read of several people that recommended using this function, but it is not released by SAP and I couldnt get it to work as well.
    BAPI_HRMASTER_SAVE_REPL_MULT:
    This one seems to work for sap infotypes but I dont think it suits custom infotypes.
    What is the "official" way of doing such operations?
    thanks in advance,
    Eli.

    Hello Dilak,
    Im currently trying to insert a new infotype record of infotype HRP9226.
    First I call function RH_GET_NEXT_NUMBER to get an objid.
    then I fill an HRP9226 line.
    after this i call the function:
    call function 'RH_INSERT_INFTY'
    exporting
    FCODE = 'INSE'
    vtask = 'S'
    ORDER_FLG = 'X'
    COMMIT_FLG = 'X'
    AUTHY = ' '
    PPPAR_IMP =
    OLD_TABNR = ' '
    REPID = ' '
    FORM = ' '
    KEEP_LUPD =
    WORKF_ACTV = 'X'
    tables
    innnn = hrp9226_line
    ILFCODE =
    EXCEPTIONS
    NO_AUTHORIZATION = 1
    ERROR_DURING_INSERT = 2
    REPID_FORM_INITIAL = 3
    CORR_EXIT = 4
    BEGDA_GREATER_ENDDA = 5
    OTHERS = 6
    I'm getting an "Error_During_Insert" and Im out of options regarding what I can possibly do.

  • Create Custom Infotype and handle Modification/Updation

    Hi All,
    I need to create a custom infotype and handle few checks while creating/updating the existing one.
    I have gone through the existing threads and have figured out the creation part.
    Could anyone tell me where i need to code the checks while creating/updating.
    I tried editing the PBO/PAI of the Module pool program, but as its standard, is asking for access key. Do we need to code this in any userexit or implement BADI.
    For example,
    a) i need to check that only one instance of the infotype should be valid for an  
        employee at a time
    b) This infotype should be created for only Employees and not contingent workers.
    c) Few fields on the body section needs to be updated/modified.
    Thanks and Regards
    Manish.

    You can use the IN_UPDATE or AFTER_INPUT Methods of the BAdI HRPAD00INFTY to perform your validations.
    Arya

  • HR ABAP : Custom Infotype updations through FM HR_INFOTYPE_OPERATION

    Hi All,
              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', eventhough it is already having a data in the database table. 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 from the database entry. at this moment it gets dumped at the statement
      assign record to <record> casting type (tabname). "XDP UniCode
    where tabname is proposed from t777d-ppnnn. which is a structure and having a value as P9008. If i change the value at debug point to PA9008. it works fine. is there anything extra i need to do to solve this issue? )
    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,
    Check this code once
    Read Infotype9004 Record for the personnel No
        CALL FUNCTION 'HR_READ_INFOTYPE'
          EXPORTING
            tclas           = A
            pernr           = pernr
            infty           = 9004
          IMPORTING
            subrc           = v_subrc
          TABLES
            infty_tab       = it_pa9004
          EXCEPTIONS
            infty_not_found = 1
            OTHERS          = 2.
    Read it_pa9004 into wa_pa9004 with some condition.
    if sy-subrc eq 0.
    Lock the employee for processing infotype 9004
        CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
          EXPORTING
            number = wa_pa9004-pernr.
      v_begda = wa_9004-begda.
          v_endda = wa_9004-endda.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
            EXPORTING
              infty         = c_9004
              number        = wa_9004-pernr
              subtype       = c_0001
              validityend   = v_endda
              validitybegin = v_begda
              record        = wa_9004
              operation     = c_mod
              tclas         = c_a
             dialog_mode   = c_0
              dialog_mode   = '2'
            IMPORTING
              return        = wa_return.
    CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
          EXPORTING
            number = wa_pa9004-pernr.
    endif.
    reward the points if it is helpful.
    Regards,
    Srilatha

  • 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

  • Problem in creating help input for custom infotype creation

    Hi,
    I had the task of creating a custom infotype for storing recruitment test result.
    I created it using the following structure:
    Component ______________Data Element
    TEST_TYPE______________ZTEST_TYPE
    TEST_DATE
    LOCATION
    PIC_____________________RFPER
    EX_PIC
    TEST_RESULT____________ZRESULT_TYPE
    STATUS_________________ZSTATUS_TYPE
    OTHER_POSITION_________PLANS
    Now for the component other_position for the entry help i use is H_T528B with check table T528B. My objective is, when the infotype is accessed through pa30 and user is inputting the entry, when they press F4 on the inputbox for other_position, help search should show the list of all position within the system. But rather than that, the input help display such message:
    No values selected
    Maintain entries?
    Yes       No         Cancel
    When I choose yes, the input help suddenly prompt me to "Choose customizing project"  which i believe is from SPRO.
    How do I fix this problem so that when I press f4, the help will shows all position within the system.
    Thanks

    not answered, but found another work around

  • Not to Update custom infotype

    Hi Expert,
    I have one custom FM which is used to update the custom infotype but my requirement is when it get fail it should not update
    the infotype but it is updating.Befor this FM we are performing operation i. e MASSN  07,08, .
    This requirement is based on contract renewal when contract is not renewed it should not update custom infotype bue it is
    updating when contract is not renewed through the above FM.
    please give me some idea so that custom infotype should not get updated when contract is not renewed.But it is
    updating the infotype what should i put to not update the infotype when contract is not renewal.
    Below is my listed code.
        IF lv_action =  '09' OR lv_action = '07' OR lv_action = '08' AND lv_cr_renewal = ''.
        CALL FUNCTION 'ZF_HCM_ALM_ABSENCE_DATA'
            EXPORTING
              i_pernr                 = lv_pernr
              i_effective_date        = lv_date
              i_updation              = 'X'
    TABLES
      T_ABSENCE_DATA          =
          t_return                = lt_return_absence
    Regards,
    Md
    Edited by: MdAddu on Jun 26, 2011 9:33 AM
    Edited by: MdAddu on Jun 26, 2011 9:52 AM

    Hi,
    Write the code as :
    IF ( lv_action = '09'  OR lv_action = '07' OR lv_action = '08' )
      AND lv_cr_renewal = ''.     "-- contract renewed ...
    CALL FUNCTION 'ZF_HCM_ALM_ABSENCE_DATA'
    EXPORTING
    i_pernr = lv_pernr
    i_effective_date = lv_date
    i_updation = 'X'
    TABLES
    T_ABSENCE_DATA =
    t_return = lt_return_absence
    Regards,
    Srini.

  • Creating / updating Custom infotype with different screen

    Hi All,
    I have created custom infotype having different screen for different subtype(1,2).
    From Subtype 1, indotype is automatically updated as it is a standard program. But for subtype 2 i am using HR_INFOTYPE_OPERATION for updating the record which is ending with error, as employee which i am trying to update is already locked by me only through PA30. So this function module ends with Complex error. Please suggest how to update the infotype with subtype 2.
    Thanking you..
    Best regards
    Akshay

    Hi All,
    I have created custom infotype having different screen for different subtype(1,2).
    From Subtype 1, indotype is automatically updated as it is a standard program. But for subtype 2 i am using HR_INFOTYPE_OPERATION for updating the record which is ending with error, as employee which i am trying to update is already locked by me only through PA30. So this function module ends with Complex error. Please suggest how to update the infotype with subtype 2.
    Thanking you..
    Best regards
    Akshay

Maybe you are looking for

  • Upgarde to SRM 5.0 from 4.0

    Hi All, We are using SRM 4.0 - ECS scenario and backend is ECC 6.0. Can any one tell me about 1) What are business benefits we will get in SRM 5.0 compared to SRM 4.0 2) We want to know impact of upgradation on open workitems of end users. I mean if

  • Log version status for message in PI message monitoring

    Hi All, we send IDocs from ECC to PI and then external systems. It's working fine all the time But third party system did not recieve only one message out of many. This missing message showing in PI  is like LOG version when I look at in monitoring.I

  • IPod can't detect receiver?

    Today I bought a Nike + iPod set for my 3rd generation iPod Nano running version 1.1.3. According to the manual I only need to insert the receiver and my iPod should detect it and show it in my menu. It doesn't however... After some tinkering I found

  • Query on constructor

    Can a constructor be marked as private?

  • Problems with the Microsoft Jet 4.0 OLE DB

    I'am trying to work with databases (Microsoft Acces) and everytime a recive this message error(I've created a string indicator and link it to the General Error Handler ) : "Conn getDataToModify.vi"Object 0x2222222 is not valid." I don't understand wh