Problem While Defining "VALUE SET"
Dear All,
I am finding problems while defining "Value Set".
I wanted to select "DISTINCT" Column from a particular Table.
It is not allowing me to select distinct Column.
Is there any other alternative ??
Hi Tarak,
Create a view selecting distinct values and then use this view as a table in your value set.
Vishal
Similar Messages
-
How define Value Set to validate date against sysdate
Hi gurus,
I need to validate Value Set against current date. The date entered should be today date or higher.
During defining Value Set I choose Format Type: Standard Date. The problem is that
I can not enter value "sysdate" to Min Value field. The following error shows up:
"Please enter date values sysdate in correct format: DD-MM-RRRR".
Is it possible to achieve what I need ?
regards,
malinHi Hussein,
I enter not a concrete date but 'sysdate' value.
The message is of course DD-MM-YYYY in English (DD-MM-RRRR is inPolish). Sorry of mistake.
I afraid I can not achieve it using Standard Date Format Type.
regards,
marcin -
i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g
hi TimoHahn,
i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
Root cause of ServletException.
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
at java.util.ResourceBundle.getString(ResourceBundle.java:334)
at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) -
Problems while defining EJB relations for container managed bean
I am having a problem while trying to create my relations for my container managed bean.
My Database schema is:
Order table
order_id
message
WorkItem table:
order_id
item_id
message
I have defined my OrderBean to have:
@LocalMethod()
@CmrField
public abstract Collection getCmWorkItemsCmr();
@LocalMethod()
public abstract void setCmWorkItemsCmr(Collection workItems);
I am not sure how to define my relation for my class:
@Relation(cmrField = "cmWorkItemsCmr", multiplicity = Relation.Multiplicity.MANY, name = "Orders-CmWorkItems")
An order can have many workitems. I am not sure how to fill in the rest for foreign Key jointable and such.
Any help pointing me in the right direction would be helpful.
Thanks,
IanI am having a problem while trying to create my relations for my container managed bean.
My Database schema is:
Order table
order_id
message
WorkItem table:
order_id
item_id
message
I have defined my OrderBean to have:
@LocalMethod()
@CmrField
public abstract Collection getCmWorkItemsCmr();
@LocalMethod()
public abstract void setCmWorkItemsCmr(Collection workItems);
I am not sure how to define my relation for my class:
@Relation(cmrField = "cmWorkItemsCmr", multiplicity = Relation.Multiplicity.MANY, name = "Orders-CmWorkItems")
An order can have many workitems. I am not sure how to fill in the rest for foreign Key jointable and such.
Any help pointing me in the right direction would be helpful.
Thanks,
Ian -
Hi,
i have created a Table value Set for showing Vendor_site_code in DFF
XXXX_VENDOR_NAME
Table Application :Purchasing
Table Name:PO_VENDORS
Value:VENDOR_NAME
ID:VENDOR_ID
XXXX_VENDOR_SITECODE
Table Application :Purchasing
Table Name:PO_VENDORS PV, PO_VENDOR_SITES_ALL PVS
Value:PVS.VENDOR_SITE_CODE
ID:PVS.VENDOR_SITE_ID
where/order by: where PV.VENDOR_ID=PVS.VENDOR_ID
XXX_ITEM
Table Application :IVENTORY
Table Name:MTL_SYSTEM_ITEMS_B
Value:PVSSEGMENT1||'-'||SEGMENT2||SEGMENT3
ID:PVS.INVENTORY_ITEM_ID
where/order by:WHERE ORGANIZATION_ID = cs_std.get_item_valdn_orgzn_id
i am facing the below error when opening the Form related to that DFF
APP-FND-01564: ORACLE error 1722 in FDFGVD
Cause: FDFGVD failed due to ORA-01722: invalid number.
The SQL statement being executed at the time of the error was: SELECT PVS.VENDOR_SITE_ID,PVS.VENDOR_SITE_CODE VALUE, PVS.VENDOR_SITE_CODE DESCRIPTION, NVL('N', 'N'), NVL(TO_NUMBER(NULL), -1), NULL, NVL('Y', 'Y'), NVL(TO_CHAR(TO_DATE(NULL), 'J'), 0), NVL(TO_CHAR(TO_DATE(NULL), 'J'), 0) FROM PO_VENDORS PV, PO_VENDOR_SITES_ALL PVS WHERE ( PV.VENDOR_ID=PVS.VENDOR_ID) AND PVS.VENDOR_SITE_ID = :X and was executed from the file &ERRFILE.Can you say where have you placed this valueset - which DFF, in which form?
-
Problem of defining value to a textfield in MovieClip
hello,dear everyone
there is problem that realy confused me.that is the
textfield(or other display objects) in MovieClip can't be defined
when i jumpto that frame.check these simple code:
mc.stop()
function goNext(evt:Event){
mc.nextFrame()
dosth()
function dosth()
if(mc.currentFrame==2)
mc.mytext.text="hello"
nextBT.addEventListener("click",goNext)
the mc is a simple MC that have 2 frames,and the textfield
object is in the second frame.
and what i try to do is when i clicked the button,the mc
jumpto the second frame.and i define a value to that textfield.but
it's failed when i try to do like that.
as i debug the program.i found that when i define the value
to the textfield,that textfield is a Null Object(should be the
TextField object).not only the textfield not work,but also other
elements such as Button objects.
so,i am thinking that must because the objects are too late
to initialized before they be used.maybe there are some event can
tell me that all elements has been initialized,as i can use them
then.what do you think,my friend?If all of the code you have is in the first frame, then it
has processed long before anything ever moved to the second frame.
What you could try is to have a variables layer that extends
both frames, and assign the value of the textfield text to that
variable. Make the textfield associate with that variable (in the
properties section for it), So when the movieclip moves to the
second frame the text field should automatically acquire the
variable value.
I may not have interpretted your problem correctly, so you
might have to clarify things if I missed the target. -
Exception while defining value attribute/View configuration issue
Hello,
I am facing an issue in view configuration. I have added value attributes to an existing context node in component BT116IT_SRVO, GenricItem view, BTADMINI context node. Now after adding the atrribute an exception is triggering as
"Cannot display view BT116IT_SRVO/GenericItem of UI Component BT116IT_SRVO
An exception has occurred Exception Class CX_SY_MOVE_CAST_ERROR - Source type \CLASS=CL_BSP_WD_MIXED_NODE is not compatible, for the purposes of assignment, with target type \CLASS=CL_CRM_BOL_ENTITY
Method: CL_CRM_UIU_BT_ITEMEOV_CN=>GET_QUANTITY
Source Text Row: 25 ".
I have checked source code of mentioned class, reference of CL_BSP_WD_MIXED_NODE class is coming after adding value attribute .
Exception is triggering at statement: lr_entity ?= current. => In current ref of CL_BSP_WD_MIXED_NODE class is coming while lr_entity is type ref to cl_crm_bol_entity.
I would really appriciate your reply on this as how can I avoid this exception? Do I need to redfine this method?
Moreover the value attributes that I have added does not appear in Available Fields in View Configuration. Could you help me out in how can I make these fields available in configuration?
Appriciate your replies on same.
Regards,
RashmiThe problem is solved.
Thanks
-Rashmi -
Problem while defining Busiiness System
Hi,
We are using Xi 3.0 , CCM 2.0 , SRM 5.0 and we need to import material from SRM to CCM.
while creating the Business System in SLD, where we have to specify the role of Business System As an Application System or Integration Server, we have to give Application System, But with it we have to specify the Integration Server also which should come by default in the dropdown list, but it is showing that no integration server has been defined.
Can anybody tell me what is the problem??
Regards,
SwethaHi Vishal,
Check if there is a Business System defined for your XI system as a Integration Server.
If confused, follow these steps:-
Create a TS for the XI server and specify the details. Then assign this to your BS, making the role as a integration server and the Pipeline URL:
http://<servername>:8000/sap/xi/engine?type=entry
Go thro' this link:-
http://help.sap.com/saphelp_nw04/helpdata/de/31/f0ff69551e4f259fdad799a229363e/frameset.htm
I hope this provides you a solution.
Regards
Praveen -
Problem when define Value range for data element
Dear
When I define a new data element in ABAP Dictionary, for example, ZDATA_ELEMENT_TEST.
I use domain ZDOMAIN_TEST.
(Data type is DEC, the length is 10, and decimals is 2 with sign.)
Now, I want to restrict that, user can ONLY input the value from 10 to 100.
From ABAP course and the Internet, I switch to "Value Range" tab, and define 10 for Lower Limit, 100 for Upper Limit in Intervals section.
And write the simple program.
PARAMETERS test TYPE ZDATA_ELEMENT_TEST.
WRITE: test.
And run it.
Line: -
But, there is a problem.
When I input 200 for test, the program still run and display 200 to screen without any error report or notification. The ABAP runtime system doesn't check the input value.
I want to config for the domain that can satisfies, if the user input the wrong value (e.g: 200 in the previous case), the program will auto raise the error report, or exception, or sth like that.
Any help is welcome.Hi Hanni,
Welcome to forum.
Try to attach key word VALUE CHECK to your PARAMETER statement.
I.e:
PARAMETERS test TYPE ZDATA_ELEMENT_TEST VALUE CHECK.
Note: The addition VALUE CHECK cannot be used together with the additions AS CHECKBOX, RADIOBUTTON, or NO-DISPLAY.
Regards, -
Problem while planning a SET material
Dear sir,
I have an issue related to a material which i am selling as a set material say "A" . I have included 5 componets to sales order BOM of this set material A . all the materials have a valid MRP TYPE PD.But the material A does not have any BOM and Routing because it is not physically manufactured. All the 5 sub items are manufactured.
The sales order is created and the pricing is done at the header item level i.e item "A." When i check in MD04 the system displays an entry of customer oerdewr only for the header item "A" & for all the 5 sub items there is no customer order displayed. Now I run the MRP using transaction code MD01. After this in MD04 the system creates a planned order only for the header item "A" & there is nothing for the sub items.
I have tried the "Phantom Assembly" but this didn't solve the issue as phantom assembly is used when there is a superior assembly present after the header item level assembly. Here there is no superior assembly directly all the 5 sub items are clubbed under the name of the header item, "A".
Please guide me as this is a very important issue.
Regards,
OmkarDear,
You need to do the following setting in BOM item for components of A
Stg group for A and other component = 20
Create BOm with usage 3.
In the BOm items make the BOM items relavent for Sales.
Make in such a way that item cat determined via MRP type for A is not relavent for billing and delivey
When you create sales order, system will make the bom of A to explode in sale order and lock A and allow components to delivery.
Hope it is okay with you.
null -
Problem while copying layout set
Hi,
Can anyone please solve my probelm.
I have two clents Ct3(330) and Ct2(330).
in CT3(330) one layoutset is there called "Z_MEDRUCK_11120" is tehre inEnglish, German and Polish laguages.
But in CT3(330) "Z_MEDRUCK_11120" only having English, German languages but polish language related layoutset is not there.
My problem is i wanted to copy Z_MEDRUCK_11120 polish layout from ct3(330) to ct2(330). is there any procedure to copy the layoutset in cross client.
Regards,
Koti ReddyHi Koti garu ,,
you saying that system diffrent ....do you mean Servers diffrent right .... try to transport that script from one system to another system throught se09.
and in your requriment need in polish lang. also mean you have to ask to Functional people and TL to add new lang. in system..
.... If script is in $tmp (local object ),, go and change in RSWBO052 -Program and add package to that script.
From ,,
B.Madhu sudhan reddy .
Abap - cons..(Mumbai) -
Need help - can't run a report cause value set not found
APP-FND-00738: error while loading value SET
Posted: Apr 12, 2007 11:16 PM Reply
Hi, I'm trying to run a report (in the parameters form) - i'm getting this error:
APP-FND-00738: error loading value set SETUP_DESCR_VSETS.
APP-FND-01564: error ORACLE 1403 in FDFAVS.
Reason: Fail in program FDFAVS with reason ORA-01403: no data found.
Executed SQL instruction from file &ERRFILE.
Can you advice - which tool I can use to determine which value set didn't load.
Maybe logs or log tables???I didnt get your problem exactly.
Plz mention the steps what you are doing and where the error is coming.
So that we can see..
--Basava.S -
Hi friends,
am trying to do a percentage calculation from two value sets
like
select round((to_number(:$FLEX$.PROP_BONUS)*100)/(12*to_number(:$FLEX$.XX_SAL)),2) FROM DUAL
this is giving me error ...
those two are number data type value sets.. and am using this in self service pages
the error says like this
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: select fnd_number.number_to_canonical(round((to_number(:$FLEX$.PROP_BONUS)*100)/(12*to_number(:$FLEX$.XX_SAL)),2)) FLEX_VALUE
, to_char(round((to_number(:$FLEX$.PROP_BONUS)*100)/(12*to_number(:$FLEX$.XX_SAL)),2)) FLEX_DISPLAY
from DUAL
where (1 = 1)
and 'Y' = 'Y'
and nvl(fnd_date.canonical_to_date(:1), trunc(SysDate))
between nvl(trunc(to_date(null)), nvl(fnd_date.canonical_to_date(:2), trunc(SysDate)))
and nvl(trunc(to_date(null)), nvl(fnd_date.canonical_to_date(:3), trunc(SysDate)))
and to_char(round((to_number(:$FLEX$.PROP_BONUS)*100)/(12*to_number(:$FLEX$.XX_SAL)),2)) like :L1
order by FLEX_DISPLAY
java.sql.SQLException: ORA-00911: invalid character
can some one suggest me a solution pleasePlease see if (Unable To Use $FLEX$ In Table Name Field While Creating Value Set [ID 1071197.1]) and (Compilation Error ORA-00911 Occurred After Adding To Descriptive Flexfield [ID 445246.1]) help.
Thanks,
Hussein -
Value Set Definition pay_us_states
I need unique values for state_abbrev
I created value set with validation type as table. I gave table name as pay_us_states meaning I gave as distinct state_abbrev. I got below error
ORA-00936: missing expression
select distinct state_abbrev VALUE from pay_us_states where rownum=1 and distinct state_abbrev is NULL
how to get distinct rows from table?When defining a value set, you need to provide the table name and the column names in the drop down lists of the "define value set" form. The only free form entry is the WHERE clause. Take a look at the definition of seeded value set PAY_US_STATE_CODES. You will need to remove the ROWNUM qualifier.
HTH
Srini -
Sysctl -a shows 0 while it is set to 68719476736
Hi All,
I came across an issue while I was installing Oracle RAC 11g on Red Hat Linux.
I set kernel.shmmax=68719476736 in */etc/sysctl.conf* (This value is equal to 64 GB). But, my RAM is only 4 GB. So, while I was executing sysctl -a | grep shm, the value shown was kernel.shmmax=0. But, sysctl -p shows the value specified in /etc/sysctl.conf
Then I tried with value 4294967296 (this value is equal to 4GB, the size of RAM) for kernel.shmmax in /etc/sysctl.conf. Both sysctl -a | grep shm and sysctl -p showed the same value (4294967296 ) set in /etc/sysctl.conf
My question is, why is sysctl -a | grep shm showing kernel.shmmax=0 while the value set was 68719476736?
Help is much appreciated.
ThanksMy question is, why is sysctl -a | grep shm showing kernel.shmmax=0 while the value set was 68719476736?in 32bit Address space can max point to 4GB(2^32) so if you give shmmax more than 4GB in 32bit than linux considers it has 0 bytes.......
Official RedHat note : If you set SHMMAX to 4294967296 bytes (4*1024*1024*1024=4GB) on a 32 bit system, then SHMMAX will essentially bet set to 0 bytes since it wraps around the 4GB value. This means that SHMMAX should not exceed 4294967295 on a 32 bit system.
ref (7.1. Setting SHMMAX Parameter) : https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/5/pdf/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/Red_Hat_Enterprise_Linux-5-Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases-en-US.pdf
Maybe you are looking for
-
Reading global attributes from implementation class
Hi, How to access global attributes of implementation class from getter method of context node class. Thanks in advance, Srinivas.
-
Time machine spends too much time backing up
Even when I have very little changed information to back up - say 15MB - time machine takes 10-15 minutes. Every hour. It spends like 3-4 minutes "Setting up", another 5-8 minutes "Backing up XXX of 15.2MB", and then another 3-5 minutes "cleaning
-
Oracle v7 and Oracle 9i Release 2
Hi, Does anyone know a way to allow both database to communicate with each other? Assuming that both of time are residing in a separate machine and Oracle v7 is hosted in HP-UX and Oracle 9i is hosted in Windows 2003. thanks.
-
XP 64 users what version of firefox works best for you
xp64 is not supported and never has been, outside of that some versions of firefox work quite well with this OS, looking to find which version has proved to be most successful with minimal operational problems.
-
Several times recently I have tried to open CC projects using CS6 and I get a message saying the file or project is corrup or damaged. I then right click and select to open with CC version and all is fine. I thought CS6 and CC were supposed to be ide