Infotype updation- alternate solution for FM HR_INFOTYPE_OPERATION.

Hi Expert ,
Right now i am using FM HR_INFOTYPE_OPERATION to insert data to infotype 19.
Problem i am facing is data to be inserted is very large and this takes lot of time.
Is there any other FM which updates infotype in mass i mean using internal table?  Since in this FM cant pass internal table so i have to call this FM for every PERNR.
Thanks & Regards ,
JIgar Thakkar.

Hi Jigar
As suggested by Rahul,  Use the FM: HR_PSBUFFER_INITIALIZE. This will improve the performance of your code to a great extend. I would personally, use HR_MAINTAIN_MASTERDATA or HR_INFOTYPE_OPERATION to update the infotype 0019. However, both are buffering the data and doing some EXPORT to memory. The result of this is that after a few hundred calls to HR_INFOTYPE_OPERATION or HR_MAINTAIN_MASTERDATA, the buffer gets big enough to impact the performance of the function module. After thousand of updates with HR_INFOTYPE_OPERATION or HR_MAINTAIN_MASTERDATA, each call will take many seconds and your ABAP program will be unusable. Because you run it for high volumes only in the SAP production system, thatu2019s when youu2019ll really see the impact.
The solution is simple. Call this function module to clear the buffer.
CALL FUNCTION 'HR_PSBUFFER_INITIALIZE'.
Hope this helps.
Harsh

