Bapi function module to update PRPS table

Hi ,
Presently i have a requirement which needs to update some data from ZIOS table  into PRPS table. Can any one tell me what is the Bapi function module for updating data into PRPS table.
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Thanks,
Satish Raju
Edited by: Alvaro Tejada Galindo on Jan 12, 2010 11:46 AM

These ZZ fields are specific to your application, use the EXTENSION parameters.
Look in BAPI_PS_INITIALIZATION documentation, there is an explanation how-to fill specific fields.
For the BAPIs used to create and change project definitions, WBS       
elements, networks, activities, and activity elements, you can         
automatically fill the fields of the tables PROJ, PRPS, AUFK, and AFVU 
that have been defined for customer enhancements in the standard system.
For this purpose, help structures that contain the respective key      
fields, as well as the CI include of the table are supplied. The BAPIs 
contain the parameter ExtensionIN in which the enhancement fields can be
entered and also provide BAdIs in which the entered values can be      
checked and, if required, processed further.                           
CI Include  Help Structure                      Key                  
CI_PRPS     BAPI_TE_WBS_ELEMENT                 WBS_ELEMENT
Procedure for Filling Standard Enhancements                                                                               
Before you call the BAPI for each object that is to be created or     
changed, for which you want to enter customer-specific table enhancemen
fields, add a data record to the container ExtensionIn:                                                                               
o   STRUCTURE:    Name of the corresponding help structure                                                                               
+o   VALUEPART1:   Key of the object + start of the data part+                                                                               
o   VALUEPART2-4: If required, the continuation of the data part                                                                               
VALUPART1 to VALUPART4 are therefore filled consecutively, first with 
the keys that identify the table rows and then with the values of the 
customer-specific fields. By structuring the container in this way, it
is possible to transfer its content with one MOVE command to the      
structure of the BAPI table extension.                                                                               
Note that when objects are changed, all fields of the enhancements are
overwritten (as opposed to the standard fields, where only those fields
for which the respective update indicator is set are changed).        
Therefore, even if you only want to change one field, all the fields  
that you transfer in ExtensionIn must be filled.                      
You have to use these parameters in BAPI_BUS2054_GETDATA as well as in BAPI_BUS2054_CHANGE_MULTI.
Regards

