Any function module to update SPRPS (Lock field)

Hi all,
Can any one tell if there is function module to update the SPRPS field in the infotype? I failed to update using the HR_INFOTYPE_OPERATIONS.

you were not able to use LOCKINDICATOR in the FM?

Similar Messages

  • Any function module to update Manufacturer serial number in tcode IE02

    Hi Friends,
    I need function module or bapi to update
    Manufacturer serial number in tcode IE02 .
    Please ........
    Thank you.
    Karthik.

    Hi,
    You may use the exit
    IEQM0007
    or
    BADI:
    EQUI_SERLV_CHECK
    hope this helps.
    Regards,
    Renjith Michael.

  • Function module to update right optimized dso

    Hi Experts,
    Is there any standard function module available to insert data into the right optimized DSO from transformation routine. Or programmatically we need to do this.
    Thanks in advance.

    Hi,
    Here there are two DSO used. One to collect the corrrect records and the other to collect the error records. Which will used later for reconciliation with the business and then again loaded after the rectification.
    So from the transformation of the Main DSO we need to update the error DSO (when ever any validation fails).
    Let me know any function module to update the right optimized DSO.
    Thanks,
    Jugal.
    Edited by: jugal behera on Feb 6, 2008 4:38 AM

  • Function module to update net price in purchase information record ???

    hi all,
    Is there any function module to update net price (PREIS) for each material in the purchase info record?
    points will be rewarded for helpful answers

    Hi,
        Use below FM :
    Clear : i_prot.
    refresh : i_prot.
    Delivery Update
    CALL FUNCTION 'LE_MOB_DELIVERY_UPDATE'
    EXPORTING
    do_commit = 'X'
    TABLES
    t_delivery_items = i_lips
    prot = i_prot
    EXCEPTIONS
    conversion_overflow = 1
    essential_data_missing = 2
    error = 3
    nothing_to_update = 4
    lock_after_update_failed = 5
    error_in_delivery_update = 6
    OTHERS = 7.
    COMMIT WORK.
    Pass lips-lgort..
    Refer
    https://forums.sdn.sap.com/click.jspa?searchID=4212688&messageID=3855382
    Regards

  • Function module for updating COBRB table

    Hi,
    Is there any function module to update the entries in COBRB table.
    I have already tried the following but it's not updating ithe entries:
    1) k_settlement_rule_fill : get the objnr from PRPS and use it for CORBA and COBRB
    2)  k_settlement_rule_delete :  using  objnr only
    3) k_posting_rule_insert
    Regards
    Prabhat

    Hi,
    Please check this FM K_SETTLEMENT_RULES_UPDATE.
    Check FM AUC_SETTLEMENT_POST for sample codes.
    Regards,
    Ferry Lianto

  • Function Module to update the FI and Logistics Invoice

    Hi All,
    Is there any function module which updates the FI and Logistics Invoice simultaneously?
    Regards,
    Adapala M

    For material bom: CSAP_MAT_BOM_CREATE
    and CSAP_ORD_BOM_CREATE for Order BOM.
    Regards,
    Ravi

  • Function module to update the SPRPS field in infotypes

    Hi Guru's
         I m developed the workflow for personal data maintain in ESS with single approval. Employee can able to update his personal data and saved.
    Now the workflow will trigger to HR for approval .Before the workitem send to approval   i  need to  update the PA0002-SPRPS = X  and after getting approval i have to remove the flag.
    Is the any function module /  BAPI to upadte PA0002-SPRPS = X.
    Thanks,
    Pasumpon Karuppaiah

    Hello,
    Use BAPI_PERSDATA_CHANGE with  LOCKINDICATOR = 'X'.
    Below are call sequence,
    BAPI_EMPLOYEE_ENQUEUE
    BAPI_PERSDATA_CHANGE
    BAPI_EMPLOYEE_DEQUEUE
    Regards,
    Sameer

  • Any Bapi or function Module to update standard table

    Can u Plz let me know , is there any bapi or function module to update few fields of a standard table using an internable.

    I don't know if any FM exists for your requirement. But you may like to copy it into a custom table and modify it according to your enterprise needs.

  • To find function module to update the field kbetr.

    hello friends  ,
                                i have a problem , i want to update kbetr field in konp table and  i am searching for a function module  .  Is there any function module with which we can update kbetr field in konp table.

    Hi,
    check th thread:
    Problem with BAPI_PRICES_CONDITIONS

  • Any function module available for updation of Configuration data

    Hi experts,
    i want to know the function module which updates the configuration data.Please help me regarding this,its very urgent..I have some configuration data which needs to be updated .This data is present in the item level configuration data..
    Please help me ...
    Regards,
    Nagaraj

    Hi Nagaraj
    I assume that one of the Sales document(SO/DO/Billing/Shipping,etc) has this custom field YF_ZZZ_STATUS.
    If so, this custom field would be available in any one of sales tables (VBAK/VBAP/VBRk/VBRP/LIKP/LIPS, etc)
    You have to find out where exactly this field is existing.
    If this field is avilable in sales document screen, simply you can write one BDC code to update this field at any one sales userexit.
    For example if you want to update this field at the time of saving sales order, then use MV45AFZZ include..there you will find userexit_save_document (FM). There you can write simple BDC code OR direct update query to update particular table.
    NOTE: YOU CAN NOT FIND OUT ANY FM TO UPDATE CUSTOM FIELDS (IN CONFIGURATION AND DEVELOPMENT)
    Thanks
    Bala

  • HR-ABAP Any BAPI or Function module to update infotypes 167 & 170

    Hi,
        Can anyone let me know is there any BAPI or Function module to update infotypes 167(Health Plans) & 170(Flexible Spending Accounts).
    Thanks,
    Sandeep

    Hi,
       U can use HR_BEN_CREATE_PLANS internally it calls HR infotype operation as specified by suresh.
    Suresh  : If there are approximately 3000 records to be updated on regular basis do u think is it better to use BAPI's or BDC
    regards
    Vick

  • Creation of function module for updating the ztable

    Hi,
    I am sending the requirement for ceation of function module for updating the ztable.
    Requirement----
    Table Updation rule (New record)
    While creating a new record the calling function will export the following to the table handling function.
    Table field     Probable Values
    ZORDERNO------->     Sales Delivery no in case of sales orderShipment no in case of transfer order
    UNAME----
    >     User ID
    ZORDTYPE----
    >     SALEOR in case of sales orderTRANSF in case of transfer order
    ZREFDOCNO----
    >Sales Order no in case of sales orderPurchase Order no in case of transfer order
    ZREFDOCNO1----
    >Delivery no in case of transfer order
    The table handling function will calculate the following fields
    Table field     Probable Values
    ZREQNO----
    >Running serial number (incremented by 1 for each new record)
    ZREQDAT     -
    >System date
    ZREQTIME----
    >     System time
    ZSTATUS----
    >OPEN (for all new records)
    Before inserting a new record the table handling function will always check if a previous record exists for the same order / shipment no. if record exists the function will not insert a new record.
    Table Updation rule (Status Update)
    While updating a record the calling function will export the following to the table handling function.
    Table field     Probable Values
    ZORDERNO----
    >Sales order no in case of sales orderShipment no in case of transfer order
    ZSTATUS----
    >CANCEL if cancellation successfulERROR if cancellation not possible (order already processed)
    The table handling function will calculate the following fields
    Table field     Probable Values
    ZSTATDAT----
    >System date
    ZSTATTIME----
    >     System time

    Do you have to create/update new record in Ztable through Function Module ?
    or you need to write FM only for validation?
    Any how, you need to create a Program with Input values for the fields of Ztable, and for rest of fields the Value can be calculated based on input as per your requirement.
    Let me know clearly what exactly u need ?
    Regards,
    Kiran

  • Function module to Update Network Activity Milestone functions tab

    Hi all,
      I am facing a problem to update the milestone details for Network Activity..
    I am using the BAPI_NETWORK_MAINTAIN function module to maintain all the details which i require...But this BAPI Structure for Milestones doesn't contain all fields of milestone ( MLSTD OR MLST ). So i am facing problem to update those fields which are not in BAPI....But i couldn't find any other function module to upate the milestone Function data.....
      Can anybody let me know how i can update milestone function data....any function module for use ?
    Thanks in Advance,
    Pavan.

    Hi,
    Please chek this FM
    CN2M_MLST_CHANGE
    CN_DI_MST_UPDATE
    Regards,
    Ferry Lianto

  • Calling Function Module in Update Task

    Hello Experts,
                              Can anyone let me know about
    Calling Function Module in Update Task.
    Why do we use this " In Update Task "  ??
    How do we Use ??
    What is the Use... ??
    Kindly let me know....
    Thanks and Regards
    Pramod

    hi,
    Why do we use this " In Update Task " ??
    The main update technique for bundling database changes in a single database LUW is to use CALL FUNCTION... IN UPDATE TASK.
    How do we Use ??
    A typical R/3 installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database. When an ABAP program reaches a COMMIT WORK statement, any function modules from CALL FUNCTION... IN UPDATE TASK statements are released for processing in an update work process. The dialog process does not wait for the update to finish. This kind of update is called asynchronous update.
    What is the Use... ??
    Asynchronous update is useful when response time from the transaction is critical, and the database updates themselves are so complex that they justify the extra system load
    Real time scenario.
    Suppose a user wants to change an entry in a database table, or add a new one. He or she enters the necessary data, and then starts the update process by choosing Save. This starts the following procedure in the ABAP program:
    Firstly, the program locks the database entry against other users, using the enqueue work process (or the message server in the case of a distributed system). This generates an entry in the lock table. The user is informed whether the update was successful, or whether the lock could not be set because of other users.
    If the lock is set, the program reads the entry that is to be changed and modifies it. If the user has created a new entry, the program checks whether a record with the same key values already exists.
    In the current dialog work process, the program calls a function module using CALL FUNCTION... IN UPDATE TASK, and this writes the change details as an entry in table VBLOG.
    When the program is finished (maybe after further dialog steps), a COMMIT WORK statement starts the final part of the SAP LUW. The work process that is processing the current dialog step starts an update work process.
    Based on the information passed to it from the dialog work process, the update work process reads the log entries belonging to the SAP LUW from table VBLOG.
    The update work process passes this data to the database for updating, and analyzes the return message from the database. If the update was successful, the update work process triggers a database commit after the last database change and deletes the log entries from table VBLOG.
    If an error occurred, the update work process triggers a database rollback, leaves the log entries in table VBLOG, flags them as containing errors, and sends a SAPoffice message to the user, who should then inform the system administrator.
    The corresponding entries in the lock table are reset by the update work process.
    Hope this is helpful, Do reward.

  • Function module for updating EIPO-STAWN

    Hi all,
    I need to update the standard table EIPO with the field STAWN. If there are any Function Modules existing for this, please do let me know.
    Your inputs are greatly appreciated.
    Thanks in advance,
    Vamsee.

    Hi,
    It looks like there is no FM available for this. Instead please check  the following link.
    Foreign Trade Data
    Thanks
    Ernesto.

Maybe you are looking for

  • Error while doing F-90 Asset Acquisation

    Hi, I am getting the below error while doing F-90 Asset Acquisation scenario. Please help me to fix this issue. Tax code V1 country IN does not exist in procedure TAXINN Message no. FF713 Diagnosis You entered a tax code which is not defined for the

  • Huge InContext Flaw

    I am wanting to give my client access to a template in a directory in root. this is not connected to the main site, but will rather be pages for his clients to view the status of a job and password protected by another program where he can add userna

  • Can't sync song info to iphone 4s?

    Ever since I switched from my 3g to a 4s I have noticed the following problem, which I think others have noted as well, but so far I have yet to see a solution: When I change or update song information manually on itunes (like, change the name of a s

  • Systems variables

    what are systems variables ? Regards, Jagan

  • REP-56048: Engine rwEng-0 crashed in linux

    whenever iam running a report from linux iam getting REP-56048: Engine rwEng-0 crashed error.whether anyone have the solution for this.I have commented trace on also in the configarationfile(report.conf) Thanks in advance