Interaction Record : How to make it non editable based on user status = Complete and on click of  Save

Hi Guys
We have a requirement ,where we need to make the interaction record "not editable " when we set the user status to "Complete" and after "Save" button is pressed.
Please note that we can't make use of status profile settings as we have to enter some information after the status is complete , that means
after user selects status "Complete" he has to select the value from another drop down and then Save.
Standard offers such that once the Complete is chosen in dropdown the whole screen is frozen.
Once he saves it , the document should be locked(read only/non editable)
Any pointers ?
We tried "Set_view_Group_Context" and Order_Save BADI and we are not preferring disabling at attribute level as we might add few more attributes later.
Regards
Vinayak

Hello,
We had a similar requirement.
The best way we found was to implement the enhancement spot in the beginning of method LOCK_ORDERS of class CL_CRM_METHODS_BTIL. Here, you can prevent the user from editing a business transaction. Be aware this method is called for any BT, so you need to adjust your custom development accordingly.
Hope this helps.
Best regards,
Sylvain AGUETTAZ

Similar Messages

  • How to make fields Non Editable in Web ADI

    Hi All,
    Can you please let me know how we can make fields Non Editable in Web ADI?
    Thanks,
    Anil

    Hi,
    Are you trying to make required parameters readonly and does this variable have different values for each row. If not then I would suggest you use a wrapper for the API and get only parameters that you need from the excel sheet and the use the wrapper to send the other read only values.
    Thanks

  • How to make different forms available based on user responses

    I have created 4 fillable application forms in Adobe Acrobat 9 Standard. First time using this product.
    Boss wants a dynamic form, so that if a user answers Yes to a question in Form A, then Form B is automatically inserted into Form A for the user to complete. If they answer No, then they continue in Form A, until questions prompting them Yes/No for Form C and Yes/No for Form D.
    We believed that this might be possible if we upgraded to Acrobat Acrobat 9 Pro, with the LiveCycle Designer ES 8.2.1 bundled in.
    I have looked at Pro and can't figure it out, and I've looked at LiveCycle Designer ES 8.2.1 and am completely confused as it is so different.
    Saw a tutorial that said to go to Tools and use the Action Builder, but I don't have this option in my version. Not sure why?
    We want users to be able to use Reader to complete and save the form, and print it for mailing, emailing or faxing to us.
    Any guidance or suggestions, or advice on recommended books, tutorials, or training would be appreciated.
    We are in Ontario, Canada.
    Thanks

    Hello,
    We had a similar requirement.
    The best way we found was to implement the enhancement spot in the beginning of method LOCK_ORDERS of class CL_CRM_METHODS_BTIL. Here, you can prevent the user from editing a business transaction. Be aware this method is called for any BT, so you need to adjust your custom development accordingly.
    Hope this helps.
    Best regards,
    Sylvain AGUETTAZ

  • How to make fields non editable in MM02

    My user wishes to have access to change only the Bin Location field in MM02. How can we achieve this? or in other words how can we deliver MM02 to user with only the Bin Location field editable.
    My basis guy sees a possibility if we can some how provide the authorization objects of all the fields of MM02.Shall that be a practical approach. if yes, what is the way of finding the authorization objects?
    Regards,
    Alok.

    Create a transaction variant for MM02 --- Tcode to do this is SHDO or SHDS..
    While creating the variant u can check the screen fields of the transaction as Invisible that you want to HIDE ...
    Then Link ur Varient to a new t-code and ask ur users to0 use the Alternate T-code For EX: ZMM02
    I Hope this helps u
    Deepak

  • How to make pdf non editable?

    Hi all,
    I need help of yours for solving the problem.
    My problem is:-
    1.I have used the oledb connection for populating data in the editable form. For one Instance that form needs to be editable and for another instance or another time that form need to be read only. I don't know for doing this is possible or not.
    2. I have used the oledb connection for connection SQL SERVER database. When I open the pdf file after saving from livecycle it shows the message "Connection failed due to Environment is not trusted".
    How to solve this problem??
    Any help and suggestions is appreciable.
    Thank You

    Here is a function that will lock all fields on the form for you. Simply put it in a scripting object and call it (passing in the root node of your form and it will lock everything).
    If you create a script object called myScriptObject then calling this woudl be like this:
    myScriptObject.LockAllFields(form1);
    Function: LockAllFields
    Description: This function will lock all fields.
    IN: The parent subform. It could also be an element that contains subform like form1
    OUT : nothing
    function LockAllFields(myParentObject){
    var allChildElements;
    var intNumElements;
    var currentElement;
    var j;
    //Get all the child nodes of the parent element
    allChildElements = myParentObject.nodes;
    //Total number of element in the object
    intNumElements = allChildElements.length;
    //Loop through all the child elements
    for(j=0; j< intNumElements;j++){
    currentElement = allChildElements.item(j);
    //If the element is another subform we'll recusively call the function again
    if(allChildElements.item(j).className == "subform"){
    LockAllFields(currentElement);
    //If the objects are fields and they are set to mandatory (validate.nullTest) then we will set the border.fill.color - dependant on object type
    else if(currentElement.className == "field"){
    currentElement.access = "readOnly";
    //Check for exclusion groups - Radio Buttons
    else if(currentElement.className == "exclGroup"){
    for(k=0; k< currentElement.nodes.length;k++){
    if(currentElement.nodes.item(k).className == "field"){
    //set the access for the radio buttons individually
    currentElement.access = "readOnly";
    }//end function

  • How to make Date fields Editable or Non-Editable based on Call Staus

    Hi,
    We are using CRM2007 Web GUI for Service call creation. We are using date profile to populate the dates. Here my requirement is if call status is 'Call created' then some set of date fields to be appeared in display mode(Non Editable) and some set of date fields to be appeared in change mode(Editable). How to achieve this. Kindly suggest me.
    Regards,
    Steve

    Hello,
    Kindly check the following thread which is giving many solutions for your requirement:
    Re: how to make field non-editable (display mode)
    Kind regards,
    Nicolas Busson.

  • Make a filed Non-Editable for specific Users

    Hi Experts
    Any Idea How can I make fields of any Table non-editable for a specific Group of Users.
    My Requirement
    I have 4 fields namely, Customer Name, Address, Pincode,City which at time of creation is open to user but once updated and customer is created,  I need to make it non-editable for a specific Group of user.
    Please advice.
    Regards
    Prashant

    Hello Neethu,
    I just wanted to confirm one of the sentence in the above post.
    I feel that the option 2 can also be achieved (Once record is approved and gone through all processes of WF and saved in MDM.Specific users should not modify the record.)
    For this we need to create validation where we need to mention the User
    Just create a Status field and write an expression as
    IF(STATUS FIELD [RECORD]=STATUS[DONE] AND UPDATED BY="USER NAME",FALSE,TRUE)
    for this the automatic execution type property should be set to error.
    Only difficulty is that we need to mention all the users for whome we want to remove the write access once the record is saved.
    Rgds,
    Prasad.

  • How to make a field editable, this field is dependent on a checkbox.

    Hi Frens,
    On the selection-screen of a report, i have a field and a checkbox in one block only.I want to make this field non-editable if the checbox is unchecked and if the checkbox is checked than, the field shouls be editable.
    Currently, it is happening but when i press enter after checking or unchecking the checkbox.
    How can we do it without pressing enter.
    Thanks and regards.

    Hi Anshul
    first describe your parameter like :
    PARAMETERS p_chkb AS CHECKBOX USER-COMMAND chkb.
    when user clicks on this checkbox
    the event  AT SELECTION-SCREEN OUTPUT. will be triggered without touching enter button.
    Than write a code like this to make P_OTHER parameter editable or non-editable :
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name EQ 'P_OTHER'.
          IF p_chkb EQ 'X'.
            screen-input = '1''.
          ELSE.
            screen-input = '0''.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Hope it helps,
    Bulent
    Edited by: Bulent Balci on Jul 6, 2010 5:23 PM

  • How to make an checkbox editable and uneditable within a single alv output.

    Hi,
    How to make an checkbox editable and uneditable within a single alv output depending on condition.
    I have used Reuse_alv_grid_display.
    In my output every checkbox is editable. i have used edit = 'X'.
    I want editable checkbox for correct value and uneditable checkbox for incorrect value in a single alv

    >
    Mukilansap wrote:
    > I want editable checkbox for correct value and uneditable checkbox for incorrect value in a single alv
    Use alv styles to achieve this, set the style for each record before displaying the ALV. Structure LVC_S_STYL.
    Take a look at the example BCALV_EDIT_02, it is OOPS based, but check how the style table is filled.
    regards,
    Advait

  • How to make table as "editable false"

    Dear Forum,
    i am user of jDeveloper jClient/Swing .jpr.
    cutomer table having following attributes-
    1.cust_id (primary key)
    2.cust_name
    3.cust_add
    Suppose customerview bind with jTable1.
    Using ViewObjectEditor, i set "updateable never" for all fields.
    This show error, when data insert into table " cust_id as
    read only".
    Help me, Using jClient Binding how to make Table as "editable false".

    Overriding method prepareEditor() for new table:
    private JTable tableList = new JTable(){
    public Component prepareEditor(TableCellEditor editor, int row, int column) {
    // 1 and 2 column is not editable
    if(column == 0 || column == 1){ return null; }
    return super.prepareEditor(editor, row, column);

  • How to create a non editable PDF

    How to create a non editable PDF in PDF writer 5 & 6 Professional.

    There was a PDF Writer driver available in AA 5 (not in AA 6). It was part of the custom install and was not recommended for use. In AA 5, the Acrobat Distiller printer was preferred. In AA 6, the name was changed to the Adobe PDF printer. In any case, once you have the PDF, open the PDF in Acrobat and go to the document properties. Select the security options to restrict changes and/or extracting text. The security is not all that robust, but works for most folks.

  • How to make field is editable in ALV  CL_SALV_TABLE only)

    Hi,
    How to make field is editable in ALV  CL_SALV_TABLE only)
    Any one has tried to make field si editable by using CL_SALV_TABLE class.
    *I know how to do it in REUSEALV function module and CL_GUI_ALV class.*_
    Please reply only if you riedin CL_SALV_TABLE class method.
    Regards
    Rajesh V
    Moderator message: not supported, please read class documentation and search for previous discussions.
    Edited by: Thomas Zloch on Mar 17, 2011 2:07 PM

    Hi Chad,
    Please refer the link,
    Edit field in alv
    Regards,
    Hema.
    Reward points if it is useful.

  • I'm using Adobe Acrobat with the hope of editing a url on the graphic...a simple 3-letter change, save, close and send for printing..how do I get in edit mode to delete 3 letters and insert 3 new letters?

    ?I'm using Adobe Acrobat with the hope of editing a url on the graphic...a simple 3-letter change, save, close and send for printing..how do I get in edit mode to delete 3 letters and insert 3 new letters?

    pkg4ibm wrote:
    editing a url on the graphic...
    Not sure what you mean by that: is that URL in an image, or is it actual text?
    If it is in an image, then you need to extract the image, edit it with something like Photoshop, then add it back to the PDF.
    If the URL is actual text, I suggest that you remove the entire URL, then add the corrected link.

  • How to make warehouse field inactive for all users in all documents autom.

    Hi All,
    Can anyone pls tell me "**how to make warehouse field inactive for all users in all documents without having to do it through form setting** "for each and every user. It should be visible but inactive
    Thanks & Regards,
    Mukesh Agrawal

    Hi,
    As a work around create a warehouse SelectWH and map the mandatory acoounts as a On hold account(in chart of accounts).So there will not be any posting on this account.
    And set this warehouse as default warehouse for all users.
    So without selecting the appropriate warehouse the user can not add the document.
    I think this might resolve you issue.

  • Possible to make an item editable for certain users and read only for other

    Is it possible to make an item editable for certain users and read only for others?
    I've been able to accomplish this by taken the select statement that I used to define an authorization scheme, placing it in the Read Only condition of the item. However, I would like to simply reference the authorization scheme to utilize caching, and to help keep things cleaner for future maintenance.
    Is it possible to reference an authorization scheme in an item condition similar to the way another item can be referenced by preceding it with a colon (i.e. :P1_First_Name)?

    Thank you, your suggestion worked.
    It would be nice on a future release of APEX if a drop-down box existed under the Ready Only section that would allow an existing Authorization Scheme to be selected or negated when applying the Read Only attribute to a form item.

Maybe you are looking for