Change required input fields in XD01
Hello everyone,
I am doing development to Enhance transaction XD01. I have one additional button which execute popup window. This window retrieve some data from external system. What I am going to do, is override required (for instance Address) data in program SAPLSZA1 on the screen 301 using data from popup window. I'd achieve this before save Customer data. Any idea how to overcome it?
BR
Mateusz
Hi
U can try to use the BADI CUSTOMER_ADD_DATA and/or CUSTOMER_ADD_DATA_CS: these BADIs open new TAB where you can try to manage your issue, else I believe you need to change the std one, but it's dangerous because SAPLSZA1 is central program where all addresses are managed
Max
Similar Messages
-
How can we change the input field on a view stop showing zeros
Hello,
To make screen look consistent with other character input field. How can we change the input field on the view stop displaying zeros even though the data type is NUMC and data type should not be change?
Edited by: sap_learner on Mar 25, 2010 5:44 PM
Edited by: sap_learner on Mar 25, 2010 5:49 PM
Edited by: sap_learner on Mar 25, 2010 5:55 PMhello Manas Dua,
Thanks for your help. I am able to resolve my problem.
My code will help the future comers to resolve this kind of issues.
*The code is applied to method WDDOINIT of the default view.
DATA lo_nd_terms_input TYPE REF TO if_wd_context_node.
DATA lo_nd_terms_input_i TYPE REF TO if_wd_context_node_info.
DATA lv_zeros TYPE wdy_attribute_format_prop.
lv_zeros-null_as_blank = 'X'.
lo_nd_terms_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
lo_nd_terms_input_i = lo_nd_terms_input->get_node_info( ).
lo_nd_terms_input_i->set_attribute_format_props(
EXPORTING
name = `ENTER THE ATTRIBUTE NAME`
format_properties = lv_zeros ).
Edited by: sap_learner on Mar 26, 2010 5:02 PM -
Custom Exit Button not working..looks for required input field on screen?
I defined this EXIT button as type E in Menu Painter.
I am using "MODULE At EXIT-COMMAND" in my PAI.
SAP message still asks for the required input field when I select the function EXIT button?
The logic still will not break into the At EXIT-COMMAND of my PAI?
Thank-You.Hi
Have you assigned variable OK_CODE in the list of screen element?
IF NOT zin_railid is initial.
LEAVE TO SCREEN 0100.
ENDIF.
Which is the sense to create a button for exit-command and doesn't allow the exit if the input field is empty?
In SE41 I entered "Back" over the back button, "EXIT" over the exit button, and "CANCEL" over the cancel button.
I selected each one, and got a popup to enter "E" for each type. As I said they appear, but do nothing?
Did I need to set a status for these?
No you don't, it's only important to define a functional having the attribute for EXIT-COMMAND
Max
Max
Edited by: max bianchi on Nov 5, 2010 6:31 PM -
Change Require For Field Description
Guru
Our Clint requires the change Require For Field Description how to do it
pl guide me
Thanks
Sudhiruse set data source location and update the conection
regards,
Raghavendra -
Changing an input field's appearance to Optional in an ESS WD Java scenario
This thread is posted to help customers with a common user based issue with ESS
SAP may deliver some fields in ESS iviews as mandatory however you may not want some fields to be mandatory and may want the iview display to guide the user appropriately
Often delivered mandatory fields have an Asterisk denoting this field as a mandatory
requirement for data entry in the ESS scenario
The purpose of this post is to show how the Asterisk can be removed and therefore indicate to the user that an entry is not required
There may be 2 ways to do this
1) As of a SP9 in ERP 6.0 press Ctrl and Right mouse button on the field in the PCD preview of the iview you wish to modify. In the Personalization options there is a "Mark as Mandatory" option please select "Not Personalized" and save then review the iview to see if the asterisk is removed
2) If this does not have the desired effect or you have a lower SAP version or SP level you will need NWDI to make the change. You will require knowledge of NWDI to make the change -->
Open the required scenario in NWDS
Position cursor on Required field and right click and select u2018Propertiesu2019
Go to the u2018Propertiesu2019 tab
Change property field u2018Stateu2019 from u2018Requiredu2019 to u2018Normalu2019
Save the changes
As this field now appears as optional to the user you also have to ensure the
ECC business logic does not reject a user who does not populate the field with data - therefore you will need mark the field as optional in
V_T588M
V_T588MFPROPS
These changes also affect entry of data into this field in PA30 - HR Administrators or users with R3 access will therefore have the same user experience (i.e field is not mandatory)
If you have issues maintaining V_T588MFPROPS appropriately you can insert an overide into V_T588MFPROPC
If you find the ESS scenario still requests an entry in the field it could be that this field is an essential
or core part of this particular ESS scenario and therefore the model expects data to be populated in this field or it could also be that previous or subsequent fields are dependant on an entry in that field - In this case you may need to make a coding change to the model and/or change the business logic of dependant fields as well.
Edited by: Stuart Campbell on May 8, 2009 1:07 PMThank you stuart.
-
Webdynpro Development: On change of input field Event
hi,
Is there any event in Web Dynpro(Java), that chaught the event of change in an input field? ie, if I change the value of a perticular field, it will caught that event and populate another field accordingly.
Thanks,
AngshumanHI
Use OnEnter property of the Input Field. Write the Event name you wanted to occur.
As the user will enter into the field & press enter, the particular field, you wish to, will be filled automatically.
Regards
Chander Kararia -
How to change the input field's color in SE51
Hi:
I need to change the color of input fields in module pool.
I tried to modify its screen-color but it did not work.
Need your suggestion.
Regards
Shashihi,
Check this similar thread
Regarding the input field color
thanks -
How to set a value on a hidden required input field.
I have a form that I need to set a value that is stored within the session onto it. I would like the input field to be hidden when a new row is created and just set the value with a value that I have stored with sessionScope.
Is this possible?
Any help would be appreciated.Frank,
I sure can access the session attribute. I just wasn't sure how to set it. Here is a snippet of my jsp
<af:inputText value="#{bindings.Createdby.inputValue}"
binding="#{backing_Project.inputText3}"
id="inputText3">
If I set the value="" attribute to be say value="#{sessionScope.userInfo.userId}" then how does ADF know to update the CreatedBy column? This is where I got confused. I figured the value="#{bindings.Createdby.inputValue}" had to stay that way in order for the column to be updated correctly.
Basically what I am wanting is to programatically set the userId of the person who is creating the row into the CreatedBy column and then show the user's readonly name when a user edits an existing row.
Any help would be greatly appeciated.
Marty -
Required Input fields in ADF form asterix alignment
Hi All,
I have a login form with two fields username and password which are both mandatory
I want to display it like this
Username * | |
Password * | |
when I choose required in the Property window it shows up like this
* Username | |
* Password | |
How do I bring it the asterix to the right of the label. I don't want to change the label value from 'Username' to 'Username *' as a workaround. Also the asterix needs to be red.
Please suggest
ThanksI don't know of a way to easily (and cleanly) achieve this. Creating a custom component may be one option.
An alternative is to use a panelLabelAndMessage component (see below). Note that the asterisk is in actuality to the left of the inputText, rather than to the right of the label.
<af:panelLabelAndMessage label="Username" id="plam1">
<af:inputText id="it2" required="true"/>
</af:panelLabelAndMessage> -
Cfinput required="yes" message="required input field"
Does anyone have any idea why cfinput tags aren't working?
What are the possible reasons? I would go through the javascript,
however I really want to know wny from the coldfusion end it they
aren't working. Thanks.this is a small snippet. Alot of conditional statement.....
<cfform method="post"
action="control.cfm?p=surveyloop&questionid=#session.questionidindex#&questiontype=#sessi on.questiontype#">
<cfif session.questiontype eq "input"><br
/><br />
<div align="center"><span
class="style1">Q:<cfoutput>
#session.question#</cfoutput></span><strong>.</strong><br
/>
<br />
<br />
<cfinput type="text" required="yes"
name="questionresponse" message="Your answer is required.">
<br /><br />
</div>
</cfif>
Thanks for looking over. -
Selectively required input field
Using JDEVADF_11.1.1.6.0
Is it possible to denote some fields on the panel form to be selectively required (marked with **)?
ThanksNothing out of the box, but you can use EL and use it on the showRequired property and the label shown on the inputText.
Timo -
Skinning Challenge for required Input Fields
Hi to all ADF skinning friends!
I am currently using ADF 11.1.1.5
By default the "required indicator" (actually the * character) is rendered in front of the prompt. e.g.
*Credit Card: ______________
Does anyone know if it is possible to skin the "required indicator" at the end of the label?
Credit Card*: ______________
Thx.Hi Navaneetha,
yes I was playining around with the .AFRequiredIconStyle selector but did not get the desired result. The float:right is probably the most you can do. thx for pointing out.
To summarize With float:right on AFRequiredIconStyle it looks like
Name: * ______________
Credit Card: * ______________The ADF default is
*Name: ______________
*Credit Card: ______________What the customer wants ;)
Name*: ______________
Credit Card*: ______________Thx,
Andreas.
Edited by: Andreas Koop on Apr 5, 2012 9:03 AM -
How to save changed data from a input field to the source structure
Hi,
I have a small problem with the onChange event with HTML input fields.
When changing a value of a input field or by creating a new value for a field the OnChange event is called by moving away the mouse pointer....
get_form_field( 'field_name' ).
But is it possible to write back the new value in the source field ls_screenstructure_field1 without using the OnInputProcessing?
I ask because my application´s structures have a lot of fields that should be filled and changed by input fields.
It´s not comfortable to request every new value with .. = request->get_form_field(... .
Thanks for helping.
Cheers,
Andréyou wanted a onchange for a htmlb:inputfield which would also trigger server event. try the following code.
<htmlb:inputField id = "test"
alignment = "LEFT"
size = "6"
required = "TRUE"
doValidate = "TRUE"
type = "INTEGER"
/>
<bsp:htmlbEvent id="myid" onClick="myonclick" name="ValueChanged" />
<script for="test" event=onchange type="text/javascript">
alert(this.value);
ValueChanged();
</SCRIPT>
if the value in the inputfield is changed it would trigger a alert at the client side and also trigger a server event. now you can caputre the value in oninputprocessing.
Hope this helps.
do let us know if you need help in how to capture this value in oninputprocessing.
Regards
Raja -
Accessing input field from the JSP in dynpage
HI all,
I am trying to access the input field of the jsp page in my JSPDynpage but it is always return null.My Input is a normal HTML element not a HTMLB element
JSP File :
<hbj:content id="myContext" >
<hbj:page title="PageTitle">
<hbj:form id="myFormId" >
<div class="content">
<table cellpadding="2" cellspacing="2">
<tr>
<td>
<label for="name"><strong>UserName:</strong></label><span id="info_name">(This field is required)</span><br />
<input name="name" id="name" size="10" maxlength="10" type="text" />
</td>
</tr>
<tr>
<td>
<label for="email"><strong>EmailID:</strong></label><span id="info_email">(This field is required)</span><br />
<input name="email" id="email" size="20" maxlength="20" type="text" /></td>
</tr>\
</Table>
JSPDynpage:
InputField myInputField = (InputField) getComponentByName("name");
if (myInputField != null) {
name = myInputField.getValueAsDataType().toString();
InputField myInputField1 = (InputField) getComponentByName("email");
if (myInputField1 != null) {
name = myInputField1.getValueAsDataType().toString();
In both the cases myInputField and myInputField1 are null . My Question is what should be the parameter that i need to pass for getComponentByName method.
Regards,
Raj.hi,
The way you are trying to get the input field value works good with hbj type elements.
either you change your input field to an hbj one or use java script inside your jsp page to catch the value
like
for HTML:
[HTML Input Field|http://www.w3schools.com/HTMLDOM/met_doc_getelementbyid.asp]
and for HTMLB
refer this link:
[SAP HTMLB GuideLines|http://www.sapdesignguild.org/resources/htmlb_guidance/index.html]
Regards,
Srinu -
Interactive form that auto selects input fields based on initial selection
i want to create a form that based on initial selections, automatically highlights "required" input fields.
i.e. if i create an item on the form called "promotion", when this item is "checked", all the fields that are required will automatically light up, and the person completing the form cannot exit, save, and submit the form until all related fields are filled in.
is this possible using adobe products? i have cs5 (with dreamweaver, indesign, etc.)
can anyone point me toward any documentation that will show me how to do this?This forum is for Adobe FormsCentral (formscentral.adobe.com) which is a service that allows you to create, collect and analyze data using an online web form. You should ask general HTML form related questions in the Dreamweaver forums:http://forums.adobe.com/community/dreamweaver/dreamweaver_general
I'll move your post to that forum so you don't need to retype it. They can help you out...
Randy
Maybe you are looking for
-
Moving a project from one mac to another & fonts
iMovie is so easy to use but I have struck two snags... I'm working on a video on my iMac but want to also be able to work on it on my iBook. Is this possible and if so, what files do I have to move around? Also, I've installed a font (through font b
-
Hello All, I have some doubt the we have the repetitive manufacturing scenario i want to clarify that when i have to do the periodic settlement , after FI closing or before FI closing because i have to do the rvaluation with actual price of all activ
-
Unable to digitally sign or encrypt messages in Mail
I recently switched from a PC to a Mac and I have been unable to digitally sign or encrypt any of my e-mails. I'm currently running version 3.3 (926.1/926) for Mail and I made sure that my .cer security certificate is located in Keychain Access as we
-
Hi friends, Have run into to trouble trying to create a dynamic structure as follows "Material Land Nov.09 Dez.09 Jan.10 Feb.10 Mar.10 TotalCount" The dates are created dynamically with regard to the time period entered in the select options. The fir
-
Hi, I am creating tables dynamically using JSTL. My problem is, the HTML that comes out has lots of blank space. This may sound insignificant but it makes it very hard to see what's going on when I view the source of a page. JSP: <c:forEach item