Changing some fields based on Attribute Choice
Hi BC community - looking for some help.
One of my clients, requires a cumulative volume discount from 3 products. The only way I could do this in BC was to create one product, and add different flavor choices as an attribute. This works great. Now, I have a small problem. She wants some of the fields to change depending on which attribute drop down is chosen. We need to be able to change a few different things:
- Product Name (would then become the Attribute Name)
- Large Product Image
- And a text field (I am currently using my only available text field of {tag_tags} for this particular content.
Any suggestions? I see there is a choice for the Product Image from this link: Business Catalyst Help | Manage product inventory but I need to change some other text.
Thanks in advance!
Aaron
I was hoping to avoid doing that.
I considered making a wizard style interface to do it with
multiple steps, but when I do that and resubmit the page to itself,
I lose page elements such as my nav bar and head( they ae included
in all pages)
Is there some other way I can handle this?
Similar Messages
-
Changing a field based on another field
hi one and all
i am looking for a way to change a field based on another field. if i have item 2 and item 8 on the page and item 8 needs to be required based on item 2 based on a requirement, how would this be done.
ex if item 2 has a PO inputed, when it is moved off the field, item 8 should be changed from required false to required true. i have tried in both the process request and process form request with no luck
any suggestions.
thankshello again
after your input and after reviewing the tutorial ( which i accomplished based on data from a table but not a field ) , i did the following and have been fighting it for a day. am i doing this correctly
on the itemid OrgRptCode1 i changed the action type to firePartialAction and the event is name o1
then i added this code to see if the action would fire
if (pageContext.getParameter("OrgRptCode1") !=null) // either line will be commented out
if (pageContext.getParameter("o1") !=null) // either line will be commented out
System.out.println("Field is not empty");
else
System.out.println("Field is empty");
am i missing a step . also
when i enter the page i get Field is empty. when i enter the field and tab off i get the error page w/ this msg
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1064)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1294)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2396)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.lang.NullPointerException
at uaboaf.oracle.apps.xxuab.hr.orghierarchy.webui.manageOrgCO.processFormRequest(manageOrgCO.java:289)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:734)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:943)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1546)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:373)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:340)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2392)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerException
at uaboaf.oracle.apps.xxuab.hr.orghierarchy.webui.manageOrgCO.processFormRequest(manageOrgCO.java:289)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:734)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:943)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1546)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:373)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:340)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2392)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534) -
I have change some fields in (Production order component )
I have change some fields in (Production order component overview)
Hi,
do you want to hide or disable the fields or add new fields ??? by the way can you please let us know the transaction that you are referring to ??
Regards,
Santosh -
Determine number in a field based on word-choice in a drop-down menu
I'm trying to insert a number in a field based on a word I've chosen in a drop-down menu.
Example:
I have a drop-down menu named "Fruits". In that menu is "Orange", "Apple" and "Banana".
I have a different field called "Price". If the user selects "Orange" in the "Fruits" drop-down, the value of "Price" is 10. If the user selects "Apple" the value of "Price" is 15. If the user selects "Banana" the value of "Price" is 20.
Been working with this for awhile, and feel like Im very close, but can't get it to work. If someone could help me I'd be grateful.
Thanks,
T.Thanks to both of you. I realize this is more complex than I thought, and that I didn't state my challenge correctly. Let me try again:
I have a number of textual items in a dropdown, let's say "Apples", "Bananas" and "Cherries".
I have an array of form fields, with different properites expressed as a numeric value, say: "Size", "Weight", and "Cost".
Each of the items in the dropdown has a value for each of the fields.
So when I select an item from the drop-down I want to populate the entire array from the values associated with the items in the drop down. Different items will fill the array of values (I actually have 28 properties in the array and about 7 items in the drop-down). The items will always have a value for all the properties in the array, but I want the user to be able to override all entries. So enter custom text in the drop-down, which would provide blank fields in the array, which could also be overwritten by the user.
Hope that makes sense, and I apologize for my earlier attempt at describing this. It's hard enough to do in plain English, there's no way I can make this happen in Javascript, LOL!
Thanks in advance for your patience and help.
T. -
Change text field based on dropdown
Hello,
I'm new to LiveCycle and am having trouble getting a textfield to change when I select different options in a drop-down menu. I used the following script (tried using exit and calculate events also):
Still not working. What am I doing wrong? Do I need to change any properties of the TextField?this.rawValue only holds the old value of the drop down list when you are scripting inside the change event. you need to to have
if ( xfa.event.newText == " BURIED W/ BOX")
TextField7.rawValue = "CONSTRUCTION";
this will be on the change event of the dropdown in javascript -
Export_to_Excel_pkg - How to exclude some fields in the export?
While it does generate an excel spreadsheet, it includes all the columns of my report even though I have conditions on most of them. I allow the user to select the columns he/she wants in the report. So I want the Excel spreadsheet to have the same fields as the report. How can this be accomplished?
<br><br>
I use APEX 3.0.1 not APEX 3.1 and I don't use a report server.
<br>
<br>
Please help!
<br>
Regards,
RobertI was able to create an Excel spreadsheet excluding some fields based on the column's condition. I accomplished this by modifying the Export_to_Excel_pkg package. I added a new procedure and modified an existing one (print_report_header). I bolded the area where I changed or added code.<br><br>
FOR c IN (SELECT column_alias, NVL (heading, column_alias) heading,
format_mask
,condition_type,condition_expression1,condition_expression2
FROM apex_application_page_rpt_cols
WHERE page_id = p_page_id
AND application_id = p_app_id
AND region_id = TO_NUMBER (LTRIM (p_region, 'R'))
-- AND include_in_export = 'Yes'
AND (column_link_text is null or
(column_link_text is not null and
UPPER(column_link_text)=UPPER(column_alias))
) -- and column_is_hidden = 'No'
ORDER BY display_sequence)
LOOP
if upper(c.condition_type) = 'PLSQL_EXPRESSION' then
export_excel_pkg.get_include_in_report(p_page_id
,p_app_id
,p_region
,c.column_alias
,c.condition_expression1
,v_include_in_report);
if v_include_in_report <> 'YES' then
goto next_field;
else
null;
end if;
else
null;
end if;
v_number_of_cols := v_number_of_cols + 1;
v_column_header_list :=
v_column_header_list || ';' || REPLACE (c.heading, ';', ' ');
v_column_alias_list := v_column_alias_list || ';' || c.column_alias;
-- apply column formatting
IF c.format_mask IS NOT NULL
THEN
v_column_select_list :=
v_column_select_list
|| ',to_char('
|| c.column_alias
|| ','''
|| c.format_mask
|| ''') '
|| c.column_alias;
ELSE
v_column_select_list :=
v_column_select_list || ',' || c.column_alias;
END IF;
<<next_field>>
null; END LOOP;
The new procedure:<br>
PROCEDURE get_include_in_report (
p_page_id IN number,
p_app_id IN number,
p_region IN VARCHAR2,
p_column_alias IN VARCHAR2,
p_condition_expression1 IN VARCHAR2,
p_include_in_report OUT VARCHAR2)
AS
v_condition varchar2(20) := 'PLSQL_EXPRESSION';
v_query varchar2(32767);
v_include varchar2(3) := 'NO';
v_cur_hdl INT;
v_rows_processed INT;
begin
v_query :=
'SELECT ''YES'' '
|| 'FROM apex_application_page_rpt_cols '
|| 'WHERE page_id = :g_page_id '
|| 'AND application_id = :g_app_id '
|| 'AND region_id = TO_NUMBER (LTRIM (:g_region, ''R'')) '
|| 'AND condition_type = :g_condition '
|| 'AND column_alias = :g_alias '
|| 'AND ' || p_condition_expression1 ;
-- open cursor
v_cur_hdl := DBMS_SQL.OPEN_CURSOR;
-- parse the query
DBMS_SQL.PARSE(v_cur_hdl,v_query,DBMS_SQL.NATIVE);
-- Supply binds (bind by name)
DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_page_id',p_page_id);
DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_app_id', p_app_id);
DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_region', p_region);
DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_condition',v_condition);
DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_alias',p_column_alias);
-- Describe defines
DBMS_SQL.DEFINE_COLUMN(v_cur_hdl, 1, v_include, 3);
-- Execute
v_rows_processed := DBMS_SQL.EXECUTE(v_cur_hdl);
-- Fetch a row
IF DBMS_SQL.FETCH_ROWS(v_cur_hdl) > 0 THEN
-- Fetch columns from the row
DBMS_SQL.COLUMN_VALUE(v_cur_hdl, 1, v_include);
-- Process
ELSE
null;
END IF;
DBMS_SQL.CLOSE_CURSOR(v_cur_hdl); -- close cursor
p_include_in_report := v_include;
end;
<br>
<br>
I hope this helps others as well.
<br>
<br>
Regards,<br>
Robert -
PM Notification - Hide fields based on other field's value
Hello experts,
I am looking for an user exit which allows me to hide some fields based on other field's value.
For example, I have field 1 and field 2. When I open my notification, if the value of field 2 is 'aaa', field 1 has to be hidden.
There should be an user exit but I can't find it...
Thanks for your help!Hi everyone,
Any thoughts? any help is appreciated...
Thanks -
How to change the fields in a JSF form based on a URL parameter
I am trying to build a generic JSF form of parameters which I want to dynamically change (i.e.
change which field is visible, what the label text should be, etc) based on a URL parameter.
I can set the fields using logic in the backing bean as an action on a command button pressed.
But how do I do it based on the URL parameter ? I can retrieve the URL parameter but I
don't know where to put (or hook) the Java code to do this initialization prior to
the page being rendered for the first time.
The fields in the JSF is being configured dynamically using a database table.
BTW I am using Jdeveloper 10.1.3.5
Thanks
CKThanks. I decided to set a Session bean to store the value of the URL parameter (if it is set)
and then to use the session bean to initialize the attributes of the fields on the JSF Page.
There also seems to be some caching of the inputText fields (i.e. it reverts back to the first
initialized value) even though I tried to change it using the URL parameter in the requestScope
backing bean. So, setting the values into the Session bean and retrieving it back from there
seems to be more reliable. -
Background job on change of some field!!
HI
i have to trigger a background job on change of some field value (status field chages it's values from w to U).
so how to go about the same..
how to call a background job once some fields changes!!
regards
Gunjan1. You can use JOB FM's to invoke the job.
2. You can call the FM ( Background execution program ) in background.
CALL FUNTION .... IN BACKGROUND.
Regds
Manohar -
Change the field attribute of a field in data source - 0CRM_SALES_ACT_1
Hi ,
I have a data source named 0CRM_SALES_ACT_1 in CRM system.
The fields PLANNED_TS_FROM and PLANNED_TS_TO are hidden fields i.e. the field attribute is 'A' - Field in OLTP and BW Hidden by SAP.
Following are my doubts:
1. Whether the values of these fields will be extracted into BW or it will not be?
2. How do I change the fields attribute value of these fields(its standard data source)?
3. Is there any SAP note to do this ?
4. If the above doesn't exisits, then should I go for a append structure to the standard data source?
Please help me.
Regards,
Ahmed.Hi,
U can unhide ur fields in RSA6 and then replicate the datasource in BW. These fileds will come in BW.
You cant change the attribute value for STD DSO.
No SAP note for the same.
You can append the datasource with the new fields with the attribute you want and hide the std. fields then goto BW and replicate it. You can then map it with the BW fields as you want.
*Assign points if helpful. -
Populate a field based on a drop down or multiple choice
Would it be possible to add a feature that allows users to populate a field based on the value of another field?
I'm trying to setup a form where a technician selects their name from a drop down list, and then have the form populate their e-mail address based on their name. I would prefer to avoid forcing them to type in their e-mail address every single time so that they can get a copy of their form responses when they submit a form.
Thanks!Hi,
Thank you for your feedback. You can vote fo the calculations feature using this form:
https://adobeformscentral.com/?f=XnF-KJVCovcEVQz9tZHYPQ
Regards,
Brian -
Change value of another field based on the value of selectOneRadio
Hello
I need to display one of two city fields based on the value of a radio group. If the value of the radio group is "Yes", then display the non mandatory city field, if the value is "No", then display mandatory city field. Please can someone help me? The code is below
<af:subform id="contactForm3" default="true">
<af:panelForm binding="#{processScope.backing_regDetails.contactPanel3}">
<af:selectOneRadio binding="#{processScope.backing_regDetails.radio1}"
labelAndAccessKey="#{MatrixResource['ContactDetails.inBoroughQuestion']}"
layout="horizontal"
valuePassThru="true"
required="true"
onchange="javascript.refresh;" >
<f:selectItems value="#{processScope.backing_regDetails.items}" />
</af:selectOneRadio>
<af:inputText onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value='0';"
labelAndAccessKey="#{MatrixCommon['Label.SAO']}"
binding="#{processScope.backing_regDetails.houseNameText}"
maximumLength="240"/>
<af:inputText required="true"
onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value=0;"
maximumLength="240"
label="#{MatrixCommon['Label.PAO']}"
binding="#{processScope.backing_regDetails.numberStreetText}"/>
<af:inputText onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value='0';"
maximumLength="240"
labelAndAccessKey="#{MatrixCommon['Label.District']}"
binding="#{processScope.backing_regDetails.districtText}"/>
<af:inputText maximumLength="60"
rendered="#{!backing_regDetails.radio1}"
onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value='0';"
labelAndAccessKey="#{MatrixCommon['Label.TownCity']}"
required="true"
binding="#{processScope.backing_regDetails.cityText}"/>
<af:inputText maximumLength="60"
rendered="#{backing_regDetails.radio1}"
onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value='0';"
labelAndAccessKey="#{MatrixCommon['Label.TownCity']}"
required="false"
binding="#{processScope.backing_regDetails.cityText}"/>
<af:inputText maximumLength="60"
onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value='0';"
labelAndAccessKey="#{MatrixCommon['Label.County']}"
binding="#{processScope.backing_regDetails.countyText}"/>
<af:inputText columns="7"
onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value=0;"
labelAndAccessKey="#{MatrixCommon['Label.Postcode']}"
binding="#{processScope.backing_regDetails.postcodeText}"/>
<af:selectOneChoice onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value=0;"
binding="#{processScope.backing_regDetails.countrySelect}"
value="#{processScope.backing_regDetails.enteredAddress.countryId}"
labelAndAccessKey="#{MatrixCommon['Label.Country']}">
<f:selectItems value="#{backing_regComponents.countryChoiceList}"/>
</af:selectOneChoice>
<af:inputHidden value="#{processScope.backing_regDetails.enteredAddress.locationId}"
binding="#{processScope.backing_regDetails.locationIdHidden}"
id="locationId"/>
</af:panelForm>
</af:subform>Edited by: aademola on Nov 13, 2008 7:35 AM
Edited by: aademola on Nov 13, 2008 7:42 AMHi,
you should be able to apply this example to your 10.1.3 project
see 4.3.2 of http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_lifecycle.htm#CIAHCFJF
Frank -
Change order type based on sold to party
Hi all,
Is there any user exit to change the order type based on Sold to party.
Eg: if any user select some sold to party during sales order creation then using sold to party the order type is changed.
Any suggestions welcome.
Regards,Hi Navadeep,
Please try with these
The program MV45AFZB
USEREXIT_CHECK_VBAK
This user exit can be used to carry out additional checks (e.g. for
completion) in the document header. The system could, for example,
check whether certain shipping conditions are allowed for a
particular customer group.
The program MV45AFZZ
USEREXIT_FIELD_MODIFICATION
This user exit can be used to modify the attributes of the screen
fields.
To do this, the screen fields are allocated to so-called
modification groups 1 - 4 and can be edited together during a
modification in ABAP. If a field has no field name, it cannot be
allocated to a group.
The usage of the field groups (modification group 1-4) is as
follows:
- Modification group 1: Automatic modification with transaction
MFAW
- Modification group 2: It contains 'LOO' for step loop fields
- Modification group 3: For modifications which depend on check
tables or on other fixed information
- Modification group 4: is not used
The FORM routine is called up for every field of a screen. If you require changes to be made, you must make them in this user exit.
This FORM routine is called up by the module FELDAUSWAHL.
See the Screen Painter manual for further information on structuring
the interface.
USEREXIT_SAVE_DOCUMENT
Use this user exit to fill user-specific statistics update tables.
The user exit is called up by the FORM routine BELEG-SICHERN before
the COMMIT command.
Note
If a standard field is changed, the field r185d-dataloss is set to
X. The system queries this indicator at the beginning of the safety
routine. This is why this indicator must also be set during the
maintenance of user-specific tables that are also to be saved.
USEREXIT_SAVE_DOCUMENT_PREPARE
Use this user exit to make certain changes or checks immediately
before saving a document. It is the last possibility for changing or
checking a document before posting.
The user exit is carried out at the beginning of the FORM routine
BELEG_SICHERN.
I hope it will help you,
Regards,
Murali. -
How to display F4 values in one field based on other field selection
Hi All,
How to hide a UI element (i.e Link to action) highlited for Normal User and display the same to super user.
Component Name : /SAPSRM/WDC_DODC_SC_GAF_C
2.Can i know how to display the entries in supplier field based on Product category selection.
Right now all the entries are getting displayed in the supplier field.
I want to display only entries based on Product category.
Search Help Name : BBP_BUPA_CLL_PARTNER
Component Name : /SAPSRM/WDC_DODC_SC_I_LIM
How to enhance the web dynpro component with the filtered values.
Regards,
Krish.Hi Ashvin,
Thanks for the document. In the search help there is a standard FM which is getting executed.
Can i enhance that FM or should i copy and edit.
BBP_F4IF_SHLP_EXIT_CLL_PARTNER
If i creata a Z FM and make changes how to pass that values to my standard Component View UI Element.
If not then suggest me some alternative.
Regards,
Krish -
Runtime change of field text in module pool
Hi All,
I have a requirement where I have 2 fields in module pool. Based on input of first field the text of second field is decided. i.e. we have to change the text of second field based on value of first screen.
How to handle this.
Edited by: Suchender Dagar on Nov 24, 2010 5:38 AMHi,
Define a variable w_field(20) type c.
Put a input/output field in the second screen ( with the name w_field ) where you want the text and change the attribute of that field by removing the tick input checkbox and then selecting the 2D attribute of tat field, this will make the field as text field.
Then in PBO of the screen screen write the code based on the First field fill the text in the seconf field.
Regards,
Madhukar Shetty
Maybe you are looking for
-
What is the difference between wi-fi and wi-fi cellular in purchasing an i-pad?
I am confused about the difference, and want to make a purchase, but don't know if I actually need the cellular or 3G, or what they would be for on an i-pad. Thanks.
-
Hp Pavilion dv6725us s/n CNF751066W p/n KC301UA#ABA I am running Windows Vista 32 bit The following devices DO NOT show up on Device Manager: · DVD/CD Rewritable DriveAD-7561A · HP Webcam Also the following devices ARE listed on the D
-
Need to reinstall OS on late 2009 27" iMac but I can't locate OS DVD
Hello, I need to reinstall OS on late 2009 27" iMac but I can't locate OS DVD. The original HDD is toast and I'm going to replace it myself. I simply need to know how I go about working with Apple so they can mail me a copy of the original install DV
-
Im stuck on "Updating Photo Library" why
I install the App two weeks ago. I tried to install and reinstall and restart phone etc etc. It is always stuck on "Updating Photo Library" The App has never opened?? can I get a refund? Steve
-
i've been having my ipod for 3 months and it has always worked well, but for the past 3 days, i have been trying to go on my music, internet, youtube, and the app store, but everytimei go into it, it goes for a second and then it just flashes out. i