Similar Messages

  • Is there any alternate solution for MDM setup without following Device Enrollment Program (DEP) ?

    Hi,
    Is there any alternate solution  for setting up the MDM Process, without following the Device Enrollment Program (DEP) and managing the devices by creating our own setup controlling through the server, Please let me know.
    Thanks for the help.

    Finally I found the solution for the MDM, after doing some research work with the Apple Configurator, iPhone configuration utility and came across with the Profile Manager after installing Mac OS Server and able to manage, configure, remote access and send the commands using push notifications.

  • Work around/Alternate solution for Oracle error  ORA-01460 and ORA-02063

    After the installation of Oracle.DataAccess version 2.111.7.20, I get the following error.(the code worked fine with Oracle.DataAccess version 9.2.0.700 )
    I have attached the error as well as the sample code.
    ORA-01460 and ORA-02063 are known bugs in the new ODP but would like to know if there is any Work around/Alternate solution for this problem(other than
    the use of stored procs)..
    Thanks!
    Error:
    ORA-01460: unimplemented or unreasonable conversion requested
    ORA-02063: preceding line from BSREAD_STAGINGRO at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck)
    at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, Boolean bCheck)
    at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior)
    at Oracle.DataAccess.Client.OracleCommand.ExecuteReader()
    SampleCode
    private bool isValidFieldData(string clientName, string fieldNumber, string uniqueID, string clientID)
    using (OracleConnection mBSConnection = new OracleConnection(mBSConnectionString))
    OracleDataReader oRdr = null;
    OracleCommand Valid_FieldData_Command = null;
    try
    Valid_FieldData_Command = new OracleCommand();
    Valid_FieldData_Command.Connection = mBSConnection;
    Valid_FieldData_Command.CommandText = "SELECT uniqueid FROM EXTDB.BSData WHERE agencyid = :agencyid and agencyname=:agencyname AND fieldnumber =:fieldnumber AND uniqueid = :uniqueid";
    Valid_FieldData_Command.Parameters.Add(":agencyid", OracleDbType.Varchar2, 255).Value = agencyID;
    Valid_FieldData_Command.Parameters.Add(":agencyname", OracleDbType.Varchar2, 255).Value = agencyName;
    Valid_FieldData_Command.Parameters.Add(":fieldnumber", OracleDbType.Varchar2, 255).Value = fieldNumber;
    Valid_FieldData_Command.Parameters.Add(":uniqueid", OracleDbType.Varchar2, 255).Value = uniqueID;
    mBSConnection.Open();
    oRdr = Valid_FieldData_Command.ExecuteReader(); ->Error occurs here
    The error occurs whenever the length of any of the parameter is increased. But there is no specific length where it is breaking down.
    For example in this case, it breaks down with the given error if
    agencyID > 8
    agencyName > 6
    fieldNumber > 9
    uniqueid > 6

    The problem was mapping input parameter type.
    VARCHAR2-type mapping input parameter works with String-type PF parameter. But CHAR-type won't.

  • Alternate solutions for subreport within a subreport

    Hi,
    There is a master report say R1. R1 needs a subreport R2 which has a graph as a subreport(R3). As the idea of subreport having another subreport is not supported in the Crystal reports, we need an alternate solution for the problem. Any help is much appreciated.
    Thanks,
    Shayari

    can you be a bit clearer, are you stating that you have a main report which has a sub report currently and you need another subreport to display the graph from subreport that already is embeded in the main?
    you can place a sub in a sub, but you can create more that one sub.
    if you only want the data from the sub to use within a graph in the main rpt than i would pass shared variables from the main to the sub and use them in a graph(if you can)

  • Alternate solution for Field Exit

    Hi All,
      Is there any other way to get the functionality of Field Exit?
      According to my requirement, I have to populate some values in a table control based on the value entered in a field.
      Please tell me a solution for this.
    Thanks,
    Nandhu.

    Hi,
    As per your requirement you want to populate some values based on the value of some other field.
    You can try for EXITS or if the field from which you want to use the value and the other fields which you want to populate are input fields then you can as well use field exits.
    Variables declared globally for storing values in the top include of the function group for field exits can be accessed in other field exits. So you can make use of this functionality.
    Thanks.

  • Alternate solution for Refurbishment Process without split valuation

    Hi Experts,
    We are implementing SAP PM module. We want any alternate method for Refurbishment process ( Internally processed inside the plant) without activating the split valuation . Is it possible ? If possible, please suggest the process .
    Thanks in Advance.
    VT

    No suggestion received, I am closing this.
    regards
    VT

  • Update: Install solution for latest Oracle9i for Linux/390 download

    Release notes have been updated to include the following solution from MetaLink
    Doc ID 158104.1 out of metalink.
    ++++++++++++++++
    Copy of Doc ID 158104.1
    ++++++++++++++++
    fact: Oracle Server - Enterprise Edition 9.0.1
    fact: Intel Based Server LINUX
    fact: RedHat 7.1
    symptom: Installation fails
    symptom: Error during linking
    symptom: ins_plsql.mk
    cause: <BUG:1843232>.
    Versions of ld prior to version 2.11 ignored the "-z defs" flag. ld
    version 2.11 and later have the ability to use this flag. Because of
    this the genclntsh script fails to produce the libclntsh.so library on a
    machine running ld > 2.11.
    The "-z defs" is set in the variable LD_SELF_CONTAINED in the
    genclntsh script.
    fix:
    When receiving this error during installation, follow these steps:
    1. Open a new console window on the host as the installation user.
    2. Set up the Oracle environment (i.e. ORACLE_HOME).
    3. Make a backup of the $ORACLE_HOME/genclntsh script.
    4. Remove the ${LD_SELF_CONTAINED} flag from the ld command in the 'Create
    Library' section.
    5. Run the genclntsh script.
    6. Click on 'Retry' in the Universal Installer
    The installation will now proceed.
    This should be fixed in 9.0.2
    +++++++++++++++++++++
    END of Doc ID 158104.1
    +++++++++++++++++++++

    If the issue persists for you even after following all the steps please click on
    to create your own topic. Please supply as much information (Windows version, Internet Explorer, content of any error messages you saw...) as possible so we can help you faster.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Is ther an Apple software update server solution for a Microsoft environment?

    My organization has more than 3000 Apple devices. Im trying to centralize mac sotware updates without adding a mac box. We are a Windows Server 2012 R2 environment.  Thanks for all the help.

    No, but there is a Linux one:
    http://signalboxes.net/mac2linux/reposado-apple-software-update-server/

  • Alternate solution for NAC functionality

    Hi Expets ,
    In our client setup , they were using the cico NGS 3315 for creating guest accounts . The below are the steps of this process ,
    -> Any employee can access corporate web server and can request for guest internet account
    ->The scripts in the background automatically contacts the guest NAC server with admin username and pwd .
                                  http://NAC DNS name/sponsor/api/GuestAccount.php
    ->Then NAC will reply the credentials to the corporate web server then it will be forwarded to employees's mail account
    But the problem is , the NAC server is down . Hence we want to  use the anchor WLC itself to create/authenticate guest accounts  . So kindly confirm this also can be done using script automatically..
    Thanks ,
    Regards,
    Vijay

    We have replaced the NAC box and configured. But we are getting the below errors when the application is trying to create guest account.Kindly suggest
    [Wed Nov 06 15:07:42 2013] [error] [client 10.208.31.121] File does not exist: /guest/www/html/favicon.ico
    [Wed Nov 06 15:07:49 2013] [error] [client 10.208.31.121] File does not exist: /guest/www/html/favicon.ico
    [Wed Nov 06 15:07:57 2013] [error] [client 10.208.31.121] File does not exist: /guest/www/html/favicon.ico
    [Wed Nov 06 15:08:45 2013] [error] [client 10.208.31.121] File does not exist: /guest/www/html/guest
    [Wed Nov 06 15:08:46 2013] [error] [client 10.208.31.121] File does not exist: /guest/www/html/favicon.ico
    [Wed Nov 06 15:20:50 2013] [error] [client 10.201.20.28] File does not exist: /guest/www/html/sponsor/api/GuestAccount.php\xc2\xa0(http:
    [Wed Nov 06 15:21:00 2013] [error] [client 10.201.20.28] File does not exist: /guest/www/html/favicon.ico
    [Wed Nov 06 15:21:40 2013] [error] [client 10.201.51.19] File does not exist: /guest/www/html/guest
    Regards,
    Vijay.

  • HT5439 when i do these steps on apple tv i recieve error "unable to activate " step2 after install update . any solution for this problem

    when I do this steps on apple tv I recieve  this error "unable to activate " any solution

    Did you follow the instructions here:
    http://support.apple.com/kb/HT4367
    Pay attention to differences in power connection depending on whether or not you have AppleTV2 or AppleTV 3.
    Also some microUSB leads don't seem to work - try another if you can. Disconnect superfluous USB device/hubs too if possible.
    AC

  • Alternate method for LSMW

    Hi friends, kindly let me know alternate solution for my problem.
    Q. For transacton code MB11 iam posting the data through LSMW using standard program RM07MMBL(Batch input program). This program is having structure called BMSEG it will accept only one record per transaction.
    In my flat file iam having total 20000 records, due to this iam getting performance issue.
    Could you please tell me alternate method for the same?
    Regards,
    Sreenivasa Babu,
    9866123064.

    Hi srinivas..
    In this Case it will be better to Call BAPI than using LSMW.
    We have the BAPI_GOODSMVT_CREATE which is used to Create Goods movement.
    It will be faster since the Data will not be processed in Screens when we Call BAPI.
    Sample code to Call this BAPI:
    data : gm_header type bapi2017_gm_head_01,
            gm_code type bapi2017_gm_code value '01',
            gm_headret like  bapi2017_gm_head_ret,
            matdocument type    bapi2017_gm_head_ret-mat_doc,
            t_gmitem type table of  bapi2017_gm_item_create,
            wa_gmitem type   bapi2017_gm_item_create,
            t_gmsernumber type table of bapi2017_gm_serialnumber,
            wa_gmsernumber type  bapi2017_gm_serialnumber,
            ret type table of bapiret2.
    gm_header-pstng_date = '20051201'.
    gm_header-doc_date = sy-datum.
    gm_code = '01'.
    wa_gmitem-material = 'SAMPLE'.
    wa_gmitem-plant = '0001'.
    wa_gmitem-stge_loc = '0001'.
    wa_gmitem-move_type = '501'.
    wa_gmitem-entry_qnt = 10.
    append wa_gmitem to t_gmitem.
    wa_gmsernumber-matdoc_itm = 10.
    wa_gmsernumber-serialno = 1.
    append wa_gmsernumber to t_gmsernumber.
    call function 'BAPI_GOODSMVT_CREATE'
      exporting
        goodsmvt_header             = gm_header
        goodsmvt_code               = gm_code
      TESTRUN                     = ' '
    importing
      GOODSMVT_HEADRET            =
       materialdocument            = matdocument
      MATDOCUMENTYEAR             =
      tables
        goodsmvt_item               = t_gmitem
       goodsmvt_serialnumber       = t_gmsernumber
        return                      = ret
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT  = 'X'.
      write:/ matdocument.
    <b>reward if helpful</b>

  • Ever since the last update, My iTunes continues to quit unexpectedly. It will open for one second and then close. Anyone have a solution for this. Please help.

    Ever since the last update, My iTunes continues to quit unexpectedly. It will open for one second and then close. Anyone have a solution for this. Please help.
    I've tried my best to troubleshoot. . . opening in safe mode nothing seems to work.
    In the problem report, this is the error that stood out:
    Crashed Thread:  8  Dispatch queue: com.apple.iad.iadidmanager
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000090

    Hi there navicin79,
    You may find the troubleshooting steps in the articles below helpful. The first thing I would try is reinstalling iTunes as outlined in the first article.
    Troubleshooting iTunes installation on Mac OS X
    http://support.apple.com/kb/ht2311
    OS X Mavericks: If an app freezes or quits unexpectedly
    http://support.apple.com/kb/PH13975
    -Griff W. 

  • After update my iPad 2 with IOS 6.0.1 the botton mute and sound + doesn't work...any solution for this??? Thanks

    After update my iPad 2 with IOS 6.0.1 the botton mute and sound + doesn't work...any solution for this??? Thanks

    There are numerous reports of this issue happening on iPhones. It may be a glitch that will need a new update. Some find that a full shut-down and restart fixes that problem, but not always.

  • I bought iPhone 3GS(Used) recently and updated ios 6.1.3 my iPhone is taking blurry Pictures through basic default Cam app.Can anybody please let me know any solution for this?

    I bought iPhone 3GS(Used) recently and updated ios 6.1.3 my iPhone is taking blurry Pictures through basic default Cam app.Can anybody please let me know any solution for this?

    Basic troubleshooting steps right out of the user guide are restart, reset, restore from backup, restore as new.  If you've been through ALL the steps and you still have the problem, then you'll need to bring your phone to Apple for evaluation.

  • TS1702 I use iphone5, I see an app update on the app store. but when App store and click on the update tab, it doesn't show me which application to update.. just give me a blank page.!!!! what is the solution for this.!!!!

    I use iphone5, I see an app update on the app store. but when App store and click on the update tab, it doesn't show me which application to update.. just gives me a blank page.!!!! I wouldn't able to know what app has to be updated, untill and unless i get check for each every app on the app store installed on my iphone... what is the solution for this.!!!! can any1 one help me out.!!!!

    Cc2528 wrote:
    The iTunes Store on my iPad is set up with all my music already. And at the very bottom it shows my apple Id username. The only place it shows the previous owners id is in the App Store...
    You can probably change the ID in the "iTunes and App stores" settings on the iPad....click on the wrong account ID , select sign out, then log in with your own ID, I have not done this but I think it works.....
    but I would be more inclined to to the factory reset and start afresh.

Maybe you are looking for

  • How do I get the Firefox icon to stay on the bottom bar of my Mac?

    How do I get the Firefox icon to stay on the bottom bar of my Mac computer?

  • How can I replace the power supply IN the time capsule

    I have a TimeCapsule that has a bad powersupply. I have opened the timecapsule to confirm this. Has anyone done this before? If so, where did the power supply come from? Cost? I took this to the Apple Igneous bar and they said there is nothing that c

  • Sending mail to distribution list

    HI guys, Please look at the coding below.. l_wa_recieve-receiver = '[email protected]'. " this is the distribution list id "with number of mail ids inside it     l_wa_recieve-rec_type = 'C'.  "shared dis list     APPEND l_wa_recieve TO l_it_recieve.

  • Customise Subject line of EM alert notification email

    Hi, would it be possible to customise the Subject Line of the notification email to include some in-house information? Thank you for your help.

  • Cannot get flash to work on my ie 9

    Hello, I've been trying to get flash to work for a while now and still cannot get it to load a video on youtube or msn or any site, I keep getting the (movie not loaded) when I right click on it.  I currently have version 11.5.502.146. I have windows