Web Dynpro - Event Message Profile
EM Gurus.
I have 40 Events (Internal Event Codes) defined in SPRO Web Interface | Define User Profiles | Event Message Profile | Event Reporting Items. These Events can be triggered from R/3 or Manually in EM.
When I use Web Interface /SAPTRX/EM_START. the 40 events are displayed horizontally across the 'Display Details' Screen.
The screen is very wide and requires a lot of left/right scrolling to see the information.
When I use the Web Interface Classic /SAPTRX/WCL_SEARCH, the 40 events are automatically sorted into columns and rows
and the horizontal scroll is disabled. This makes the scrolling more user friendly.
Is it possible to control the layout of the browser? I guess this could be done via abap or via browser settings? Maybe using a different browser (i.e. instead of MS Internet Explorer) will help?
Thanks for any suggestions.
Zenon Kowalewski.
I guess this is not possible when using the supplied Web Dynpro.
Added to my wish list !
Similar Messages
-
Test of Web Dynpro Event Handling : GeoMap business graphics
Hy guru's, i have this problem: on Test of Web Dynpro Event Handling page i tried to open the GeoMap web dynpro on Business Graphics section but i received this error:
The URL http://.../sap/bc/webdynpro/sap/wdr_test_events/ was not called due to an error.
Note
The following error text was processed in the system BI7 : Exception condition "COMMUNICATION_ERROR" raised.
The error occurred on the application server bi7-saplab_BI7_08 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_GIS_VIEW~UPDATE of program CL_GIS_VIEW_IGS===============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LBUSINESS_GRAPHICS======CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system BI7 in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server bi7-saplab_BI7_08 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server bi7-saplab_BI7_08 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 100 -u: AMARAVIGLIA -l: E -s: BI7 -i: bi7-saplab_BI7_08 -w: 0 -d: 20071119 -t: 232916 -v: RABAX_STATE -e: RAISE_EXCEPTION
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
Could you help me?
Thank's a lot
Sincerely yours
Andrea MaravigliaHi,
did you install the IGS (see the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/37/268841a79f1609e10000000a155106/frameset.htm">documentation</a>) and check if SAP note 1108034 helps?
Regards, Heidi -
Hi Guys,
I have the ff scenario:
1. I have a web dynpro with a tabstrip.
2. I have a save button.
My problems are:
1. When I raise error message via lo_message_manager->report_attribute_error_message, the error message is raised and the field in error is highlighted but when I navigate to another tab, the error message disappears.
I want the error to show even when I navigate to another tab.
2. When I click the 'save' button, i tried to read the error message via lo_message_manager->get_messages( ), but there's no data returned. There's an error and yet it executes the save button.
I want the error to show until all the issues were solved before it can actually proceed with the saving.
How can I achieve this?Hi Deepankar,
I guess putting all the validations in WDDOBEFOREACTION is okay if I have few views and fields.
But I have a lot.
I cannot do all my validations in WDDOBEFOREACTION.
It is important that I do my validation in ONACTION events on each fields.
So that when the user hits enter or click a dropdown list or click a checkbox, the error would then be raised right away if there's any.
Because I have so many tabs and dropdowns and checkbox and validations on enter, WDDOBEFOREACTION will get triggered so many times.
I can't activate is_permanent also because it sometimes prevents the user in doing any action. I have non-editable fields that are dependent on other fields for entry. When I tried correcting the field that it's depending to, it won't trigger the onaction event, thus the screen seems not responding which in fact it just want the context attribute to be corrected.
Is there no other way to catch the errors when the user clicks the button?
I noticed that I can only read the messages in WDDOBEFORENAVIGATION and not in any other places, but this WDDOBEFORENAVIGATION is executed after ONACTION event of the button. My processing is already executed before I had the chance to read the error.
Please advice. -
Tracking ABAP web dynpro events in back end SAP
Hi Experts ,
I have
Is there any way to capture the events on th ABAP web dynpro in the backend.
The scenario is that i have some particular code which gets executed in the back end when User clicks on any button or tab in the appraisal document , which is ABAP web dynpro application.
I want this code to be executed only when User clicks on particular TAB/BUTTON on the ABAP web dynpro.
Are there any system tables that I can check.I am novice in ABAP Web dynpro.
Thankshi ,
I wud like to demonstrate this with example
suppose in ur WD screenu take the sales organization as input .
and u want to do smthing like this in backend :
u wud like to read VBELN from VBAK where VKORG is with in sales organization range entered in input field
create a context attributeinside a context node in Context Tab inside ur view
first bind the VALUE property of ur Input field to a context attribute
inside the method OnActionClick thn u wud use code wizard (control +f7) to read the context attribute which is binded to input field
u press CONTROL + F7 and select the radio button read context node/attribute
DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
DATA ls_cn_node TYPE wd_this->element_cn_node .
DATA lv_attr LIKE ls_city-ca_attr.
* navigate from <CONTEXT> to <CN_VISIBLE> via lead selection
lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_ca_attr).
* get element via lead selection
lo_el_cn_node = lo_nd_cn_node->get_element( ).
* get single attribute
lo_el_cn_node->get_attribute(
EXPORTING
name = `CA_ATTR`
IMPORTING
value = lv_attr ).
// I have read attribute CA_ATTR inside the node CN_NODE
thn u wud put select query to fetch from data base using the value lv_attr
DATA : vbeln type string .
SELECT SINGLE vbeln FROM vbak INTO lv_vbeln
WHERE vkorg = lv_attr .
I hope it is clear nw
regards,
amit -
Hi,
I m getting this error message while creating web dynpro application.
Could not find attribute NAVIGATION_CONFIG.1.NAV_PARAMS.1.NAVTO_NOFLIGHTSVIEW
Can you plz tell me how to fix it.
Thanks,Web Dynpro ABAP
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/db22242d-0701-0010-28a2-aeaa1fefd706
/people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
https://www.sdn.sap.com/irj/sdn/abap?rid=/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/web%20dynpro%20sample%20applications%20and%20tutorials.htm#6 -
GP Web Dynpro Error message display
Hi All
How to show Input Error on Web Dynpro Callable Object?
Not like Normal Web dynpro, IWDMessageManager doesn't work in GP Web dynpro.
Thanks in AdvanceBy input error do you mean you are validating the input and trying to display any errors using the IWDMessageManager? This should be possible. I have used the IWDMessageManager before in GP Web Dynpro and it works fine. Here is a little code snippet that does it:
import com.sap.tc.webdynpro.progmodel.api.IWDMessageManager;
IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
~Greg -
Hi,
In my application, I want to delete all error messages when user licks on back button, because those messages are still displayed in the previous view.
How can I do? which method has to be called?
Many thanks
KarimHi Karim,
In the method say <b>Back()</b> you are calling the outbound plug ie., you are using the code
wdThis.wdFire<outboundPlug>();
Are having code to display the messages in the <b>Back()</b>?
or
Are you calling any methods inside <b>Back()</b> which contains the code to display messages?
This might be one of the reason.
Best Wishes
Idhaya R -
Hi Gurus,
Can anybody help me to learn different types of messaging in Web Dynpro?
And some links to learn all about messaging in web dynpro.Dear Veera
There are two ways to define where messages are to be displayed on the screen:
1. The default position of the message area is on top of the page. If this position
is fine, the developer does not have do anything.
2. If a position different from the default message area position is desired,
the MessageArea container UI element has to be used. A MessageArea UI
element can be defined as a sub-element of all other container elements.
Message Handling
In the Web Dynpro application, you can set the way messages are displayed. On
the Properties tab of a Web Dynpro application, message handling can be defined
by setting the radio button to the following values:
Show Message Component on Demand
If at least one message is reported, the message area is displayed in a
group-box style. The message area contains the last message and information
about the number of messages reported in total. In addition, a button is
displayed, allowing the user to display all messages in a list. Messages
related to UI elements are displayed as links. Selecting such a link navigates
to the UI element related to the message.
Always Display Message Component
In addition to the behavior described above, the message area is also
displayed if no message is reported.
Display Messages Without Message Component
All messages reported are displayed in the message area. This area does not
have a group-box style, but it is transparent. All messages are displayed
at once; no extra navigation is required to obtain the list of all messages.
Messages related to UI elements are displayed as links. Selecting such a link
navigates to the UI element related to the message.
Methods for Defining Messages:
In order to report a message, methods of the IF_WD_MESSAGE_MANAGER
interface have to be used. The Web Dynpro runtime automatically instantiates a
class implementing this interface. The reference to this class can be obtained from
the self reference WD_THIS, using the expressions:
r_api = wd_this->wd_get_api().
r_mmanager = r_api->get_message_manager().
Methods
REPORT_ATTRIBUTE_ERROR_MESSAGE (Parameter PARAMS)
REPORT_SUCCESS (Parameter PARAMS)
REPORT_WARNING (Parameter PARAMS)
REPORT_ERROR_MESSAGE (Parameter PARAMS)
REPORT_FATAL_ERROR_MESSAGE (Parameter PARAMS)
REPORT_ATTRIBUTE_EXCEPTION NO (Parameters ELEMENT, ATTRIBUTE_NAME)
REPORT_FATAL_EXCEPTION
REPORT_ATTRIBUTE_T100_MESSAGE (Parameters P1, P2, P3, P4)
REPORT_T100_MESSAGE (Parameters P1, P2, P3, P4) -
Problem in submit button on adobe form integrated with web dynpro
Hello,
I'm facing prob in triggering web dynpro event onSubmit for Interactive form.
I've created a submit button from web dynpro activex pallete on adobe form (integrated with web dynpro) to send the form as email.
Then in the web dynpro view where this form is embedded i have created an action against onSubmit event and called a method within this.
However, on clicking Submit button this event is not getting triggered.
Please let me know what is lacking in this process?
Thanks.Hi,
I am also facing the same problem. i have developed a simple scenario under which user have to input his/her details and on submit button it will be updated to database.
I have tried the above solution but after adopting this solution all the editable fields become non-editable.
so the above solution is not working for me could you help me out.
I think ... try this....
When you create the Adobe Form from WebDynpro, you need to follow one step in SFP Transaction or inSE80 transaction. Open the Adobe Form in any one the transaction and now in SAP menu bar "Utilities" in that you will find the "INSERT THE WEBDYNPRO SCRIPT" just click on that one. Then you will see a new Script Object is being created with the name "ContainerFoundation_JS" under the "Variables" in the Heirarchy of the Object Pallete of the Adobe Form.
This step is mandatory to use the SUBMIT Button of the "WebDynpro Native", to trigger the OnSubmit event of the WebDynpro.
Thanks
Edited by: shailendra2sap on Mar 6, 2009 12:24 PM -
Error when inserting Web Dynpro script
Hello,
I am trying to create a new form using fields from KNA1 and am using ISR controls. When I try to insert Webdynpro scripts i get message "Error when inserting Web Dynpro script" Message no. FPUIFB094.
Has anyone faced this error? no notes are available regarding this and in SDN.
Regards
PrasadIt must be atleast ALD 7.1. Check this [Thread|Re: Problem on Button; having the same issue. Also check the SAPNOTE 962763.
-
Error message when I run the Web Dynpro Project
Dear friend,
I had deploy & run project, but it's got the error message under the line:
I had install NWDS V. 2.0.11 on my PC, but the project which I deployed was the version that I created by NWDS V. 2.0.9, and I had install new OS as XP Home instead the old one (Windows2000), are these the cause of problem?
Please advise how can I do.
Best regards,
SeMs
Web Dynpro client:
HTML Client
Web Dynpro client capabilities:
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Media Center PC 3.0; .NET CLR 1.0.3705), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
Web Dynpro runtime:
Vendor: SAP, Build ID: 6.4009.00.0000.20041104173322.0000 (release=630_REL, buildtime=2004-11-18:22:17:10[UTC], changelist=298578, host=PWDFM027)
Web Dynpro code generators of DC local/ZWelCome:
SapDictionaryGenerationCore: 6.4011.00.0000.20050127161623.0000 (release=630_VAL_REL, buildtime=2005-02-20:21:34:47[UTC], changelist=324383, host=PWDFM026.wdf.sap.corp)
SapMetamodelWebDynpro: 6.4011.00.0000.20050121170001.0000 (release=630_VAL_REL, buildtime=2005-02-20:21:38:14[UTC], changelist=322883, host=PWDFM026.wdf.sap.corp)
SapMetamodelCore: 6.4011.00.0000.20050121165648.0000 (release=630_VAL_REL, buildtime=2005-02-20:21:28:49[UTC], changelist=322878, host=PWDFM026.wdf.sap.corp)
SapWebDynproGenerationTemplates: 6.4011.00.0000.20050217164947.0000 (release=630_VAL_REL, buildtime=2005-02-20:21:53:22[UTC], changelist=329752, host=PWDFM026)
SapWebDynproGenerationCTemplates: 6.4011.00.0000.20050217164947.0000 (release=630_VAL_REL, buildtime=2005-02-20:21:53:22[UTC], changelist=329752, host=PWDFM026)
SapGenerationFrameworkCore: 6.4011.00.0000.20041104141254.0000 (release=630_VAL_REL, buildtime=2005-02-20:21:28:00[UTC], changelist=298452, host=PWDFM026.wdf.sap.corp)
SapIdeWebDynproCheckLayer: 6.4011.00.0000.20050215134310.0000 (release=630_VAL_REL, buildtime=2005-02-20:21:42:02[UTC], changelist=329103, host=PWDFM026.wdf.sap.corp)
SapMetamodelDictionary: 6.4011.00.0000.20040609163924.0000 (release=630_VAL_REL, buildtime=2005-02-20:21:32:12[UTC], changelist=253570, host=PWDFM026.wdf.sap.corp)
SapMetamodelCommon: 6.4011.00.0000.20050121165648.0000 (release=630_VAL_REL, buildtime=2005-02-20:21:28:59[UTC], changelist=322878, host=PWDFM026.wdf.sap.corp)
SapWebDynproGenerationCore: 6.4011.00.0000.20050215134310.0000 (release=630_VAL_REL, buildtime=2005-02-20:21:42:32[UTC], changelist=329103, host=PWDFM026.wdf.sap.corp)
SapDictionaryGenerationTemplates: (unknown)
Web Dynpro code generators of DC sap.com/tcwddispwda:
No information available
Web Dynpro code generators of DC sap.com/tcwdcorecomp:
No information available
J2EE Engine:
No information available
Java VM:
Java HotSpot(TM) Server VM, version: 1.4.2_08-b03, vendor: Sun Microsystems Inc.
Operating system:
Windows 2000, version: 5.0, architecture: x86
Message was edited by: Sukasem S.wattanakoon
Message was edited by: Sukasem S.wattanakoonProbably the usual problem of deploying an application built with a newer NWDS (SP11) on an older server (SP9).
But without the stacktrace this is only a guess.
Armin -
Error message display in web dynpro application?
Hi All,
In my web dynpro application I am displaying error messages but the focus does not go to the field where error occured and also if I click on the error message it does not lead to the place of error.
And also when I navigate to another view the error message does not go.
Below is my code:
* report message
DATA err1_text TYPE syst-msgv1.
err1_text = wd_assist->if_wd_component_assistance~get_text( key = '002' ).
CALL METHOD lo_message_manager->report_t100_message
EXPORTING
msgid = 'ZAA'
msgno = '005'
msgty = 'E'
p1 = err1_text
RECEIVING
message_id = lo_text.
Please suggest me the way to do it.
Thanks & Regards
ArchanaHi,
I got your point.. in the BIND_TABLE( set_intiail_elemts = abap_true) change this to ABAP_FALSE.
Because of this you are gettng the intiial values. Eventhough your table has no BALNK/space records.
bind a single element
node->bind_table(
new_items = lt_year_list
set_initial_elements = abap_true ).
change as
bind a single element
node->bind_table(
new_items = lt_year_list
set_initial_elements = abap_false ).
You can use this code - I have tjhe dropdwon for projects event I'm doing the same.
navigate from <CONTEXT> to <PROJECT> via lead selection
lo_nd_project = wd_context->get_child_node( 'PROJECT' ).
***Gets the selected project id from drop down
if lo_nd_project is not initial.
CALL METHOD lo_nd_project->GET_LEAD_SELECTION
RECEIVING
ELEMENT = lo_el_project.
get all declared attributes
if lo_el_project is not initial.
lo_el_project->get_static_attributes(
IMPORTING
static_attributes = ls_project ).
change your code to
lo_nd_year_list = wd_context->get_child_node( name = wd_this->wdctx_year_list ).
***Gets the selected project id from drop down
if lo_nd_year_list is not initial.
CALL METHOD lo_nd_year_list->GET_LEAD_SELECTION
RECEIVING
ELEMENT = lo_el_year_list .
IF lo_el_year_list IS NOT INITIAL.
get single attribute
lo_el_year_list->get_attribute(
EXPORTING
name = `YEAR`
IMPORTING
value = lv_year ).
Regards,
Lekha. -
Flash Islands : pass event parameters to Web Dynpro
Hi,
I am trying to pass a parameter to Web Dynpro using "FlashIsland.fireEvent()". The event is fired, but I cannot get the parameter.
I WD I created a GACEvent :
name = doSomething
onAction = doSomethingAction
In this Event I created a GACEventParameter
name = returnText
type = string
In Flex I implemented following function :
private function click():void
var returnText:String;
returnText = "Dit is een test";
FlashIsland.fireEvent(this,'doSomething',returnText);
This is the code of the action in WD :
public void onActionDoSomethingAction(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent)
//@@begin onActionDoSomethingAction(ServerEvent)
wdComponentAPI.getMessageManager().reportSuccess(wdEvent.getString("returnText"));
//@@end
The event is fired, but I get the message "invalid message: null". What am I doing wrong?
Regards,
JeroenHi,
Wrong syntax when you fire the event. The correct syntax is :
flex code :
var myParam:String = new String();
var myValue:String = "Test";
FlashIsland.fireEvent(this,"Event1",);
Regards,
Jonas -
How to call "compensation profile" iView in ECM from Web Dynpro for ABAP
Hi Experts,
I developed a compensation planning iView using web dynpro for ABAP using floor plan manager in ECM. I need to call the iView "compensation profile" but I don't know how to pass parameter to it, how to trigger it from my application. Is there anyone used to do this before?
Thanks!
- Anthony -I have to develop my own iView to replicate Java iView.
-
How to display the error message during the web dynpro application runtime
hi,
I'm a java developer,During i 'deploy and run ' a web dynpro application on server-1,if the application have some runtime errors. there are displayed many infomation about the runtime error,such as exception track,etc.
But when i do the same on server-2,there just show something like:
500 Internal Server Error
SAP NetWeaver Application Server 7.00/Java AS 7.00
Failed to process request. Please contact your system administrator.
but the server-1 will stop the j2ee engine.
how can do i make server-2 show detail error message as server-1. when i debug web dynpro application need these infomation.
Appreciate your inputs...
(Note:server-1 and server-2 have same software version)
Edited by: BingLin Zhong on Feb 18, 2008 2:13 AMThe Sap-Notes 962319:
1. Check in the Visual Administrator, "Licensing Adapter" -> "General" -> "SystemType" !
If it is set to "DEVELOPMENT_MODE", verbose error messages are shown.
If it is undefined, proceed with the next step.
If it is set to something else, only exception IDs are shown. In this case the only chance is to search for this exception ID in the default traces.
2. If the system type is undefined, then in the Config Tool "Configurations" -> "webdynpro" -> "sap.com" -> "tcwddispwda" -> "Propertysheet default" -> "DevelopmentMode" is evaluated. If it is "true", verbose error messages are shown.
3. If verbose error messages are required but still the short version is shown, you probably face an error message that is not raised by Web Dynpro but by other components of the NetWeaver. In the Visual Administrator set "Properties" -> "HTTP Provider" -> "DetailedErrorResponse" to "true".
4. In addition to the error page shown in the browser or client, important messages - including error messages and stack traces - are written to the log and trace files, e.g. to the default traces usr\sap\<SID>\<instance>\j2ee\cluster\server<number>\log\defaulttrace.trc.<number>.
a) In some cases, when an exception ID is included in the error message, the detailed error message can easily be retrieved in the log file.
b) When no exception ID is given, you have to search for the detailed error message in the log specifying time stamp and/or user ID.
Always consider restarting the system after making changes on the settings.
It is not recommended to switch the "SystemType" to an inappropriate value just for viewing verbose error messages. The system type potentially affects framework, applications and licensing in an perhaps unintended way.
In the past there was no distinction between different system types regarding error messages. For security reasons this distiction has been introduced. It is not intended to show stack traces in non-development systems in the future. SAP does not provide workarounds or patches to enable such a behaviour again.
Maybe you are looking for
-
Can I buy a SIM in the UK for the World Phone and use on local service?
I am travelling to the UK and have 2 old World Phones. Can I buy a Vodaphone "pay as you go" SIM card and activate these phones under local UK service for my kids while we are there? I really only need phone and text or BIM service. I believe the UK-
-
How to get rid of 8800GT Video Laggin and Stutters
Hi there I know you must be sick of my complaints of the same issue all the time but ive still not managed to fixed this this is my 4th 8800GT that ive owned since last december when the y got released Ive even tried XP and still the same with the la
-
How to close the report background engine programatically in developer 6.0?
Friends, We have developed our application using Oracle Developer 6.0 as front end and Oracle 9iR2 as a back end. whenever the user is opening the application one session is creating after that if he runs any report the report background engine is st
-
How do I create NTSC version?
Hi, I need to create both PAL and NTSC versions a project created in Premiere Pro CC but am not sure of the correct way. The PAL version is no problem, but for the NTSC version I tried creating a new NTSC sequence and dragged the footage into it and
-
How can I get the gps coordinates on my ipad which was stolen today?
My ipad was stolen today, how can I get the gps coordinates to report to the sherriff?