Workflow query for change contract - VA42

Hi,
Has anybody worked on workflow for contract changes VA42. I have a requirement as when we change the contract, data is not updated properly for some line items. Can anybody please tell me how workflow is getting trigger once we change something in VA42. Any userexit or any configuration ?
Many Thanks,
Niki

Try using change documents to trigger a workflow event - transaction SWEC.

Similar Messages

  • BAPI for Changing Contract (ME32K)

    Hi Experts,
    I am searching for BAPI which can be used for changing contract (T-Code ME32K). I'd tried to use this BAPI "BAPI_CONTRACT_CHANGE", but it do not have fields by which I can update the Service Line Item also.
    Any help would be appreciated.
    Thanks and Regards,
    Virendra Kedia

    Hi,
    Using BAPI_CONTRACT_CHANGE ,we cant update service line items.
    Instead of that   use BAPI_ENTRYSHEET_CREATE  to create  SE for changes in rates of the contract at the servic level.
    Check below link for documentation.
    https://wiki.sdn.sap.com/wiki/display/Snippets/BAPI_ENTRYSHEET_CREATE%20with%20mulit-accounting
    Regards,
    Ravi

  • Bapi for change contracts

    Hi,
      Does anybody knows any bapi ( or simple function module ) for changing a MM agreement, by creating new service item(s).
    Thanks,
    Paulo Sousa

    Hi Ferry,
      The F.M. ME_UPDATE_AGREEMENT_PO does not have any parameter or table where i can indicate the new service's line(s), so it's certainly not adequate.
      About the BAPI_AGREEMENT_MAINTAIN, i've read the documentation and it refers structure parameters that do not exist when i display the F.M.. The documentation also says it should be used to create P.O. with the information from the contract. Do you know if it can also be used only to change one contract ? And do you also know why i cannot see any tabel named PoServices as referred in the documentation ?
    Thanks,
    Paulo Sousa

  • BAPI for changing CONTRACTS.

    Hi All,
    I want to update the short text for CONTRACTS in table EKPO from filed CDPOS-VALUE_NEW
    for this i was using function module BAPI_PO_CHANGE
    This Bapi is is succesfully updating the PO it is not updating the contracts....
    Please help me with the BAPI to update text in contracts....
    Please its very urgent
    Thanx in advance,
    Amruta.

    Hi Ajay,
    I have done the same .....
    REPORT  ZTEST1234                            .
    data : wa_ekpo-ebelp type ekpo-ebelp value '00010'.
    parameters :ebeln type ekpo-ebeln.
    data : it_poitem type STANDARD TABLE OF BAPIMEPOITEM with HEADER LINE .
    data : it_poitem1 type STANDARD TABLE OF BAPIMEPOITEMX WITH HEADER LINE.
    data : it_return type STANDARD TABLE OF bapiret2.
    it_poitem-PO_ITEM = wa_ekpo-ebelp.
    it_poitem-SHORT_TEXT = 'mod'.
    APPEND it_poitem.
    it_poitem1-PO_ITEM = wa_ekpo-ebelp.
    it_poitem1-SHORT_TEXT = 'X'.
    APPEND it_poitem1.
    CALL FUNCTION 'BAPI_PO_CHANGE'
      EXPORTING
        purchaseorder                = ebeln
      POHEADER                     =
      POHEADERX                    =
      POADDRVENDOR                 =
      TESTRUN                      =
      MEMORY_UNCOMPLETE            =
      MEMORY_COMPLETE              =
      POEXPIMPHEADER               =
      POEXPIMPHEADERX              =
      VERSIONS                     =
      NO_MESSAGING                 =
      NO_MESSAGE_REQ               =
      NO_AUTHORITY                 =
      NO_PRICE_FROM_PO             =
    IMPORTING
      EXPHEADER                    =
      EXPPOEXPIMPHEADER            =
    TABLES
       RETURN                       = it_return
       POITEM                       = it_poitem
       POITEMX                      = it_poitem1
      POADDRDELIVERY               =
      POSCHEDULE                   =
      POSCHEDULEX                  =
      POACCOUNT                    =
      POACCOUNTPROFITSEGMENT       =
      POACCOUNTX                   =
      POCONDHEADER                 =
      POCONDHEADERX                =
      POCOND                       =
      POCONDX                      =
      POLIMITS                     =
      POCONTRACTLIMITS             =
      POSERVICES                   =
      POSRVACCESSVALUES            =
      POSERVICESTEXT               =
      EXTENSIONIN                  =
      EXTENSIONOUT                 =
      POEXPIMPITEM                 =
      POEXPIMPITEMX                =
      POTEXTHEADER                 =
      POTEXTITEM                   =
      ALLVERSIONS                  =
      POPARTNER                    =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        WAIT          = ' '
              IMPORTING
                RETURN        =..
    This is my code just for updating the text but now the problemis this works with
    When ebeln = 45000000017
    whose bstyp = F  ie PO
    but when i do the same for Ebeln = 45000000000
    whose bstyp = K ie contracts 
    it gives me error message that this BAPI  cannot be executed for Contracts...
    So please help me with the Bapi to change Contracts.
    Thanx,
    Amruta

  • SP2013 Online - Approval Workflow "Request for Change" customization

    Hi,
    I am need for modifying the flow of request for change option in Approval workflow. 
    Whenever a user requests for change, I need to change the current task status as "Change Request" instead of completing the current task and creating a new task. Also, send an email notificaton to the requestor to make the changes. 
    Requestor will then make the changes and send a seperate email to the approver to review and approve the changes. After that reviewer will be appoving the workflow task.
    I am need of this process flow as my requestor group will not have access to workflow task to re-initiate the workflow after changes. 
    Please advice.
    soundar

    Hi,
    According to your description, my understanding is that you want to change the current task status as "Change Request" instead of completing the current task and creating a new task whenever a user requests for change in your SharePoint Online.
    For your issue, you can Copy & Modify the Globally Reusable Publishing Approval Workflow using SharePoint Designer and create a new Task Outcome for "Change Request".
    For more information, you can refer to the blog:
    http://thinketg.com/approve-or-reject-what-about-a-third-option-in-sharepoint-2010-approval-workflows/
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Eric Tao
    TechNet Community Support

  • Which field is the workflow trigger for a Contract Agreement ?

    Greeting everyone,
    I am not sure if this has been answer before or if this is the correct forum. If not, apologies in advance and do direct me to the appropriate topic/forum.
    I have an inquiries with regards to Contract Outline agreement and workflow trigger.
    Based on my company configuration, the trigger is based on the changes in value and release strategy.
    What I am unsure is that which field the workflow-trigger checks?
    Does SAP checks the field "Target Value" in contract header, or  the sum of net value in each of the contract items?
    Thank you

    Hello Sek,
    In contracts, the target value is used for the release strategy determination and not the net contract value. If you maintain a target value in the contract header, this value is set in field CEKKO-GNETW to determine the strategy. If no target value exists on header level, a cumulation of the target values of the items is carried out and used for the release strategy determination.
    Regards,
    Mauro

  • SAP Query for RE contracts

    Hi,
    Our requirement is to show all the changes made in all RE contracts for one business entity. We are trying to achieve this by creating SAP Query. Is this possible? And yes, what are the tables i should select or i should join to be able to create the correct report.
    Thank you so much.
    Rachelle

    Hi Rachel,
    Please be more specific on what changes you require.
    Have a look at the tables. These contain basic details of the contract
    VICNCN                         Real Estate Contract
    VICDCOND     Condition
    VICDCONDCALC     Conditions - Calculation Factors and Condition Amounts
    Regards

  • Shopping Cart Workflow - "Wait for change event" not firing?

    Hi there,
    I have a scenario where if I create a shopping cart above my spending limit it will go into the approver's inbox, that is fine.
    Now if I change the total value of the shopping cart to be within my spending limit the original workflow should be "logically deleted" and a "no step approval workflow" should be triggered.
    I see when the SC workflow triggers it also branches with a "wait for events", so that if it changes etc it will get caught here.
    When I change the SC it does not do anything, the value of the cart changes but it still sits in the approvers inbox and the "no step approval workflow" does not trigger.
    We are busy upgrading to SRM 5.0, it worked perfectly in the SRM 3.0 system we had.
    Any ideas what would cause the "change event" not to fire?
    Thanks for the help
    Lynton

    Hey Masa,
    You are the man!! That solved it.....I have implemented the BBP_WFL_SECUR_BADI and for whatever reason I set the security level to 4 when it should have been 2.
    4     "High" (workflow is never restarted when changes are made)
    3     "Medium" (WF restarted conditionally when changes are made)
    2     "Low" (workflow is always restarted when changes are made)
    1     "None" (changes to the object are not allowed)
    0     "Not defined"
    Thanks for the help
    Lynton

  • Shopping Cart workflow retrigger for changes done to SC already created

    Hi all,
    A shopping cart is created and later on in "Check Status" when the shopping cart is opened in change mode and any changes are made to the shopping cart either header or item level, the whole approval workflow is retriggered and the approvers are determined again.
    We have a scenario where for a particular account assignment category the approvers are added manually - ad hoc approvers through the "Add Approver" in "Approval Preview". For these shopping carts with manual approvers when in "Check Status" any changes are done to header or items of the shopping cart, the whole approval workflow is retriggered and the manual approvers previously added are refreshed as per standard SAP.
    I have to put a check in DOC_CHECK badi for the existence of approvers. If no approvers found an error message has to be thrown for adding the approvers manually. I am doing this by reading the approvers from the container for a cart created already. But when changes are made and the workflow is retriggered, the workflow container contains only the previous approvers and not the refreshed ones. So this is not captured in DOC_CHECK badi.
    Is there any way to capture the retriggering of workflow in DOC_CHECK badi, so that the check for approvers works fine even after a change being done to a shopping cart which is already created.
    Thanks and Regards,
    Asha

    Try this FM BBP_PDH_WFL_APPROVAL_SIMULATE
    Regards, IA

  • How to find the workflow for Change Request for the PO's

    Hi All,
    We have a PO which is pending and we can't receipt it again nor make payment on this. After checking the Approval history for that PO we found that the change request has been made. The change request was to change the amount to be paid to R39196 instead of R58237.00. We don't know where to check the workflow for the change request to identify the cause.
    what i need to know is how to find the workflow for that change request? The other workflows can be checked using the po_header_id for the PO's but i am confused with the change request workflow
    Your input will be highly appreciated.
    Thanks in advance
    Rgds,
    Sonia

    For 11.5.10.2 run this query to determine the keys to search on:
    Select wf_item_type, wf_item_key from APPS.po_change_requests where document_type = 'PO' and Document_num = 'put-PO-number-here'
    Then use the keys returned by the query to look up the Workflow in
    Workflow Administrator Web Applications / Administrator Workflow / Status Monitor
    Search using the results returned in fields "Type Internal Name" and "Item Key" in Status Monitor
    The query for change requests on a specific Requisition would be:
    Select wf_item_type, wf_item_key from APPS.po_change_requests where document_type = 'REQ' and Document_num = 'put-Req-number-here'

  • Changing Billing Schedule Level for Service Contracts created in OM

    Hi,
    When we create a Service Contract from Order Management, the Billing Schedule Level is always set to Top Level and only one Billing Stream gets created.
    Can we get the Billing Schedule Level changed to other Levels viz., Equal Amount or Covered Level using any setups.
    Has anyone did any customization/extension to be able to change the Billing Schedule Level.
    The basic requirement is to have multiple billing streams for the contract, created from Order Management.
    Gurus, any ideas/suggestions to get this accomodated.

    Sid,
    I don't think you are on the right track (in my opinion). You are right that we can only create service contract from the order management (service or Extended Warranty Lines).
    If I understood correctly, you sell electronic subscriptions (like my internet service I have at home) and you are looking for way to take it from the order management so that you can bill it from Contracts and not from OM. As this is electronic service, looks like you do not have fulfill any tangible product (like magazines) from contracts. Hence you do not care about the schedule for the contract shipments. Is that correct?
    As this is not something Oracle offers (I did not find anyway), you may want to consider extending OM workflow or a batch program to create a subscription contract once the order line is fulfilled (not the program where we create service contract). This way you have flexibility to create the contract the way you want it.
    But you can always create a service contract covering a subscription item as covered product. Like I have internet service as subscription but they cover me for any incidental visits of technicians for this subscription charging me some amount every month.
    Thanks
    Nagamohan

  • Workflow for Work Contract Approval

    Hello everybody,
    I need a Workflow for 2 level of approval of work contract.
    Whenever a user make a work contract it requires approval upto two level.If Authority1 approves the contract it will go for the 2nd level approval to authority 2.If Authority2 reject that then it will come back to the creater to change it or withdraw the contract.If authority2 approve that then the work contract will be finally approved and complete the workflow else it will return back again to the creater.
       Can some one tell me whether any standard workflow is available in SAP for Work Contract approval? Which BOR Object will be useful If I have to made custom development?

    Business Object:BUS2014
    Workflow Templat:20000079
    Thanks
    Arghadip

  • Is workflow mandetory for shopping carts and contracts approvals srm7

    hi
    in SRM 7 are workflows mandetory for approvals of Shopping carts  andContracts?
    I understand you need an approved workflow to turn a SC to a PO.
    is workflow required for approval of  shopping carts or can approvals be done manually
    you create the SC and you communicate and  look at  the sc and approve it
    Same type of question for workflow in contracts  for approval ?? is it mandetory or optional (manual achieve approvals)
    cheers
    alex
    Edited by: Alex Waiyaki on Apr 23, 2010 8:24 PM

    Hello Alex,
    SRM 7 has process controlled workflow and its easy to configure for simple requirement.
    Yes, Shopping cart approval will be required to change status of SC to approved. Though it can be as simple as auto approval. SAP delivers number of standard BC Set for approvals including auto approval of SC.
    SRM also has a option of adding approvers & reviewers. SC creator can add approvers & it goes for approval to added approver.
    Hope this helps.
    Thanks
    Ashutosh

  • Reason for Change in Contract

    Dear SAP Gurus
    I have a requirement that I want to configure, when someone changes Contract via VA42 and while saving the document the system should ask a reason for change somewhere and then only allow to  save that document...plz help me..

    Hi Ashish,
    You can do this with thelp of user exit. Take help of an ABAPer.
    I think you can use exit - USEREXIT_SAVE_DOCUMENT.  Please have your ABAPer to checvk this exit.
    Let us know.
    Regards,
    SB

  • Problem when changing the target quantity for a contract

    Hello,
    I have a problem when i try to change the target quantity for a contract through the BAPI 'BAPI_CONTRACT_CHANGE'.
    I filled the tables 'item' and 'itemx' with new values. the BAPI 'BAPI_CONTRACT_CHANGE' returns no error, but after using the BAPI 'BAPI_TRANSACTION_COMMIT' I get an info message from SAP and the modification does not pass.
    In debugger I could locate the error. In fact, the appeal of FM 'ME_UPDATE_DOCUMENT is done with a table XEKKN with the new values of the quantity and a KZ code equal to ' I ' to insert, then it must have the value ' U 'for update .
    Is someone can help me to solve this problem?
    Thank you in advance.

    Have you tried selecting the page, and then changing the theme directly on that page?

