Error message for radiobuttongroup using report_attribute_error_message
Hi,
We are displaying error message on the submit button of a form in web dynpro abap application. We have different UI elements in the form which are mandatory to enter by the user.So we are using 'CALL METHOD lo_message_manager->report_attribute_error_message' method to display error.
When user click on the error message control will go the UI field which is caused for error.
This works fine for INPUT,DROPDOWNBYKEY,TEXTEDIT,RADIOBUTTON UI elements.
But error link is not working for RADIOBUTTONGROUPBYKEY/RADIOBUTTONGROUPBYINDEX ui elements.
Is this problem is with WEB DYNPRO ABAP or am i missing any property settings. Does SAP Web Dynpro ABAP provide this functionality for RADIOBUTTONGROUPBYKEY/RADIOBUTTONGROUPBYINDEX?
Please help us to resolve the problem.
Below attached written code for reference.
CASE lo_action->name. WHEN 'SUBMIT'.
IF lv_radio IS INITIAL.
* REPORT message
call method lo_message_manager->report_attribute_error_message
exporting
message_text = 'Please select something from radio button grp by key.'
element = lo_el_radio_node
attribute_name = `RADIO`
* params =
* msg_user_data =
* is_permanent = ABAP_FALSE
* scope_permanent_msg = CO_MSG_SCOPE_CTXT_ELEMENT
* msg_index =
* cancel_navigation =
* is_validation_independent = ABAP_FALSE
ENDIF.
IF lv_text IS INITIAL.
* REPORT message
call method lo_message_manager->report_attribute_error_message
exporting
message_text = 'Please KEY IN SOMETHING THE TEXTEDIT BOX......'
element = lo_el_text_edit
attribute_name = `TEXT`
* params =
* msg_user_data =
* is_permanent = ABAP_FALSE
* scope_permanent_msg = CO_MSG_SCOPE_CTXT_ELEMENT
* msg_index =
* cancel_navigation =
* is_validation_independent = ABAP_FALSE
ENDIF.
IF lv_radio_group IS INITIAL.
* REPORT message
call method lo_message_manager->report_attribute_error_message
exporting
message_text = 'Please select something in second radio group.'
element = lo_el_radio
attribute_name = `RADIO_GROUP`
* params =
* msg_user_data =
* is_permanent = ABAP_FALSE
* scope_permanent_msg = CO_MSG_SCOPE_CTXT_ELEMENT
* msg_index =
* cancel_navigation =
* is_validation_independent = ABAP_FALSE
ENDIF.
ENDCASE.
Hi Smitha
You declare as below :
*---- SELECTION-SCREEN
SELECTION-SCREEN BEGIN OF BLOCK b1.
SELECT-OPTIONS : s_werks FOR vbap-werks . "Plant
SELECTION-SCREEN END OF BLOCK b1.
*Selection Screen validation
AT SELECTION-SCREEN .
IF s_werks-low IS NOT INITIAL.
SELECT SINGLE werks "Plant
FROM t001w
INTO s_werks-low
WHERE werks = s_werks-low
and werks in ( '2000','3000','4000' ).
IF sy-subrc NE 0.
MESSAGE e000 WITH text-t48.
ENDIF.
ENDIF.
if its a parameter just replace s_werks as p_werks
Edited by: Martina Floriette on Feb 21, 2009 6:01 AM
Similar Messages
-
Unsupported black in use error message for laserjet p2055
Receiving "unsupported black in use" error message for laserjet p2055. I replace the cartridge with a new one and the same message appears. Any suggestions how to resolve this issue?
Hi,
Does it become active if you go to System Preferences > Accounts and Click on the current Account Pic and attempt to take a Pic ? (you do not have to Set it as the Pic)
Go to System Preferences > Accounts
Click on Your Account (in the list on the Left)
The Right hand side will now show some options.
Clicking the current Pic will give you access to Edit Pic
One of the Options then is to take a Snapshot.
Take a Snap Shot but you do not have to "Set" the Pic.
This process will invoke VDCAssistant.
Explain further about the PRAM Reset please.
You should shut down the computer (Rather than trying to catch the Restart)
You should then Start the Computer holding down the AppleALT+PR keys and keep holding them until you hear three Start Up0 Bongs (Chimes)
This deletes some settings such as System Preferences Settings for the Volume (Sound) and Date and Time that may need resetting afterwards. (Others may also be effected such as Screen Saver)
On Spotlight.
This does not look or report on certain Folders.
At the Hard Drive Level this is Library and Syatem
In your Home Folder (Little House icon) it will not look in your Library.
com.ecam.iusbcam.plist and com.apple.ichat.plist
Are in your Home Folder/Library/Preferences
The Others are in the /Library at Hard Drive Level
7:15 PM Wednesday; June 3, 2009
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat" -
I am getting an error message for the Update store, saying "To Update this application, sign in to the account you used to purchase it." how do I get rid of these Old unneccisary Updates? anyone?
Welcome to Apple Communities
What's this app? You need to use another Apple ID to update it -
I've received an error message for for photoshop CS4 that I still use for some automated projects. ERROR: 150:30 Anybody know what this is and how to fix it?
Please refer:
http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac- os.html
Regards,
Ashutosh -
I continue to get the error message registry settings used by itunes drivers for importing and burning CD's and DVD's are missing. Please reinstall itunes. Reinstalling itunes does not fix the problems
I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
iTunes for Windows: "Registry settings" warning when opening iTunes -
Keep getting error message "registry setting used by itunes drivers for importing
Keep getting error message "registry setting used by itunes drivers for importing and burning cds & dvds are missing", this can happen as a result of installing other cd burning software". The only software on my computer is original cd-dvd on my hp portable with Vista. My computer now recognized itouch as a camera. Ive uninstalled and reinstalled itunes, nothing changes.
I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
iTunes for Windows: "Registry settings" warning when opening iTunes -
I cannot utilize my Adobe documents - I get this error message - “You cannot use this product at this time. You must repair the problem by uninstalling and then reinstalling this product or contacting your IT administrator or Adobe customer support for help.”
Thank you! My solution was different. I had turned off services in MSCONFIG and did not turn them back on. After I turned services back on, Acrobat started working again without the nag error and impedance to use the program. I appreciate your input! Adobe customer service/tech support was dismally disappointing.
-
can i save a podcast without taking up space on nano 6, i keep getting error message space is used up but I don't want to lose the podcast episode for the future
Sorry to be such a moron with this, but I just don't have much experience with this iPad. I have had it for over a year and I just keep adding stuff to it and it has worked great. Now that the memory is used up, I am trying to figure out how to free up space and not lose what I have paid for.
So, Step 1 is complete, as I have "Transferred" all of the purchases.
What is Step 2? I unchecked the concert on the iTunes library, did a sync, but it's still on my iPad.
Thanks again for the help!!! -
Dear Experts,
I have a requirement for making material description as non mandetory in change request view of mdg material screen.
I have done that using field usage in get data method of feeder classes, but still message is displaying.
This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
How to prevent error message for material description in MDG material detail screen, when user click on check action.
Thanks
SukumarHello Sukumar
In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
Regards, Ingo Bruß -
Error Message For BISystemUser: User not authenticated
We have migrated from DEV to PROD env.(11.1.1.1 -> 11.1.1.3). Along problems with bipublisher - there are some strange thingths: we successfully loging using weblogic account into AdminConsole и Enterprise Manager, but in Answers we get an error: invalid username or password.
nqserver.log:
...[ERROR:1] [] [] ... [tid: 1090] Error Message For BISystemUser: User not authenticated.
...[ERROR:1] [] [] ... [tid: 1090] [nQSError: 43126] Authentication failed: invalid user/password.
In oracle support we found such issue (Doc ID 1308389.1):
OBIEE 11g Error: "Unable to Sign in. invalid username or password was entered" After Changing Repository, Deleting BISystem User, Adding it Back (Doc ID 1308389.1)
Applies to: Business Intelligence Server Enterprise Edition - Version: 11.1.1.3.0 [1905] to 11.1.1.5.0 [1308] - Release: 11g to 11g
Symptoms: In OBIEE 11.1.1.3.0 using default authenticator, it is not possible to log in to OBIEE after changing repository. To troubleshoot, BIsystemuser was removed from global roles and added back again.
Getting error: Unable to Sign in. invalid username or password was entered
Changes: Changed repository, deleted BISystemuser, added the user back
Cause: Several changes e.g changing rpd, deleting bisystem user, adding the user back etc. occurred in the environment and caused log in to OBIEE to stop working
Solution: After a lot of troubleshooting e.g re-starting system in the correct order, refreshing GUIDs, re-start OBIEE with default SampleAppLite.rpd and web catalog, the error persists. The system was uninstalled and re-installed to avoid further corruption and configuration problems in the new installation. This resolved the problem
Does we have to 'reinstall or make a lot of troubleshooting e.g re-starting system ' to solve this error?
It seem to be funny for PROD environment. How we cam resolve this problem?Are you saying you upgraded both dev and prod from 11.1.1.1 to 11.1.1.3 or that you migrated a dev 11.1.1.1 to a prod 11.1.1.3? What did you migrate?
At a rough guess the BISystemUser password is different in dev and prod (created by system on install) and in your 'migration' you've moved the dev credential across to prod.
If that's the case you need to change the bisystemuser password to something known and update the credential store password.
Another possibility might just be that you need to regenerate the GUIDs:
http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10543/privileges.htm#BIESC721 -
Error message for Unable to connect (BIB-16633)
Dear All
I use Oracle Jdeveloper10g (win32), Oracle database10g or 9i (win32 ver). But Failure to connect to OLAP service.
Can anyone give me what is the error message for BIB-16633.
Would be really grateful if you could give me a solution as soon as possible.
Thanks & Regards,
Mr.Tsang. Hong KongFor database versions you need to have at least 9206 for 9i and 10.1.0.4 for 10g. This requires you to apply the 9206 patchset to 9i and the 10.1.0.4 patchset to the 10g base install.
Please note there are a lot of steps invloved in the patching process and you must make sure you have completed all the steps before creating your OLAP schema. Most problems occur because the patching process is incomplete and the OLAP option is in an invalid state.
You can check the state of the OLAP option using the following commands in SQLPlus:
column comp_name format a35
SELECT comp_name, status, substr(version,1,10) as version
from dba_server_registry order by modified;
Once the OLAP option is in a valid state, then you must ensure the OLAPSYS account is unlocked. To test the OLAP environment you can install the BI10G sample schema which will create a new user account called CS_OLAP which contains an Analytic Workspace.
Hope this helps
Business Intelligence Beans Product Management Team
Oracle Corporation -
Error Message for the cancellation of paid billing document
Hi,
Can i create and error message for the cancellation of paid billing document? If yes, how can i create such.
Overview:
Accounting document is created upon creation of billing document. Upon payment, document cleared is the accounting document created. There are instances wherein accounting document was already cleared but our user is still able to reversed billing document. Now, i want to create an error message or user exist wherein, when a user will not be able to reverse the billing document if the accounting document attached to this billing document is already paid.
Thank you and best regards.
RachelleHi Rachel,
You can make use of the exit (Include) MV45AFZZ. The corresponding form routine is FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
In this exit, For the given billing document ( which is going to be cancelled ), pick up the accouting document from BSEG tables.
For this accouting document, Pass this to BSAD Table ( Customer clleared items)
If BSEG-BELNR = BSAD-BELNR and
BSEG-Acc.Year = BSAD-Acc,year )..
Then throw a error message and EXIT.
So for all the cleared docments , user can not cancel the invoices.
Regards,
Sai -
Display error messages for each material
Hi All,
I am using a BAPI which gives errors in return table.I am executing this BAPI for several materials in a LOOP.I need to display the error messages for each of these materials as shown below:
Material 1:
error1
error2
Material 2:
error 1
error 2.
What is the best way to display this?Also plz let me know how to use REUSE_ALV_HIERSEQ_LIST_DISPLAY?
Thanks,
Rakesh.I did the same thing in the below code, go thru it and check it.
* calling the BAPI to update the Asset Master AS02
loop at it_final into is_final.
* If updating of floor area only
if p_farea = 'X'.
* passing new area value to the BAPI
is_realestate-area = is_final-grufl.
is_realestatex-area = 'X'.
call function 'BAPI_FIXEDASSET_CHANGE'
exporting
companycode = is_final-bukrs
asset = is_final-anln1
subnumber = is_final-anln2
realestate = is_realestate
realestatex = is_realestatex
importing
return = it_return.
* If Asset Master is changed with out any errors
read table it_return with key type = 'E'.
if sy-subrc = 0.
flag = ' '.
else.
flag = 'X'.
* Call the COMMIT BAPI
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'.
wait up to 2 seconds.
endif.
* If the Asset Master is changed with out any errors
if flag = 'X'.
read table it_output into is_output with key
bukrs = is_final-bukrs
anln1 = is_final-anln1
anln2 = is_final-anln2
binary search.
if sy-subrc = 0.
* is_output-c_icon = c_green.
is_output-grufl_n = is_final-grufl.
is_output-message = it_return-message.
* Modify the output internal table with the changed new values
modify it_output from is_output
transporting grufl_n message
where bukrs = is_output-bukrs
and anln1 = is_output-anln1
and anln2 = is_output-anln2.
endif.
elseif flag = ' '.
read table it_output into is_output with key
bukrs = is_final-bukrs
anln1 = is_final-anln1
anln2 = is_final-anln2
binary search.
if sy-subrc = 0.
* is_output-c_icon = c_red.
is_output-grufl_n = is_realestate-area.
is_output-message = it_return-message.
* Modify the output internal table with the changed new values
modify it_output from is_output
transporting grufl_n message
where bukrs = is_output-bukrs
and anln1 = is_output-anln1
and anln2 = is_output-anln2.
endif.
endif.
endif.
* If updating of lease commencement date only
if p_ldate = 'X'.
* Passing new lease start date value to the BAPI
is_leasing-start_date = is_final-leabg.
is_leasingx-start_date = 'X'.
* Call the BAPI to change the Asset Master
call function 'BAPI_FIXEDASSET_CHANGE'
exporting
companycode = is_final-bukrs
asset = is_final-anln1
subnumber = is_final-anln2
leasing = is_leasing
leasingx = is_leasingx
importing
return = it_return.
* If Asset Master is changed with out any errors
read table it_return with key type = 'E'.
if sy-subrc = 0.
flag = ' '.
else.
flag = 'X'.
* Call the COMMIT BAPI
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'.
wait up to 2 seconds.
endif.
* If the Asset Master is changed with out any errors
if flag = 'X'.
read table it_output into is_output with key
bukrs = is_final-bukrs
anln1 = is_final-anln1
anln2 = is_final-anln2
binary search.
if sy-subrc = 0.
* is_output-c_icon = c_green.
is_output-leabg_n = is_final-leabg.
is_output-message = it_return-message.
* Modify the output internal table with the changed new values
modify it_output from is_output
transporting leabg_n message
where bukrs = is_output-bukrs
and anln1 = is_output-anln1
and anln2 = is_output-anln2.
endif.
elseif flag = ' '.
read table it_output into is_output with key
bukrs = is_final-bukrs
anln1 = is_final-anln1
anln2 = is_final-anln2
binary search.
if sy-subrc = 0.
* is_output-c_icon = c_red.
is_output-leabg_n = is_leasing-start_date.
is_output-message = it_return-message.
* Modify the output internal table with the changed new values
modify it_output from is_output
transporting leabg_n message
where bukrs = is_output-bukrs
and anln1 = is_output-anln1
and anln2 = is_output-anln2.
endif.
endif.
endif.
clear : is_final, is_realestate, is_leasing,
it_return, flag , is_output.
endloop.
* Display the report out with old and new values
PERFORM output_report.
*& Form output_report
* text
* --> p1 text
* <-- p2 text
*FORM output_report.
* DATA : it_fieldcat TYPE slis_t_fieldcat_alv,
* is_layout TYPE slis_layout_alv.
** Sub routine for filling the field catalog
* IF it_fieldcat[] IS INITIAL.
* PERFORM field_fill USING it_fieldcat.
* ENDIF.
** Sub routine to set the layout
* PERFORM set_layout USING is_layout.
** Function module to display the data in ALV format
* CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
* EXPORTING
* i_callback_program = l_repid
* it_fieldcat = it_fieldcat
* is_layout = is_layout
* TABLES
* t_outtab = it_output
* 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. " output_report
*& Form field_fill
* text
* -->P_IT_FIELDCAT text
*FORM field_fill USING pt_fieldcat TYPE slis_t_fieldcat_alv.
* DATA : ls_fieldcat TYPE slis_fieldcat_alv,
* pos TYPE i VALUE 1.
* ls_fieldcat-col_pos = pos.
* ls_fieldcat-fieldname = 'C_ICON'.
* ls_fieldcat-seltext_m = 'Change Status'.
* ls_fieldcat-tabname = 'IT_OUTPUT'.
* APPEND ls_fieldcat TO pt_fieldcat.
* CLEAR ls_fieldcat.
* pos = pos + 1.
* ls_fieldcat-col_pos = pos.
* ls_fieldcat-fieldname = 'BUKRS'.
* ls_fieldcat-ref_fieldname = 'BUKRS'.
* ls_fieldcat-ref_tabname = 'ANLA'.
* APPEND ls_fieldcat TO pt_fieldcat.
* CLEAR ls_fieldcat.
* pos = pos + 1.
* ls_fieldcat-col_pos = pos.
* ls_fieldcat-fieldname = 'ANLN1'.
* ls_fieldcat-ref_fieldname = 'ANLN1'.
* ls_fieldcat-ref_tabname = 'ANLA'.
* APPEND ls_fieldcat TO pt_fieldcat.
* CLEAR ls_fieldcat.
* pos = pos + 1.
* ls_fieldcat-col_pos = pos.
* ls_fieldcat-fieldname = 'ANLN2'.
* ls_fieldcat-ref_fieldname = 'ANLN2'.
* ls_fieldcat-ref_tabname = 'ANLA'.
* APPEND ls_fieldcat TO pt_fieldcat.
* CLEAR ls_fieldcat.
* pos = pos + 1.
* IF p_farea = 'X'.
* ls_fieldcat-col_pos = pos.
* ls_fieldcat-fieldname = 'GRUFL'.
* ls_fieldcat-ref_fieldname = 'GRUFL'.
* ls_fieldcat-ref_tabname = 'ANLA'.
* APPEND ls_fieldcat TO pt_fieldcat.
* CLEAR ls_fieldcat.
* pos = pos + 1.
* ls_fieldcat-col_pos = pos.
* ls_fieldcat-fieldname = 'GRUFL_N'.
* ls_fieldcat-seltext_l = 'New Floor Area'.
* ls_fieldcat-tabname = 'IT_OUTPUT'.
* APPEND ls_fieldcat TO pt_fieldcat.
* CLEAR ls_fieldcat.
* pos = pos + 1.
* ENDIF.
* IF p_ldate = 'X'.
* ls_fieldcat-col_pos = pos.
* ls_fieldcat-fieldname = 'LEABG'.
* ls_fieldcat-ref_fieldname = 'LEABG'.
* ls_fieldcat-ref_tabname = 'ANLA'.
* APPEND ls_fieldcat TO pt_fieldcat.
* CLEAR ls_fieldcat.
* pos = pos + 1.
* ls_fieldcat-col_pos = pos.
* ls_fieldcat-fieldname = 'LEABG_N'.
* ls_fieldcat-seltext_l = 'New Lease St.Date'.
* ls_fieldcat-tabname = 'IT_OUTPUT'.
* APPEND ls_fieldcat TO pt_fieldcat.
* CLEAR ls_fieldcat.
* pos = pos + 1.
* ENDIF.
* ls_fieldcat-col_pos = pos.
* ls_fieldcat-fieldname = 'MESSAGE'.
* ls_fieldcat-seltext_l = 'Status Message'.
* ls_fieldcat-tabname = 'IT_OUTPUT'.
* APPEND ls_fieldcat TO pt_fieldcat.
* CLEAR ls_fieldcat.
* pos = pos + 1.
*ENDFORM. " field_fill
Regards
Gopi -
Pop up error messages for failed custom validation
I am using jdev-10.1.3.4
My application is in ADF BC
I am writing custom validation through managed bean, I want pop-up error message for this failed validation.
My problem scenario is:
I had some list box as "status"-when this status changes to failed then the other field namely "closed date" should become madantory and also date in closed date field can't be in future.I am able to have all this validation through managed bean and also able to use af:messages through which i am able to print error message on the top of the form, but i am not able to give pop up error message for this failed validation.
I had gone thru jdev guide but there is nothing like what i am asking.
it would be of great help if someone can give me some example also.
thanks in advance.ADF has global setting where you can configure the way messages are shown to user:
You can make this setting in adf-faces-config.xml
The <client-validation> element controls how client-side converters and validators are run.
Three values are supported:
"INLINE": validation is shown inline in a page (the default)
"ALERT": validation is shown in an Javascript alert
"DISABLED": validation is only handled on the server
IN your case, set it to 'ALERT'. -
What is the error message for BIB-14418? I could not see this particular one in bibean help docs.
This message is displayed every time we use export (it's just to inform the user that StorageManager was initialized properly). The word "PROBLEM" is standard output of our DefaultErrorHandler's log method.
We are planning to update the Help topic, which shows the syntax of the export utility, to indicate that this is a benign message.
Hope this helps
Business Intelligence Beans Product Management Team
Oracle Corporation
Maybe you are looking for
-
Flash Error When Combining Files
In Acrobat XI Pro, when combining two or more PDFs in to a single file, i recieve and error to say to view the content i must download flash. Ive checked and we are running the latest version. The OS on the device is Windows 8.1 and it is patched fo
-
Wsdl host:port default values
Hi, I've deployed a webservice in Weblogic 12.1.3, I expect that when I invoke the WSDL the binding address will be: http://host:port/contextPath/serviceUri?WSDL where host should be the host with which I've invoked the webservice and port the portnu
-
Iphone 5 refurbished, will I be forced to update IOS?
My iPhone 5 has IOS 6.1.2 installed on it and the power button has stopped working. It is being replaced under warranty. When I set the replacement phone up from the restore from my original phone will I be able to install the same IOS (6.1.2) or wil
-
PS CS6 extended und Camera raw 8.1
Ich habe den upgrade von dem mitgelieferten camera raw zu 8.1 gemacht und kann jetz nicht mehr die Bildgröße bestimmen, mit der das Bild in CS6 entweder als SO oder normal geladen wird. mit der Vorgängerversion waren 3 oder 4 Bildgrößen sogar eine m
-
G5 iMac rev B shuts down unexpectedly
I know there are other threads on this, but I thought I would start one for G5 iMac rev B models. Mine is about 17 months old now (no, I don't have Apple Care!) and has worked very reliably - until yesterday. It shut itself down at some point during