BAPI or FM to update Commitment

HI GURUs,
I have a scenariio where PO is not created in R3 system. It is created in other software.  We want to update commitment and budget checking aginst WBS element, as and when PO with WBS is created in other system.
Can anyone suggest any BAPI or Function Module?
Thanks
Rama

Hi,
The model I am thinking is that, as soon as PR with WBS element is created in other system, the commitment is to be updated in SAP R3. Same way, when GR is created with respect to this, the commitment cancellation document is to be updated in SAP R3.
The only difference here is that, PR is not created in SAP R/3.  Due to this reason, direct commitment updation is not possible, as there is no triggering poing behind this. But thinking of the way to create commitment in SAP R/3, as soon as PR is created in other system.
Regards,
Rama

Similar Messages

  • Sale Order change BAPI - Storage loc not updated

    Hi Everybody,
    Iam using "BAPI_SALESORDER_CHANGE", to change the sale order items.
    First iam calling above bapi with switch B, for new pricing & then second time for material change.
    When i change any material number, it is getting updated correctly.
    But the storage location, even though iam passing in the bapi it is not updated, & is blank - updation flag is also passed.
    When i execute sale order change again it is updated - ie, for any material change for first bapi call, storage loc is not updated - for 2nd bapi call storage loc is updation - for same input in both the cases.
    Is there any way to update the storage loc is first call of sales order change bapi.
    Below is the parameters iam passing in bapi :
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          SALESDOCUMENT      = LS_SALESDOCUMENT
          ORDER_HEADER_IN    = LT_HEADER_IN
          ORDER_HEADER_INX   = LT_HEADER_X
        TABLES
          RETURN                            = LT_RETURN
          ORDER_ITEM_IN               = LT_ITEMS
          ORDER_ITEM_INX             = LT_ITEM_X
          ORDER_CFGS_REF          = LT_CFGS_REF
          ORDER_CFGS_INST         =  LT_PARTS
          ORDER_CFGS_VALUE     = LT_VALUES
          ORDER_CFGS_BLOB        = LT_CUBLOB
          ORDER_CFGS_VK            = LT_CUVK
          ORDER_CFGS_REFINST   = LT_CUREF
          SCHEDULE_LINES            = LT_SCHEDULE_L
          SCHEDULE_LINESX         = LT_SCHEDULE_X
          ORDER_TEXT                   = LT_TEXT
          CONDITIONS_IN                = LT_CONDITION_L
          CONDITIONS_INX              = LT_CONDITION_X.
    Any help is appreciated.
    Regards,
    Nagarajan.J

    Hi,
    Storage location is updated only when same sale order bapi is called another time with required details.
    rgs,
    Nagarajan J

  • Bapi in order to update table T056P

    Hi all,
    Is there any bapi or fm to update table T056P in order to enter interest reference rates values.
    Thanks and best regards

    Dear Marcelo,
    Thanks for your help, but we are adding new values to this table via transaction Enter Reference Interest Values (S_ALR_87002678), Accounting-> Financial Accounting->General Ledger-> Enviroment-> Current Settings->Enter Reference Interest Values. With these values,  afterwards we run ff_1 in order to calculate interests on bank accounts. We don´t have anything else on this sense and the process you mention seems to be for Treasury when you have further elements on this module.  I don´t know if it´s worthy and how to do it (where customize) in order to change from executing S_ALR_87002678 to tj05 and tj13. Would this improve our process and also have another transaction instead of ff_1 which is an old transaction that doesn´t allow our users many possibilities for calculating interest on bank accounts.
    Thanks for your help and regards

  • 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

  • BAPI or FM to update posting / accountng period in SAP FI for OB52 tcode

    Hi SAP Gurus
    Is there any BAPI or FM to update posting / accountng period in SAP FI for OB52 tcode.
    Please let me know.
    Highly appreciate your help.
    Many thanks and regards
    Sandeep

    Try this progrms or copy thr progrms and make it as bdc
    RFPERIOD_CLOSE                 ZFPERIOD_CLOSE
    RFPERIOD_OPEN                  RFPERIOD_OPEN

  • BAPI or FM to update GL Account Updation at Comppany Code Data (FSS0)

    Hi all,
    i want a BAPI or FM to update GL Account Updation at Comppany Code Data (FSS0)
    SAP Easy Access Menu -> Accounting -> Financial Accounting -> General Ledger -> Master Records -> Individual Processing -> In Company Code.
    Thanks

    The forum [FPM - General|Enterprise Performance Management (SAP EPM); in which you originally posted your question deals mainly with the financial performance applications otherwise known as Enterprise Performance Management (EPM) carrying the BusinessObjects brand.   Your question pertains to SAP [ERP Financials|SAP ERP Financials; which is covered by another forum.  Therefore your message has been moved.  Please adjust any bookmarks you might have and post to the appropriate area in the future, that way you are assured you will have the right audience reading your posts.
    Thanks and best regards,
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP Labs, LLC
    BusinessObjects Division
    Americas Applications Regional Implementation Group (RIG)

  • Budget Updation (commitment,actual) after cost transfer

    Hi  Gurus
    we are going to start one project by next month.For that we are finalizing wbs element etc.this project will be in separate plant.
    but initial expenses like land acquisition,statutory expenses are already booked against cost center.now we want to transfer the cost in cost center in to wbs elements.I know this can be done via KB11N. But the problem is when i am transferring cost budget details in CJ31 are not updating.means there is no effect in budget (commitment,actual,assigned)
    My client wants to update commitment,actual in CJ30 after cost transfer from cost center to WBS
    Can anyone help me on this?
    Thanks in advance.
    Regards
    Haran.

    Hi Hari,
    The expenses transferred to WBSE will be in the form of actuals which can be seen in "Assigned" tab of txn. CJ30.
    As per my understanding costing is already carried out in your project & you have used it for budget generation & these actuals were not a part of earlier costing then you can manually update the project cost & copy it again as budget in CJ30.
    I hope it will help.

  • BAPI or FM to update the commpr01 t-code

    Hi,
    Please let me know the Bapi or FM to update the commpr01 t-code.
    Thanks and Regards,
    Vijay.

    Hi,
    I want to update the transaction through a workflow.
    My scnerio is: i want to trigger a workflow whenever an attribute if the workflow is changed. The change goes through the series of approvals and after every level approves the change only then attributes needs to be changed.
    so i am thinking of updating the commpr01 t-code once all the levels are approved. so i need to use a BAPI or FM to update the t-code commpr01..
    Please suggest me if you have a better solution on this approach.
    Regards,
    Vijay.

  • Unable to run bapis for project status update and date update together

    Hi Experts,
    I have a requirement to update the dates and status of a project WBS at level 4. I am trying to do update the CJ02 Transaction using standard BAPI available. I need to do both Date update and status update in the same LOOP PASS   i am using the below mention bapi. when i am doing so i am getting an error Project 'A._____' has been currently processed by ID i.e. my id.
    I have tried putting  a wait for 2 seconds in the code but its still not working. please find the order below in which i am calling the bapi.
    Loop at itab.
    if  date_changed = 'X'.
          CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
          READ TABLE it_error WITH KEY message_type = c_e.
          IF sy-subrc <> 0.
    Commit
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                 EXPORTING
                      wait   = c_x
                 IMPORTING
                      return = s_ret.
       endif.
    endif.
    if Status_change = 'X'.
          CALL FUNCTION 'BAPI_PS_INITIALIZATION' .
          CALL FUNCTION 'BAPI_BUS2054_SET_STATUS'
          READ TABLE t_result WITH KEY message_type = c_e.
          IF sy-subrc NE 0.
            CALL FUNCTION 'BAPI_PS_PRECOMMIT'
                 TABLES
                      et_return = t_ret.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                 EXPORTING
                      wait   = c_x
                 IMPORTING
                      return = s_ret.
         ENDIF.
    endif.
        WAIT UP TO 4 SECONDS.
    endloop.

    Try to use
    SET UPDATE TASK LOCAL.
    before each BAPI call.
    Did you try to debug through your code, leaving sufficient time between BAPI calls? If it does work like that, then the above statement might help.

  • BAPI to create and update scheduling agreement (type LZM) in ECC

    Hi,
    We have a requirement to create and update scheduling agreement of type LZM in ECC from an external system.
    Is there a BAPI available for this in ECC 6.0 which can be used?
    The integration is using PI.
    Regards,
    Srivatsan

    Hello,
    Please use the T-code "SE93" and then click on Display option after entering the T-code. After entering into the detail screen of the T-code, you shall find option to click on OBJECT LIST and then enter into the Function Group. Now enter the T-code and then click on function module and a list of function module will be displayed in referrence to the T-code. 
    For your easy reference i have also mentioned the flow.
    SE93 --> Use tcode (eg. VA01) > display> Object list ---> Function Groups --> Tcode ---> Function module.
    Regards,
    Sarthak

  • How to update commitment in R/3 after SC being created

    Dear gurus,
    In my project, there is a requirement that whenever SC is created, a commitment should be updated into Fund Management in R/3. This is to make sure that the Fund Management should get the up-to-date information of all objects that are planned to consume the budget (also to make sure that the behaviour will mimic PR creation in R/3).
    However as we're using extended classic, we will not create PR in R/3, thus only PO will be replicated to R/3. Though this will update the commitment for sure, this is considered by the client to be very late already.
    So we need to find a way, where once the SC is created, SRM should be able to update the commitment into FM in R/3. Thus when SC is approved and converted into PO, then the commitment will be updated (deleted) and the real commitment from PO should be created in normal way.
    I know there is a badi that can be triggered during SC creation, and also during PO creation. But we still stuck on the question of what Function Module that we can use in R/3 to:
    a. Create commitment during SC creation,
    b. Delete commitment when PO is created.
    Can anyone help me on this? Or if someone have other and better way to make this happen, I'm really grateful if you want to share with me.
    Best regards,
    Yosea

    Hi Yosea,
    I had to do something similar in a previous project.
    I think, first you should try to avoid but if it is a requirement.
    I don't know if with a different (customer) account assignment category would be possible. How the problem is the moment of the commitment, we used tha DOC_SAVE BADI. Take into account, that you should delete the commitment after approval, reject, update during the approval process,....
    In my case the commitment was done via a manual CO document (exactly batch-input FMZ1). I remember that exist a FM that did something similar but finally we didn't use and I don't remember know.
    If finally you decided to do it in other way, please let me know.
    I hope this help you.
    Regards

  • Third party system call function module/BAPI through RFC to update Z table

    Dear Friends,
    We have a third party system which directly inserts a Z table in SAP through its programming, which is an auditing issue.
    We want the third party system should call function module/BAPI through RFC so that the Z table gets updated.
    waiting for inputs..
    Thanks,
    Kumar

    if third party system is capable of making Remote Function call, then writing a Function module & making it remote enable is not difficult task in ABAP.
    You may have to prepare specifications first to decide if third party system is going to Read, insert, update, delete records from Zee table.

  • BAPI For Shipment Change/Update

    Hi,
    I need a BAPI to update/change Shipment.
    I am aware of BAPI_SHIPMENT_CHANGE..but it is not released officially from SAP.
    This is a online job to change the shipment. I need a BAPI rather than a FM. Let me know some generic BAPI's which will change the shipment for a Purchase Order as of VT02N Transaction.
    Thanks & Regards,
    Priyanka.

    Hi,
    To change the header details of a shipment use
    SD_SHIPMENT_HEADER_CHANGE
    To change the stage data use
    SD_SHIPMENT_STAGE_APPEND
    SD_SHIPMENT_STAGE_CHANGE
    SD_SHIPMENT_STAGE_CHECK
    SD_SHIPMENT_STAGE_DELETE
    SD_SHIPMENT_STAGE_INSERT
    To add deliveries to shipment use
    SD_DELIVERY_ASSIGN_TO_SHIPMENT
    regards,
    Ankur Parab

  • GL Posting using BAPI BAPI_ACC_DOCUMENT_POST but not updating in table BSEG

    Hi Experts,
    Hope all are doing greatu2026
    I need you help to resolve the below issue.
    We have on Z-Tcode to GL Posting the document using BAPI u2018BAPI_ACC_DOCUMENT_POST' and this program is successfully posted from the source file and documnet # also created successully.
    We have entries in BKPF, but the table BSEG not updating and we do not have entries.
    Please help me on this regards,
    Thanks in Advance.
    Amjad

    Hi Srikant,
    Thanks for your reply...
    As you suggest, i have checked the structure ACCOUNTGL and below values are passing.
    ACCOUNTGL -ITEMNO_ACC
    ACCOUNTGL -GL_ACCOUNT
    ACCOUNTGL- ITEM_TEXT
    ACCOUNTGL- COMP_CODE
    ACCOUNTGL- COSTCENTER
    ACCOUNTGL- CS_TRANS_T
    Could you please suggest me if there are any  changes needs to do.
    Thanks & Regards,
    Amjad Hussain

  • BAPI for Ordered Quantity updation for PO after PO line item cancellation

    Dear Experts,
            I am trying to cancel a line item in ME22N for a particular Purchase Order. When I cancel an item, the ordered quantity is updated in the Status Tab for Header Details. I want to know how is this quantity getting updated and which BAPI is triggered for cancellation. Is it simply adding up the quantities for all line items?

    Header values are addition of line items at run time. I doubt any BAPI specifically calculates it at the header

Maybe you are looking for

  • Sender Mail Adapter Configuration error

    Hi, I am working on scenario mail adapter to CRM system. And when I tried to configure the sender email adapter I have got the error following error, Can any one help me to resolve this issues error occured: <b>exception caught during processing mail

  • VISA Set I/O Buffer Size fails with all but one value on Linux RT

    I was unable to initialize a serial port on a cRIO-9030 using a code that works fine on VxWorks and Windows, when I tracked it down to this somewhat strange behaviour; If you call VISA Set I/O Buffer Size on Linux RT (at least on the 9030 device) you

  • Keychain Access problem

    not sure if this is the right forum for this, please move it if it's not. I was trying to buy something in the iTunes store, but when I was trying to log in with my account, it said "The requested keychain was invalid", and told me to run Keychain Ac

  • Imported a file of music, tracks 1-3 stuck at the end of the album....

    I imported a file of music and hand added a few tracks. I went through and numbered them 1 through 30something, for some reason tracks 1, 2, and 3 are at the end of the album, in that order. The Get Info pages are all the same, compilation feature is

  • Can I give my Adobe PS Elements to my dtr as I have upgraded to vers.8?

    Hi I am wondering if I can give my daughter my Photoshop Elements vers. 7 as I now have version 8 and realize that the vers. 7 is tied to my email address and my password when I used it. Does that mean then that she cannot load it to her computerwhic