ME51N Userexits/BADI --- Pop values(only display 3) based on PR Doc type
Hi,
This functionality nees to incorporate in ME51N.
We have Purchase requisition document type "PRD X".[There are other 3 document types also].
If we select document type "PRD X" while creating PR, In Item table [in ME51N] control we have a column called "Asset Assignment Category". Here I need olny 3 popup values if I go for F4 [to select any one from list of values].
That mesans :-
1> I should able to see only 3 popup values for "Asset Assignment Category" column when I press F4, if I select purchase requisition document type "PRD X".
2> I should able to see all 18 popup values for "Asset Assignment Category" column when I press F4, If select purchase rezuisition document type other than "PRD X".
So For the above requirement what is suitable user exit / BADI Or how can we achive? Does it possible with configuration?
Please reply ASAP.
Thanks in advance.
Gupta.
hi Alan,
1)Drag your Pricing Cond and Billing Doc in Rows.
2) In columns
2.1 Right click-> New Structure->Right Click-> New Selection. Names as "KF1".
now Drag your Kiy figure Amount, Pricing Cond and Bill doc.
Now Double click on Pricing Cond -> Drag 'ABC' in rite panel. press ok.
Now Double click on Billing Doc and Drag '1','2','3' in right panel. Now right click on '1'->choose exculde from selection.similarly for '2' and '3'.
2.2) Again Right click the New structure and create a New selection "KF2"
Now Drag your Kiy figure Amount, Pricing Cond and Bill doc.
Now double click on Prciing Cond and drag value 'ABC' in right panel and exculde from selection.press ok.
3) Again Right click the New structure and create a New Formula "AMount". Double that "KF1" (see bottom in panel)
then press "+" sign and again double click on "KF2".
Basically adding "KF1" and "KF2".
4) Right click on "Kf1"-> hide it.Same for "KF2".
5)save ->execute.
Hope i m clear.
Regards,
San!
Similar Messages
-
Positive Value only Display or Edit Pattern
Hello, could someone please explain how I can prevent a negative result in a calculation field? i.e., a result less than zero. In other words, how can I ensure that users only enter positive values in a numeric field, and that the subsequent simple "subtract" calculation will also remain positive?
HarryTHANKS NASSIA, this works for disallowing negatives by force, however it gives me script failed alert.
Would you know how to suppress "Script Failed" alerts, such as this:
Script failed (language is formcalc; context is
xfa[0].form[0].form1[0].SF_CalculationTable[0].acview[1])
script=(ac[1] / tr[1]) * 100
Error: arithmetic over/underflow.
. (+ 25 more...)
These seem to be only happening because the field is not yet populated, (except with zeros). How do I suppress this error, because the form works fine. -
How to display field value only once in REUSE_ALV_GRID_DISPLAY
hi experts,
i am using REUSE_ALV_GRID_DISPLAY, for alv outpur display.but i want one of the field in output ,not to display the value which is of same, it have to be displayed only once, I mean i have a number which contains multiple line items corresponding, here i want to display the field value only once when it is repeating , for the same header number, how can i achieve itHi,
check the sample code,
REPORT Z_ALV.
Database table declaration
TABLES:
sflight.
Typepool declaration
TYPE-POOLS:
slis.
Selection screen elements
SELECTION-SCREEN BEGIN OF BLOCK blk_1 WITH FRAME TITLE text-000.
SELECT-OPTIONS:
s_carrid FOR sflight-carrid.
SELECTION-SCREEN END OF BLOCK blk_1.
Field string to hold sflight data
DATA:
BEGIN OF fs_sflight ,
carrid TYPE sflight-carrid, " Carrier Id
connid TYPE sflight-connid, " Connection No
fldate TYPE sflight-fldate, " Flight date
seatsmax TYPE sflight-seatsmax, " Maximum seats
seatsocc TYPE sflight-seatsocc, " Occupied seats
END OF fs_sflight.
Internal table to hold sflight data
DATA:
t_sflight LIKE
STANDARD TABLE
OF fs_sflight .
Work variables
DATA:
t_fieldcat TYPE slis_t_fieldcat_alv,
fs_fieldcat LIKE
LINE OF t_fieldcat.
*START-OF-SELECTION
START-OF-SELECTION.
PERFORM get_data_sflight. " Getting data for display
PERFORM create_field_cat. " Create field catalog
PERFORM alv_display.
*& Form create_field_cat
Subroutine to create field catalog
There is no interface paramete
FORM create_field_cat .
PERFORM fill_fieldcat USING 'Carrier Id' 'CARRID' '2'.
PERFORM fill_fieldcat USING 'Connection No' 'CONNID' '1'.
PERFORM fill_fieldcat USING 'Flight Date' 'FLDATE' '3'.
PERFORM fill_fieldcat USING 'Maxm.Seats' 'SEATSMAX' '4'.
PERFORM fill_fieldcat USING 'Seats Occ' 'SEATSOCC' '5'.
ENDFORM. "create_field_cat
*& Form fill_fieldcat
Subroutine to fill data to field column
-->p_seltext Column label
-->p_fieldname Fieldname of database table
-->p_col_pos Column position
FORM fill_fieldcat USING
p_seltext LIKE fs_fieldcat-seltext_m
p_fieldname LIKE fs_fieldcat-fieldname
p_col_pos LIKE fs_fieldcat-col_pos.
fs_fieldcat-seltext_m = p_seltext.
fs_fieldcat-fieldname = p_fieldname.
fs_fieldcat-col_pos = p_col_pos.
APPEND fs_fieldcat TO t_fieldcat.
CLEAR fs_fieldcat.
ENDFORM. " fill_fieldcat
*& Form get_data_sflight
Subroutine to fetch data from database table
There is no interface parameter
FORM get_data_sflight .
SELECT carrid
connid
fldate
seatsmax
seatsocc
FROM sflight
INTO TABLE t_sflight
WHERE carrid IN s_carrid.
ENDFORM. " get_data_sflight
*& Form alv_display
Subroutine for ALV display
There is no interface parameter
FORM alv_display .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = t_fieldcat
TABLES
t_outtab = t_sflight
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " alv_display
End of code -
[ASK] popup return value only able to be displayed in disabled inputtext
Hi,
I'm using Jdev 10.1.3.
I have an inputtext and a commandbutton that triggers its value by selecting it from a popup window.
The problem is the inputtext will be able to display the returned value only when its "disabled" attribute
set to true. I need this inputtext to be enabled. Am i doing something wrong?
This is what I'm doing:
<af:panelGroup layout="horizontal">
<af:inputText value="#{processScope.glCode}" binding="#{productBean.glCodeInputText}" disabled="true"
id="glCodeValue" partialTriggers="dialogPopUpGlCode"
required="true" requiredMessageDetail="Select a GL Code for this Product"/>
<af:commandButton text="..." shortDesc="GL Code List" action="dialog:glCodePopUp" id="dialogPopUpGlCode"
partialSubmit="true" useWindow="true" immediate="true" windowHeight="300" windowWidth="300"
returnListener="#{productBean.onReturnFromSelectGlCodeDialog}">
</af:commandButton>
</af:panelGroup>Backing bean:
public String onReturnFromSelectGlCodeDialog(ReturnEvent returnEvent){
returnGlCodeId = returnEvent.getReturnValue().toString();
if (returnGlCodeId != null) {
PolicyMaintenanceModuleImpl policyMaintenanceModuleImpl = null;
try {
policyMaintenanceModuleImpl = getPolicyMaintenanceModuleImpl();
Product_ParamGlCodeViewImpl paramGlCodeVo = (Product_ParamGlCodeViewImpl)policyMaintenanceModuleImpl.getProduct_ParamGlCodeView();
paramGlCodeVo.setWhereClause("PARAM_GL_CODE_ID = '"+returnGlCodeId+"'");
paramGlCodeVo.executeQuery();
while (paramGlCodeVo.hasNext()) {
Product_ParamGlCodeViewRowImpl row = (Product_ParamGlCodeViewRowImpl)paramGlCodeVo.next();
returnGlCode = row.getGlCode().toString();
finally {
releaseAM(policyMaintenanceModuleImpl);
((AttributeBinding)getBindings().getControlBinding("GlCode")).setInputValue(returnGlCode);
JSFUtil.setProcessObj("glCode",returnGlCode);
return null;
}Please help..T_T
Thanks a lot..Thanks Shay, I've followed your suggestion but with no luck..
<af:selectInputText required="true" columns="#{bindings.GlCode.displayWidth}"
windowHeight="300" windowWidth="300" simple="true"
action="dialog:glCodePopUp" value=""
binding="#{productBean.selInputTextGlCode}"
returnListener="#{productBean.handleGlCodeReturn}"/>What do I should put in the "value" attribute? I've tried #{bindings.GlCode.inputValue} but if I do that then the selectinputtext will displayed in zero length (just a small vertical grey line) and with no such that green flash light image on the right. Because the main page is an add new form, so for the first time all the input is blank.
This is the handling method in the add-new-page back bean:
public void handleGlCodeReturn(ReturnEvent returnEvent) {
GlCodePopUpBean glCodeBean = (GlCodePopUpBean)returnEvent.getReturnValue();
if(glCodeBean == null)return;
//setter lines
String glCodeId = glCodeBean.getGlCodeId();
String glCode = glCodeBean.getGlCode();
getSelInputTextGlCode().setValue(glCode);
getSelInputTextGlCode().setSubmittedValue(null);
((AttributeBinding)getBindings().getControlBinding("ParamGlCodeId")).setInputValue(glCodeId);
AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
afContext.addPartialTarget(getSelInputTextGlCode());
}I've printed out glCodeId, glCode and getSelInputTextGlCode().getValue() after the setter lines, and all of them printed the right value, but it just not displayed in the inputtext!
I've also tried using processScope - #{processScope.glCode} - and it also failed in displaying the value in the inputtext.
I wonder what's wrong? -
Null values not displaying in the LOV on the parameter form.
My report works perfect while in Oracle Reports 10g, however when I move it to our menu (Oracle Forms 10g) it does not display the null in the LOV on the parameter form.
This report allows the the user to select by inspector or district or everyone for certain dates.
Ex: I have 4 parameter fields. The user must enter the start & end dates and either the Inspector or the district or leave the inspector or district null to run for everyone.
The district LOV is :
select dnr_section_code, description from dnr_section_code where dnr_section_code in ('29', '38','52')
UNION
select null, 'All' from dual
order by 2 asc ;
The inspector LOV is:
select null , 'All' from dual
UNION
select person_seq, first_name||' '||last_name inspector from vw_eng_inspectors
order by 2 asc
In my Data Model query I use the :
My select
from tables
where clause
+
----by inspector
and (prod_fac_inspections.person_seq_inspector =
nvl(:inspector,prod_fac_inspections.person_seq_inspector))
---by district
and
(d.dnr_section_code = nvl(:district,d.dnr_section_code)
and d.person_seq = prod_fac_inspections.person_seq_inspector)
Again, it works perfect in Reports! It eliminates having 3 reports on the menu. This one report gives the user the option of selecting dynamic parameters.
Also, I got so frustrated, that I went a different route of using a default where.
I am stuck with the error of ORA:00933 SQL command not ended properly
1=1
I set the initial value to 1=1 and it does not like it.
I am stuck!
DB = Oracle Database 10g Enterprise Edition Release 10.2.0.2.0Hi Krishna,
I'm not sure I understand the probelm.
A progress bar control only displays numeric values. When do you mean by "unassigned values"? What would you expect to be presented?
Best regards,
Udi -
Prevent null values from displaying in answers OBIEE 11g
Is there any possibilities in OBIEE to Prevent null values from displaying in answers
For example, If i have two records in table
TV cost=NULL(having agg rule sum in BMM layer)
RADIO cost=10(having agg rule sum in BMM layer)
in answers i get two records
TV NULL
RADIO 10
but i want to get one, only with not null costJust want to clarify your question,You want to eliminate the NULL values from the report am i right? If that is the case then put the filter COST <> NULL.
Do let me know the updates?
Thanks, -
The symptoms is: The flash videos are only display with a full red bar and nothing happen, no video no sound nothing. The Flash player was upgrade with 11.2.202.235. before safari 5.1.7. I have an iMac with SL, and a Macbook with SL too. However after I upgraded safari 5.1.7 the flash videos are not display correctly, (only videos). The same happen in both computers.
I need to tell you that I follow all the possible recommendations that I founded in internent. I uninstall flash pug-in many times. I restore both. I switch many buttons and options like "reset safari", "empty cahe", "block pop-up windows", "enable java-script", "enable java". I turn off and on the firewall. I switch all the options in the flash player plug in preferences. And nothing. I turn on and off the plug ins. In fact I tried all the possibilities in the preferences menus from the programs.
In one occasion I had a glimpse of functionality for only one hour without problems after I reinstall safari from the Apple website, but only worked until I turned off the computer. The next day was the same problem.
After I fought with safari 5.1.7 and the plug-in flash player 11.2.202.235. Now I noticed something wired, only when I switch the "Private browsing" option in safari is when the videos are displayed correctly.
The same videos work perfectly in Firefox.
Some Suggestions?Thank you everybody, the problem was corrected in a unexpected way, I decided no to pay attention to the problem after a week fighting with that. I was navigating in a private browsing for two days. I turned the private browsing off again the next Monday, after a week I noticed that all the videos were display correctly, I do not have the problem again. That was wired because at the same time in the laptop everything is ok too. I have my extensions ON, Block Pop-up windows, In Flash payer all the options in ask....something. Only the option Disable Java script in not activated, only when I activate that option all videos are not display.
I think maybe I updated the computer and maybe something happened in the middle. I always update my imac and my macbook at the same time. There is a Flash removal security update in may 14. Maybe that fixed the problem.
Thanks to everybody, everything is ok now however I wanted to know what was the problem. -
How to set a payload field value only once for multiple instances selected?
The user needs to set a payload field value and then he can approve the task so the task can continue through the process, that's fine when the user selects one instance and sets the value in the task details section and then clicks the approve button, but how do we achieve the same behavior in a multiple way?, I mean the user can select multiple tasks in the workspace (in this case the details task page is not available and instead the following label appear "Multiple tasks selected") then if the user clicks the Actions drop down -> APPROVE he only gets the message "your request was processed successfully", so how can the user modify the payload field value only once for all the selected tasks so when he clicks APPROVE the value is populated in all the instances selected.
Thanks,
Carlos.In the action which displays the edit page just set the form idx value before displaying the jsp.
-
Read Only Display Settings Help
Hello,
I am trying to control what some users can see in a page. Right now I have an item field (Roles) display as checkbox. Roles is a field in my table that I created with RolesA, RolesB, RolesC. Note: these are not htmldb roles.
In my Edit Page Item --> Read Only Display Settings --> Read Only Condition Type --> PL/SQL Function Body Returning a Boolean. Under Expression 1, I coded:
return not htmldb_util.current_user_in_group(p_group_name => 'APP Admin')
I want this item to read-only unless the user happens to be a member of group 'APP Admin'.
The expression is not working. It seems that no matter what user is logged in they can modify this item. Is there another way I can do this for controlling what my RolesA, RolesB, and RolesC can modify? BTW, this item is a checkbox.Dung,
That API seems to have a bug, it returns true/false/null, so you could use 'return not nvl(htmldb_util.current_user_in_group(p_group_name => 'APP Admin'),false)' to get a false value.
Unfortunately there's another problem: using the read-only attributes for checkbox or radiogroup item makes them hidden. My suggestion would be to create another item that has disabled="disabled" in the HTML Form Element attribute in the item definition and display that item or the non-disabled item alternately, using conditions based on the current_user_in_group logic.
Scott -
Only display image if filename in database
Hi,
I'm trying to write the code to only display an image if
there is a file name in the database for the image (i.e. if there
is no image for the item, no image tags are written to the page
etc)
Heres what I have:
<code>
<%
Dim bookImage
bookImage = (rsBooks.Fields.Item("book_imageURL").Value)
If bookImage > 1 then
Response.Write("<img
src='i/bookCovers/<%=bookImage%>'/>")
Else
End If
%>
</code>
I'm getting the following error:
Unterminated string constant
/index.asp, line 197
Response.Write("<img src='i/bookCovers/<%=bookImage
---------------------------------------------------^
I can't figure the problem.
Appreciate any advice.Thanks for your repsonse, that worked perfectly.
I'm now in trouble with the same thing, I can't figure out
what"s what !:
<%
Dim spanishReview
spanishReview =
(rsBooks.Fields.Item("book_spanish_title").Value)
If spanishReview > "" then
Response.Write("<A HREF='ReviewSpanish.asp?<%=
Server.HTMLEncode(MM_keepURL) & MM_joinChar(MM_keepURL) &
""book_id="" & rsBooks.Fields.Item(""book_id"").Value
%>'>Revisión española
»</A>")
else
End If
%>
I've tried to put the double quotes in the right places, but
can't get it right. Any help much appreciated. -
Only display first form URL in formsweb.cfg . mutiple URL does not work
Hi Friends,
I have 4 form application with 4 URL.
app. server as 10g in window 2003.
URL like as:
http://salerpt.com/forms/frmservlet?config=emis-srmenu
fmx file Location as C:\OraMid\forms\salerpt-Forms fmx name as srmenu.fmx in same directory
fmb file location as C:\OraMid\forms\salerpt-Forms_source fmx name as srmenu.fmb in same directory
# Single Sign-On OID configuration parameter
oracle_home=C:\OraMid
in formweb.cfg file
baseHTMLjinitiator=basejini.htm
workingDirector : workingDirectory= blank. but C:\OraMid\forms\salerpt-Forms right now
# Forms runtime argument: which form module to run
##form=test.fmx
## i moved bottom section of form section in here and before
##line as Forms runtime argument: database connection details
comment two line
#jinit_exename=jinit.exe
#jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
I create 4 sections as
form=srmenu.fmx
width=1200
height=700
pageTitle=Sale Information System (SIS)
form=regsale.fmx
form=salefinincial.fmx
form=rptinfo.fmx
However it only display first srmenu form interface that i put in( 4 different URL. only display first URL)
It seems that one formsweb.cfg, it doesn not support multip form setting application.
I have 4 small forms application with 4 URL for one formsweb.cfg.
What should I need to do? I think that i miss some set up in configuration.
I am waiting for your help!
JImHi Bgrant,
Please review my formsweb,cfg.
Thanks
I am looking for your help.
# $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $
# formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
# This section defines the Default settings. Any of them may be overridden in the
# following Named Configuration sections. If they are not overridden, then the
# values here will be used.
# The default settings comprise two types of parameters: System parameters,
# which cannot be overridden in the URL, and User Parameters, which can.
# Parameters which are not marked as System parameters are User parameters.
# SYSTEM PARAMETERS
# These have fixed names and give information required by the Forms
# Servlet in order to function. They cannot be specified in the URL query
# string. But they can be overridden in a named configuration (see below).
# Some parameters specify file names: if the full path is not given,
# they are assumed to be in the same directory as this file. If a path
# is given, then it should be a physical path, not a URL.
# USER PARAMETERS
# These match variables (e.g. %form%) in the baseHTML file. Their values
# may be overridden by specifying them in the URL query string
# (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")
# or by overriding them in a specific, named configuration (see below)
[default]
# System parameter: default base HTML file
baseHTML=base.htm
# System parameter: base HTML file for use with JInitiator client
baseHTMLjinitiator=basejini.htm
# System parameter: base HTML file for use with Sun's Java Plug-In
baseHTMLjpi=basejpi.htm
# System parameter: delimiter for parameters in the base HTML files
HTMLdelimiter=%
# System parameter: working directory for Forms runtime processes
# WorkingDirectory defaults to <oracle_home>/forms if unset.
workingDirectory= C:\OraMid\forms\sales-Forms
# System parameter: file setting environment variables for the Forms runtime processes
envFile=default.env
# Forms runtime argument: whether to escape certain special characters
# in values extracted from the URL for other runtime arguments
escapeparams=true
# Forms runtime argument: which form module to run
#form=test.fmx
[[srmenu]]
form=srmenu.fmx
width=1200
height=700
pageTitle=Sale Management Information System
[[regsale]]
form=regsale.fmx
width=1200
height=1500
pageTitle=Sale Management Information System
[[salefinincial]
form=salefinincial.fmx
width=1200
height=1300
pageTitle=Sale Management Information System
[[rtpinfo]]
form=rptinfo.fmx
width=1200
height=1000
pageTitle=Sale Management Information System
# Forms runtime argument: database connection details
userid=scott/tigerd@oracleapp
# Forms runtime argument: whether to run in debug mode
debug=no
# Forms runtime argument: host for debugging
host=
# Forms runtime argument: port for debugging
port=
# Other Forms runtime arguments: grouped together as one parameter.
# These settings support running and debugging a form from the Builder:
otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
# Sub argument for otherparams
buffer=no
# Sub argument for otherparams
debug_messages=no
# Sub argument for otherparams
array=no
# Sub argument for otherparams
obr=no
# Sub argument for otherparams
query_only=no
# Sub argument for otherparams
quiet=yes
# Sub argument for otherparams
render=no
# Sub argument for otherparams
record=
# Sub argument for otherparams
tracegroup=
# Sub argument for otherparams
log=
# Sub argument for otherparams
term=
# HTML page title
pageTitle=Oracle Application Server Forms Services
# HTML attributes for the BODY tag
HTMLbodyAttrs=
# HTML to add before the form
HTMLbeforeForm=
# HTML to add after the form
HTMLafterForm=
# Forms applet parameter: URL path to Forms ListenerServlet
serverURL=/forms/lservlet
# Forms applet parameter
codebase=/forms/java
# Forms applet parameter
imageBase=DocumentBase
# Forms applet parameter
#width=750
width=1024
# Forms applet parameter
#height=600
height=768
# Forms applet parameter
separateFrame=false
# Forms applet parameter
splashScreen=
# Forms applet parameter
background=
# Forms applet parameter
lookAndFeel=Oracle
# Forms applet parameter
colorScheme=teal
# Forms applet parameter
logo=
# Forms applet parameter
restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
# Forms applet parameter
formsMessageListener=
# Forms applet parameter
recordFileName=
# Forms applet parameter
serverApp=default
# Forms applet archive setting for JInitiator
archive_jini=frmall_jinit.jar
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
archive=frmall.jar
# Number of times client should retry if a network failure occurs. You should
# only change this after reading the documentation.
networkRetries=0
# Page displayed to Netscape users to allow them to download Oracle JInitiator.
# Oracle JInitiator is used with Windows clients.
# If you create your own page, you should set this parameter to point to it.
jinit_download_page=/forms/jinitiator/us/jinit_download.htm
# Parameter related to the version of JInitiator
jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
# Parameter related to the version of JInitiator
#jinit_exename=jinit.exe
#Version=1,3,1,22
# Parameter related to the version of JInitiator
#jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
# Page displayed to users to allow them to download Sun's Java Plugin.
# Sun's Java Plugin is typically used for non-Windows clients.
# (NOTE: you should check this page and possibly change the settings)
jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
# Parameter related to the version of the Java Plugin
jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
# Parameter related to the version of the Java Plugin
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
# Parameter related to the version of the Java Plugin
jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
# EM config parameter
# Set this to "1" to enable Enterprise Manager to track Forms processes
em_mode=1
# Single Sign-On OID configuration parameter
oid_formsid=formsApp_sales.com_0Axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Single Sign-On OID configuration parameter
oracle_home=C:\OraMid
# Single Sign-On OID configuration parameter
formsid_group_dn=cn=Logical Application Group, orclApplicationCommonName=formsApp_sales.com_0A4911717Fxxxxxxxxxx, cn=forms, cn=Products, cn=OracleContext
# Single Sign-On OID configuration parameter: indicates whether we allow
# dynamic resource creation if the resource is not yet created in the OID.
ssoDynamicResourceCreate=true
# Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
ssoErrorUrl=
# Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
ssoCancelUrl=
# Single Sign-On parameter: indicates whether the url is protected in which
# case mod_osso will be given control for authentication or continue in
# the FormsServlet if not. It is false by default. Set it to true in an
# application-specific section to enable Single Sign-On for that application.
ssoMode=false
# The parameter allow_debug determines whether debugging is permitted.
# Administrators should set allow_debug to "true" if servlet
# debugging is required, or to provide access to the Forms Trace Xlate utility.
# Otherwise these activities will not be allowed (for security reasons).
allow_debug=false
# Parameter which determines whether new Forms sessions are allowed.
# This is also read by the Forms EM Overview page to show the
# current Forms status.
allowNewConnections=true
# EndUserMonitoring
# EndUserMonitoringEnabled parameter
# Indicates whether EUM/Chronos integration is enabled
EndUserMonitoringEnabled=
# EndUserMonitoringURL
# indicates where to record EUM/Chronos data
EndUserMonitoringURL=
# Example Named Configuration Section
# Example 1: configuration to run forms in a separate browser window with
# "generic" look and feel (include "config=sepwin" in the URL)
# You may define your own specific, named configurations (sets of parameters)
# by adding special sections as illustrated in the following examples.
# Note that you need only specify the parameters you want to change. The
# default values (defined above) will be used for all other parameters.
# Use of a specific configuration can be requested by including the text
# "config=<your_config_name>" in the query string of the URL used to run
# a form. For example, to use the sepwin configuration, your could issue
# a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".
[sepwin]
separateFrame=False
lookandfeel=Generic
# Example Named Configuration Section
# Example 2: configuration forcing use of the Java Plugin in all cases (even if
# the client browser is on Windows)
[jpi]
baseHTMLJInitiator=basejpi.htm
# Example Named Configuration Section
# Example 3: configuration running the Forms ListenerServlet in debug mode
# (debug messages will be written to the servlet engine's log file).
[debug]
serverURL=/forms/lservlet/debug
# Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
# DS but not AS and is also available for download from OTN.
[webutil]
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle -
I use classical Hebrew for my work, and Pages will only display English characters even with a Hebrew font selected. If I cut and paste Hebrew characters from another document, as long as the font is supported, it will appear in Pages. If I type it won't continue in Hebrew. I have tried downloading several fonts, including those from professional societies, but the only way to get Hebrew in my document is to cut and paste. Does anyone know how to fix this? I use an older MacBook running OS 10.9.1. I used to do my Hebrew work in Word, but it is no longer supported by Mac OS.
Just clarifying:
Pages '09 has bad support for Hebrew, Arabic etc but will accept pasted text.
Pages 5 has much better support but with bugs.
If you have columns they are in the wrong order ie Text starts in the left column and ends in the right column.
If you type English into Hebrew text it tends to fall in the wrong position eg instead of to the left of Hebrew punctuation it goes to the right.
As Tom recommends the only real solution on the Mac is Mellel.
Peter
btw Tell Apple, they are amazingly slow to fix this running sore which has been broken since RtoL was supposedly introduced in OSX 10.2.3 over a decade ago.
Peter -
Embedding gallery in PDF only displaying first image?
Hi, I am embedding a web gallery made in Bridge as a PDF through Acrobat.
The gallery works fine when opening the index.html that Bridge creates with the resources file.
However when I embed everything as a PDF, the gallery opens and will only display the first image, yet it will still say "Image 1 of 6" for instance. All the other thumbnails and images are missing.
Here's how I've been embedding it as followed by a Lynda.com class. It has worked a few times before but has suddenly stopped working.
1. Create new pdf from file; select "gallery.swf" in the resources folder
2. Check "Show Advanced Options"
3. Under Launch Settings tab and in the Activation Settings change "Enable When:" to "The page containing the content is opened"
4. Under the resources tab click Add Directory... chose the "resources" folder
5. Under the SWF tab, copy and paste the FlashVars value from the index.html and change '+startImg to "-1"
baseRefUrl=resources/&groupxml=group.xml&stylexml=style.xml&localText=localText.xml&livePr eview=false&startImg='+startImg
6. Hit OK to create the PDF and save
Where am I going wrong and how do I fix this?This doesn't sound wrong, or anything you can fix. Pages with interaction controlled by JavaScript do not carry the JavaScript into PDF, and simply take the current view.
-
Cfbind within a cfselect - How to have multiple values in display propery?
I am binding a cfselect tag to a CFC, it's working as expected but I want to have more than one value populating the display="" part of the 2nd cfselect.The CFC returns a query of company information based off of the activty_id sent in.
This is what I currently have (roughly):
<cfajaxproxy cfc="mysite.templates.cfc.companies">
(this is working fine)
<cfselect name="activity_id" bind="cfc:mysite.templates.cfc.companies.fncActivity()" display="activity_name" value="activity_id" bindonload="yes" />
Here's where I want to display more than one value. This works as shown below but I want display="company_name company_city company_state" in the cfselect instead.
<cfselect name="company_id" bind="cfc:mysite.templates.cfc.companies.fncCompany({activity_id})" display="company_name" value="company_id" />
In debugging the CFC I am getting this returned:
Bind failed for select box company_id, columns matching the value or display attributes specified on the cfselect tag are not present in the query
Is this possible?The display attribute can only reference a single column. Concatentate the values together under a single column in your query. Then use the new column name in your bind.
-
List Box showing Value and Display members?
Ok this is a CONCEPT problem (the code is not professional, just read it for the concept, though it does compile and run).
Right, I have asked many people on IRC and no one is giving me a straight answer lol so maybe some professionals can help me.
I am trying to use a Datasource property for my combobox. This is so I can just pass an entire KeyValue pair with indexes and values to be shown in the listbox.
Creating the keyvaluepair as a WHOLE and passing that to datasource property works perfectly.
Creating a keyvaluepair PROCEDURALLY (in a loop or w/e) ends in the datasource property ToString()ing it, list box items show BOTH value AND display members in square brackets as an entire option.
NOTE: Getting the lsitbox.value results in ONLY the valuemember being returned even though the listbox shows both the valuemembers AND the displaymember? it knows they are different?
Now, I dont want any alternatives or comments about the quality of the code, all I want to know is WHY is it doing this, it seems compeltely illogical that the same TYPE and Values and can different Effects within the datasource property? Its like it knows
it was built procedurally?
Anyway here is some code for reference:
// Windows Form
namespace skbtInstaller
public partial class frmMainWindow : Form
public frmMainWindow()
InitializeComponent();
// coxArmaPath = Combo Box (simple drop down)
this.cBoxArmaPath.ValueMember = "Key";
this.cBoxArmaPath.DisplayMember = "Value";
public void addServerPathItem(String Key, String Value)
this.cBoxArmaPath.Items.Add(new KeyValuePair<String, String>(Key,Value));
// This works fine, only the "DisplayMember" is displayed and the "ValueMember" is hidden.
// This acts differently with the same types???
public void setServerPathDatasource(List<KeyValuePair<String, String>> source)
this.cBoxArmaPath.DataSource = new BindingSource(source, null);
public class skbtServerControl
private frmMainWindow frmMainWindowHandle;
public void refreshformWindow()
// Clear Drop Box (empties drop box)
this.frmMainWindowHandle.clearPathBox();
//skbtServerConfig is very simple property object
foreach (KeyValuePair<String, skbtServerConfig> pair in CoreConfig.getServerConfigList())
// Populate Drop Box
this.frmMainWindowHandle.addServerPathItem(pair.Key, pair.Value.getTextualName()); // this works as intended
// cBox gets items like: Some Display Text, Some Display Text, Some Display Text (PERFECT!)
// This works absolutely fine. ValueMembers are hidden.
public void refreshformWindowWithSTATICDatasource()
// Clear Drop Box
this.frmMainWindowHandle.clearPathBox();
var pathDataSource = new List<KeyValuePair<String, String>>()
new KeyValuePair<String, String>("testKey1", "somevalue1"),
new KeyValuePair<String, String>("testKey2", "somevalue2"),
new KeyValuePair<String, String>("testKey3", "somevalue3")
// Populate Drop Box
this.frmMainWindowHandle.setServerPathDatasource(pathDataSource);
// cBox gets items like: Some Display Text, Some Display Text, Some Display Text (PERFECT!)
// ** HERE IS THE PROBLEM?? **
// This creates a type that seems different to the above function which works fine...
public void refreshformWindowWithDatasource()
// Clear Drop Box
this.frmMainWindowHandle.clearPathBox();
var pathDataSource = new List<KeyValuePair<String, String>>();
//skbtServerConfig is very simple property object
foreach (KeyValuePair<String, skbtServerConfig> pair in CoreConfig.getServerConfigList())
pathDataSource.Add(new KeyValuePair<String, String>(pair.Key, pair.Value.getTextualName()));
// Populate Drop Box
this.frmMainWindowHandle.setServerPathDatasource(pathDataSource);
// cBox gets items like [asjAETJQ5785d45,Some Display Text], [asawfgQ5785d45,Some Display Text], [asjAhrrQ5785d45,Some Display Text]
// ????? surely this function should act exactly like the function above??
Thanks!
(I have posted on codeproject too, will condense any replies).
Thanks Michael!
I did debug this and it turns out when i set a new BindingSource to the combo box, indeed the DisplayMember gets reset. Oddly though, the ValueMember stays the same.
I have fixed this with setting the Members before every new bindingSource is set to the combobox, strange that only the displaymember is reset?
For reference, the new resolved code: (this compiles albeit with designer components placed)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace etstapp1
public partial class Form1 : Form
private skbtServerControl sc;
public Form1()
InitializeComponent();
this.sc = new skbtServerControl(this);
// coxArmaPath = Combo Box (simple drop down)
this.cBoxArmaPath.ValueMember = "Key";
this.cBoxArmaPath.DisplayMember = "Value"; // This doesnt seem to stick after the first datasource set??
public void addServerPathItem(String Key, String Value)
this.cBoxArmaPath.Items.Add(new KeyValuePair<String, String>(Key, Value));
// This works fine, only the "DisplayMember" is displayed and the "ValueMember" is hidden.
// This acts differently with the same types???
public void setServerPathDatasource(List<KeyValuePair<String, String>> source)
this.cBoxArmaPath.DisplayMember = "Value"; // fix datasource problem
this.cBoxArmaPath.ValueMember = "Key"; // fix datasource problem
this.cBoxArmaPath.DataSource = new BindingSource(source, null);
public void clearPathBox()
if(this.cBoxArmaPath.DataSource == null){
this.cBoxArmaPath.Items.Clear();
else
this.cBoxArmaPath.DataSource = null;
private void btnStatic_Click(object sender, EventArgs e)
this.sc.refreshformWindowWithSTATICDatasource();
private void btnNormal_Click(object sender, EventArgs e)
this.sc.refreshFormWindow();
private void btnDynamic_Click(object sender, EventArgs e)
this.sc.refreshformWindowWithDatasource();
public class skbtServerControl
private CoreConfig CoreConfig;
private Form1 frmMainWindowHandle;
public skbtServerControl(Form1 f){
this.frmMainWindowHandle = f;
this.CoreConfig = new CoreConfig();
public void refreshFormWindow()
// Clear Drop Box (empties drop box)
this.frmMainWindowHandle.clearPathBox();
//skbtServerConfig is very simple property object
foreach (KeyValuePair<String, skbtServerConfig> pair in CoreConfig.getServerConfigList())
// Populate Drop Box
this.frmMainWindowHandle.addServerPathItem(pair.Key, pair.Value.getTextualName()); // this works as intended
// cBox gets items like: Some Display Text, Some Display Text, Some Display Text (PERFECT!)
// This works absolutely fine. ValueMembers are hidden.
public void refreshformWindowWithSTATICDatasource()
// Clear Drop Box
this.frmMainWindowHandle.clearPathBox();
var pathDataSource = new List<KeyValuePair<String, String>>()
new KeyValuePair<String, String>("testKey1", "somevalue1"),
new KeyValuePair<String, String>("testKey2", "somevalue2"),
new KeyValuePair<String, String>("testKey3", "somevalue3")
// Populate Drop Box
this.frmMainWindowHandle.setServerPathDatasource(pathDataSource);
// cBox gets items like: Some Display Text, Some Display Text, Some Display Text (PERFECT!)
// ** HERE IS THE PROBLEM?? **
// This creates a type that seems different to the above function which works fine...
public void refreshformWindowWithDatasource()
// Clear Drop Box
this.frmMainWindowHandle.clearPathBox();
var pathDataSource = new List<KeyValuePair<String, String>>();
//skbtServerConfig is very simple property object
foreach (KeyValuePair<String, skbtServerConfig> pair in this.CoreConfig.getServerConfigList())
pathDataSource.Add(new KeyValuePair<String, String>(pair.Key, pair.Value.getTextualName()));
// Populate Drop Box
this.frmMainWindowHandle.setServerPathDatasource(pathDataSource);
// cBox gets items like [asjAETJQ5785d45,Some Display Text], [asawfgQ5785d45,Some Display Text], [asjAhrrQ5785d45,Some Display Text]
// ????? surely this function should act exactly like the function above??
public class CoreConfig
public Dictionary<String, skbtServerConfig> getServerConfigList(){
return new Dictionary<string, skbtServerConfig>()
{"somekey1", new skbtServerConfig("somename1")},
{"somekey2", new skbtServerConfig("somename2")}
public class skbtServerConfig
private String name;
public skbtServerConfig(String name)
this.name = name;
public String getTextualName()
return this.name;
Talking with someone it seems logical that every time I set a new BindingSource the component will not know if I want to keep the same member values so it resets them, but why it only resets displaymember? very strange to me.
Thanks again.
Maybe you are looking for
-
MM through Debit Note to Vendor with article
HI My scenario is purchase of goods amount Rs.1000/ qty . I received off invoce credit note Rs.150 / qty . After get Credit Note My MAP Value is Rs. 850/- qty . But how to map article wise without quantity vendor debite note . Or give me advice f
-
I have multiple libraries......
I just ordered iLife '08 and wonder how it will handle importing my multiple libraries. Anybody know? Judy
-
Dear friends , The developers are able to create activity for the new java webdynpro program. DTR is working fine for the new DTR projects. However there are existing old DTR based projects and there is no activity for those projects. The developer c
-
can any one send any program for uploading data through bapi for any infotype. so that i can understand bapi for infotypes.
-
Hi everyone, Has anyone made prints with iLife 11? How is the quality? Is there an option to make collage prints? Thanks!