Modify poplist values in iProcurement (11.5.9)

Hi, we have a requirement to remove a value from the poplist in iProcurement, Billing Information page for Taxable Status ( Yes, No ,Don't know ).
Following is the xml code which display the poplist
<POR_TAXABLE_STATUS ifFlag="true" functionName = "taxableStatus2">
<if field="POR_ALLOW_OVERRIDE_TAX_CODE" value="false" itemStyle="text" updateFlag="false" >
<fieldCellAttributes> class=fielddatabold </fieldCellAttributes>
</if>
</POR_TAXABLE_STATUS>
I am not able to find where is the function taxableStatus2 is defined which retrieve the poplist values.
Also, based on the taxable status value ( if it is Yes ) then we want to make Taxable Code ( LOV ) as read only. Is it possible to do this. If so, please guide me how to proceed further.
Thanks for help.

I checked with the procurements folks and looks like these values are hard coded in DataStore.getData and they fetch the values from the message dictinary ICX_POR_PRMPT_DONT_KNOW, ICX_POR_PRMPT_YES and ICX_POR_PRMPT_NO. So you cannot remove any of these values.

Similar Messages

  • To modify field value in a transparent table

    how would i modify the value of a field in a transparent table? my data is from internal table. while im looping in the internal table the data goes to the first record of the table not on the right record.
    what wrong with  my code?
    loop at i_tble.
      wa_tble = i_tble.
      select single angnr
      into i_angnr
      from ekko
      where ebeln eq wa_tble-ebeln.
      ekko-angnr = wa_tble-angnr.
      modify ekko.
    endloop.

    Hi,
    I am sorry but I didn't understand the purpose of this code. You are reading in a field value of ANGNR from EKKO and you want to update the same record again with the same value? Why?
    <b>Secondly, you should never update any SAP table directly like that</b>.
    Now for the reason why your update is updating the first record always.
    Your 'modify ekko' should be modified as
    MODIFY ekko TRANSPORTING angnr WHERE ebeln = wa_tble-ebeln.
    Please reward and close the post if answered.
    Regards,
    Srinivas

  • Modify a value of a node

    Hi fellow developers
    I�m trying to modify a value of a node.
    But I think I�m missing something. Please help.
    thanks in advance
    for(int i=0;i<List.getLength();i++){
                        node=List.item(i);
                        if(node.getChildNodes().item(0).getFirstChild().getNodeValue().equals(projectNum)){
                             projectNum = node.getChildNodes().item(0).getFirstChild().getNodeValue();
                             node.getFirstChild().setNodeValue("333");

    Without the dtd, it is not clear why the sample code fails but here are a few pointers that may be of use:
    - The j2ee tutorial on java.sun.com:
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JAXPDOM5.html#wp64575
    has a section on 'examing the structure of a dom' .
    Excerpt for the above URL:
    Note: Important! Text nodes exist under element nodes in a
    DOM, and data is always stored in text nodes. Perhaps the most
    common error in DOM processing is to navigate to an element
    node and expect it to contain the data that is stored in that
    element. Not so! Even the simplest element node has a text
    node under it that contains the data. For example, given
    <size>12</size>, there is an element node (size), and a text
    node under it that contains the actual data (12).
    http://java.sun.com/j2ee/1.4/docs/tutorial/examples/jaxp/dom/samples/DomEcho02.java is a useful program to analyze the structure of a dom.
    - You can try printing the DOM and analyse the structure of DOM. The following URL has a set of useful samples for xml dom processing: http://developers.sun.com/sw/building/codesamples/dom/. In particular the DOMUtils class has two useful static methods for debugging a DOM:
    1. printDOM(org.w3c.dom.Node node): Prints the specified node, then prints all of its children.
    2. writeXmlToFile(java.lang.String filename, org.w3c.dom.Document document): This method writes a DOM document to a file
    http://developers.sun.com/sw/building/codesamples/dom/doc/DOMUtil.java
    - http://forum.java.sun.com/forum.jspa?forumID=34 is the forum for java technology & xml.
    Hope u find the pointers useful.

  • Can I modify the value of an enviroment entry for an EJB without having to re-deploy.

    I wish to modify the value of an envrioment entry for an EJB. The entry already exists and has been created using
    <env-entry>
    <env-entry-name>myFlag</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>true</env-entry-value>
    </env-entry>
    I can access the value using code similar to the following:-
    InitialContext initialContext = new InitialContext();
    String value = (String) initialContext.lookup("myFlag");
    However if I try the following:-
    InitialContext initialContext = new InitialContext();
    initialContext.rebind("myFlag", "false");
    I get an OperationNotSupportedException thrown.
    Do I need to use LDAP directly (rather than through JNDI) to modify this value or is there another / better way? If I do need to use LDAP directly what would the code look like ?

    Hi,
    As per J2EE specification:
    Naming environment entries allow customization of a component during deployment or assembly without the need to access or change the component?s source code. The container implements the naming environment, and provides it to the component instance through a JNDI naming context.
    The Deployer can modify values of environment entries that have been previously set by the Application Component Provider and/or Application Assembler.
    Generally only those variables/properties are set in environment entries which are likely to be different on various Application server configurations/installations, so it is not required/advisable to change these entries programmatically. Any way iAS-6.0/6.5 doesn't support changing environment entries programmatically, it binds all the JNDI names during Server startup after reading it from the registry.
    For your purpose you can use a boolean variable in your code to set your flag, and may be put it into session.
    Please feel free to ask further questions.
    Sanjeev,
    Developer Support, Sun ONE Application Server-India.

  • T.code F110 Created a proposal, could I modify the value date?

    Hi All,
    I need to create a proposal with tha value date successive to posting date....
    In particular, i wonder if, before running the payment i can modify the "value date" of the scheduled proposal  by hand.
    Thanks...
    Gandalf

    Hi Umberto,
    My understanding of your requirement is like this: When you make a payment to a vendor, it will be credited in his bank account say 2 days after the payment is generated in your system. Say if you have generated a payment document on 24th March, it will be credited to the vendor account on 26 th march. and you want to maintain the value date as 26th march in your payment document.
    If this is the requirement, maintain value date in FBZP settings, under bank determination, for the payment method/hosue bank and HB ID combination. You have to mention number of days to value date.
    Please let me know if this is your requirement

  • SharePoint Designer Workflow unnecessary set Modified By value as System Account.

    Hi Friends,
    I have created SharePoint Designer Workflow, it update other List Item as well same Item on Item Adding and Editing event.
    I have Developed workflow using System Account.
    While doing any change by general user in Workflow list it update Modified By value to System Account only.
    I want modified by value as General user only.
    Or No need to update modified and Modified by details.
    So please help me How I can resolve this issue.
    Thanks,
    Digambar Kashid 
    Thanks and Regards, Digambar Kashid

    Hi Digambar, that's by design, but here are some workarounds:
    http://blog.mmasood.com/2012/12/approval-worfklow-showing-system.html
    https://social.technet.microsoft.com/Forums/office/en-US/f3f9b1ff-9507-4471-935d-4ab8937839b6/oob-approval-workflow-makes-modify-by-field-as-system-account?forum=sharepointadminprevious
    cameron rautmann

  • Modify target value in contract to be more than 1 000 000 000 LE

    I am working in ECC6, MM module,
    i want ask some quistions,
    1-modify target value in contract to be more than 1 000 000 000 LE.
    2-printing all un released documents.
    3-all available reports detailed in MM.
    4-modify percentage in fields to be 3 digits instead of 2 digits.
    BR,
    Amr Awad

    Hi,
    if you need to create an appropriate content structure, you have to consider many aspects. If the amount of content is small, many of these aspects are not that important, but if the number of elements/pages are getting larger, they will get important.
    One aspect to know is the way how this content is accessed. Is your primary access pattern search or browse? In the search case the location of an element can be quite random, but when you browse you will follow an (intuitive) pattern.
    Another aspect is the the kind of access. Do you have many create/delete operations? Only read?
    Then: Are these content elements maintained by the system itself (for example by an automatic importer) or are editors required to work on these elements?
    The better you can answer such questions, the better it's possible to model a content structure. In practice of CQ5/CRX a few patterns have established like
    Natural Hierarchy (like: continent/country/state or brand/branch/product/)
    A total ordering of all elements can be established (like postal codes: There you can structure by the orders of the numbers: 5368 could become /5/3/6/8)
    A total ordering of elements is being created artificially by hashing methods. This approach cannot/should not be used for content which is maintained by humans.
    (and probably more)
    In any way I would recommend you to check David's model at http://wiki.apache.org/jackrabbit/DavidsModel
    kind regards,
    Jörg

  • FB70: How t o modify the value of BSEG-XREF before posting?

    Hi ABAP Gurus,
    Good day!
    I would like to know the correct way to modify the value of BSEG-XREF1 in FB70 (Prior to posting of document).
    Currently, I have tried using substitution. First, I copied RGGBS000 into ZRGGBS000 AND added form u300, which will modify BSEG-XREF1.  Second, I have added a step to an already existing substitution (COGS), which was set-up in transaction OBBH.  I have assigned u300 to BSEG-XREF1 (Refernce Key 1).
    The said step didn;t seem to work.  I was able to post a document and then I displayed the document.  Unfortuantely, BSEG-XREF1 hasn't been modified. So,  I tried debugging the form U300.  It doesn't stop inside that form, which means the logic that i put there was useless. By the way, the the formname that Im using can be found in two internal tables: (1) exits, and (2) etab.
    Kindly advise on what to do.   Thank you very much!
    <b>Best Regards.
    Brando</b>

    Check this sample code which i've used to substitute the field BSEG-ZUONR
    Also ensure that the callup point in <b>OBBH</b> is 2
    Don't forget to attach ur <b>ZRGGBS000</b> to the application area <b>GBLS</b> in the tcode <b>GCX2</b>
    FORM get_exit_titles TABLES etab.
      DATA: BEGIN OF exits OCCURS 50,
              name(5)   TYPE c,
              param     LIKE c_exit_param_none,
              title(60) TYPE c,
            END OF exits.
      exits-name  = 'U102'.
      exits-param = c_exit_param_field.
      exits-title = text-101.           " Ship-to-Party to Assignment field
      APPEND exits.
      REFRESH etab.
      LOOP AT exits.
        etab = exits.
        APPEND etab.
      ENDLOOP.
    ENDFORM.                    "GET_EXIT_TITLES
    FORM u102 USING zuonr TYPE bseg-zuonr.
      bseg-zuonr = <value>.
    ENDFORM.

  • Row handling Poplist values

    Hi All,
    I am using switcher to show Text/Poplist for each row depending upon the Type.
    Now for Each row there are different related Poplist values.
    But while displaying in the page for each n every row I am getting the same poplist values for all rows.
    How to get the related Poplist value for each row?
    Here is my code
    CO
               OAViewObject vo = (OAViewObject)am.findViewObject("XXLCAssignmentsVO1");
               vo.first();
               int count = vo.getRowCount();
               System.out.println("List Count :"+count);
               for (int i=1;i<=count;i++)
               OARow varRow = (OARow)vo.getCurrentRow();
               if(varRow!=null)
               oracle.jbo.domain.Number list_id = (oracle.jbo.domain.Number)varRow.getAttribute("ListId");
               String slist = list_id.toString();
               System.out.println("List_id :"+list_id);
               if(list_id!= null)
               //String listid = pageContext.getParameter("ListId");
               System.out.println("List Id = "+list_id);
               Serializable[] params = {slist};
               System.out.println("Invoke InitListValue = "+list_id);
               am.invokeMethod("initListValue",params); 
               if(i<count)
                   System.out.println("List Next Row ");
                   varRow = (OARow)vo.next();
               }AM
      public void initListValue(String listId)
        System.out.println("init ListValue in AM= " + listId);
        XXLCValueListVOImpl vo = getXXLCValueListVO1();
        vo.initListValue(listId);
      }Thanks,
    SK

    Try this:
    If no column is not present which has "ListId" as its view attribute then Create column in the table and use "ListId" as its view attribute.
    Use the below code in processRequest:
    OATableBean XXX = (OATableBean)webBean.findChildRecursive("XXX");
    OAMessageChoiceBean LinePoplistItem = (OAMessageChoiceBean)XXX.findChildRecursive("LinePoplistItem");
    // LinePoplistItem is your poplist item bean ID
    LinePoplistItem.setListVOBoundContainerColumn(0, XXX,"ListIdBean");
    // here "ListIdBean" is ID of the item which has "ListId" as its view attribute Refer http://mukx.blogspot.com/2007/09/dependent-dynamic-message-choicelists.html
    -Anand
    Edited by: T.A.Anand on 13 Dec, 2010 5:12 PM

  • URGENT:Making a poplist value freezed based on another poplist value

    Hi,
    I have a requirement to make a poplist value freezed(should get disabled so that no further change can be done) based on another poplist value.
    for ex : poplist 1 : A,B.
    poplist2: yes,no
    if A is selected, yes,no should appear in the poplist2.
    if B is selected, only YEs should appear in the poplist2 and it should get greyed out(disabled for further changing).
    Please help.
    Thanks,
    Veena.
    Edited by: Veena. on Dec 31, 2012 4:00 AM

    Veena,
    there is nothing urgent on this forum!
    You know that you should provide your jdev version so that we can help you solve your problem.
    Next it would help if you provide the code (of the page) so that we see how you setup the 'poplist' (whatever that exactly is).
    If you mean a selectOnceChioce you can implement a valuechangeListener on poplist A and depending on the new value set the value of poplist B to yes and disable it.
    Timo

  • Modify the value of the primary key...

    Hi all,
    I have made a mistake in the design of the table......
    and it is too late to get it changed....
    I have set the wrong field as primary key...
    These fields (keys) need to be modify , since i ve set it as a key, when ever modify those fields using
    "MODIFY ZTABLE VALUE INT_TABLE . ", it create a new row into the table because i change the primary key value. Using "UPDATE ZTABLE ....." it doesnt works because the key's value has changed.
    Thank you very much friends...

    Hi Wong,
    If the primary key value does not exist then MODIFY statement creates a new record and if exists it modifies(updates)...
    So better change the Table Primary key and try to reapeat u r code...
    For changing the primary key just goto SE11 and just check the primary key which  u want to assign and uncheck the preivous one ( make sure the primary key on to first line) then save it and before activating goto<b> Utilities --> Database Utility --> activate and adjust database</b>
    Now u r table is activated without deleting previous data also...
    Regards,
    Sridhar

  • Modify the value of a cell in an ALV. Rewarding points.

    Hello Gurus, i am modifying the value of a certain cell in the internal table that is displayed in the ALV using the data_changed event, but when i refresh the ALV the values shown are the old ones.
    Help.

    Hello Ioan
    Unfortunately you do not explain you scenario clearly enough. Therefore I must do some speculations.
    You have an editable ALV list. The user can change data but not field USNAMECH which might be the user who changed the data.
    A big question is how the CHECK_DATA_CHANGED event is raised. Perhaps you have registered the EDIT event (method REGISTER_EDIT_EVENT). Then the scenario would look like this:
    1. User changes data and pushes the ENTER button.
    2. Since the EDIT event is registered this triggers event CHECK_DATA_CHANGED.
    3. In event handler method ON_DATA_CHANGED you enrich the changed data with the name of the current user.
    4. And now you need to push this data back to your ABAP.
    If this is your scenario then just trigger PAI from within your event handler method ON_DATA_CHANGED:
    METHOD on_data_changed. "xxx
           modify itab index mod_cells-row_id from wa_itab transporting USNAMECH disponibilrag.
              "CALL METHOD grid->refresh_table_display.
      CALL METHOD cl_gui_cfw=>set_new_ok_code
        EXPORTING
          new_code = 'DUMMY'
    *    IMPORTING
    *       rc =
    ENDMETHOD.
    MODULE USER_COMMAND_nnnn PAI.
      CASE gd_okcode.
        WHEN 'BACK'  OR
                   'EXIT'     OR
                   'CANC'.
          set screen 0. leave screen.
        WHEN 'DUMMY'.
    "  Do nothing here or perhaps call method:
    " CALL METHOD grid->refresh_table_display
    " Yet should not be necessary.
        WHEN others.
        ENDCASE.
    ENDMODULE.
    Regards
      Uwe

  • How to upload a CRM sales order to R/3 after modifying some values in CRM

    Hi All
    How to upload a CRM sales order to R/3 after modifying  some values in CRM ?
    In other words
      You have a Sales Order in CRM. While sending this Sales Order to R/3, we would like to modify certain values in the Order before it is replicated to R/3 . How do u do that?
    Thanks
    Jaman
    Message was edited by: Sap_Crm_Guy
    Message was edited by: Sap_Crm_Guy

    Hi Jaman,
    Try to have a look at the function group CRM_ORDER_API. In there you will find several useful functions. CRM_MAINTAIN_ORDER can most probably do what you want to do, but it is not simple to figure out how to use it as it is not very well documented.
    There is a BADI called ORDER_SAVE with three methods that you can implement. This BADI allows you to manipulate the order before it is saved and before it is replicated to R/3.
    Very best regards,
    Anders Mørk

  • Modifying Hashtable values

    Dear all,
    I need to modify the values in a hashtable<String,Integer> so that the first element is set to 1 and the second element is set to 2, ... etc.
    Thank you

    Gen.Java wrote:
    What do you mean by first element?"first element" means the first element added to the Hashtable. "second element" means the second element added to the Hashtable.That information is not stored in a Hashtable, so there's no way to find out which element was added first.
    I don't want to alter the order of elements.You can't, since there is no order of elements in a Hashtable.
    If I re-order the elements, I will change the order they were added in. I just want to change the values so that it reflects their corresponding order.Again: the elements in a Hashtable have no defined order
    If you depend on the order of elements in a Hashtable (or most other Map implementations), then you have a bug in your code and/or design.
    You might want to look into using a LinkedHashMap, which is a Map that does remember the insertion order.
    But then again: why don't you set the values in the Map correctly as soon as you insert the entries?

  • Using :$FLEX$ to create a mutually exclusive parameter condition without poplist values

    Gurus,
    I've been unsuccessfully searching for an example of utilizing the $FLEX$ to mutually exclude one of two parameters.  Most of the examples I've seen are based on poplist value presented in parameter B for a value provided in parameter A.
    Here's what I need:
    Parameter A is initially editable
    Parameter B is initially editable
    If a value is entered for either B or A, then the other parameter will become greyed out.
    Pretty simple.   I need a straight forward answer.  I would prefer not having to create a custom value and use the "sql statement" option, but if there is no other way then that will be fine.
    Thanks in advance!

    Anyone got anything on this?

Maybe you are looking for