Maybe you are looking for

  • ORA-00600: internal error code, arguments: [26599], [1], [124], [], []

    We're getting this error : ORA-00600: internal error code, arguments: [26599], [1], [124], [], [] when trying to load Java code into the database (9.2.0.1). The error seems to have something to do with a high number of roles to roles. Any help? Thank

  • Using MacBook Time Machine in a new MacBook Pro-possible?

    Hi All, Apologize if this is a re-post question or very basic. But appreciate your help. I have been using a MacBook (white) for sometimes and take advantage of the Time Machine in its MacOS X to back up my files. I am planning to get myself a new Ma

  • Mortgage Program in GUI format

    I am having trouble with writing a mortgage program. The program should allow the users to choose the format inwhich they input their mortgage information. It is to then display his mortgage payment, monthly interest, and balance over the duration of

  • Activation question: Lightroom

    If I deactivate LR CC on my computer #1 so that I can activate it on computer #3 Will I be able to reactivate it on #1 whenever I want in the future (even multiple times) as long as I deactivate it on another computer so that I only have it on 2 at a

  • Print Preview Application changed - HELP

    My Problem is that when I press the Preview button (or the preview as PDF in the PDF submenu) in the Print dialog it brings up the QuickTime player application instead of the Preview application. I already selected the document of interest and used t