Clearing Values in Sctript

i am issuing the output from VF31. there are some values(serial numbers) are there to display in the script .if first document have the five values and second have only one even it is dipslyin five.previous values are not clearing. even i am not calling TEXT_SYMBOL_SETVALUE for those values for second document . please tell me how we can clear that values.

Hi,
Where are you storing all these values. I think you need to clear that variable before every fetch and display.
Regards,
Pramod

Similar Messages

  • GR/IR clearing value

    Hi all
    There is a SA with many times GR and IR now i want to know the GR/IR clearing value about this SA.
    Which T-code can display this? I tried manys but all under vendor,account number.which can under a SA?
    Thanks a lot

    Hi King,
    You can see the GR/IR analysis in MR11 by selecting the PO.
    You can also see the total GR/IR in PO - ME23N under "Item Details" under tab "Pruchase Order history"
    Thanks, Ashok

  • GR/IR clearing value in local currency

    Hi All,
    I have a service PO (Item cat D) in which the vendor and local currency is same as USD.
    when I see PO history, the amount of SES and GR (101) is shown as 0 (ZERO) in  "GR/IR clearing value in local currency" colunm, however the amont of IR is displayed here (NOT 0).
    Can you please help to undersatnd of this behaviour.
    Thanks in Advance.

    Hello Kumar,
    When a Po is created two currencies come in to picture
    One- The document currency, which is generally the vendor currency also or the currency in which the items are ordered.
    Two- The local currency or the Currency of the company code or the currency in which account postings take place.
    The GR/Ir clearing value in local currency is the  value that is viewed in the company code currency. This is dealt in the background and should not cause any issues at all

  • ReG: Open Item Clearing Value is showing is difference

    Hi All,
    Acutal invoice value is 3,289.90 . but it f-44  clearing value is shwoing 3,176.35. how can solve this problmem. plz help gurs.
    with regards
    JK Rao

    hi,
    have a look here
    http://help.sap.com/saphelp_47x200/helpdata/en/e5/07829e4acd11d182b90000e829fbfe/frameset.htm
    A.

  • How to clear value set values from node info

    Hi,
    I have set some values on value set to display on a dropdown in my view.  using following method.
      l_node_info->set_attribute_value_set(  name      = 'XYZ'  value_set = l_value_set ).
    Now i need to clear node info value set. Otherwise particular attribute which i used for dropdown is always showing values added .
    Please suggest how to clear value set.
    Thanks,
    Venkat.

    Hi,
    Interface IF_WD_CONTEXT_NODE_INFO is for metadata of a node. It has nothing to do with the values in dropdown list.
    In order to manipulate the values in the dropdown of an attributes, you can use the IF_WD_CONTEXT_NODE.
    As you are saying its a dropdown, what I can suggest is to write supply function for the node.
    And then get the index (V_INDEX) of the value you wanted to see in the dropdown list, and then use the following code in the method WDDOINIT
    LO_NODE->SET_LEAD_SELECTION_INDEX( INDEX = V_TABIX ).

  • Clearing values of input boxes

    Can any one Help me with the problem i am having with clearing the values for several input text fields from the generated HTML page. so the user can press the back button and all the fields are clear in the previous page.
    this is my line of thought so far
    <code>
    private void populateDates()
    //UIComponent component = new HtmlInputText();
    // NOTE: myBooking should not be null when this is called, and all dates should
    // be valid
    String defaultDatePattern = "EEE dd MMM yy";
    DateFormat df = new SimpleDateFormat(defaultDatePattern);
    if (!StrUtil.isEmpty(date1))
    log.debug("the first date is" + date1);
    BookingDate d1 = new BookingDate();
    try
    d1.setDate(df.parse(date1));
    log.debug("date1 should have been put into the model size is " +
    myBooking.getDates().size());
    catch (ParseException ex)
    log.error("date1 is invalid, how did it get past the validator? " +
    ex.getMessage());
    try
    myBooking.getDates().add(d1);
    log.debug("date1 now should have been put into the model its size is " +
    myBooking.getDates().size());
    catch (Exception ex)
    log.debug("date1 is not adding to the date model" + ex.getMessage());
    try
    // UIInput textBox = (UIInput) component;
    //textBox.setValid(true);
    // log.debug("about to set border for date1" + component.getId());
    // ((HtmlInputText) textBox).setStyle("border:1px #ccc solid;");
    // log.debug("about to set value for date1");
    // textBox.setValue("");
    catch (Exception ex)
    log.debug("Not able to clear date1" + ex);
    </code>
    Thanks to all that can help
    Message was edited by:
    bigman85
    Message was edited by:
    bigman85

    Try this in your form :
    <inputText - - - - - - - - - - redisplay = "false">

  • Using enhancement COPA0001 in a derivation to clear value fields

    Dear colleagues,
    In our sales process, freight is added as an item of the sales order, which means we maintain different freight types as materials (mat type ZFRE - "Freight") and we create cost estimates, so that this cost can be valuated into COPA.
    Our problem is that we do not want to capture the cost of goods sold and the cost of sales for those materialss, as they only represent the freight cost that is paid by us and reimbursed by our customers. In addition, I we would like to move the value of the revenue value field to another value field (Freight sales).
    I am trying to accomplish this by using enhancement COPA0001 - I created an enhancement step and I added a code to include ZXKKEU11 which specifies the "clear" of 2 value fields and the "move" of the revenue to another value field.
    I had done this in the past to clear quantity fields, but I am testing this new config and it doesn't work.
    When testing the derivation analyzer tells me that "Derivation was not carried out. Reason: None of the target fields are to be derived".
    I looked in the known resources, but couldn't find any valuable information about such an issue. I did see in the SAP library that target fields can be "All quantity unit fields" , but value fields are not mentioned.
    Did anyone have a similar experience or knows if what I'm trying to do is possible?
    Thanks,
    Yoel.

    Hi
    You can try with exit COPA0005 as Christian mentioned...
    But, I would like to know your process in ddetail to see if any standard mechanism is possible...
    1. What does your sale order look like? Does it has one saleable material + Multiple freight materials?
    2. What purpose these freight materials serve? Do they have a revenue as well as cost in the sale order pricing procedure?
    3. Can you explain your total scenario with accounting entries? and what exactly are you looking at
    Regards
    Ajay M

  • Abt clear value problem in scripts

    Hi,
    Im working on scripts.in scripts im calculating totals by using subroutine.but im facing problem.
    my problem is first time i calculated it's working fine.
    when i go back and enter other order number it's taking previous order number and present total and it displays these totals.
    i clear the it_out in se38 and the varible which holds the total.
    but it's not working.
    please help me in this.
    Thanks & Regards,
    Srinivas

    Hi this is my abap code.
    FORM get_extpr_tot TABLES it_input STRUCTURE itcsy it_output STRUCTURE itcsy.
    REFRESH : it_output.
    CLEAR v_extpr_tot.
      DATA: v_vbeln2(10) TYPE n.
      REFRESH it_input.
      Clear v_vbeln2.
    clear v_extpr_tot1.
      READ TABLE it_input INDEX 1.
      MOVE it_input-value TO v_vbeln2.
      READ TABLE it_input INDEX 2.
      MOVE it_input-value TO v_extpr_tot.
      v_extpr_tot1 = v_extpr_tot1 + v_extpr_tot.
      READ TABLE it_output INDEX 1.
      WRITE v_extpr_tot1 TO it_output-value LEFT-JUSTIFIED.
      MODIFY it_output INDEX 1.
       Clear it_output.
      clear v_extpr_tot1.
    REFRESH it_output.
    ENDFORM.                    "GET_EXTPR_TOT
    and my se71 code is
    PERFORM GET_EXTPR_TOT IN PROGRAM ZSP_SD_ORDCM.
    USING &VBDKA-VBELN&
    USING &V_PRICE&
    CHANGING &V_EXTPR_TOT1&
    ENDPERFORM
    please help me

  • Selection screen / how to clear values in screen parameters parameters

    Hello ,
    I am developing report . It is simple one with standard screen 1000  ( Not Dynpro ).
    On the screen I have several parameters and select options . When I run program , display list
    and press the "Back" Button from tool bar  ,entered values still remain in screen parameters.
    I  code I did 'clear' of parameters  , so after pressing "back" button and before selection screen
    is displayed the parameters show up as initial ( empty ) but once selection screen is displayed
    the values are in parameters again .
    Can you advice how I can clean up the values from  screen parameters  .
    Thank you

    Hi,
    Try the below code....
    DATA: executed TYPE n.
    SELECT-OPTIONS : selop1 FOR sy-datum.
    INITIALIZATION.
    executed = 1.
    AT SELECTION-SCREEN OUTPUT.
      BREAK-POINT.
      IF executed = 1.
        executed = 0.
        REFRESH: selop1.
        CLEAR : selop1.
      ENDIF.
    Regards
    Arbind

  • BPC NW 10.0 - Data Manager Prompt changing from SELECTINPUT to SELECT cleared values

    Dear BPC Experts,
    We recently went from SP13 patch 4 to SP19 patch 1.  When we made changes in the PROMPT values in the Data Manager Organize>Package>Modify Script>PROMPT, we experienced different behavior switching from SELECTINPUT to SELECT in our development system than we did in our production environment.  In development, when we changed the value from SELECTINPUT to SELECT, the values entered for Variable name such as %SELECTION% in Property1 and "Select the members to CLEAR" in Property2, and %DIMS% remained.  However, when we changed from SELECTINPUT to SELECT in production system, the values for Variable Names and Properties were cleared out.  Does anyone know why in our developmet system values were kept but not in our production system during this type of activity?  I would like to understand the two different behaviors and what controlled it.  We prefer not to have the values for Properties clear.
    Thank you in advance for your assistance.
    Kind regards,
    Lisa

    Hi Vadim,
    Excellent point, I should have included images as that likely would have shown this odd behavior.
    When I made the changes in our development system to a package to switch from SELECTINPUT to SELECT the values outlined in the image below were retained for Varialbe Name, Property 2, and Property 3 after we applied the SP19 patch 1.
    When I made the same change in our system to a package in our production system after we applied the SP19 patch 1, the values for Varialbe Name, Property 2, and Property 3 were cleared per the image below.  The odd thing is that initially it looked like the values stayed.  It was only after you saved and went back in did you see that the values were gone.
    Any help in understanding this behavior change would be greatly appreciated.
    Thank you,
    Lisa

  • Clearing Value in one Prompt based on selection in another

    Hello,
    I have 2 prompts in my BEx query designer for same characterstics ( one is single value, characterstic variable and another one is Hierarchy node variable ). During the query execution,  If user selects a value in first prompt and goes to the other prompt and selects a value, i need to clear the selected value in the first prompt. And vice versa as well.....
    Please suggest.

    Jagan,
    Let me explain my isue in detail...
    I have created 2 variables for the same characterstics and both of them are ready for input. One variable is of characterstic type and other is Hierarchy node type.
    Now, when user executes the query he sees two prompts. Lets say user selects a value for one prompt and then goes to second prompt and selects another value for the second prompt, then i need to clear the values that was selected by him for the first prompt. And vice versa....

  • Clear values of a text box?

    Hello,
    Pretty simple one, I think. When I go back to a page I've been to already, a value that I put in the text box is still there. How do I force that to be clear each time?
    Thanks very much,
    -Adam

    How are you navigating away from the page which has the text box? Do you have a "Cancel" button? Or do you click on a link? Either way, you can clear the cache if you don't want to see the old value in your text box. If it's a button, you can clear the cache by specifying the page number or just the item name. You can also clear the cache by indicating the page number or items in your exit point URL link.
    Jerry

  • Clearing values from request in decode method

    I am using a custom table paginator. In its ‘decode’ method I have the next code to control whether ‘next’ link is clicked:
    String pLink = (String)requestMap.get("pLink" + clientId);
    if ((pLink != null) && (!pLink.equals(""))) {
         if (pLink.equals("next")) {     
         } else if (pLink.equals("previous")) {
    }But the next sequence produces some problems:
    1.     Initial page load.
    2.     Click on ‘next’ link.
    3.     Table navigates ok to next page.
    4.     Reload page (push F5).
    5.     The previous click still remains in the request, so decode method think ‘next’ link is pressed again.
    6.     Application abnormal behaviour arises.
    So, I am trying to clear the ‘next_link’ key from the request, but next code throws an UnsupportedOperationException:
    String pLink = (String)requestMap.get("pLink" + clientId);
    if ((pLink != null) && (!pLink.equals(""))) {
         if (pLink.equals("next")) {     
         } else if (pLink.equals("previous")) {
         requestMap.put("pLink" + clientId, "");
    }Do any of you have some ideas?

    Hey, where are you RaymondDeCampo, rLubke, BalusC ... the masters of JSF Universe?
    ;-)

  • Clearing values in a script

    Hello All,
    I have a scenario where I need to change the data from USD to LC? I have this script below to do it. But there are few values in LC but not in USD that I need to zero out before the copy. I tried Clear_destination but it does not seem to work. I am on BPC 7.0M version. I am aware that clear_destination does not work on NW platform. Any help is appreciated.
    *XDIM_MEMBERSET TIME= %TIME_SET%
    *XDIM_MEMBERSET ENTITY= DORSTAT
    *XDIM_MEMBERSET ACCOUNTP = <ALL>
    *XDIM_MEMBERSET RPTCURRENCY = USD
    //*XDIM_MEMBERSET CATEGORY=ACT
    *WHEN ACCOUNTP
    *IS *
    *REC(RPTCURRENCY="LC")
    *ENDWHEN
    *CLEAR_DESTINATION
    *COMMIT
    Thanks for your help.

    Try this:
    *XDIM_MEMBERSET TIME= %TIME_SET%
    *XDIM_MEMBERSET ENTITY= DORSTAT
    *XDIM_MEMBERSET ACCOUNTP = <ALL>
    *XDIM_MEMBERSET RPTCURRENCY = LC
    //*XDIM_MEMBERSET CATEGORY=ACT
    *WHEN ACCOUNTP
    *IS *
    *REC(FACTOR=0
    *ENDWHEN
    *COMMIT
    *XDIM_MEMBERSET TIME= %TIME_SET%
    *XDIM_MEMBERSET ENTITY= DORSTAT
    *XDIM_MEMBERSET ACCOUNTP = <ALL>
    *XDIM_MEMBERSET RPTCURRENCY = USD
    //*XDIM_MEMBERSET CATEGORY=ACT
    *WHEN ACCOUNTP
    *IS *
    *REC(RPTCURRENCY="LC")
    *ENDWHEN
    *COMMIT
    Edited by: Anis El-Mariesh on Oct 23, 2009 11:26 AM

  • Clearing values from a single partition

    I have a cube that I load daily with a reload of the weeks data.
    Data from previously loaded days may change and is brought in via a view (lets say week to date).
    What I need to be able to do is clear out one or two partitions (weekly) and then reload.
    I have tried load serial, load prune, load, no matter what I do it clears all periods and loads whatever is filtered though.
    Is there a solution to this?

    Check out these old posts on clearing data using WHERE clause.
    https://community.oracle.com/thread/2154852
    https://community.oracle.com/thread/2458240

Maybe you are looking for