Process scope values get cleared randomly

Hi,
In my backing bean i pass dynamic values as bind variables to a ViewObject
from the user selection screen form data.
I do this using ValueChangeListener method for each field.
In this method i put the current value in the processScope.
So in the pageDef file i give as:
<NamedData NDName="ContractTypeBind" NDType="java.lang.String"
NDValue="${processScope.contractType}"/>
<NamedData NDName="ContractPseNumberBind" NDType="java.lang.String"
NDValue="${processScope.pseNumber}"/>
After passing values like this, i have placed an LOV in the page so that it will populate dynamic records from the DB based on
the contract type and pse number entered by user.
If i use the LOV button for 3 -4 times randomly the process scope values are getting null.
I mean process scope values are getting lost.
why is this happenig can any one tell?
Thanks,
Sanjaykar

Hi,
I tried without using any valuechange listener and its absolutely working fine.
No need of putting any values in processScope and blah blah!!
I am passing values in backing bean for the ExecuteWithParams this way:
BindingContainer bindings = getBindings();
OperationBinding operationBinding =
bindings.getOperationBinding("ProcurementLOVParams");
Map map = operationBinding.getParamsMap();
map.put("ContractTypeBind", conTypeChoice.getValue().toString());
map.put("ContractPseBind", pseNumber.getValue().toString());
Object result = operationBinding.execute();
And this is working fine..
Thanks,
Sanjaykar

