How to avoid mandatory fields popup when cancelling a transaction
Hi All,
I have created a Employee create page and put some mandatory fields on it
and have 2 buttons apply and cancel . if i navigate to that page and not enter anything and press cancel button a dialog comes up asking me to enter mandatory fields
what should i do to avoid that popup ?
thanks
ananya
Either
1) disable client side validation on press of cancel button
2)Or Don't mark the fields required and handle this in ur code on apply button event as server side validation.
--Mukul
Similar Messages
-
How can avoid mandatory fields in data transfer
hai
please respond me
how can avoid mandatory fields in data transfer like bdchi,
u have to pass values for mandatory fields in bdc method, u have to prepare u r bdc data such a way that all the mandatory fields are filled, other wise it will give error -
How to avoid submitting a page when tabular form rows are empty
Hi,
I have a master detail form in my application. There are 2 tables that are used Table A and Table B. Table A contains Ticket number and Table B refers to Table A through a foriegn key and Table B have columns like Date,Name, Age, ticket_id (that refers to the ticket_number of the Table A).
This is how the application works:
In a page there is a field for Ticket Number, once the user enters the Ticket Number and click Add Details, a tabular Form with 5 empty field appears... (Done through Page Process->Data Manipilation->Add Rows)
This form contains fields Date, Name and Age. Once the user fills in all the details and click Submit button, the page is submitted. Whatever values that was entered is saved in Table B. Page Sucess message appears. This works fine.
But once the Ticket Number is entered and Add Details is clicked, and without entering the values in the Tabular Form, if Submit button is clicked, there is no error showing up neither I see Page success message. But this should not be allowed. There should be some error showing up...
Tabular Form Validations works only when user enters some values in the Tabular Form and click Submit. For the above scenario, where the form is untouched the validation doesnt work.
How can I get this done? Any ideas?Hello Suzi,
>> if (document.wwv_flow==null)
The document.wwv_flow is an object representing the current form that was just rendered on your screen. As such, it can never be null.
>> How to avoid submitting a page when tabular form rows are empty
The correct way, especially for versions prior to APEX 4.0 is to use JavaScript, but for that, you need to know and understand how APEX generates your tabular form, HTML wise.
To be very brief, APEX attached a unique ID to every updatable cell in the tabular form, using a certain pattern – each updatable column is getting a unique name (e.g. ‘f01’,’f02’ etc.) and the ID of a cell is a combination of this name with the serial row number the cell is on. For example, a cell on the third row in an updatable column called ‘f04’ will be given an ID of f04_0003. (More detailed explanation, with an example, can be found in my book).
What you should do is to check these cells according to your validation policy (e.g. is all five row must be filled, is all the columns in a specific row must be filled, etc.).
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
♦ Author of Oracle Application Express 3.2 – The Essentials and More -
How to hide mandatory field in OAF page through personalization
Hi,
Could u please help, that how to hide mandatory field in seeded page.
This could be achieved through personalization only.
Thanks,
Ramachandra.
Edited by: 927747 on Jun 21, 2012 2:16 AMyes you can hide that field by simply set the render propert to "false" using the personalization.
Regards,
Vijay Reddy. -
Mandatory field 'Business Area" in MIRO transaction
Dear All,
We are facing problem in MIRO transaction, while doing MIRO business area field is mandatory so we are not able to check our one substitution for Business area.
Request you to help us to remove mandatory field "Business area" from MIRO transaction.
Thanks,
ShreeHi
Since the tick is appearing in this field, either the field status group (at posting level or GL level) should have been made mandatory. Can you please check the relevant FSG for the reconciliation account involved for that vendor.
Also since you want this field as optional only for testing purpose, i have a alternative suggestion.
Say, If your substitution is suppose to replace this field with business area A, then enter business area B there and check whether the substituition is replacing this with A again.
Regards -
How to handle Mandatory field in a FORM
Hi,
Version - Forms Builder (9.0.4.2.0)
I just want to know the best practice to handle mandatory field in a FORM.
Because if we put required property to 'yes' then can we input message there without writing validation in WHEN-VALIDATE-ITEM trigger.
In one of form I have; cursor couldn't move without entering that form. (even we set to Required property to No) How do this happen.
rgds
shabarHello,
If you want to replace the Forms standard message, you can write an item/block/form level When-Validate-Item, then remove the mandatory property from the item.
If you let the property to YES, you can write a block-level ON-ERROR trigger to change the message:
declare
lv_errcod NUMBER := ERROR_CODE;
Begin
if lv_errcod = '40202' Then
Message('You absotutly HAVE to enter this field');
else
Message('err:' || lv_errcod );
end if ;
end;Francois -
How to avoid security note popup?
Hi,
I have two BSP Applications, which I start from SRM Enterprise Buyer via new window. I have created an internet service user, which I put in the ICF service of the application.
Here goes the question.
In one of my BSPs the new window appears like expected. In the otherone I get a popup message (I must translate this from German to English, but I hope you get the contents):
The popup says:
<i>Title: Security note
You are about to turn to an insecure connection. data which has been sent to the prior site, will possibly be sent to the insecure site. Do you wish to continue?</i>
Why is that? Both ICF entries use the same user and look the same - under security there is a radio at standard in both cases.
The URL of the BSP without Popup looks like this:
http://<host>:8028/sap/bc/bsp/sap/z_imp_all1/start.htm
the one with popup like this:
http://<host>:8028/sap(bD1kZSZjPTMwMQ==)/bc/bsp/sap/z_scan_pzn1/start.htm?sicht=pzn&username=MEYERM&HOOK_URL=https%3A%2F%2Fukmsapweb%2E<host>%2Ede%3A9211%2Fscripts%2Fwgate%2Fbbppu99354e5a01%2F%3F%7EOkCode%3DADDI%26%7Etarget%3D%5Ftop%26%7ECALLER%3DCTLG&OCI_VERSION=3%2E0&http_content_charset=iso%2D8859%2D1&returntarget=%5Ftop
Any ideas, how to avoid the popup, welcome.
regards, Matthias
Message was edited by: Matthias KasigHi Renald and Rainer,
to Renald: Yes, I have also checked Internet options -- advanced, and unchecked the warning, when switching from save to unsave mode. I also unchecked the warning, if formular data is being redirected. Still this takes no effect. And anyway, I can't see the point, because from the same https page I've got two links which link to http-BSPs. One brings about the unwanted popup - the otherone, with apparently same settings does the security popup. The link itself is launched via JavaScript, like this:
<a href="JavaScript:launchCTLG('PZN_Scan');" class="catalog" alt="PZN" title="PZN">PZN</a>
to Rainer: I checked the note you gave. It contained a chm file. It also refers to the situation, that you get the popup message, when leaving https and turning to http. It also provides a solution like this:
<iframe id="myIframe" src="JavaScript:void(0);"></iframe>
In fact I can't change/modify the call of the URL - and it is already being called via JavaScript. The EBP page is SRM generated.
I shall try to copy the BSP application, that works fine without popup, and then put in the code of the popup-version... and see what happens next.
Thanks so far. I shall give feedback, when I have finished.
Matthias -
How to make screen field enable when table control gives an error
Hi,
I had a scneario like when table control data wrong then one parameter of the screen should be enabled for the input, i knew that screen-name will not work since it will have always table control fields only when table control gives an error.
How to make the other parameter enable when table control throws an error.
Regards,
JayaHi Gobi,
Thanks for your response, but issue is - how to make other screen fields enable when there was an error in the table control data.
For table control - lets say we will use the code as i mentioned above.i am sure that we cant write the code for field enable in between loop & endloop.
as you said if we right outside the loop-endloop, the module wont be triggered when table control throws an error, because that statement was not there in the loop-endloop.
please let me know if you need any more information on the issue. I hope there is alternative for this in SAP.
Thanks
Jaya -
How to make Mandatory field as Non-empty
Hi All
I need to make a mandatory field as NON EMPTY.
How can i do that.
Please help me on this.
Thanks
SathishWhat have you tried so far?
-
How to update other field values when one field value is updating
I am creating one ADF page.
In one form suppose there are two fields ->
Bank A/C [a combo box or "select one choice"]
Balance [one Input Field]
Now, when I am selecting one value in "select one choice" it will automatically make a query in database and fetch and show the balance in the "Balance" input field.
How can I do that?
Please note that I have done my development by creating entity object>view object.
I have not used any EJB.Hi,
is it ADF Business Components that your use then or POJOs? In either way, you set the select component's autosubmit property to true.
If using ADF BC you can then create a method entry in the set<attributeName> VORowImpl file of the ViewObject that - whenever a new value is set - looksup the dependent value and sets it - call its set<attribute> method within this method.
Define an ID property on the selectOneChoice component and set the same value to the PartialTrigger property of the textfield that you want to update
Frank -
How to remove mandatory field for Last Name in Personal Data Editing Screen
Hello All,
CUrrently we are using BP_ ERP5ESS1.31 SP5 & SAP_ESS 603 SP5.
All my ESS Services are Displaying fine and working from Portal.I am having the requirement like I need to make Last Name as Non-Mandatory field in Personal Data. While Editing the PD Screen, there i will find the * mark for Last Name filed, i checked through the Global Personalization Make as Mandatory is Not Personalized its showing, i think its defualt prpoerty,so i am unable make any changes from Portal w.r.t Global Personalization.
I checked in SPRO-- Personal Admin> Custmomizing User Interfaces>Change Screen Modifications, there i find the respective Module pool for those Infotypes and country Specific..
I cheked forModulePool MP000200--> P0002 and Variable Key-40(For India) P0002 - NACHIN -- LastName only OF Radio Button is Selected all other Rado buttons are not selected.
I Checked in V_T588MFPROPS view there for 0002 Infotype P0002 -- NACHN Mandatory check box is Checked all other check boxes are Unchecked.
How to make that Last Name field as Non-Mandatory in Personal Data Edit Screen, where i need to make the changes.'
Please list out the Steps..Where i need to do the configuration. And i assigned all the required ESS roles on the backend.
Thanks in Advance
AdapagHi,
I don't think supressing through Global Personalization will change the business logic. Within the Business Logic it checks for the mandatory field.
After the changes I guess you need to make the changes accordingly.
The below link might be of some help.
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=profile&title=ESSPersonalInformationUIenhancementwithoutmodification&decorator=printable
Please correct if I am wrong.
Cheers-
Pramod -
How to avoid address validation popup in CRM5.0
Hi,
Since the CRM system is upgraded to 5.0, we are receiving this warning popup when address for a BP is maintained while creating a BP:
Error in address check:
No long text found ***
Accept address?
And the user has to press YES to move ahead everytime. This popup was not appearing in CRM4.0.
Any idea how to get rid of this popup? How to supress this address validation?
Regards,
KaushalNo, I think I might found the solution in note 1014597. I am waiting to see if this does resolve my issue.
Thanks for your help.
Regards,
Kaushal -
How to make mandatory field in f-02 to optional field
hi. SAP Gurus
In t-code f-02 Company code and currency these two fields header data are required fields...Is it possible to make them optional fields in SPRO....If possible then please let me what is the path and T-code????Hi,
Company Code and Currency are mandatory fields for entering any FI posting. If Company Code is left blank in which company code should post the transaction. Similarly, without indicating the currency how will the system know in which currency the transaction is to be posted.
One option is through authorizations, we can restrict to which Company codes an end user can post the transactions.
Thanks
Murali. -
Hi ,
When I try to call :
Socket sok=new Socket (adres,poort);
the thread looks to stop...
How to avoid this ?
Thx for tip etc !Take a look at NIO:
http://www.google.com/search?num=100&hl=en&c2coff=1&q=non-blocking+java+socket -
How to identify mandatory fields while using an idoc
Hi
I am new to Idocs. I want to find out the mandatory fields in the segments that are used in an Idoc.
Please help.
Regards,
LohithaHi Lohitha,
I dont think there is a straight forward/documented way of knowing a mandatory field within a segment, however you can use WE30 or WE60 to identify the mandatory segments in an IDOC.
I guess you will have to use common knowledge of the requirement to know/identify a field that might be mandatory. For Ex: when you are creating an ITEM on a SO, Material is mandatory etc
Regards,
Chen
Maybe you are looking for
-
Pinch to Zoom not working - iOS6
Hi Just upgraded to iOS6 on my 4S and noticed pinch to zoom is not working on any browser Safari/Chrome. Is this a known bug? BTW, upgrade was smoth and hassle free. - Xpert_Warrior
-
Trying to copy photos in folder on desktop to a flash drive but keep getting error that there is not enough free space when there is. I read to delete trash with the flash drive in but that still doesn't work. Help!!
-
Direct material procurement in PDP scenario for classic mode
Dear Gurus, We have configured classic scenario in our SRM 7.01 with backend system ECC 6.0 Enhpk 5. We have PDP scenario for direct material as one of the requirement. The requirement generated in MRP in the ECC backend system will be sent to SRM S
-
Nokia N73 ME issue - wrong behaviour
Hi! I have a Nokia N73 Music Edition and I was a satisfied user but now I'm having problems with it. After a while using the phone (i haven't been able to identify the exact reason) some keys loose their functionality and start doing other things, fo
-
What is the highest bitrate syncable to iPhone 4S?
I was just wondering what the highest bitrate syncable to iPhone 4S was?