Similar Messages

  • Bapi Or Function Module for Updating a 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.

    Hi Shiva Kumar Tirumalasetty ,
         There is no FM / BAPI to update directly to any SAP tables . SAP won't suggests to develop a FM/BAPI like that , as it will cause some data inconsistency problem .
    We have to search and find BAPI's/ FM's for requirement specific if not exists then need to think about the alternate options (LSMW/ BDC etc..)
    Hope this answers your question.
    Thanks,
    Greetson

  • 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.

  • 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

  • Bapi/Function Module to update course/training data

    Hi,
    I need a bapi or function module to update the course/training session data in transaction LSO_PSV2, like the course name or course location.
    Any idea?
    Thanks in advance.
    Best regards,
    Sónia Gonçalves

    Hi,
    What do you mean by update routing?  Mass update of the routing master data? 
    If update of routing master data only is necessary, you can use LSMW to automate mass change, however, if you also need to update other affected areas such as Production Order, you can also apply LSMW to Read PP Master Data of the affected transactions. 
    Thanks,
    Kumar

  • Hi, Bapi or function module to update RBCO table from an internal table.

    I have a requirement to  update RBCO table from an internal table.  is there any Bapi or function module  or any other method other than update, modify statements.
    Moderator message: Welcome to SCN!
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Jul 12, 2011 12:28 PM

    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.

  • Need BAPI or Function Module to update MAEX Table

    Hi Experts !!
    I need to update the MAEX table in mass level through a batch job.
    Updating the table directly is not recommended. So, a BAPI or a FM would have helped.
    One more thing, if I update it through a BAPI or FM, will the change history log in MM02 or MM03 be maintained automatically by SAP ?
    Also if I directly update the MAEX table, how to maintain the change history log ?
    Below are the fields which I want to update.

    Those FM are update FM (check with SE37) called at end of transaction after checking data validity and must not be called alone in a customer program, using those FM is not better than direct SQL update of database (or you actually want to duplicate SAP standard checking and find every update FM to call, wrong idea usually)
    Read also 1710449 - Transaction MM17 (Mass Change) or BAPI BAPI_MATERIAL_SAVEDATA does not support update on database table MAEX. So nowadays the correct solution is the use of Batch Input
    Regards,
    Raymond

  • How to create function module to update z tables?

    Hi,
    I am new to ABAP. I checked the forum but did not find relevant solutions.
    I have 2 z tables - ZFLIGHT and ZCUSTOMER. I have a few entries in each table.
    I want to write a report to update the entries in the table using function modules. For that I have created a function module - zflight_fm and also a function group- zflight_fg and assigned the function group to the Fm. I do not know how to proceed further, what to put as import, export parameters, tables, changing etc. Further I want exceptions to handle the successful update of the entries.
    Thanks and regards,
    Smruthi

    Steps:
    1) Changing --->a) Zflight TYPE ZFLIGHT(DDIC Ref) OR  Zflight TYPE  ANY TABLE
                           b) ZCustomer TYPE ZFLIGHT(DDIC Ref) OR  ZCustomer TYPE  ANY TABLE
    2) Execptions:
         a) Upload_failed_Flight
         b) Upload_Failed_Customer
    3) Exporting ---> a) Information what rows are uploaded
    Source Code:
    Insert Zflight from Zflight(changing parameter).
    If insert failed
    RAISE  Upload_failed_Flight.
    endif.
    Insert ZCustomer from ZCustomer(changing parameter).
    If insert failed
    RAISE  Upload_failed_Customer.
    endif.
    Regards,
    Gurpreet

  • Regarding BAPI/Function Module for updating fields FAKSK and LIFEX

    Hi All,
    I have a requirement wherein i need to update the fields FAKSK(Billing block ) and LIFEX(External Identification number).
    We have already tried using the function Module WS_DELIVERY_UPDATE and also BAPI_OUTB_DELIVERY_CHANGE but we didnt find both the fields in any of the above BAPI or function module.
    To be more specific to the requirement we need to remove the Billing block and update the LIFEX filed.
    If anyone have come accross such situation Please advice.
    Thanks ina dva

    hi satya ranjan,
    put an append to structure 'vbkok' which is used as input parameter for WS_DELIVERY_UPDATE / WS_DELIVERY_UPDATE_2.
    enter faksk and lifex and data field plus an active-flag for every data field.
    e.g.:
    ZZKZTRSPG     ZZKZTRSPG     CHAR     1     0
    ZZTRSPG     TRSPG     CHAR     2     0
    find include 'LV50SFZ2' in WS_DELIVERY_UPDATE am implement like this:
    if  vbkok_wa-ZZKZTRSPG <> space .
    perform likp_bearbeiten_vorbereiten(sapfv50k).
    if not vbkok_wa-ZZKZTRSPG eq space.
      likp-trspg = vbkok_wa-zztrspg.
    endif.
    perform likp_bearbeiten(sapfv50k).
    endif.
    regards
    marcus

  • Function module to update LINV table (MENGE)

    Hi all,
    I am new to SAP ABAP.
    Currently working on enhancements and screens . I had to update the manually entered count quantity field (LINV-MENGE) in screen, i used UPDATE statement earlier for the same which is not  standard method SAP programming .
    Please, can someone tell me the Function Module used for the same and the code snippet.
    Answers will be appreciated
    Thankyou

    Hi all,
    I am new to SAP ABAP.
    Currently working on enhancements and screens . I had to update the manually entered count quantity field (LINV-MENGE) in screen, i used UPDATE statement earlier for the same which is not  standard method SAP programming .
    Please, can someone tell me the Function Module used for the same and the code snippet.
    Answers will be appreciated
    Thankyou

  • Modify table data and import to same bapi function module

    Hai friends,
    I have a requirement on bapi , such that after executing the bapi function module data comes on tables and again  i need enter  weight in weight column field in the same table data and pass the same table in the same bapi function module .
    plz sujjest.
    with reagards,
    prasad.

    Can  u explain in details,
    means which bapi r u using? where  u will enter weight? etc.

  • Any BAPI/Function Module for adding new record with dates in PA0027

    Hi all,
    I am tryig to find is there any BAPI/Function module for updating new record with Start Date and End date for specified Personal Number in PA0027 Table.
    In PA0027 table i will be passing start date and end date for selected personal number, it needs to add new record with this details in the table checking the condition that this start date and end dates should not be between any of of start date and end dates for the specified personal number.
    thanks for ur time.
    Murali

    Hi Raj/Suresh thanks for ur answers.
    but i am having a problem,i gave this values.
    INFTY               -
                0027
    NUMBER              -
                00000010
    SUBTYPE             -
                010
    OBJECTID
    LOCKINDICATOR
    VALIDITYEND         -
                03/12/2006
    VALIDITYBEGIN       -
                03/01/2006
    RECORDNUMBER        -
                000
    RECORD              -
                P0027
    OPERATION           -
                CHK
    TCLAS               -
                A
    DIALOG_MODE         -
                0
    NOCOMMIT            -
                Y
    VIEW_IDENTIFIER
    SECONDARY_RECORD
    i am getting short dump saying that
    The source field is too short.
    The current program, "SAPLHRMM", tried to assign a field to a field symbo
    However, the field is shorter than the type of the field symbol, which
    is not allowed.
    The statement in question is in the form ASSIGN f TO <fs> CASTING or
    ASSIGN f TO <fs> with a field symbol that was created using the
    STRUCTURE addition.
    I tried  operation - Chage,Create (same thing for all inputs)
    is this correct funtion moduel for my requirment?
    what ever i am passing the start and end dates this should check in the table records with this personal number and if this start date and end dates are not between of any start and end dates then it should add new record with this dates.
    Thanks for ur time.
    Murali.

  • BAPI Function Module

    Hi,
    Can anybody tell me,
    like i need to get the phone number from the BAPI table. can anybody tell me in which table the phone number is available ? and can i change the standard BAPI function module?. ( i mean can i change the standard BAPI function module like including some tables in the import and export etc as per the requirement? will it work ? )
    Pls Suggest me.urgent pls suggest me. also pls send any docs related to BAPI's if anybody having .
    Thanks in advance
    KP

    Hi,
    To anablyze the issue, identify what the input parameter is? Is it the PERNR which becomes the import parameter, then you are looking for the address if it is HR related it comes from PA0002 table and that parameter goes in the export section
    In the source code write the query to extract the phone number for the employee.
    For more info: type BAPI FM in the search forum that should give you a lot of results.
    I hope this helps.
    SK

  • BAPI function module 'BAPI_PO_CHANGE' is not updating aacural condition

    Dear All,
    BAPI function module 'BAPI_PO_CHANGE' is not updating aacural condition in PO pricing. Please give me a right solution on this query.
    Below I have given my code.
    Thanks and Regards
    Makarabd
    poitem-po_item = '00010'.
    poitem-net_price = '1060.00'.
    poitem-period_ind_expiration_date = 'D'.
    APPEND poitem.
    poitemx-po_item = '00010'.
    poitemx-po_itemx = 'X'.
    poitemx-net_price = 'X'.
    APPEND poitemx.
    select single * from ekko where ebeln = po_no.
    pocond-itm_number = '00010'.
    pocond-cond_type = 'ZVCU'.
    pocond-cond_value = 10.
    pocond-currency = '%'.
    pocond-STAT_CON = 'X'.
    pocond-accruals = 'X'.
    pocond-change_id = 'I'.   " I - Add , U - Update , D - Delete
    APPEND pocond.
    pocondx-itm_number = '00010'.
    pocondx-itm_numberx = 'X'.
    pocondx-cond_type = 'X'.
    pocondx-cond_value = 'X'.
    pocondx-currency = 'X'.
    pocondx-change_id = 'X'.
    pocondx-STAT_CON = 'X'.
    pocondx-accruals = 'X'.
    APPEND pocondx.
       CALL FUNCTION 'BAPI_PO_CHANGE'
            EXPORTING
              purchaseorder          = po_no
            TABLES
              return                 = return
              poitem                 = poitem
              poitemx                = poitemx
              pocond                 = pocond
              pocondx                = pocondx.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'.

    Hi ,
    Are you trying to pass the non char fields in CI_COBL. Please look at the link below .
    [http://forums.sdn.sap.com/thread.jspa?threadID=1137795] .
    Also serach for the similar threads when and notes while transferring currency and quantity field in different custom includes of the EKPO ...
    Thanks,
    Anjaneya .

  • BAPI function module for FUNDS Update

    Hi All,
    Anybody can help us on BAPI function module for FUNDS Update in FI funds management module please.
    Thanks & Regards
    Srini

    Hi,
    We are writing a program to change / update the existing funds in table FMFINCODE funds master. Here we are using a function module called FM_FUND_CHANGE but we are not able to capture the return messages. So please suggest me any BAPI function module availble for the same. Tcode : FM5U
    Regards
    Srini

Maybe you are looking for

  • Internal Number Range in Vendor Master(XK01)

    Dear Gurus, During the Initial upload of vendor master in SAP the vendor codes around 3000 vendors were uploaded with an External Number range between 1000000 to 1999999 with an defined group. Now i want to deactivate the External Number range and mo

  • How to make the text of a list entry bold ?

    Hi, I have a page named, for example, "Manage Streets". This page has a sidebar which has three menu items (a list with three entries); "List of Streets", "Add Street", "Edit Street". What I want is that when the user clicks "List of streets", and HT

  • Move Tab in focus to start and end doesn't work

    I can't use the shortkey to move the tab to start or end, it only moves the scrollbar in that particular tab to bottom and top of the page. https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly?redirectlocale=en-US&red

  • Cash Account

    Hello, My Client want to if Cash account not have amount(<0) then account person not make outgoing payment it is working by SP. but he also want if any ledger have -Ve balance then nature by default change means Asset Have negative balance then it sh

  • SAP BPC 5. 0  VS Outlooksoft 5.0 SP 2

    What are the main differences between SAP BPC 5. 0 /5.1 VS Outlooksoft 5.0 SP 2 ? As far as i know Outlooksoft 5.0 is the newer version of Outlooksoft Everest. Since SAP Acquired Outlooksoft, they renamed to its own brand SAP Business Planning and Co