Screen get changed while clicking on button in enhancement CEWB_TSK_SCREENS
Hello Everybody
I am implementing one BAdI CEWB_TSK_SCREENS for customizing in CEWB transactions and I have developed one screen for that.
I have one table control on the same screen and I am providing some buttons like 'DELETE' 'CREATE' or 'DISPLAY' to perform some activity on table control.
But whenever I clicked on button the screen get changed and it sets to some other screen.
Can anybody help me out on the same?
regards,
Bhavin
hai,
i am also new to this,i am trying on that only ,it is not allowing me change the screen is there is a need for access key for that, reply me .iam waiting for ur reply.
shan
Similar Messages
-
Need to send mail to user while clicking update button
Hi
I am new to APEX.
I have a requirement. When clicking an update button the a mail should automatically send to user mentioned in the form. How can i achieve this. Please help.
Regards
Hisham.AHi,
Do not create duplicate post about same problem
Re: need to send a automatic mail to an id while clicking a button
Regards,
Jari
My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
Editable ALV- Quantity field value is getting changed while double clicking
Hi all,
I have created Editable ALV grid using Class concepts. Quantity field is editable in dat. but after changing value and if im double clicking on that field, value is getting changed. eg: 45 is changing to .045. How can i resolve this problem.
Could u plz help.Hi Anu,
One question from my side.
U have displayed the ALV.In that grid u have quantity field.U have changed the value of that field to 45.
When u press enter the value has been changed to .045.Is this u r problem.
U can do onething anu.
Declare one varaible with the local field.
Pass u r quantity field value into that variable.
While displaying thriugh SET_TABLE_FIRST_DISPLAY in your internal table pass this variable.
It will solve u r problem.I think.
Let me if yu have any problem
IF u want u can refer to the program BCALV_EDIT* in se38.
There also u have needful info
Thanks, -
Getting exception while clicking any of the link in the .xhtml page
Hi,
I have an issue while clicking any of the link from the .xhtml page. The page have three <h:selectOneMenu> selection box and some hyperlinks. First time screen loading properly with values populated in these <h:selectOneMenu> selection box. After that if i click any of the link i will get below exception. This is working fine if my backing bean is in session. I changed the backing bean from session to request scope i got this exception.
This is my backing bean entry in faces-config.xml
<managed-bean>
<managed-bean-name>pricingBean</managed-bean-name>
<managed-bean-class>com.pricing.mbean.PricingBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
Exception
Apr 28, 2008 11:19:54 AM com.sun.faces.lifecycle.LifecycleImpl phase
WARNING: executePhase(PROCESS_VALIDATIONS 3,com.sun.faces.context.FacesContextImpl@718e84) threw exception
javax.faces.FacesException
at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:108)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: java.lang.IllegalArgumentException
at javax.faces.component.SelectItemsIterator.next(SelectItemsIterator.java:168)
at javax.faces.component.SelectItemsIterator.next(SelectItemsIterator.java:51)
at javax.faces.component.UISelectOne.matchValue(UISelectOne.java:165)
at javax.faces.component.UISelectOne.validateValue(UISelectOne.java:137)
at javax.faces.component.UIInput.validate(UIInput.java:868)
at javax.faces.component.UIInput.executeValidate(UIInput.java:1071)
at javax.faces.component.UIInput.processValidators(UIInput.java:663)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1040)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1040)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1040)
at javax.faces.component.UIForm.processValidators(UIForm.java:229)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1040)
at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:667)
at org.ajax4jsf.component.AjaxViewRoot.access$201(AjaxViewRoot.java:59)
at org.ajax4jsf.component.AjaxViewRoot$3.invokeRoot(AjaxViewRoot.java:321)
at org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56)
at org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:173)
at org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:335)
at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
... 21 more
java.lang.IllegalArgumentException
at javax.faces.component.SelectItemsIterator.next(SelectItemsIterator.java:168)
at javax.faces.component.SelectItemsIterator.next(SelectItemsIterator.java:51)
at javax.faces.component.UISelectOne.matchValue(UISelectOne.java:165)
at javax.faces.component.UISelectOne.validateValue(UISelectOne.java:137)
at javax.faces.component.UIInput.validate(UIInput.java:868)
Truncated. see log file for complete stacktrace
>
Please any one help to solve this issue.........................
Edited by: JSFDevelopment on Apr 28, 2008 8:37 AM
Edited by: JSFDevelopment on Apr 28, 2008 8:37 AM
Edited by: JSFDevelopment on Apr 28, 2008 8:39 AMSo the f:selectItems list is empty in the next request. Rewrite your bean code so that it prefills the list in the constructor or initialization block or even by lazy loading in the getter of the f:selectItems.
-
Tax Code gets changed while copying from A/r Invoice to Credit memo
Hello,
When i am copying my A/R Invoice to A/R credit memo, at that time the tax code i have specified in the invoice gets changed to some other code in credit memo.
Please suggest me what to do.
Regards.
ShriX.Hi!
Really looking strange, unable to predict. Also, check wheather yo have defined anything in
TaxCode Determination in Adminstration > Setup > Finance > TaxCode Determination.
If so, delete those and check.
Raise a support message to SAP. -
Urgent: getting error while pressing SAVE button on final grid screen
Hi ABAPers,
please help me to sort this problem, i want to save the records selected by the user to database table. but when i m pressing save on o/p grid screen its giving error as GETWA_NOT_ASSIGNED.
This is my code
TABLES: plaf,
mara,
makt,
zcdr_d.
Type Pools for ALV *************************************
TYPE-POOLS: SLIS,
ABAP.
TYPES DECLARATION ************************************
TYPES:
******Types declaration for the plaf
BEGIN OF ty_plaf,
plnum TYPE plaf-plnum,
matnr TYPE plaf-matnr,
END OF ty_plaf,
******Types declaration for the makt
BEGIN OF ty_makt,
maktx TYPE makt-maktx,
END OF ty_makt.
INTERNAL TABLE DECLARATION ***************************
DATA:
*---internal table for the type ty_plaf
it_plaf TYPE TABLE OF ty_plaf,
*---internal table for the type t_bseg
it_makt TYPE TABLE OF ty_makt,
*---internal table for fieldcat
it_fcat TYPE TABLE OF slis_fieldcat_alv WITH NON-UNIQUE DEFAULT KEY
WITH HEADER LINE INITIAL SIZE 0,
*it_fcat1 TYPE TABLE OF slis_fieldcat_alv WITH NON-UNIQUE DEFAULT KEY
*WITH HEADER LINE INITIAL SIZE 0,
*---internal table for alv events
it_events TYPE TABLE OF slis_alv_event WITH NON-UNIQUE DEFAULT KEY
WITH HEADER LINE INITIAL SIZE 0,
*it_events1 TYPE TABLE OF slis_alv_event WITH NON-UNIQUE DEFAULT KEY
*WITH HEADER LINE INITIAL SIZE 0,
*---final Internal table
BEGIN OF it_final OCCURS 0,
plnum LIKE plaf-plnum,
sel TYPE C,
matnr LIKE plaf-matnr,
maktx LIKE makt-maktx,
END OF it_final,
BEGIN OF it_zcdr_d OCCURS 0,
DSEL TYPE C,
CBOOKNO LIKE zcdr_d-CBOOKNO,
PLNUM LIKE zcdr_d-plnum,
MATNR LIKE zcdr_d-matnr,
MAKTX LIKE zcdr_d-maktx,
END OF it_zcdr_d,
*-------to pass the internal table data to database table
itab TYPE TABLE OF zcdr_d with header line,
it_save TYPE TABLE OF zcdr_d with header line.
WORK AREA DECLARATION ********************************
DATA:
*---workarea for the type ty_plaf
wa_plaf TYPE ty_plaf,
*---workarea for the type ty_makt
wa_makt TYPE ty_makt,
*---workarea for the fieldcatalog
wa_fcat TYPE slis_fieldcat_alv,
wa_final LIKE LINE OF it_final,
*---WORKAREA FOR THE PROCESSED DOCUMENT
wa_zcdr_d LIKE LINE OF it_zcdr_d,
*---LAYA OUT DECLARATION
wa_layout TYPE slis_layout_alv.
*---LAYA OUT DECLARATION
*wa_layout1 TYPE slis_layout_alv.
Variables DECLARATION ********************************
DATA: v_repid LIKE SY-REPID,
v_hkont LIKE bseg-hkont,
v_pifno(16) TYPE C,
v_pifdat LIKE SY-DATUM,
v_pif(6) TYPE C,
Field_Cat type Slis_T_fieldcat_alv with HEADER LINE,
List_Top_Of_Page type Slis_T_Listheader.
PARAMETERS ****************************************
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS : CBOOKNO(16) TYPE n OBLIGATORY. "Customs Book number
SELECTION-SCREEN END OF BLOCK b1.
SELECT OPTION ****************************************
SELECTION-SCREEN : BEGIN OF BLOCK blk WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS:
Date
so_pertr for plaf-pertr,
Material
so_matnr for plaf-matnr,
Material Group
so_matkl for mara-matkl,
Plant
so_plwrk for plaf-plwrk OBLIGATORY,
Sales Order
so_kdauf for plaf-kdauf.
SELECTION-SCREEN : END OF BLOCK blk.
LOAD OF PROGRAM ***************************************
*LOAD-OF-PROGRAM.
*IF sy-tcode NE text-002. "Condition for TCode Check
MESSAGE 'RUN THROUGH THE TRANSACTION CODE' TYPE 'X'.
*ENDIF. "End Condition for TCode
INITIALIZATION ****************************************
INITIALIZATION.
PERFORM CLEAR_DATA.
CLEAR: wa_layout.
START-OF-SELECTION *************************************
START-OF-SELECTION.
*-------Getting the data from database
PERFORM GET_DATA.
*-------Populating field catalog
PERFORM populate_fieldcatalog.
PERFORM set_events USING it_events[].
PERFORM top_of_page.
*------Processing the Data and Moving to final Internal Table
*PERFORM PROCESS_DATA.
*------Displaying the data in the Output
PERFORM DISPLAY_OUTPUT.
*end-of-SELECTION.
*call screen 0500.
**& Module d0100_set_status OUTPUT
text
*module d0500_set_status output.
data : rt_extab TYPE slis_t_extab.
perform set_pf_status USING rt_extab.
*endmodule. " d0100_set_status OUTPUT
*module d0100_fcode input.
perform user_command.
*endmodule. " d0100_fcode INPUT
form CLEAR_DATA .
**CLEARDING THE TABLES AND WORK AREAS
CLEAR: it_plaf[],
it_makt[],
wa_plaf,
wa_makt.
endform. " CLEAR_DATA
*& Form GET_DATA
text
--> p1 text
<-- p2 text
form populate_fieldcatalog.
DATA: L_POS TYPE I.
FIELD_CAT-COL_POS = L_POS.
L_POS = L_POS + 1.
CLEAR FIELD_CAT.
field_cat-SELTEXT_M = 'Planned Order Nos.'.
field_cat-tabname = wa_final.
field_cat-fieldname = 'PLNUM'.
append field_cat.
FIELD_CAT-COL_POS = L_POS.
L_POS = L_POS + 1.
CLEAR FIELD_CAT.
*field_cat-checkbox = 'X'.
field_cat-SELTEXT_M = 'Check Box'.
Field_Cat-outputlen = '1'.
field_cat-tabname = wa_final.
field_cat-checkbox = abap_true.
field_cat-edit = abap_true.
field_cat-fieldname = 'CHK'.
append field_cat.
FIELD_CAT-COL_POS = L_POS.
L_POS = L_POS + 1.
CLEAR FIELD_CAT.
field_cat-SELTEXT_M = 'Material'.
field_cat-tabname = wa_final.
field_cat-fieldname = 'MATNR'.
append field_cat.
FIELD_CAT-COL_POS = L_POS.
L_POS = L_POS + 1.
CLEAR FIELD_CAT.
field_cat-SELTEXT_M = 'Material Description'.
field_cat-tabname = wa_final.
field_cat-fieldname = 'MAKTX'.
append field_cat.
endform. " build_fieldcatalog
form GET_DATA .
SELECT
a~PLNUM
a~MATNR
b~MAKTX
c~matkl
INTO CORRESPONDING FIELDS OF TABLE it_final
FROM plaf as a
Inner join makt as b
on amatnr = bmatnr
Inner join mara as c
on cmatnr = bmatnr
where a~pertr in so_pertr
or a~matnr in so_matnr
or c~matkl in so_matkl
or a~kdauf in so_kdauf
or a~plwrk in so_plwrk.
SORT it_final by plnum.
endform. " GET_DATA
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = List_Top_Of_Page.
ENDFORM.
form DISPLAY_OUTPUT .
DATA: repid LIKE sy-REPID,
Eventcat type Slis_T_Event,
LAYOUT TYPE SLIS_LAYOUT_ALV.
LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
LAYOUT-ZEBRA = 'X'.
repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = repid
I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE = 'PLANNED ORDERS'
I_GRID_SETTINGS =
IS_LAYOUT = layout
IT_FIELDCAT = Field_Cat[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = 'X'
IS_VARIANT =
IT_EVENTS = IT_EVENTS[]
TABLES
T_OUTTAB = it_final
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.
FORM set_events USING it_events TYPE slis_t_event.
DATA: x_event TYPE LINE OF slis_t_event.
clear x_event.
x_event-name = 'USER_COMMAND'.
x_event-form = 'USER_COMMAND'.
append x_event to it_events.
CLEAR x_event.
call function 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = IT_EVENTS
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
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 it_events into x_event with key name = 'USER_COMMAND'.
if sy-subrc = 0.
x_event-form = 'USER_COMMAND'.
modify it_events from x_event index sy-tabix transporting form .
endif.
ENDFORM.
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'Z_PFSTAT'.
ENDFORM. "set_pf_status
*& Form user_command
text
-->R_UCOMM text
-->RS_SELFIELDtext
FORM user_command USING
r_ucomm TYPE sy-ucomm
rs_selfield TYPE slis_selfield. "#EC *
if r_ucomm = '&DATA_SAVE' .
LOOP AT it_final INTO wa_final.
IF wa_final-sel EQ 'X'.
MOVE: wa_final-plnum TO it_save-plnum,
wa_final-matnr TO it_save-matnr,
wa_final-maktx TO it_save-maktx,
v_pifno TO it_save-CBOOKNO,
SY-MANDT TO it_save-mandt.
MOVE it_save to zcdr_d.
*INSERT zcdr_d.
*if l_valid = 'X'.
MODIFY zcdr_d FROM TABLE it_save.
endif.
ENDLOOP.
IF it_save is initial.
MESSAGE 'Select Atleast one Check Box' TYPE 'E' .
ELSE.
*CONCATENATE 'Number ' V_PIFNO ' Genrated'
IF SY-SUBRC EQ 0.
MESSAGE S001(zcdr_d) WITH 'Number ' CBOOKNO ' Genrated'.
ENDIF.
endif.
ENDFORM.Thanks a lot for the reply Kiran, but i have already checked it, but its the same one. In debugging mode its going for error when there is a call for method like:
call method gt_grid-grid->set_function_code
changing
c_ucomm = l_okcode.
so i dont know where is the problem. & this is in PAI module of the system program.
Thanks
Pankaj -
Why screen gets off while form is processing
hi,
i m working on oracle forms 10g , i want to know when i put value in my forms then click on procss button then if i minimize the form then maximize i get green screen(same color window) i cant c my input value .
and when process is over i get that screen back.
i want my form on screen even after screen is minimized & then maximized .
if its possible then plz guide me how ?
thxsJust wanted to give this thread a note as to what the final outcome was to my problem for anyone who might have the same problem in the future. After taking my computer back into the Apple store for the third time, they finally replaced my entire mother board and now I am no longer having the issue. It must have been a hardware problem after all with some processing chip or graphics card or whatever. All I know is that it's fixed and my laptop is as good as new again. Yay!
-
Error while clicking submit button?
Hi All,
I am trying to implement selectOneListbox component. This displays all the data which I required. I am also able to retrieve indiviual data. I checked this using alert in java script.
The problem which I am facing is that I have a command button on the page. Once I click the submit button. I am getting an error.
org.apache.jasper.JasperException: javax.servlet.jsp.JspException: Duplicate component ID 'form1:_id0' found in view.
I am unable to proceed. Please let me know any solution for the problem.
Regards
RishabHI All,
I have fixed this issue. This was problem with RSA. The id was not getting generated. So explicitly I added the id and it worked. -
Avoiding Blind query from executing while clicking sort button on table.
Hi All,
I am using jdev11.1.1.6
I made a simple ADF search page with few mandatory search criteria's.
The result table can be sortable and filterable by the user.
The page is working fine as expected with the search criterai's, but i found a problem in the page.
Once my page got loaded, before entering any search criteria, if i scroll down to the result table and clicked on the "sort" button on any column, my base page query is getting executed
without any search criteria i.e a blind query is getting executed. i need to restrict this. This is not expected.
Is there any inbuilt properties for restricting this or this has to be done manaully.
please help me with this issue.
Regards
Siva
Edited by: Minion on Oct 18, 2012 11:13 AMHi Pandu,
Thanks for the response,
I am having more than 80 columns in the table, this means, i need to set the sort property for each and every column separately?
Do we have any table level property to restrict it.
First of all is this an intended behavior of ADF ?
I have implemented few security to access my page, such that only few user can able view all data by restricting few search criteria's result.
But due to the above mentioned problem my works on implementing security is not working. regardless of the type of user if i just click the sort button its giving all the data for all users.
Please guide me a best method for restricting this
Regards
Siva -
How do you get Automator to click a button on a web page?
New to mac automation. Finding the basic handling of URLs in automator relatively straightforward. Cannot see however you can automate the click of a button on a web page. Can any one help?
MacBook pro. Mountain lion.Watch Me Do may work, but it's also likely to fail. The action records mouse and keyboard actions as they take place on screen. If the (aptly abbreviated) WMD action doesn't find the expected screen elements--everything just where it first was when the recording was made--it will usually bomb. In other words, WMD doesn't, for instance, find fields or buttons on a webpage, it simply navigates to a screen location and tries to type/click as it has been instructed in that spot. A few pixels off, boom!
As for AppleScript, here's one place to begin: http://www.macosxautomation.com/applescript/learn.html. Look at the Beginner's Tutorial "start here" link materials.
Explore the Mac OS X Technologies subforum, https://discussions.apple.com/community/mac_os/mac_os_x_technologies. It's where the AppleScript mavens can be found. If you search that forum for "learn AppleScript," you'll find great advice. -
Disable checkbox lists while clicking Radio button
Hi ,
I have a checkbox list come from LOV based on a select from database table.
I have added a Radiobutton only (not redirect not submit since I have to restrict the option as this is based on requirement).Now I want to disable the checkbox while I am clicking the radio button .
Is it any way possible .
Thanks in advance .
Cheers,
Debashis.ok, I create two radio buttons (Enable and Disable)(P8_RADIO). I created a LOV of users with checkboxes (P8_CHECK). When I click on disable all the checkboxes are disabled and enabled when I click on enable.
First add this to your radio
P8_RADIO's HTML Form Element Attributes
onclick="disable(this)"
Then, add this to the page HTML Header
<script language="JavaScript" type="text/javascript">
<!--
function disable(pThis)
var trigger = document.wwv_flow.p_v02.value ;
var rads = document.wwv_flow.p_v02 ;
if (pThis.value == 'ENABLE')
for(var i=0; i<rads.length;i++ )
{ document.wwv_flow.p_v02[i].disabled = false; }
} //end of if
else
for(var i=0; i<rads.length;i++ )
{ document.wwv_flow.p_v02[i].disabled = true; }
} //end of else
} //end of disable funtion
//-->
</script>
**note**p_v02 is the name of the checkboxes.
Hopefully this will help you and i explained it better than I did last time -
How to open a new OAF page in new window while clicking submit button
Dear All
I am facing one problem.I have to pass some parameter in new page only after validation.I can't do validation in processRequest bacause I perform validation after clicking the submit button.
So I have to write redirect code in processForm Request. I can not use simple "Button" bean since I have to set destination uri which could be set only in processRequest.But I can not pass parameter with it in process request.
Thats why I have decided to use submit button but there is not target frame option in property inspector,So I am not able to open it in new window.
Kindly give me some suggestion .
Thanks in Advancehi,
u can use submit button. U need to handle submit button press in processFormRequest method.
if(pageContext.getParameter("Submit"!=null))
// validate your parameter
if parameter u capturing are valid then...
pageContext.setForwardURL(func, params ...............) // check devguide for details
if u want to access these parameter in second page . you can write this logic to processRequest of target page.
U can refer toolbox tutorial drilldown and createpage examples for implementation details.
Regards,
Ram -
Need to send a automatic mail to an id while clicking a button
hi
i am new to APEX. My current assignment is when click on a button a mail should go to a particular mail id automatically.
Please help me to achieve this.
Regards
Hisham.AHi,
See APEX_MAIL package documentation
http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_mail.htm#CIHDIEJI
Also this OBE might help. It should work also with APEX 4.x
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31email.htm
Regards,
Jari
My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
How can we create a popup window for confirmation while clicking of button
HI Friends,
I am creating a application, In which I want to create a popup window for confirmation on clicking of a button.
I also need two buttons on popup window i.e. 'Yes' & 'No'.
On yes i want to perform some operation and on No i want to cancel that operation.Hi Narendra,
try using the following code in ONACTION of ur button for popup :
* Popup
* Generate Popup
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_window(
window_name = 'W_POPUP'
window_position = if_wd_window=>co_center
message_display_mode = if_wd_window=>co_msg_display_mode_selected
button_kind = if_wd_window=>co_buttons_yesno
message_type = if_wd_window=>co_msg_type_none
default_button = if_wd_window=>co_button_yes
DATA: l_api TYPE REF TO if_wd_view_controller.
l_api = wd_this->wd_get_api( ).
" subscribe action for Ok button
lo_window->subscribe_to_button_event(
button = if_wd_window=>co_button_yes
action_name = 'OK_POPUP'
action_view = l_api
is_default_button = abap_true ).
lo_window->open( ).
regds,
amit -
Getting error while clicking on System Monitoring
Dear All,
I have confirgured EWA in Solution Manager 4.0 for ECC6.0 Servers. EWA is getting generated without any issue. I have to monitor the Satellite Systems from Solution manager, so when i tried to click System Monitoring/Administration, it is giving error as "http://solman.srhouse.com:8001/sap/bc/solman/defaultUser/graphic/solmangraphic.htm call was terminated because the corresponding service is not available.".
ErrorCode:ICF-NF-http-c:009-u:SOLARSERVICE-l:E-i:solman_ESM_01-v:0-s:404-r:NoExtensionFound
If any one has come across this issue, please help to resolve this issue.
Thanks & Regards,
Ranjith Kumar DHello Ranjith,
Your Portal service is may not running.
Logon with <sid>adm and start jcmon and check if all server processes are up and running.
If jcmon is properly running, then try using the following link and check what happens.
http://solman.srhouse.com:8001/sap/bc/gui/sap/its/webgui/!
The above url pattern is from integrated ITS server, for this to work you should maintain FQDN - fully qualified domain name.
The url should be
http://<host>.<domain>.com:<port>/sap/bc/gui......
how to do this?
check this WIKI
https://wiki.sdn.sap.com/wiki/display/BSP/FullyQualifiedDomainName%28FQDN%29
also, uncheck the "show friendly error messages" check box from the browsers tools->internet options->advanced tab to get more details error messages thrown by the server instead of just "the page cannot be displayed"
And also make sure that you have activated the services, virtual_host, sap , bc, gui, sap, its , in transaction SICF and also did you publish SYSTEM and WEBGUI services to site INTERNAL.
for more info check this weblog.
Running your first ITS WebGUI application in SAP NetWeaver 04 ABAP Edition - NSP
Hope the above info is helpful.
Regards,
Satish.
Maybe you are looking for
-
Can I install office 2007 on windows 8.1 64 bit
I have an office 2007 which is currently installed on a machine running Office XP (SP3) 32 bit system and it is working fine. I guess that makes the office a 32 bit version. Now i have changed to a new laptop with pre-installed win 8.1 64 bit version
-
Sales Org Mapping in CRM and R3
Hello, Please suggest a way to get the equivalent sales org of R3 when we have sales org of CRM. Is there any function module which does this. For Ex. I have sales org. O 50003226 and it gets stored in R3 as say 2316. Is there any table or function
-
Finance module developed using D2K Vs. Financials
Hello, I was involved in the development of a Finance module using Oracle Forms. Could someone tell me few differences(like development time, extra functionality, Adm & maintenance, user convenience etc..) between Oracle Financials Package and a Fina
-
Configuration of Enterprise Structure...
Hi all, We have just finished blueprint phase and need to start configuration. I am supposed to start configuration of Company code, business area, personnel area, subarea, cost centers and wage types. We do not have FI implemented and so we need to
-
As I understand the technical content infocubes provided in NW04s are named 0TCT*. And earlier in NW04 it was 0BW*. 1) Is that right? 2) If yes then is it true that if the infocube is still on NW04 in the NW04s environment then only 0BW* infocubes wi