Similar Messages

  • Meta data values getting cleared from a document

    Hi,
    I am having a document library with some word(.docx) documents which has quick parts in the documents. The meta data are displayed in the quick part. When the document is downloaded to desktop and uploaded to another document libray the meta data  in
    quick parts is getting cleared.I need to retain the  data in the quick part. I came to know that by using site columns we can solve this issue. But as we cant change the existing sharepoint site it is not possible to use site columns. Can anybody help
    me on this?
    Thanks in Advance.
    Rahul.

    Hi Rahul,
    Did you add the Managed Metadata column value to the document through the quick parts?
    Per my test, if I downloaded and uploaded the document to another library, then the values of the managed metadata column added through the quick parts in the document were not cleared.
    I recommend to check if there are same fields added in the quick parts in the two libraries and the field does not contain data in the other library for the document, so the value is cleared.
    Could you please provide more details about the two library and the content type used?
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • WD Enumerated Dropdown Value Getting cleared in Adobe PDF After submit

    We have created a PDF adobe form using the webdynpro Abap in which we are using the Enumarated Drop Down list with the no select value. The Values are populating in the dropdown correctly and we are able to select the particular value from the dropdown.But when we submit the adobe form with the submit button to send it as an attachement in the workflow then the selected value of the dropdown gets cleared in the attachment. Is there any way to avoid that.
    I have searched the forum for the same, but couldnt find appropriate solution. Please help.

    Hi Sourabh,
    I having the same issue with my form right now. We are in EHP5. Did you manage to find any solution for this? Can you please share? Appreciate it. 
    Thanks,
    Praveen

  • Value Gets Cleared Automatically...

    Hi All,
    While creating the package,if  I am entering the value for property 2 to customize the input prompt and save ,it gets cleared automatically. I dont know why, it was working fine before i am trying to customize it, nw i cannot go back too..
    Please help me out in this...
    Thanks in Advance...
    Regards,
    G.Vijaya Kumar.

    I could replicate this issue. This happens when SP of your BPC client is not compatible with SP of your BPC server. when I used BPC client with  SP2 with a BPC server of SP3, the packages would disppear but if I use BPC client with SP3 with BPC server of SP3, it works fine. Please uninstall your existing BPC client and install BPC client for from the client software link of your BPC landing page. Please don;t install the new BPC client on the top of your existing BPC client.
    Regards
    Pravin

  • Process trigger lookups getting cleared on opening GTC

    Hi,
    We have an issue with process trigger lookup, whenever we open the Generic connector for some configuration changes it is clearing the process trigger lookup. Is there any fix or workarounds?
    Thanks,

    Hi,
    Its known issue with GTC. To overcome this issue, Oracle has published one doc in support site. That documents has all the steps to overcome this issue.
    That document tells that you need to create one lookup corresponding to each custom UDF.
    HTH,
    ~J

  • Values getting cleared

    Hi All
    I have a created a bsp and accessing the same through EP.
    When i logon with a particular user id in EP a value is not getting populated in only one field.
    The same is working fine for other user id's.
    I have not made user specific coding
    Regards
    MD

    Hi Madhan,
              For that particular User ID , there is no data in the seeking field in the concerned table. Swap that userID with other and access to the portal, u'll get that field populated.
    if yes, then no problem in ur UserID .
    else u'll have to check the Authorization Code .

  • Input Field not getting cleared.

    Hi Fellow Abapers,
    I have a peculiar problem. I have done a Module pool program as below.
    PROCESS AFTER INPUT.
      CHAIN.
        FIELD ztrsc_histh-trptr.
        MODULE user_command_0100.
      ENDCHAIN.
      CHAIN.
        FIELD ztrsc_fibld-fidocamt.
        MODULE user_fidocamt ON CHAIN-REQUEST.
      ENDCHAIN.
    MODULE user_command_0100.
    CASE sy-ucomm.
      WHEN 'NEXT'.
         CLEAR ztrsc_fibld-fidocamt.
         GET NEXT RECORD AND DISPLAY.
    ENDCASE..
    ENDMODULE.
    Input FIELD ztrsc_histh-trptr is display only after Transporter Code is entered and we press "ENTER" key.
    Input FIELD ztrsc_fibld-fidocamt is enabled. I enter some value "10".
    i have a button as next. When the next record is shown the next record shows but although I clear FIELD ztrsc_fibld-fidocamt, in the debug mode it clears THE FIELD VALUE ztrsc_fibld-fidocamt AND THEN GETS THE NEXT RECORD AND PUTS THE CORRECT NEXT AMOUNT OF THE NEXT RECORD INTO ztrsc_fibld-fidocamt, but when it appears on the Statement FIELD ztrsc_fibld-fidocamt as per the below code.
    CHAIN.
        FIELD ztrsc_fibld-fidocamt.
        MODULE user_fidocamt ON CHAIN-REQUEST.
      ENDCHAIN.
    the old value of "10" re-appears although I had cleared it in the previous Module program. What could be the reason.
    Regards
    Yao Chhang

    Thanks a lot for your prompt answer. Well yes if i clear in the PBO the value gets cleared, but then i wanted to get the next records value into the value field, well the problem got solved in a much easier way i put everything into one chain endchain statement.

  • Af:table gets cleared when adding new record in it

    Dear All,
    I am having a af:table on my page, which has an dropdown. When the value of dd is changed then a record(blank) should be inserted in the same af:table.
    Now i have following problem.
    When i set row Selection to single, then every thing works fine,
    When i set it to none then when i add a row to table(on change of dropdown) then table gets cleared, means only newely added values gets cleared and not the one which are fetched from database.
    The reason behind setting row selection to none is that on single selection when ever the user tries to change the value of from other row then it hits server, sometimes it becomes slow also.So for the workaround i need to set autoSubmit="true" to all fields in table but then also whenever user changes the value it hits server.
    Please guys can any one give me proper solution...except rowSelection
    Thanks,
    Santosh
    jdeveloper 11.1.1.5.0

    Hi Frank,
    Thanks for the reply. I can get the correct input component to display on a given row in the table.
    The real issue is when a new row is added (via a createInsert operation on a button). The creation of a new row PPRs the table and the input Components are all set the same on any existing rows, irrespective of which component was used to input data.
    I'm assuming here that it should be possible to have one row show one component under the column, while another row shows a different input component under the same column..?
    Do I need to iterate through the af:table (if possible) when a new row is created to reset the correct input component??
    Thanks.

  • JSF page values are getting cleared with validation errors

    Using Jdev 10.1.3.4, JSF and ADF BC
    I have 2 jspx pages - 1 input page(with bindings to VO) and a lookup page bound to a read-only VO.
    page1: I am entering values to all the fields and then saving the form. Now if I had entered an invalid value for one of the fields and try to save - I am checking if value is valid in page1's managed bean and returning error message.
    After I get this error message I clear out the invalid value and use the lookup & navigate to the 2nd page fetch a valid value and when I return to my 1st page I am loosing values for some of the fields in my 1st page. Not sure how and this is my first issue! I dont see this behavior if I use the lookup option directly(instead of entering an invalid value, clearing the value after seeing the error message and then going to the lookup page)
    Next I am reentering values that I have lost and when I try to save again this time the value I had set from the lookup page is cleared and since this field is required I am getting an exception again. So, basically once there is an error for a field any new value I set gets cleared on commit and i get a required message for the field. Thanks for any clarifications/help with these strange issues.

    Fair enough :)
    Actually what I was meaning was could I use a collection to repopulate the tabular form when I receive errors. It appears as if it may work. However, I am hitting one snag.
    I have created a PL/SQL Process that runs On Submit and Before Computations/Validations. In this process, I have saving the values in the tabular form to a collection.
    I was then hoping to create another process that ran after any errors occur. However, it does not appear as if any processes run when the screen redraws after a validation issue. Is there a process that runs after validations when the screen is redrawing? Will I need to do this using javascript?
    Thanks

  • Field values directly binded to backend service are getting cleared.

    Hi,
    In HCM Forms & Process, for ex: in a form the header field values are directly binded to SAP_PA backend service and rest of the fields (dropdown list and free text fields) are getting from custom generic service. Now there is also a pushbutton in my form is used to calculate percentage of a field. Now when the form is displayed by default the header values are getting populated from SAP_PA backend service. When I click the push button with out selecting values(drop down list) getting from generic service all header field values are getting cleared. But if I select any dropdownlist value before selecting pushbutton and then if I click pushbutton all the header fields are retained with values. I am facing this problem for all the forms that I developed. I am looking for valuable answer.
    Regards,
    Nayani .

    So you are or are not using a user event? Sounded like you were which was firing when the user selecpiushed the "button" for calculating fields. Whatever "event" you have tied that button too seems to be your culprit. Are you doing this calculation in Javascript off the button "onClick" even or passing it to a HCM P&F "user event" in the backend? If it is to a HCM P&F "user event", that's where I would make sure your fields are selected.
    From the sounds of it, it seems when you do NOT select a dropdown list value, your generic service is not handling this gracefully and an error occurs. That would cause ALL other services NOT to run. It's an odd thing the framework does and often very frustrating to hunt down, but whenever any service errors, it will not run others.....hence no fields coming back correctly....even if those other services have NOTHING to do with yours (weird, I know).
    Hope this helps.

  • How to Create process of Type : Get Next or Previous Primary Key Value

    Hi,
    Can anybody give the steps how to create the page process for type Get Next or Previous Primary Key Value in oracle Express database
    Ramesh j c.

    Hi Justin,
    In oracle 10g XE , we have sample application v2.0
    1. Do you have any Document to create step by step the sample application v2.0 and Is it possible to create all the pages of this sample application v2.0 b by wizard. To recreate or create the demo app, start from the home area,
    next go to application builder,
    then click the create button,
    next choose "demonstration application"
    and then you can choose "Run | Edit | Re-install" the "Sample Application" along with a few other apps.
    2. When we install this sample application v2.0 , which is the sql script is executed or how it is installed. If you want the sample application you can export it after you create it if you want the SQL associated with it.
    3. Whenever the sample application v2.0 is installed, how the encrypted pass word is created for the user demo and admin. This is setup with the application install. I don't believe it is encrypted either. If your wanting SSL there are some threads on here that talk about encrypting content.
    Justin thanks for to create process Get Next or Previous Primary Key Value

  • How to get the request scope values?

    Hi,
    I have one question about Struts validate framework question is How can i get the request scope values when the validate method throws an exception?
    My scenario is I have some values in the request scope in one page. After submitting the page the validate method throws an exception, then the errors were displayed in the page and it ask for provide correct information. However, at this time the values in the first request will become null. How can I get those request values?
    Request.setAttribute(�con�, conn);Link after click this link user will display with user reg. form with user details input fields. After submitting he user details form if user provide some invalid information then validate method in Action form will throw errors and displayed the User details form with errors. However, the request attribute �con� will become null at this point of time. How can I get the user request attribute in user details form?
    Assume request have more than 100 values.
    Waiting for answer...
    Regards,
    Bhaskar Reddy

    Your code is probably fine, and you are probably running into http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6497210
    See also http://forum.java.sun.com/thread.jspa?messageID=9419890
    SUN needs to fix a few bugs for this to work...

  • Open Item not getting Cleared automatically

    Dear Sir,
    For a GL "Cenvat Clearing" , we have ticked the option "open Item Management" in FS00 .
    Our business scenario is as below :
    After MIGO , we do excise posting using J1IEX and here in the posted Fi document the GL "Cenvat Clearing" gets Credited . Subsequently during the MIRO this GL i.e "Cenvat Claering" gets Debited .
    My problem is that when I see in FBL3n for this GL the relevant transaction still appear under the open Items . Pl guide me , as what is the reason for this entry not getting cleared automatically .
    Regards
    B Mittal
    Regar

    PO number cannot be taken as sort feild  hence the value is in blank always.
    You need to identify some value for this feild and as a process you need to tell your users to incorporate the same at the time of doing MIRO.
    Or other wise you can take out the assignment of sort key to this GL account, and as a process you can instruct your user to use reference feild and input a value. If you fell that this is a tedious process,
    the Identify another feild that is common for both debit and credit line items and try to post with a common valuie using, one ABAP program which will update this feild. Mind that this feild need to be in the OB74.
    reward if useful
    sarma

  • Open order value not cleared Message: ORB 015

    Hi All,
    I have checked and searched for solution before poting this discussion, but not found anything relelvant to my problem.
    While closing Project in CJ20N, I am getting an error message as -
    Open order value not cleared
    Message: ORB 015
    It seems issue with incoming orders (sales orders), so I have run CJA1, and in output it is showing Processed object count as 1 but no detail log available for this.
    Also in Settlement nothing is appearing to settle.
    One thing I observed that one of the sales order linked with Project is rejected.
    Can somebody assist me in resolving this issue?
    Thank You,
    Swapnil Kharul

    Hi Swapnil,
    There are 2 things you can check here..
    1) Is this the first time you are trying to settle incoming orders for the said Project/WBS? I mean did you ever run CJA1/CJA2 and CJ88 post that for this project? You can check this in KE24 report. Check if you find any entries for record type I. If there are any it means settlement of incoming orders is being done.
    2) For the said WBS hit Ctrl+F3 and check if there is a settlement rule maintained for Incoming Orders. On the settlement rule screen you will see a button "Incoming Orders". Click on that see if a rule is maintained.
    Regards,
    Gokul

  • F4 help needed in Process on value-request

    Hi,
    I have two fields on screen: region and its description in a dialog program. I want region description to be populated as soon as I  select F4 help for region. Description field is output only . I want to do it using a module in Process On value-request. Field p_region MODULE GET_REGION_DESCRIPTION.
    Using standard F4 help I can do it. If in my table I assign search help at field level for region. For example :
    Search Help: ZREGION_SHLP.  Selection method: ZREGION. Fields: Region and Description.
    Table name : ZREGION.
    i)   1st Fields:  REGION , Data Element - ZREGN, Domain: ZZREGN ( CHAR2), Value table: ZREGN. Assign Search help at field level instead of data element level.
    ii)   2nd Field: REGION_DESC, Data Element - BEZEI30.
    in program:  DATA: p_region like zregion-region. So if I press F4 help and select one region, description field gets populated.
    I don't want to use standard functionality but want to write code in POV event. If I use F4IF_INT_TABLE_VLUE_REQUEST  function module, I will get all the values associated with the field region. Since I don't know which region user has selected, i  can't populate description. How to get the selected value in POV for that particular field. How can I get the value selected for region and then use DYNP_VALUES_UPDATE function module to update the description field. I tried search help exit event return to return the selected value. How to pass that value in POV module  as you cannot use FORM ENDFORM . inside MODULE ENDMODULE.
    Regards,
    DPM

    1st step is:
    choose screen 2000 for the program using t-code se80.
    at the end of the coding enter the below code:
    process ON VALUE-REQUEST.
    FIELD screen field name module f4_zsearchhelp.
    after typing the code double click on f4_zsearch help.
    it ll ask for includes, Choose as main program.
    then enter the below code after choosing:
    DATA : t_dynpro_value TYPE TABLE OF dynpread,
    v_field_value LIKE LINE OF t_dynpro_value,
    lt_fields TYPE TABLE OF dfies,
    t_return_str TYPE TABLE OF ddshretval,
    w_return_str TYPE ddshretval,
    v_text TYPE char25.
    DATA: t_ty_prov_id TYPE STANDARD TABLE OF ty_prov_id,
    w_ty_prov_id TYPE ty_prov_id.
    CLEAR: t_ty_prov_id], w_ty_prov_id, t_return_str[, w_return_str.
    enter the select query from the description table to get the description for the particular code.
    in this i had mentioned with an example that i m getting description for massg :
    p9001-massg ll have the value and v_text ll have the description.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    DDIC_STRUCTURE = 'TY_TAB'
    retfield = 'MASSG'------>returning field
    PVALKEY = ' '
    dynpprog = sy-repid
    dynpnr = sy-dynnr
    dynprofield = 'P9001-ZMASSG'----
    > pass the screen field name
    STEPL = 0
    WINDOW_TITLE =
    VALUE = ' '
    value_org = 'S'
    MULTIPLE_CHOICE = ' '
    DISPLAY = ''
    CALLBACK_PROGRAM = ' '
    CALLBACK_FORM = ' '
    MARK_TAB =
    IMPORTING
    USER_RESET =
    TABLES
    value_tab = t_ty_prov_id
    field_tab = lt_fields
    return_tab = t_return_str
    DYNPFLD_MAPPING =
    EXCEPTIONS
    parameter_error = 1
    no_values_found = 2
    OTHERS = 3.
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    READ TABLE t_return_str INTO w_return_str WITH KEY retfield = 'P9001-ZMASSG'.
    IF sy-subrc IS INITIAL.
    READ TABLE t_ty_prov_id INTO w_ty_prov_id WITH KEY zmassg_desc = w_return_str-fieldval.
    IF sy-subrc eq 0.
    DATA: et_desc(20) TYPE c.
    et_desc = w_ty_agrtx-v_gtext.
    MODIFY SCREEN.
    CLEAR : v_field_value,t_dynpro_value[].
    v_field_value-fieldname = 'P9001-ZMASSG'.
    v_field_value-fieldvalue = w_ty_prov_id-action_resn.
    APPEND v_field_value TO t_dynpro_value .
    CLEAR : v_field_value.
    v_field_value-fieldname = 'V_TEXT'.
    v_field_value-fieldvalue = w_ty_prov_id-zmassg_desc.
    APPEND v_field_value TO t_dynpro_value .
    CLEAR : v_field_value.
    ENDIF .
    ENDIF.
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
    dyname = sy-cprog
    dynumb = sy-dynnr
    TABLES
    dynpfields = t_dynpro_value
    EXCEPTIONS
    invalid_abapworkarea = 1
    invalid_dynprofield = 2
    invalid_dynproname = 3
    invalid_dynpronummer = 4
    invalid_request = 5
    no_fielddescription = 6
    undefind_error = 7
    OTHERS = 8.
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    you can add the v_text in layput .
    hope it ll satisfy your requirement.

Maybe you are looking for

  • Is there a way to separate home movies from the movies category?

    I want to put home movies on my Apple TV but don't want them to show up along with movies. Is there a way to separate them? I haven't tried it yet so maybe they are separated but I foresee not being possible right now. For the moment, I've been strea

  • Broken screen...help!

    i don't know how or what happend but i whent to use my ipod after i whent like a week with out using it and the screen was broke. there is a little ink blotch under the screen. i asume i have to send it to apple. can they fix it and about how much wi

  • I would like to create a list of MP3 files to download from a MUSE web site.

    I have the honour of creating web site for our church. We would like to publish the ministers sermons on the web (audio files to download). How do I do this in Muse, or is it not possible and should use another web site creating software to do this?

  • LocalDevelopment configuration does not have KMC-CM SC in it

    hi, My LocalDevelopment configuration does not have KMC-CM Software component in it. How do I get it there. List of SCs in my LocalDevelopment configuration is attached as screenshot with this thread thank you ! seventyros

  • I have trouble installing mountain lion

    hello I can not install mountain lion, tells me that my disk is busy with time machine and no other to choose from, could help or tell me to do to install it?