Assignment fields in edit mode in vf01

Hi,
Have requirement in  assignment fields in header of  vf01 as to make in Editable mode is there any  options in settings or through any enhancements(user exit name)  if there any please suggest how to do it.
Regards,
San
Edited by: santosh jajur on Nov 3, 2010 11:15 AM
Moderator Message: Do some research first.
Edited by: kishan P on Nov 3, 2010 4:30 PM

i hope that the PBO screen is designed in that form. for the function code in edit button will give u a good idea.
u do one thing before pressing edit keep in debugging mode and press edit then if u observe PBO,PAI then u will definately get the reason behind that.

Similar Messages

  • How to maintain the Goods reciepent field in edit mode while SHC creation

    Hi Experts,
    Can any one suggest me a solution, this is the requirement in SRM 5.0 version classic.
    Business wants to keep the Goods recipent field in edit mode instead of in grey mode, so that User can edit and assign someone at the time of creation of shopping cart.
    This is because If i raise a shopping cart i will be goods recpient by default, but business does not want that they want to edit  and assign a person at the time of creation of shopping cart .
    Can it be possible in the standard template.
    If so what has to be done. Please suggest !!!
    Regards
    Srujan.K

    Hi
    Srujan:- while creating a cart you might get a list of good recipient right so you can assign whoever you wish to be a good recipient right. while creatiing a cart good recipient was determined and partner functions are created for good recipient. do you want to edit them again.
    Can we change Goods Recipient after shopping cart is ordered
    nagaraj:- in old srm it helps but srm 550 say no
    http://help.sap.com/saphelp_srm50/helpdata/en/84/a7e3389870c05ce10000000a114084/content.htm
    we can not make default good recipient
    for eg srujan create a cart by default naga become a good recipient . that is old. this requester attribute dont work for dual purpose.
    it uses sfor only on behalf of only
    br
    muthu

  • Custom field in Edit mode in Sourcing

    Hi,
    We are using Classic scenario. I have to add one custom field in Sourcing. So, I have added the field in Shopping cart. Now the custom field is displaying in surcing cockpit. But we have few PRs which has created through RFC users from ECC. When I am creating sourcing, the PRs which are created in ECC are in Display mode only. But I need my custom field in edit mode to add values in that field. So, Is there any BAdI is there to change the mode of sourcing from Display mode to Edit? It's urgent. If anybody came accross such issue, please let me know.
    Thanks and Regards,
    Nowsath
    Edited by: Nowsath RM on Mar 31, 2008 2:30 AM

    Thanks. But in BBP_CUF_BADI_2, IV_mode field is there in methods MODIFY_INPUT, MODIFY_OUTPUT and MODIFY_MODE_QUOT. Out of which in methods MODIFY_INPUT and MODIFY_OUTPUT, the iv_mode field is import parameter not export parameter. So, you cant change the mode over there. Also in method MODIFY_MODE_QUOT, the iv_mode is as changing parameter. But this method will not trigger when ur creating sourcing. Please correct me if I am wrong...

  • I/O field in edit mode

    Hi,
    When I select an account and go to the contact assignment block and edit the contact then the fields "Valid From" and "Valid To " are uneditable .Why is it so?
    What do we have to do in order to make these fields editable.
    Please Help!!Thanks in advance.
    Regards
    Shilpi

    Hi,
    Are you talking about BP transaction. Go to transaction BUBA. Double click on the relationship has contact person. Change the time constraint.
    Smita.

  • Make the 'ASSIGNMENT FIELD' of particular financial Doc type non-editable

    Hi Experts,
    We have an done an Z development, where we are populating critical data in the 'ASSIGNMENT FIELD OF gl account' of a newly created  financial document type (ZD).This document is created through BAPI.
    Now our requirment is to make this 'Assignment field' non-editable .
    Thanks & Regards,
    Vishal

    Go to OB32
    Select Account type and select table with field name ZUONR and double click
    Uncheck the check box Field can be changed
    Srinivas

  • ProcessPCR_1 (WS50000041) : Web form in edit mode  to the approver ?

    Hi,
    I am working on  ProcessPCR_1 (WS50000041)
    This template depicts a one-step approval process. When you send the request, it goes
    to an approver for approval,There is a web form used for processing the  �� Request Special Payment.
    Now the challenge is  the web form should be editable mode to the approver (Currently it is in non editable mode ). Ex. He should have the paychange  field in editable mode.
    How can i acheive this?
    Richard A

    Ravi,
    I am working on ISR scenario only. Except the CHANGE MODE in the apporoval other things are working fine.  Am i really missing any configuration.
    The following are the steps i have done.
    1.I have configured the single level approval workflow ws50000041 @ V_SCENARIOXMPO and acivated the workflow.
    2. In the container &DISPLAYMODE& i am passing the CHANGE .
    The approver able to view the form and give his comments @ the comment column. But not able to change the PAY which was created by the initiator.
    My requirement  is the approver need to change the PAY.
    Thanks for your replies!
    Richard A

  • Assign focus on text field associated with tree item in edit mode

    The JavaFX home page has an example for how to edit the label associated with a tree item using a cell factory (see sample code below). However, if you select a tree item and then either mouse click or select the Enter key to start editing, the text field doesn't get focus even though the startEdit() method invokes textField.selectAll(). I tried invoking textField.requestFocus(), but that didn't work. Is there a way to ensure that the text field gets focus when the tree item is in edit mode?
    I'm using JavaFX 2.1 GA version on Windows 7.
    Thanks.
    Stefan
    @Override
    public void startEdit() {
    super.startEdit();
    if (textField == null) {
    createTextField();
    setText(null);
    setGraphic(textField);
    textField.selectAll();
    public class TreeViewSample extends Application {
    private final Node rootIcon =
    new ImageView(new Image(getClass().getResourceAsStream("root.png")));
    private final Image depIcon =
    new Image(getClass().getResourceAsStream("department.png"));
    List<Employee> employees = Arrays.<Employee>asList(
    new Employee("Ethan Williams", "Sales Department"),
    new Employee("Emma Jones", "Sales Department"),
    new Employee("Michael Brown", "Sales Department"),
    new Employee("Anna Black", "Sales Department"),
    new Employee("Rodger York", "Sales Department"),
    new Employee("Susan Collins", "Sales Department"),
    new Employee("Mike Graham", "IT Support"),
    new Employee("Judy Mayer", "IT Support"),
    new Employee("Gregory Smith", "IT Support"),
    new Employee("Jacob Smith", "Accounts Department"),
    new Employee("Isabella Johnson", "Accounts Department"));
    TreeItem<String> rootNode =
    new TreeItem<String>("MyCompany Human Resources", rootIcon);
    public static void main(String[] args) {
    Application.launch(args);
    @Override
    public void start(Stage stage) {
    rootNode.setExpanded(true);
    for (Employee employee : employees) {
    TreeItem<String> empLeaf = new TreeItem<String>(employee.getName());
    boolean found = false;
    for (TreeItem<String> depNode : rootNode.getChildren()) {
    if (depNode.getValue().contentEquals(employee.getDepartment())){
    depNode.getChildren().add(empLeaf);
    found = true;
    break;
    if (!found) {
    TreeItem<String> depNode = new TreeItem<String>(
    employee.getDepartment(),
    new ImageView(depIcon)
    rootNode.getChildren().add(depNode);
    depNode.getChildren().add(empLeaf);
    stage.setTitle("Tree View Sample");
    VBox box = new VBox();
    final Scene scene = new Scene(box, 400, 300);
    scene.setFill(Color.LIGHTGRAY);
    TreeView<String> treeView = new TreeView<String>(rootNode);
    treeView.setEditable(true);
    treeView.setCellFactory(new Callback<TreeView<String>,TreeCell<String>>(){
    @Override
    public TreeCell<String> call(TreeView<String> p) {
    return new TextFieldTreeCellImpl();
    box.getChildren().add(treeView);
    stage.setScene(scene);
    stage.show();
    private final class TextFieldTreeCellImpl extends TreeCell<String> {
    private TextField textField;
    public TextFieldTreeCellImpl() {
    @Override
    public void startEdit() {
    super.startEdit();
    if (textField == null) {
    createTextField();
    setText(null);
    setGraphic(textField);
    textField.selectAll();
    @Override
    public void cancelEdit() {
    super.cancelEdit();
    setText((String) getItem());
    setGraphic(getTreeItem().getGraphic());
    @Override
    public void updateItem(String item, boolean empty) {
    super.updateItem(item, empty);
    if (empty) {
    setText(null);
    setGraphic(null);
    } else {
    if (isEditing()) {
    if (textField != null) {
    textField.setText(getString());
    setText(null);
    setGraphic(textField);
    } else {
    setText(getString());
    setGraphic(getTreeItem().getGraphic());
    private void createTextField() {
    textField = new TextField(getString());
    textField.setOnKeyReleased(new EventHandler<KeyEvent>() {
    @Override
    public void handle(KeyEvent t) {
    if (t.getCode() == KeyCode.ENTER) {
    commitEdit(textField.getText());
    } else if (t.getCode() == KeyCode.ESCAPE) {
    cancelEdit();
    private String getString() {
    return getItem() == null ? "" : getItem().toString();
    public static class Employee {
    private final SimpleStringProperty name;
    private final SimpleStringProperty department;
    private Employee(String name, String department) {
    this.name = new SimpleStringProperty(name);
    this.department = new SimpleStringProperty(department);
    public String getName() {
    return name.get();
    public void setName(String fName) {
    name.set(fName);
    public String getDepartment() {
    return department.get();
    public void setDepartment(String fName) {
    department.set(fName);
    Edited by: 882590 on May 22, 2012 8:24 AM
    Edited by: 882590 on May 22, 2012 8:24 AM

    When you click on a selected tree item to start the edit process is the text in the text field selected? In my case the text is not selected and the focus is not on the text field so I have to click in the text field before I can make a change, which makes it seem as if the method call textfield.selectAll() is ignored or something else gets focus after method startEdit() executes.

  • Item field to non-editable mode(display mode) in Purchase Order(ME22n).

    Hi SDN,
    Based on the Comany code i need to modify the item level fields like <b>Item, Account Assignment, Material</b> to non-editable mode(display mode) in Purchase Order(ME22n).
    So i modifed in the method MODIFY_SCREEN_TC_LINE of class CL_TABLE_VIEW_MM and set the value L_FIELD_STATUS = *  for the screen filed MEPO1211-EBELP. When i execute, the whole column changed to display mode and the empty rows filled with 0(zero). But i want only grey mode for the line items that are present for that PO but not for the whole column. So can any one guide me to do so. I am using 4.6c.
    Thanks in Advance
    Regards
    Basha

    Hi Ramesh,
    Normally you can change the currency field, after entering information in Data base's table, go to Detail's table and change the rate as you want, then directly choose your PO number.
    so the system accept the rate entered aven though the PO had another rate.
    Regards.

  • Edit mode of field catalog

    Hi Experts,
                       I have a problem to handle data changing on screen although I put edit mode in field catalog. How can i trace the error. please ....
    FORM SET_FIELDCAT.
      DATA: L_COL_POS TYPE I.
      PERFORM ADD_FDCAT TABLES GT_LVC_FCAT
                        USING: 'X'  L_COL_POS 'ZTNBOOK' 'B_ID'     ''      'BOOK ID',
                               'X'  L_COL_POS 'ZTNBOOK' 'BOOK'     ''      'BOOK',
                               'X'  L_COL_POS 'ZTNBOOK' 'ZPRICE'   'WAERS' 'PRICE',
                               'X'  L_COL_POS 'ZTNBOOK' 'WAERS'    ''      'CURR',
                               'X'  L_COL_POS 'ZTNBOOK' 'STATUS'   ''      'STATUS',
                               ''   L_COL_POS 'ZTNBOOK' 'STATUS_T' ''      'DESCRIPTION'.
    ENDFORM.                    " SET_FIELDCAT
    FORM ADD_FDCAT  TABLES PT_FCAT_ALV TYPE LVC_T_FCAT
                    USING    P_COL
                             P_COL_POS
                             P_REF_TABLE
                             P_FIELDNAME
                             P_CFIELDNAME
                             P_TEXT.
      ADD 1 TO P_COL_POS.
      GS_LVC_FCAT-COL_POS = P_COL_POS.
      GS_LVC_FCAT-EDIT = P_COL.
      GS_LVC_FCAT-REF_TABLE = P_REF_TABLE.
      GS_LVC_FCAT-FIELDNAME = P_FIELDNAME.
      GS_LVC_FCAT-CFIELDNAME = P_CFIELDNAME.
      GS_LVC_FCAT-SCRTEXT_L = GS_LVC_FCAT-SCRTEXT_M = GS_LVC_FCAT-SCRTEXT_S
      = P_TEXT.
      GS_LVC_FCAT-QFIELDNAME = SPACE.
      APPEND GS_LVC_FCAT TO PT_FCAT_ALV. CLEAR GS_LVC_FCAT.
    ENDFORM.                    " ADD_FDCAT

    FORM edit_mode_field.
      LOOP AT t_fieldcat ASSIGNING <fieldcat>.
         CASE <fieldcat>-fieldname.
           WHEN 'FIELD1'.
             MOVE mark TO <fieldcat>-edit.
          WHEN 'FIELD2'.
             MOVE mark TO <fieldcat>-edit.
        ENDCASE.
      ENDLOOP.
       CALL METHOD alv_grid->set_frontend_fieldcatalog
         EXPORTING
           it_fieldcatalog = t_fieldcat.
    ENDFORM.               

  • The note field is in non-editable mode in appraisal document

    Hi all,
    In appraisal document,
    the reviewer can give his comment in the status u201CIn Processu201D and in the Sub Status u201CAnnual Review by Addl Managers/Reviewersu201D in an appraisal document. It is editable when I am trying via web but when I try to upload the comment from backend GUI  ( using phap_admin) the note field is in non-editable mode. My client requires it in editable mode at the back end.
    Can any one help me on thisu2026

    Hello Girish,
    Can you please check the appraisal  template, Proper access has been given to use the note column. If still faces problem can look for the BADI  HRHAP00_COL_ACCESS.
    You can look for the following notes also :
    1554467   column access does not work
    Best Regards,
    Deepak..

  • How to make the field in no edit mode

    Hi Experts,
    In the selection screen with default value I am giving one date field. But user wants it in NO EDIT mode. only display.. how to do this. pl. give me sample code. Thanks & Rewards.

    hi
    in at selection screen o/p event
    in the screen table
    make its input = 0
    tables : mara.
    SELECT-OPTIONS :  s_matnr for mara-matnr MODIF ID m default 1000 to 1002.
    AT SELECTION-SCREEN OUTPUT.
         loop at screen.
          if screen-group1 = 'M'.
            screen-input = 0.
           modify screen.
          endif.
        endloop.
    reward if helpful
    prasanth

  • Alv quanitty field edit mode

    Hi
    I am displaying one quanity field in alv. which is in Editable mode. while running and editing it is behaving strangly. if I enter the value 7,00 it is becoming 0,07 in the internal table .
    Please guide me in this regard.
    jaffer vali shaik

    Jaffer Please check the Below.
    Case#1.
    REPORT  ztest_alv_oo22.
    TYPE-POOLS: slis.
    DATA: it_fieldcat TYPE slis_t_fieldcat_alv,
         wa_cat TYPE slis_fieldcat_alv.
    DATA: BEGIN OF it_data OCCURS 0,
            vbeln TYPE vbeln,
            matnr TYPE matnr,
            menge TYPE p DECIMALS 2,
          END OF it_data.
    DO 10 TIMES.
      it_data-menge = '10.00'.
      APPEND it_data.
    ENDDO.
    wa_cat-fieldname = 'VBELN'.
    wa_cat-tabname = 'IT_DATA'.
    wa_cat-seltext_l = 'Test'.
    APPEND wa_cat TO it_fieldcat.
    CLEAR wa_cat.
    wa_cat-fieldname = 'POSNR'.
    wa_cat-tabname = 'IT_DATA'.
    wa_cat-seltext_l = 'Test'.
    APPEND wa_cat TO it_fieldcat.
    CLEAR wa_cat.
    wa_cat-fieldname = 'MENGE'.
    wa_cat-tabname = 'IT_DATA'.
    wa_cat-seltext_l = 'Qty'.
    wa_cat-edit = 'X'.
    wa_cat-decimals_out = 2.
    APPEND wa_cat TO it_fieldcat.
    CLEAR wa_cat.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program      = sy-repid
        i_callback_user_command = 'USER_COMMAND'
        it_fieldcat             = it_fieldcat
      TABLES
        t_outtab                = it_data
      EXCEPTIONS
        program_error           = 1.
    *&      Form  user_command
    *       text
    *      -->UCOMM      text
    *      -->SELFIELD   text
    FORM user_command USING ucomm TYPE sy-ucomm selfield TYPE slis_selfield.
      BREAK-POINT.
    ENDFORM.                    "user_command
    Case#2. with out Decimals_out option.
    REPORT  ztest_alv_oo22.
    TYPE-POOLS: slis.
    DATA: it_fieldcat TYPE slis_t_fieldcat_alv,
         wa_cat TYPE slis_fieldcat_alv.
    DATA: BEGIN OF it_data OCCURS 0,
            vbeln TYPE vbeln,
            matnr TYPE matnr,
            menge TYPE p DECIMALS 2,
          END OF it_data.
    DO 10 TIMES.
      it_data-menge = '10.00'.
      APPEND it_data.
    ENDDO.
    wa_cat-fieldname = 'VBELN'.
    wa_cat-tabname = 'IT_DATA'.
    wa_cat-seltext_l = 'Test'.
    APPEND wa_cat TO it_fieldcat.
    CLEAR wa_cat.
    wa_cat-fieldname = 'POSNR'.
    wa_cat-tabname = 'IT_DATA'.
    wa_cat-seltext_l = 'Test'.
    APPEND wa_cat TO it_fieldcat.
    CLEAR wa_cat.
    wa_cat-fieldname = 'MENGE'.
    wa_cat-tabname = 'IT_DATA'.
    wa_cat-seltext_l = 'Qty'.
    wa_cat-edit = 'X'.
    APPEND wa_cat TO it_fieldcat.
    CLEAR wa_cat.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program      = sy-repid
        i_callback_user_command = 'USER_COMMAND'
        it_fieldcat             = it_fieldcat
      TABLES
        t_outtab                = it_data
      EXCEPTIONS
        program_error           = 1.
    *&      Form  user_command
    *       text
    *      -->UCOMM      text
    *      -->SELFIELD   text
    FORM user_command USING ucomm TYPE sy-ucomm selfield TYPE slis_selfield.
      BREAK-POINT.
    ENDFORM.                    "user_command
    Change the Qty in the output and use refresh .
    and see.

  • Control display/edit mode of an Assignment Block through code

    Hi all,
    Requirement : If status in Opportunity is XYZ (BT111H_OPPT/Details - BTStatus/Struct.Act_Status), I need to show items Assignment block((BT111H_OPPT/ItemsList) in display mode. When user tries to go into edit mode, display error saying - "With XYZ status, items are not editable."
    Observations so far :  In "BT111H_OPPT/OpportunityOVViewSet", method set_view_group_context involves interface "IF_BSP_WD_VIEW_GROUP_CONTEXT" that has methods SET_VIEW_EDITABLE etc., But there is no method to change to display mode. CL_BSP_WD_VIEW_GROUP_CONTEXT uses this interface and has a subclass CL_CRM_WFD_VIEWGRP_CTXT. This subclass has the method SET_VIEW_DISPLAY_MODE.
    Question : How to access this method SET_VIEW_DISPLAY_MODE in my requirement? I tried to use the code from this method in my logic, but since attribute 'EDITABLE_VIEWS_TAB' is protected, I'm not able to do anything. Also is there any other way to get solution for my requirement.
    Thanks in advance,
    Vinoth

    HI Vinoth,
    if that method is not accessible then try with the below logic.
    In the item , fetch the required status(gv_status) which you required .
    THen in the item assignment block view, HTM..
    check for the diaplpy mode. and store the value in a llocal variable.
    lv_disaply_mode = controller->view_group_context->is_view_in_display_mode( controller ) .
    if controller->gv_status = 'XYZ'.
    lv_display_mode = abap_true.
    endif
    then pass this lv_display_mode varaible to the configtable display mode Attribute.
    <chtmlb:configTable id                    = "Table"
                          displayMode           = "<%= lv_displaymode %>"
    Hope this will help..
    Thanks
    Sudhansu

  • Make Account assignment field mandatory in VF01 at item level

    Hi All,
    I want to Make Account assignment field mandatory in VF01 at item level in accounting block.
    Please guide.
    Thanks ,
    Salman Zahir

    Hi,
    Goto T.Code:SE51
    Program name:SAPMV60A
    Screen number:6106
    Select Flow Logic.
    Click on Change.
    Click on elelment list tab.
    Search for VBRP-KTGRM field.
    Two options you are going to identify.Select the  entry which is having the "type of screen element" as "I/O".
    Click on special attributes.
    Input is enabled as "Possible".Change it to "Required" from drop down.
    Save.
    It will be appeared as mandatory.
    One more way is use of an exit.
    Ask your ABAPer to check for this field  entry while saving the invoice.As we know incompletion log will not work out here in invoice,so we are going for an exit.
    If there is a value for this field then only we can save the invoice,else not.
    Regards,
    Krishna.

  • How to make a field in non Editable mode

    Hi All:
    Now i created one form through wizard method this consists of following details
    Table name:T1
    Fields:No,Name
    here my requirement is how to make this "No" field in non editable mode after the insertion of the first record.

    You can make it a display item, you can disable the item, or you can set the update property to No. See the set_item_property in the Help documentation.

Maybe you are looking for

  • What display should I get for my macbook pro?

    Hey Guys. I think this is in the correct section. So I have a Macbook Pro (specs at the bottom) and I am looking to add an external monitor to use as a second monitor and at other times a screen for my playstation. I have never had a monitor before s

  • Unable to install OS 10.6.3

    I am unable to install MAC OS X error keeps coming up INSTALL FAILED Mac OS X could not be installed on your computer The installer could not copy the necessary support files. Is there something else wrong with this computer that i am missing?

  • Document "could not be saved"

    Hi everyone Frequent frustrating problem: Often get the error message, "The document ** could not be saved". Usually it is a .mov exported out of FCP for Soundtrack. Can anyone advise me what I am doing wrong? Very many thanks Roy

  • Problem with text-indent style , select tag on IE

    Hi Developers, i tried text-indent style class for <select> <option> tag .. The following given code is working on Mozilla fire box browser, but it is not working on IE.. I am trying to build a tree structure in the list box with multiple levels with

  • My iPhone isn't working ringtone while a call incoming pls help to give me the solution

    My phone isn't ringing sound while I got call from incoming