Fields not getting rendered based on fire partial action

Dear Friends
I have req like based on the selected value in message choice input (UOM), the other values(BOX,EACH,VOLUME) in page sholud render .
These are my codes in AM and CO.
******************************AM***********************
    public void xxcreaterow() {
        OAViewObject vo = getuomVO1();
        System.out.println("am is getting executed");
        //Number=null;
         Number val = 1;
            if (vo != null)
              if (vo.getFetchedRowCount() == 0)
               vo.setMaxFetchSize(0);
               vo.executeQuery();
               vo.insertRow(vo.createRow());
               OARow row = (OARow)vo.first(); 
                //  row.setAttribute("RowKey", new Number(1));
                  row.setAttribute("RowKey", val);
                  row.setAttribute("BoxAttr", Boolean.FALSE);
                  row.setAttribute("EachAttr", Boolean.FALSE);
                  row.setAttribute("VolumeAttr", Boolean.FALSE);
************************   CO *********************************
  public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
      OAApplicationModule am = pageContext.getApplicationModule(webBean);
      OAViewObject vo = (OAViewObject)am.findViewObject("uomVO");
      am.invokeMethod("xxcreaterow");
   * Procedure to handle form submissions for form elements in
   * a region.
   * @param pageContext the current OA page context
   * @param webBean the web bean corresponding to the region
  public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
     OAApplicationModule am = pageContext.getApplicationModule(webBean);
     OAViewObject vo = (OAViewObject)am.findViewObject("uomVO1");
             OARow row = (OARow)vo.getCurrentRow();
                  if ("HandleUom".equals(pageContext.getParameter(EVENT_PARAM)))
        if (pageContext.getParameter("UnitOfMeasure").equals("Box"))
         row.setAttribute("BoxAttr", Boolean.TRUE);
            row.setAttribute("EachAttr", Boolean.FALSE);
            row.setAttribute("VolumeAttr", Boolean.FALSE);
           else
                 row.setAttribute("BoxAttr", Boolean.FALSE);
           if (pageContext.getParameter("UnitOfMeasure").equals("Each"))
            row.setAttribute("BoxAttr", Boolean.FALSE);
               row.setAttribute("EachAttr", Boolean.TRUE);
               row.setAttribute("VolumeAttr", Boolean.FALSE);
           else
                 row.setAttribute("EachAttr", Boolean.FALSE);
           if (pageContext.getParameter("UnitOfMeasure").equals("Gallon"))
            row.setAttribute("BoxAttr", Boolean.FALSE);
               row.setAttribute("EachAttr", Boolean.FALSE);
               row.setAttribute("VolumeAttr", Boolean.TRUE);
           else
                 row.setAttribute("VolumeAttr", Boolean.FALSE);
How to resolve this plz help.
Thanks
Aravinda

Have a fire partial action event enabled on text field 2, capture the event in processFormRequest of CO, throw an exception using throw OAException when textfield1 < textfield 2 or your required condition is met. You don't need javascript for this. I don't recommend using javascript in OAF. You have most of the features available in OAF (except popup alerts though which can be achieved as mentioned above but no popup window).
Thanks
Shree

Similar Messages

  • Enhanced Datasource fields not getting displayed in Transformation

    Hi,
         Eventhough after replicating the datasource, the Enhanced Datasource fields not getting displayed in Transformation.
      Eg I have done mapping of 6 fields in transformation from datasource to DSO
    Now the datasource is enhanced with 8 fields...........The transformation is not showing the added 2 fields
    I am deleting the existing transformation.Is this the only solution?
    Kindly suggest your answers.
    Thanks,
    Sonu.

    HI,
    Deleting is not solution as it is common scnerio.
    Go to the data source in BW and in change mode check the option "transfer" for this two fields and then see if its coming or not.
    Thanks
    Ajeet

  • Issue regarding Planning layout is not getting rendered and is dumping at : CL_RSDRC_TREX_QUERY_LAYER ~ _GET_PARTPROVS_WITH_TREX_PART in SAP TPM IP

    Gurus,
    I am facing an issue regarding SAP TPM IP ( HANA)
    I have 3 Infoproviders
    Planning infocube, Planning DSO1, Planning DSO2 and i created multiprovider and added these 3 infoproviders into it. I have created Aggregation level on multiprovider. Created Bex Input ready query on Aggregation level.
    Issue is  Planning layout is not getting rendered and is dumping at : CL_RSDRC_TREX_QUERY_LAYER ~ _GET_PARTPROVS_WITH_TREX_PART.
    I tried debugging it and found it is trying to read   i_r_pro -> n_ts_part. It is populated with only 3 values (i.e. 2DSOs and 1 Cube), whereas <l_partprov>-partprov is referring to Aggergation level, hence read statement isn't successful, it is dumping.
    The class CL_RSD_INFOPROV_CACHE->GET() method is trying to populate the N_TS_PART.N_TS_PART uses P_R_INFOPROV table which seems to be already populated.  So, I debugged all the below methods to find out how the P_R_INFOPROV but couldn't find any clue.
    Can any one help,it would be really help.
    Thanks
    Ashok

    Hello Gregor,
    On the launch of planning layout it throws an error message:
    Planning is not possible RSCRM_IMP_CORE008.
    When I debugged, i got to a point wherein
    particular Real Time Planning DSO is
    not getting retrieved under the MultiProivder in below class.
    Class: CL_RSCRM_IMP_ACTIONS_SERVICE, Method: GET_INFOPROV is not
    returning the real time Info-Provider Name(i.e. Planning DSO)
    underlyingthe Multiprovider.
    I've also tried to run the report mentioned by you for the Multiprovider but issue still exists.
    Let me know, if you have any pointers on this topic.
    Thanks,
    Jomy

  • Flash content in browser dialog is not getting rendering with IE10 - Windows 8

    Hi,
    I am trying to launch window popup dialog. The dialog points to HTML page which loads swf file.
    Everything works fine but in case of IE10 on Windows 8, the flash content is not getting rendering inside popup dialog.
    I have verified that .swf file loads but it is not showing its content. If I close the dialog, the flash file conten get diaplay for a moment.
    This isssue occurs if I open dialog using showModalDialog or showModalessDialog. Works fine if popup opened using window.open.
    Reiterating again - this issue occurs only with IE10 on Windows 8. It works fine otherwise with IE10 on Windows 2012, Firefox on Windows 8 and on both browser in rest of the windows version.
    Look at it get the clear idea - http://youtu.be/SupJYZoLk5I.
    Requesting you to share your idea.
    Thanks,
    Prithveesingh.

    Firefox does not use the same version of Flash as Internet Explorer, you need to download and install the version of Flash used by Firefox.
    Using Firefox go to http://get.adobe.com/flashplayer/ to download the installer, then run this file to install Flash.
    This support article has further details - [[Install the Flash plugin to view videos, animations and games]]

  • Custom field not getting populated in the "Show Results where" drop down

    Hi all,
    In appointment detail page by clicking on Add button on the user related information section , it takes us to a search layout showing the list of available users.
    Here we have to filter the user's based on a custom field which has already been created in the user object. But I am not able to add the custom field in the "Show results where" drop down for which the search has to be done.
    It is getting reflected in the normal search layouts.So Can any one tell me why the change is not getting reflected in the user related info search layout?

    I tested your use case and you are correct. I would recommend that you submit a service request to CRM On Demand customer care in reference to this issue.

  • Transaction Type field not getting value in F-05 transaction

    Hi All,
    When ever we are doing a reverse posting for foreign currency valuation using F.05 Tcode it will create a BDC session where we can execute this batch Input session thru SM37.
    This will use F-05 Tcode to post the the entries, but the problem is one of  the field Transaction Type is not getting value for some of the GL account numbers range. This is totally SAP standard program take cares of it. Transaction type field value shuld be populated by '990' value for this GL account range, this is fixed. So is thr any User exit or Screen exit for this Tcode or how we can populate the value....
    Help me...
    Chandar
    Edited by: Bala Chandar on Feb 12, 2009 1:25 PM
    Edited by: Bala Chandar on Feb 12, 2009 1:28 PM
    Edited by: Bala Chandar on Feb 12, 2009 1:33 PM

    Hi Mr/Mrs Bala Chander,
    I am having the same problem.
    When running F.05 a BIM is created for GL account X. GL account X has a field status in which transaction type is defined as a required field because of BCS / ECCS. We have a substitution rule in place which should default the transaction type, based on several criteria. But when executing the BIM, I see that nothing is filled in field transaction type. Did you find a proper solution for your problem? Changing the field status is not an option in my opinion.
    Regards,
    Joep

  • Quantity fields not getting displayed in the second total row

    Hi,
    As per the requirement I have to display 2 total rows for an ALV report using CL_GUI_ALV_GRID. I am able to get the first total row properly using method get_subtotal(). However for the next total row only the character fields are getting displayed and the quantity fields are coming blank.
    The second total row will have different values based on a formula.
    Please help me out in resolving the issue.
    Thanks,
    Abhishek

    You can provide first row as the SUBTOTAL and next row as the TOTAL.
    Get one extra column on which you can do the SUBTOTAL.
    Regards,
    Naimesh Patel

  • SAP Fields not getting displayed on the BDT screen

    Hello Gurus,
    I am trying to add 2 custom fields on to the claims management screen. The following steps were followed to add 2 fields on to the claims Management subclaim screen.
    1. Create a field group Zxxxxx1 with the two fields attached to it as input enabled.
    2. Create a View Zxxxxx2 attach the created field group Zxxxxx1, then create a subscreen screen add two fields to the screen and make them as input enabled. Then attached the subscreen to the View.
    3. Create a PBO and PAI function modules for the screen and attach it to the View Zxxxxx2.
    4. Create a section Zxxxxx3 and attach the view Zxxxxx2 to the section.
    5. Attach the section to the Subclaim Overview Screen.
    6. Inspite of doing all the above steps the screen is not getting displayed or the Function module PAI / PBO / FMOD is not being called.
    Since I am attaching the section to a standard screen sequence I am not doing any modification to the screen sequence and screen sequence catagory.
    Kindly let me know the steps I am missing in the configration of 2 new fields via BDT.
    Reagrds,
    Shiva

    Hi Shiva,
    did you create your own Z BDT application? Is it set to be active?
    I have no access to any claims management system: Does the claim object support divisibility? If so, have you assigned the correct data set in your view?
    Also, if you have your own Z BDT application and the claim object does support divisibility, did you assign the Z application to the divisibility view?
    Regards,
    Frank
    Message was edited by: Frank Vieregge

  • Fields not getting displayed in Sapscript

    Hi Guyz,
    I have a customized Sapscript form ZPV_INVOICE and its print program RVADIN01. This form outputs the Sales Invoice. When the print preview is triggered, Material number (MATNR) is not getting displayed on the form. However, when the form is debugged, MATNR values are properly fetched and showed (while debugging only, not in output).
    Can somebody please let me know the reason, why the MATNR is not getting displayed on the output, even though it is showing values while debugging.
    Thanks in advance !

    Hi ,
    Then check matnr  field which is display  is same  what you are checking  in debugging  .
    COnfirm  the field   and check whether data stays till end of module   .
    regards
    Deepak.

  • Screen fields not getting displayed after Line 16

    Hi All,
    There is a screen exit created in IW51, now the new requirment is to add 3 more fields.  I added the fields below the exiting fields, in line number 15 , 16 &17. After executing the Tcode I could find that the field created in line 17 is not getting displayed in runtime. I have increased the screen length. The fields if moved to line numbers below 16 then they are getting displayed. Can anyone help me to find why it is not getting displayed after line 16.

    Hi,
    Can you give me the Enhancement name?
    I searched for the exits using package , but i did not find any screen exists for that IW51 Tcode?

  • Quantity field not getting displayed

    Hi,
    I am using Adaptived RFC Model to get Sales Order Data from SAP. The Sales Order BAPI that i am using is
    BAPI_SALESORDER_DETAIL. I have mapped the SALESORDER table(SALESOPRDER Model node) to the TABLE UI element in my WebDynpro Application.
    The problem i am facing is that while all the fields get displayed the Quantity value is not getting displayed in the appropriate column. I have checked the mapping and everything seems to be fine.
    Also when i create a separate value node for the table and fill the value node from the model node the quantity value gets displayed then.
    Please suggest what can be the possible cause for this.
    Regards
    Sidharth
    Can you please

    Hi,
    As far as I understand you display output parameters of BAPI, so check to following things:
    1. After calling BAPI model method call invalidate on context node to update the values (e.g. outputNode.invalidaet() )
    2. Check that you dispaly output parameters and not input parameters of the table. (e.g. You have Quantity and QuantityOutput node so connect you table field to QuantityOutput)
    Hope it helps.
    Victor.

  • Field not getting updated in BDC while running in background

    Hi Friends,
    I'm executing a BDC transaction to update the Alternate Tax Classification (VBAK_TAXK1) field in Sales Order. I'm passing value 1 to the field and then saving it directly. While running the BDC in background, the field is not getting updated. On the other hand i checked it running in foreground, the field got updated without any error message.
    Can anybody help me advicing why the field is not getting updated in background?
    Thanks,
    Bestin

    Hi ,
    Check the the log if you are using a session method and if call transaction then capture the messages for the same,
    Because in the foreground the BDC will update the records even if there is a warning message nut in background it will not update. So check the data which you are inserting and try avoid the warning messages also so that it can run smoothly in backfround.
    Thanks & Regards
    Jyo

  • Newly added field not getting displayed in ALV output

    Hi All,
       I'm adding one more field/column to be displayed in an old existing program that uses REUSE_ALV_FIELDCATALOG_MERGE to generate the ALV fieldcat.
    DATA: BEGIN OF it_salary OCCURS 0,
            pernr LIKE pa0000-pernr,
            ename LIKE pa0001-ename,
            rtext like lv_rtext, -
    added field
            waers LIKE pa0008-waers
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = driver
          i_internal_tabname     = 'IT_SALARY'
          i_client_never_display = 'X'
          i_inclname             = driver
        CHANGING
          ct_fieldcat            = lv_fieldcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program      = driver
          it_fieldcat             = lv_fieldcat[]
          i_default               = 'X'
          i_save                  = 'A'
          is_variant              = lv_tmplt
          is_layout               = lv_ls_layout
         i_callback_user_command = 'USER_COMMAND'
        TABLES
          t_outtab                = it_salary
        EXCEPTIONS
          program_error           = 1
          OTHERS                  = 2.
    The newly added field is not getting populated in the lv_fieldcat table. Tried running programs BALVBUFDEL,
    BCALV_BUFFER_DEL_SHARED then logging off and logging in but of no help.
    Please provide suggestion for this issue.
    Regards,
    Sridevi S

    Hi,
    Fieldcat is buffered - so use
    I_BYPASSING_BUFFER = 'X'
    Since a while CL_GUI_ALV_GRID is available which does NOT need any fieldcat (is determined internally using RTTI). It is worth playing around whith this class if you have some time. This class is recommended for ALV Output by SAP (but no edit is possible - was never supported officially).
    A simple use would be:
    data: gt_output type standard table of (adjust!).
    *simple ALV output
    data go_alv type ref to cl_salv_table.
    data go_functions type ref to cl_salv_functions_list.
    data go_columns type ref to cl_salv_columns_table.
    data go_column type ref to cl_salv_column_table.
    *Exceprion handlig
    data: go_exception  type ref to cx_root,
          gv_errortext   type string.
    ** fill table gt_output ...
    ** ALV output
    if not gt_output is initial.
        try.
            call method cl_salv_table=>factory
              importing
                r_salv_table = go_alv
              changing
                t_table      = gt_output.
          catch cx_salv_msg into go_exception.
            gv_errortext = go_exception->get_text( ).
            message gv_errortext type 'A'.
        endtry.
    * enable all standard ALV functions
        go_functions =  go_alv->get_functions( ).
        go_functions->set_all( ).
    * hide MANDT
        go_columns = go_alv->get_columns( ).
        go_column ?=  go_columns->get_column( columnname = 'MANDT' ).
        go_column->set_technical( ).
        go_alv->display( ).
    Kind regards,
    Holger

  • Custom fields not getting updated in Mass Maintenance-MM17

    Hi,
    I have created a custom field in MARC table and the data is getting updated to the MARC table through MM01/MM02 but it is not getting updated by MM17.  I have checked the notes 44410, 576160, 414020 and 116311.  I have done the following changes as per the sap notes.
    1. Created a custom segment ZE1MARCM by copying the standard segment E1MARCM and added the custom field in that  
        segment.
    2. I have extended the IDOC 'MATMAS03' and added the custom segment ZE1MARCM to E1MARAM.
    3. Created a new entry in we82 and provided the extension type 'ZMATMAS03' and release '701'.
    4. Adjusted the partner profile in we20 for matmas with port and providing the extension idoc type.
    5. Added the custom field in the table MASSFLDLST.
    6. Implemented the code in BADI 'MG_MASS_NEWSEG' and exits 'EXIT_SAPLMV01_002' , 'EXIT_SAPLMV02_002' as per the 
        sap notes.
    The custom field is not getting updated through mass maintenance.  Please let me know if i have missed anything?
    Thanks,
    Geeta

    I had this same question several years ago. Please check my answer at Initialize MARC Custom Fields Using MM17 Does Not Work

  • Workday field not getting populated in BAPI_ENTRYSHEET_CREATE

    Hi MM gurus,
    I am trying to upload service entry sheets using bapi's , i checked the note 420334 and its working fine now.But, i want to populate  the workday field also in the service entry sheets, but this field is not getting populated even if i enter this field in the test data directory.
    Can anyone give me the reason for this?

    Hi
    Are you trying to populate the workdays field using BAPI in SE37 transaction??
    If you are executing the BAPI in SE37 then the data would not get updated in database.
    You need to run the BAPI FM & another BAPI "BAPI_TRANSACTION_COMMIT" in sequence in SE37 to post the data in database.
    I hope this helps.
    Thanx
    Prasad

Maybe you are looking for

  • Transfering from iPod to iTunes ... is it possible?

    Recently my iTunes had a major problem where it would not open. Long story short, I had to reformat my hard drive, so I lost EVERYTHING. I couldn't save the music, because they thought the virus might be in my music files. So, the only place I have m

  • Change expired password using oracle jdbc thin driver

    Hello, I have a java program that uses the oracle jdbc thin driver (ojdbc6 - version 11.2.0.3) for database connection. My question is if I have any possibility to change an expired password (java.sql.SQLException: ORA-28001: the password has expired

  • Browsers Beachballing when loading pages.

    I've been having a serious issue lately: my browsers have been hanging when trying to load pages. Safari is the worst culprit (in fact most of the time I have to force quit the application) but even Firefox is bad on occassion. It happens sometimes w

  • Bank sign-in page appears to have been hijacked, how to proceed?

    My bank sign-in page seems to have been hijacked on Firefox. Says my online ID is incorrect and asks for social sec. number. Contacted bank and confirmed online ID. Am able to log-in through Explorer, but prefer Firefox. I've been told to uninstall a

  • XP8600 entry screen not as bright as when new

    My printer is less than one year old. the touch screen used to be bright and easy to read. now it is dim and hard to see. Any iteas or Did i change some setting by mistake?