Updating contract document extension fields from workflow

I have a multi-step contract document workflow which routes first to an attorney and then through a series of business approvers.  The business approvers might reject the workflow for a number of non-legal related reasons which would not required the legal document to be changed.  I want to flag the document when the attorney approves in case the workflow is ultimately rejected and later restarted, the legal approval step can be skipped if the attorney previously approved and the legal agreement file has not been changed.  I have been unable to update a contract document extension field from within the middle of a workflow.  The system has the contract document locked but I'm not sure if that's what's blocking me and if so, can I unlock the document, make the change, and relock the document from the post-script?

Jeff,
Unlocking/Relocking might be the right approach. You also may be experiencing a privilege issue based on the user running the script (but I doubt it if you are able to update other fields based on approvals). Let us know what you find out!
-Howie Wexler, Crafty Systems Inc
978 273 3600

Similar Messages

  • Mass Update Contract Documents through workbook?

    HI Experts,
    Is it possible to mass update Contract documents through Workbook? if yes please proivde the workbook.
    Thanks
    Kushagra A

    HI Kushagra
    Please use the below mention fields to update the current Contract Document. you can use an CSV file to upload this.
    see the attachment.
    # Field name:
    # Unique Agreement Name : This is the agreement's unique name to identify the agreement.
    # Agreement Class ID :  This is the agreement's class ID. It is '1004' for Master Agreement and '1003' for Sub-Agreement.
    # Agreement Display Name :  This is the agreement's display name.
    # Attachment Name : This is the attachment's display name.
    # Attachment Order Code :  This is the attachment's order code to locate the attachment collected by the agreement.
    # Attachment Size (KB) :  This is the attachment's size in KB.
    # Attachment Visibility :  This is the attachment's visibility. Either Buyside only or Buyside and Sellside.
    # Added by :  This field indicates who added this attachment.
    # Contract Document (Y/N?) :  Please enter this field with either 'Y' or 'N' to indicate if you want to convert this attachment to a contract document.
    # Contract Document Type:  Please enter this field with the display name of the contract document type. Check the Setup->Contract Document Type for available choices.
    # Contract Document Phase External ID: enter this field with the External ID of the contract document phase. The phase should be defined in the phase configuration of your contract document type.
    Let me know if this helps
    Thanks
    Kanchan

  • BAPI_OUTB_DELIVERY_CHANGE to update Z fields from LIKP

    Hello,
    Im using BAPI_OUTB_DELIVERY_CHANGE bapi to change some fields from LIKP/LIPS table. Now, i have to update also some Z fields from this tables.
    I see that the bapi has Extension1 and Extension2 tables but i don't know how to use them. I have been looking for the forum and i have found you have to fill some structures with the Z fields, but i don't find them for deliveries. Also, i have read that you have to do it through an user exit, but i don't know what user exit and what relation it has with Extension tables.
    Anybody knows how to do it?
    Thx,
    Manel

    Hi,
    For changing the delivery quantity through BAPI_OUTB_DELIVERY_CHANGE you need to pass the following data :
    HEADER_DATA : Delivery no.
    DELIVERY : Delivery no.
    ITEM_DATA : Delivery no,
    item no,
    DLV_QTY quantity(changed),
    FACT_UNIT_NOM ( default to value '1')
    FACT_UNIT_DENOM ( default to value '1')
    ITEM_CONTROL : Delivey no,
    item no,
    CHG_DELQTY ( value "X")
    The import parameter Extension1 and  Extension2 are available for customer enhancements. Extension1 is an unstructured data container that is available for any use.
    Extension2 is a structured data container available for any use.
    For more information, see the function module documentation for BAPI_OUTB_DELIVERY_CHANGE.

  • Need information about Contract Renewal type field

    I have a requirement to get Contract Renewal Type field from CRM. I got to know that the technical field for Contract Renewal Type field is CRMD_CUSTOMER_H-ZZYARE . This field is of data type/length CHAR 1.
    I need to get the text for the Renewal Types - for example, Auto Renewal, Periodic Renewal, Manual Renewal. There is no check table or value table or any value stored in domain level for the field ZZYARE..
    Can you please let me know from which table and how can I get the text of Contract Renewal Types ?
    And Also in which tab of t-code CRMD_ORDER, I can see this field ?
    Thanks,
    Papiya

    Hi,
    As the field is a Z field, it must be visible under Customer fields Tab at header level of the contract transaction.
    Just check from which table the search help of this field is getting fetched.
    Regards,
    PP

  • How to set Changed_by field with User ID not by Workflow ID, when Status Update from Workflow

    Hi Frds,
    I am updating the Order Status from Workflow. So the Status update (or Order Changed) is save with Workflow ID. I need to insert UserID instead of workflow ID. Please help me out of this.
    Thanks
    Imran

    Hi Imran
    With the very few details available on your process, the workflow design and the "Order", all I can suggest is that:
    1) In your workflow definition, go to the step which sends the user decision, in the binding FROM the TASK TO the Workflow, set _ACTUAL_AGENT to a workflow container element , say DECISION_AGENT (of type SWHACTOR)
    2) Assuming that the next step in APPROVAL branch is setting of the status, go the task ID of that Step -> make it a dialog step (remove the Background Processing check) -> set it's agent assignment to general task
    3) Back in the workflow, set that STATUS SETTING step to Advance With Dialog under the details tab
    4) In the control tab of the same step, in the agents section, set agent as EXPRESSION and the value as &DECISION_AGENT&
    When a user approves the decision item, his ID will be stored in DECISION_AGENT
    The status set will execute immediately (because of "Advance with Dialog")  in the same session of approving as the user who approved is the same running this step now
    The status will be set by the ID of the Approver
    The above is hypothetical considering
    1) You do not have dynamic parallel processing
    2) Status setting happens immediately after the approval; as a first step in the approval branch
    3) The Decision Task does not has "Confirm End of Processing" checked.
    Regards,
    Modak

  • Duplicating form fields from one PDF document to another

    Hi,
    Does anyone know of a way to select and duplicate all acrobat form fields from one PDF document into a new PDF document. I know I can do so one field at a time but would like to know if there is a way to do so in a wholesale fashion.
    Our PDF documents are created in-house each year and are nearly the same as the previous year's document containing 99% of the same form fields in the same locations. These forms contain a lot of form fields, anywhere from 50 to 100 fields.
    Rather than start from scratch each year defining the same fields that were present in the previous year's document, I am looking for a way to copy the form fields from an existing PDF document (last year's PDF in our case) and copy the form fields into a new PDF document (that does not yet have any form fields defined) and hopefully maintain all the field attributes and positions from the previous years document.
    Thanks for any suggestions,
    Steve

    The PDF template we need to copy the form fields "to" doesn't start out having any form fields. It is the fields that we need copied from a previous year's PDF template.
    Here's an except from my original post: "I am looking for a way to copy the form fields from an existing PDF document (last year's PDF in our case) and copy the form fields into a new PDF document (that does not yet have any form fields defined)"
    The "new" PDF template is a complete "paper" form with updated legal text and calendar year referrences but NO form fields. In our IS group, we then take these forms, add form fields to them and are then able to populate them with database-resident user data. We serve them up to the user in their browser pre-populated with their application data.
    So again, our need is to find a way to copy form fields from "last year's" PDF template and copy just the form fields to an fresh "new year's" PDF template that contains no form fields to begin with. What we begin with is just a PDF representation of a paper student loan application.
    Thanks for the suggestion!

  • Document info fields in Word won't update when placed in document header-section

    Dear all,
    I have a document library using 3 Content Types with metadata columns and a Word-template.
    The values of these metadata columns should be displayed within the Word-documents created from content type.
    So I've inserted document info fields into the Word-template to display them.
    But unfortunately the placeholders are not updated when opening the document again, after metadata values had been changed e.g. by using the edit-form within the list.
    From what I have seen so far, this only refers to document info fields resident in header or footer sections. 
    But this is where I need to place them.
    Does anybody know this issue and has an idea of how to fix it?
    Could VBA be of use here?
    Best regards,
    Ben

    Hi,
    Based on your description, document info fields in Word won't update when placed in document header-section.
    Per my test, document info fields in Word will update when placed in document header-section.
    Refer to the following article about Add SharePoint Metadata to Word Documents:
    http://whitepages.unlimitedviz.com/2011/02/using-document-templates-with-lists-and-content-types-in-sharepoint/
    https://www.premierpointsolutions.com/training/help-and-how-to-articles/add-sharepoint-metadata-to-word-documents/
    If I misunderstanding the issue, Please offer a screenshot about your issue.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Customer Extension Fields for documents tab @ cPro4.5

    Hi Experts
    My custom field is added in the structure EDMS_TS_EXTENSION.
    I see the set_dat_ext method of the class CL_DPR_DOCUMENT is missing and the extension related methods and attributes in the class CL_DPR_CFX_DOCUMENT are no more active.
    Is there any modification free alternative to have custom fields for the document tab in cPro4.5?
    Best Regards
    Karthick

    Hi Judson,
    Thanks for sharing this answer, i am also facing the same issue. But here in my case i have extension field in Items nodes and also got the xml node from customer invoice xml, like below but when i process the xml it adds invoice request but dont maps th "test" nodes data to that extended column.
    <n1:test_0LIGMSME2T388H1SZMFGTNHGN_Y38WD8BTY xmlns:n1="http://0008768412-one-off.sap.com/Y38WD8BTY_">test data</n1:test_0LIGMSME2T388H1SZMFGTNHGN_Y38WD8BTY>
    Could you please suggest what i am missing.

  • BAPI for Updating the partners in Contract Documents

    Hi All,
    I am Using a BAPI  BAPI_CONTRACT_CREATEFROMDATA for Updating the Partners in the Contract documents by passing 'U' in the field Update_flag of the structure BAPISDHD1X.
    I am facing an issue as in the BAPI Return table : S document saved successfully
                                                                                  S No data was changed.
    Please help or give me a solution to update only partners in the Contract documents(VA42).
    Also please let me know any other BAPIs that can be used to do so.
    Thanks & Regards,
    Bhargav.

    HI,
    I am passing the right data. there is no problem with the data. My question is how do we update partners in the Contract documents. If possible can you explain with example.
    Regards,
    Bhargav.

  • Update PRODH field from table T179T

    hi,
    i want to update PRODH field from table T179T into table VBRP. for this we
    need to take selection option also.
    selection option will be :
    ·             Sales Organization (field VBRK-VKORG)
    ·       Billing Date Range (VBRK-FKDAT)
    ·       Distribution Channel (Vbrk-vtweg
    while i have done this for one field by using hard code but like:
    TABLES: VBRP.
    CLEAR VBRP.
    UPDATE VBRP SET PRODH = 'PLC01' WHERE VBELN = '0008300051'.
    SELECT SINGLE * FROM VBRP WHERE VBELN = '0008300051'.
    WRITE: VBRP-VBELN,VBRP-PRODH.
    but this is not the right way. please guide me how to solve this.

    TABLES: VBRP.
    CLEAR VBRP.
    UPDATE VBRP SET PRODH = 'PLC01' WHERE VBELN = '0008300051'.
    <b>commit work.</b>
    SELECT SINGLE * FROM VBRP WHERE VBELN = '0008300051'.
    WRITE: VBRP-VBELN,VBRP-PRODH.
    use commit work after update statement.
    But this code would make vbrp-vbeln as plc01 only.
    If you want to get the prodh value from t179t, then write a sleect on t179t and then update.
    TABLES: VBRP.
    CLEAR VBRP.
    select single prodh
      from t179t
    where......
    UPDATE VBRP SET PRODH = t179-prodh WHERE VBELN = '0008300051'.
    commit work.
    SELECT SINGLE * FROM VBRP WHERE VBELN = '0008300051'.
    WRITE: VBRP-VBELN,VBRP-PRODH.

  • HELP!  JOB ON THE LINE-  Need to import fields from one document to another document

    In a nutshell I have a set of documents and we now have a new structure for those documents. Either I have to cut and paste all the data from one to another or figure out how to import fields to another document.
    I have two documents. Both are different but require the same information. Basically I need to have one file with fields import specified fields from another document. Ex., Name on document 1, I need the file to know to get the Name field on document 2 and import it into the specified field on document 1. I will have multiple fields that need to do this importing. I REALLY NEED TO FIGURE THIS OUT B/C I HAVE A TON OF DOCUMENTS THAT NEED TO BE COMPLETED.

    If you are talking about the field structure, not the content that Bernd commented on, make a copy of the document with the fields. Open the file and use replace pages to replace the pages with the new document layout. After you have replaced the pages, you will have to select the field tools and move the fields to the proper location. If the form was made in Designer, I am not sure of the process. There is likely a similar process in Designer, but I don't use Designer and can't comment. You may have to go to the Designer forum in such a case, unless other Acrobat users here can help.

  • Deleting a single field from existing Layout - Update

    Hi,
    We need to amend our custom integrator's layout by removing a field from the layout.
    However, in Desktop Integration - "Define Layout" - we do not have any option to delete a field (options are - Move Up/down, Read only, width,Frozen pane)
    (Making width - 0 is not solving the purpose since only the field is not visible in layout but mappings remain as is)
    Is there any option to remove a single field from integrator layout?
    Thanks much in advance,
    Rgds,
    Sumanth

    Duplicate post - Deleting a single field from existing Layout - Update
    Srini

  • Deleting a single field from existing WebADI Layout (Update)

    Hi,
    We need to amend our custom WebADI integrator's layout by removing a field from the layout.
    However, in Desktop Integration - "Define Layout" - we do not have any option to delete a field (options are - Move Up/down, Read only, width,Frozen pane)
    (Making width - 0 is not solving the purpose since only the field is not visible in layout but mappings remain as is)
    Is there any option to remove a single field from integrator layout?
    Thanks much in advance,
    Rgds,
    Sumanth

    Duplicate post - Deleting a single field from existing Layout - Update
    Srini

  • We are trying to do a Quick payment from payment workbench and getting 'FRM-41830: List of values contains no entries' error for payment document column/field. Payment document setup looks good. Not sure what the issue is.

    We are trying to do a Quick payment from payment workbench and getting 'FRM-41830: List of values contains no entries' error for payment document column/field. Payment document setup looks good. Not sure what the issue is.

    Already gone through following three notes but didn't found resolution.
    APXPAWKB: FRM-41830 When Clicking on Payment Document LOV (Doc ID 1081305.1)
    R12: APXPAWKB: Payment Document Lov Is Empty When Entering A Payment (Doc ID 857587.1)
    R12: Payment Workbench Error: FRM-41830 List Of Values Contains No Entries (APXPAWKB.FMB) (Doc ID 1323875.1)

  • Correct process for updating CRM Z fields from ERP Z field.

    I currently have an accounts block with a field (Region) which has a drop-down list box containing values, plus another field containing the description/name of the region. Based on other fields within this same block I need to replace the Region and its description with a single value which should be sourced from an ERP Z table, or joined Z tables if I include the description as well.
    I believe that I know how to change the attributes of the Region field using the AET, although I can't see anything which displays or allows me to displable the drop-down list of values, although I'm sure I've seen a video demonstrating the AET being used to create a list of lookup values.
    Anyway, what I need to do is to change the Region field, making it and its description field Read-only, remove the list of values option so there's no drop-down list box against the Region field, and also update this field from an ERP Z field. Can this all be done using either the AET or EEWB, or is there some code required to be manually entered, and if so, what transactions need to be used to do this?.
    Any help would be much appreciated.
    Jason

    MIcha,
    With regards to youe 9 steps that gave.
    I am looking at component BP_ADDR and view BP_ADDR/StandardAddress. However, there are no enhancements shown when I click on the [Enhance Component] button. So I assume that I need to create an enhancement in order to change the code. Does this enhancement create am implementation or does it create replacement code?. The reason for asking this is that the code shown against the View_controller->Content->Content_Nodes->STANDARDADDRESS->Attributes->STRUCT.REGION->GET_V_REGION method is as follows::
    METHOD GET_V_REGION.
      DATA:
        lv_fieldname            TYPE name_komp,
        lt_fieldname_additional TYPE crmt_attr_name_tab.
      lv_fieldname = 'COUNTRY'.                                 "#EC NOTEXT
      INSERT lv_fieldname INTO TABLE lt_fieldname_additional.
      lv_fieldname = 'COUNTRY_TEXT'.                            "#EC NOTEXT
      INSERT lv_fieldname INTO TABLE lt_fieldname_additional.
      lv_fieldname = 'REGION_TEXT'.                             "#EC NOTEXT
      INSERT lv_fieldname INTO TABLE lt_fieldname_additional.
      CALL METHOD cl_crm_uiu_bp_cust_get=>GET_VHELP_FOR_REGION_VATTR
        EXPORTING
          iv_index                = iv_index
          it_fieldname_additional = lt_fieldname_additional
        RECEIVING
          rv_valuehelp_descriptor = rv_valuehelp_descriptor
        EXCEPTIONS
          OTHERS                  = 0.
    ENDMETHOD.
    The above call gets the value helps and if I replace this code how can I also ensure that the value-help pull down icon does not appear next to the Region field, as all I'm attempting to do here is replace the code. In other words where do I update the screen to say that this field is no longer a value help field?. I wondered if this code actuallypoints the pull-down icon next to the Region field, although I suspect all it does is physically display the list of values and allows you to select one.
    So, I need to determine how I can create an enhancement. I've just been trying different things in the BSP_WD_CMPWB tranx but have not found out yet how this is achieved, although I think this is achieved via the creation of a new View set, but am not 100% sure.
    Jason

Maybe you are looking for