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.

Similar Messages

  • Is there any BAPI or FM to update the scheduled dates of a production order

    Hi Friends,
    I would like to know if there is any BAPI or function module available to update
    the Scheduled finish and Scheduled start dates (GLTRS,GSTRS fields from AFKO table) of
    a production order.
    I have searched the forum, but I could not find anything.
    It would be of great help if anybody let me know about any Function Module / BAPI.
    Regards
    Aditya

    Hi ravi,
    in crm we have a t-code to cancel billing doc just execute and provide billing doc no and test run.
    that automatically cancel the billing doc. CRMD_BILL_REV Cancel Billing Document
    and here is the function module to cancel the billing doc..
    BAPI_BILLINGDOC_CANCEL1  Cancel billing document.
    if you want to more just fallow this links i think this might be help full to you..
    https://help.sap.com/saphelp_sm40/helpdata/en/6f/f26863448111d5992400508b6b8b11/content.htm
    Cancellation of Billing - Billing - SAP Library
    let me know if there is any queries.
    Thanks & Regards,
    Srinivas.

  • Need a BAPI or FM to update the User filed ie., AFVGD-USR00 in Tcode CN22

    Hi,
    I am updating the User field of Network in Tcode CN22 through BDC . Now, Please give me FM or BAPI to update User field AFVGD-USR00 in Tcode CN22.
    Regards,
    Deepthi.

    Hi,
    I have written the code but it is not working . my code is as below:
    DATA : i_meth TYPE STANDARD TABLE OF bapi_method_project,
           w_meth TYPE bapi_method_project,
           i_act TYPE STANDARD TABLE OF bapi_network_activity,
           w_act TYPE bapi_network_activity,
           i_actu TYPE STANDARD TABLE OF bapi_network_activity_up,
           w_actu TYPE bapi_network_activity_up,
           i_ret TYPE STANDARD TABLE OF bapireturn1,
           w_ret type bapireturn1.
    w_meth-objecttype = 'NETWORK'.
    w_meth-method = 'UPDATE'.
    Object key in Netwrok Activity is combination of Network and Network Activity
    w_meth-objectkey = '0000040070550010'.
    w_meth-refnumber = '0000040070550010'.
    w_meth-objecttype = space.
    w_meth-method = 'SAVE'.
    w_meth-objectkey = space.
    w_meth-refnumber = space.
    APPEND w_meth TO i_meth.
    CLEAR w_meth.
    w_act-network = '000004007055'.
    w_act-activity = '0010'.
    w_act-user_field_char20_1 = '000004008252 0010'.
    APPEND w_act TO i_act.
    CLEAR w_act.
    w_actu-network = 'X'. .
    w_actu-activity = 'X'.
    w_actu-user_field_char20_1 = 'X'.
    APPEND w_actu TO i_actu.
    CLEAR w_actu.
    CALL FUNCTION 'BAPI_NETWORK_MAINTAIN'
    IMPORTING
       return                            = w_ret
      TABLES
        i_method_project                  = i_meth
       i_activity                        = i_act
       i_activity_update                 = i_actu.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Deepthi.

  • BAPI or FM to do update the batch, same as MB1B

    Hi all
    I have a requirement to update the batch details say for some specific plants in Norway in one go.
    Same how we do using MB1B transcation.
    IS there any existing BAPI or FM to update the batch for the plants.
    cheers
    C

    Hi,
    Try with this.....
    BAPI_GOODSMVT_CREATE
    Regards
    Debarshi

  • Is there any Standard BAPI's to update the table BP021?

    Hi,
    I am developing an inbound program to update the Business Partner Master(BP021) table. I need to update the field 'Staff_Count' in that table.
    Is there any BAPI's available to update the BP021 table? Thanks in advance for your help..
    Poornima

    Hi,
    Some FM's are available.
    Please refer these FM's
    FS_API_BP021_CHANGE            Change Fiscal Year Information
    FS_API_BP021_GET                    Read Fiscal Year Information
    FTB_BUPA_BP021_GET
    FTBP_READ_BP021
    FSBP_READ_BP021
    Regards,
    Jyothi CH.

  • FM/BAPI to update the rate category for the device/installation

    Hi,
    I need to update a new rate category for a device.
    Please let me know if there is BAPI/FM which will update the rate category for a device.
    Regards
    Shiva

    Hi Shiva,
    First of all, can you clarify if you want to update the rate category - Is it at the Installation Level or at the Device Level.
    For updating the rate category at the installation level, go to Business object INSTLN,and then make the necessary changes in Change Installation without dioalog.Pass the input parameters as required for the Method.
    If you find this answer helpful, please reward points.
    Amitav

  • Updating the Inspection Plans

    Hi,
    I want to update Quality Inspection Plan header fields: ( PLKO TABLE Fileds) Dynamic Modification level and Modification rule . Is there any BAPI or FM to update the QIP header fields.
    Please suggest for a way to achieve this.

    Hi,
    we dont have values maintained for CWBQM transaction .So I am looking for a way to achieve the update of QIP programatically and I checked the BAPI "BAPI_INSPECTIONPLAN_CREATE" .It is not useful for updation of Inspection plan.
    Please suggest for a way to achieve this Programmatically.

  • Update the sales order ( Quantity ).

    Hi Experts,
    I am using BAPI_SALESORDER_CHANGE. I want to change only Quantity of a sales order for that I pass it in ITEM Table and set the flag for these values in ITEMX table.
    After executing BAPI it runs Successfully so I commit it by using BAPI_TRANSACTION_COMMIT.
    Now my query is after commited BAPI it does not update the  related sales order in database.
    Why is it occurs meantime it is possible manually by VA02.
    Suggess what to do to solve this?
    Points will be sured for helpful answers.
    Thanks & regards
    Alok Vishnoi

    Hi Alok,
    If you want to change the quantity in a sales order item using BAPI_SALESORDER_CHANGE you have to pass the new quantity in the Schedule Lines (SCHEDULE_LINES) table to the BAPI_SALESORDER_CHANGE. Then only the new quantity gets reflected at the item level.
    If u just change the quantity at the Item level it will not get effected.
    I hope it is useful. Please let me know if u need any information.
    Regards,
    Suresh Linga.

  • Update customer's tax code?

    Hello
    My requirement is to update the tax jurisdiction code (TXJCD / ADRC - TAXJURCODE) of a existing customer, I didn't find any FM / BAPI / API because we want to go w/ BDC as a last option
    Thank you

    Hello Kishor,
    The runtime will be reduced only when you call the FM "SD_CUSTOMER_MAINTAIN_ALL".
    Let me explain you, FM "SD_CUSTOMER_MAINTAIN_ALL" is called internally inside BAPI "BAPI_CUSTOMER_CHANGEFROMDATA". at line number 160.
    If you use BAPI it will excute this 160 lines of waste and then the function module is called.
    If you use the function module, you don't need to execute 160 lines and obviously it reduces our runtime.
    Please let me know, are you okay with my explanation, still having some doubt ?
    Regards,
    Thanga

  • How to update the dunning level and dunning details: BAPI/FM??

    Hi All,
    I need to update the dunning history details(dunning level) for a contract account.
    I am using the table FKKMAKO(dunning header).
    Let me know if there is a Function module/BAPI/ any other way to update the dunning history details
    Regards
    Shiva

    Hi,
    Can you check if these FM's are useful:
    CRM_MKTPL_GET_BP_SALES_AREAS
    CRM_MKTPL_AL_FILL_PRODUCT
    Hope this helps.
    Regards,
    Anup

  • BAPI for VA02 to check availability & update the Schedule lines

    Hi Experts,
    Is there a BAPI which can 'check item availability' & update the Schedule lines for the same order?
    I have checked 'RV_AVAILABILITY_CHECK' 'BAPI_MATERIAL_AVAILABILITY' 'SD_BACKORDER_UPDATE'
    but it is not solving the purpose.
    Kindly give your suggestion for the same.
    Thanks.

    Hi,
    Please let me know if you were able to achieve this functionality. I have a similar requirement wherein I need to check for the material availability and update the schedule lines in the scheduling agreement. I checked the FM SD_BACKORDER_UPDATE, but it doesn't seem to be helpful.
    Regards,
    Dawood

  • Need a bapi r  fn module to update the batch classification in the bom

    hi,
    iam working a exit : exit_saplcoml_001.This exit is for material quantity calculation.the materials are currently classified in the material master under the classification tab.Ans due to this the classification becomes cross plant.
    To make the material classification plant specific i have decided to maintain the classification in the batch classification of bom.i am finding for a function module r a bapi to update the calculated values in to the batch classification characteristics.please help mi with this.
    thanks.

    Hi
    U can try to use BAPI_MATERIAL_SAVEREPLICA
    Max

  • Material Master: Update the Z fields using BAPI

    Hi to all,
    My requirement is simple. But I do not have much knowledge on BAPI. I have got some information that we can extend th BAPI and update the Z fields in material master. I have added the z fields in MARA. So when I call the bapi z fields has to get update.
    Which BAPI can i use? I have got one BAPI - BAPI_MATERIAL_SAVEDATA.   plz suggest me to do it.
    1. how do i enhance the BAPI or extend th BAPI.
    2. Is ther any approch to do it.
    thnks
    Yerukala Setty

    Hi,
    Append the z fields to BAPI_TE_MARA and BAPI_TE_MARAX structures using append structures.
    Populate two structures for the fields in BAPI_TE_MARA and BAPI_TE_MARAX.
    To BAPI_MATERIAL_SAVEDATA, under EXTENSIONIN parameters, pass structure name as BAPI_TE_MARA and Value Part1, 2, 3, 4 with the filled structure info.
    Similarly append X structure as well.
    Regards,
    Ganga

  • BAPI to Update the OA/PO with the new partners from vendor masters

    Hello All,
    We got a requirement to update the Contract or purchase order with new partners from vendor  master.
    In brief the partner information of a  PO when created with reference to a contract  will be reflected from the contract but not from Vendor Master partners .So when the vendor master got changed after the creation of the Contract the partner information in the PO is not in synchronous with Vendor Master partnes.
    Hence please help us with any BAPI to update the PO partners with Vendor masters .
    Regards
    Kalyani

    MAP2e_lfa1_to_bapivendor_04
    MAP2e_lfa1_to_bapivendor_05
    will be helpful

  • Need name of a function module or BAPI to update the Tax Classification val

    Hi Guru's
    Need name of a function module or BAPI to update the Tax Classification value for Material master.
    Thanks in advance.

    Hi
    U can try to use BAPI_MATERIAL_SAVEREPLICA
    Max

Maybe you are looking for