Querying problem - FRM-41009 :Function Keys not allowed.. DIFFERENT!!
amazin place ..this is... learned a lot from this place when it comes to developing oracle forms.... just such a lot of support... the issue at hand... yes
the problem im facing is when im querying in my form.. it keeps giving me the FRM-41009 error. however it does execute the query and even i can find records by entering a value, so it really doesnt affect the functionality of the system. but the problem is this, if i search for something non-existent, then the error gets displayed in its pretty little box smack in the middle of the screen.. ruins the entire thing... and then at the bottom i see the 'query didnt return anythin' message.
im extending an existing system which is not documented and everything is all compiled and stuff and im using some of their libraries.
im sure somewhere there is a little bit of code that is disabling function keys.. but i dont seem to understand why must that be affected by a little button on my control bar and basically i just need to get rid of the darned message..
so is there a workaround this???
experts of the forums .... HELP!!!
cheers
thanks for the quick response prashant and greg..
it works now..
ok.. but is it also possible to make an error/message to appear?
for example now, my 'query didnt match anything' message is displayed at the bottom.. id like to have it come in a window in the middle of the screen
Message was edited by:
Pradeep Shanmugham
Similar Messages
-
FRM-41009: Function key not allowed. Press %s for list of valid keys.
FRM-41009: Function key not allowed. Press %s for list of valid key.
What is reason for this message, and how can we suppress it. Where should I set the system.message_level to suppress this message.The reason is you press a key that cannot be used, e.g. duplicate record cannot be used in enter query mode.
You cannot suppress this message, even with message_level 25. If you code this for key-duprec, you will still get the message:
:system.message_level := 25;
duplicate_record;Forms intercepts the error at a very early stage. Even this didn't suppress the message:
if :system.mode = 'ENTER-QUERY' then
null;
else
duplicate_record;
end if; -
FRM 41009: Function Key not allowed
On a button I have
ENTER_QUERY;
I get "FRM 41009: Function Key not allowed" on the message line,when I press the button. Although it works. How can I suppress the error message?
In the pre-form trigger I set :system.message_level:='20';
But it does not suppress this. Any workaround? Thx for your help.
nullHi
You have to put the message level > 25.
Here what you can found in help section:
FRM-41009: Function key not allowed. Press %s for list of valid keys.
Cause: You pressed a function key that is not allowed in this environment.
Action: Press [Show Keys] to determine which function key you should have pressed.
Level: >25
Type: Error
Hope this help
Karine -
Function key not allowed error??
Hi i have a member form which has text items and radio buttons corresponding to their details. I have a button where the user clicks and the button displays an LOV of members. When i select a member, after pressing ok on the button i get an error message saying:
FRM-41009: FUNCTION KEY NOT ALLOWED. PRESS CTRL+F1 FOR LIST OF VALID KEYS.
can someone tell me why this is occuring after i have selected a record from my LOV and pressed OK?? What should do to resolve this??You'd better have a text item (lets its name be my_text_item) that have a button (named SEARCH_MEMBER_LOV_BUTTON). you want to click on button and a LOV (named SEARCH_MEMBER_LOV)displays. you select a member from the list whose value come in the my_text_item.
Double-click on my_text_item for property palatte. scroll down to List of Values LOV section. here you will see List of Values property. to assign the LOV select SEARCH_MEMBER_LOV from the list of values.
That all! -
FRM-41009 error - function key not allowed ?
Folks,
I don't know what object or item in my form is causing the "FRM-41009" error - "function key not allowed".
I have a simple button which (when pressed) inserts records into a table, then does a commit. That insert statement is NOT the problem because an older version of my application does not give me this error.
Does this mean that I have a trigger somewhere that's reacting on a COMMIT ??? Any ideas...sorry so vague on this one, but I can't pinpoint the problem.
Thanks,
BobIt's definitely my COMMIT statement that's causing the error in my form.
When I do a simple Insert statment with the commit, it returns the error. Without the commit, there's no error (and of course no data in my table).
Why does my commit work in a previously version of my form ?
Bob -
PL/SQL equivalent of T-SQL - "group function is not allowed here"
Hi all, hope someone can give me a hand as I'm pretty stuck! I have been trying to convert some MS SQL Server T-SQL statements into Oracle PL/SQL and am stuck on the below one:
SELECT
CA.AssessmentID,
(SELECT ProductName + ISNULL(' - ' + PrincipalBenefit,'')
FROM rptPolicySnapshot WHERE PolicyID = MAX(CA.PolicyID)
AND SnapshotID = 1),
MAX(CA.PolicyID)
FROM rptClaimInvoiceLineSnapshot CIL
INNER JOIN rptClaimAssessmentSnapshot CA
ON CIL.AssessmentID = CA.AssessmentID
AND CIL.SnapshotID = CA.SnapshotID
WHERE CIL.SnapshotID = 1
GROUP BY CA.AssessmentID
This works fine in MSSQL but returns the below error in Oracle:
'ORA-00934: group function is not allowed here'
If I take out the subquery the query works fine.
Any ideas as to the syntax? I am new to Oracle so not sure as to how I should go about writing this.
Thanks in advance!
LeoWITH x AS (SELECT ca.assessmentid,
MAX (ca.policyid) policy_id
FROM rptclaiminvoicelinesnapshot cil
INNER JOIN rptclaimassessmentsnapshot ca
ON cil.assessmentid = ca.assessmentid
AND cil.snapshotid = ca.snapshotid
WHERE cil.snapshotid = 1
GROUP BY ca.assessmentid
SELECT x.assessment_id,
x.policy_id,
productname + decode(principalbenefit,null,null,' - ' || principalbenefit ) prodname
FROM rptpolicysnapshot, x
WHERE policyid = x.policy_id
AND snapshotid = 1I think that's in the neighbourhood. -
E545 and Function key not working
Any help here is apprecited. My function (Fn) key is refusing to work at all. None of the special features are able to be used. I've checked all my drivers, and followed the instructions in the User Guide, but some of the options described in the guide are even showing on my computer.
I'd love for some help on this issue, as the computer is pretty worthless right now.Hi Jamesbjenkins,
Welcome to Lenovo Community!
As per the query we understood that you are facing issue with keyboard function keys not working on your ThinkPad E545.
Is the system updated with all the latest drivers and application? To confirm with I request you to run ThinkVantage system update tool. This will search for all the required drivers and application for your system and will update.
Hope this helps.
Best regards,
Hemanth Kumar
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
ORA-00934: group function is not allowed here
Hi,
My requirement is to check oi.quantity is equal to sum of packing_detail. quantity
by order_number
select oi.quantity_ordered oi_qu, pd.quantity pq
from ordered_items oi, packing_details pd
where oi.ordered_item_id = pd.ordered_item_id
and oi.quantity_ordered = sum(pd.quantity)
and oi.order_number = '29';
after executing above query I get error
SQL Error: ORA-00934: group function is not allowed here
00934. 00000 - "group function is not allowed here"
Please tell me how to resolve it.
Thanks in advance
SandyYou have to make use of a subquery;
select oi.quantity_ordered oi_qu, pd.quantity pq
from ordered_items oi, packing_details pd
where oi.ordered_item_id = pd.ordered_item_id
and oi.quantity_ordered = *(select sum(pd.quantity) from packing_details pd1 group by pd1.ordered_item_id)*
and oi.order_number = '29'; This is based on the assumption that ordered_items is the summarize data and packing_details are the line item level data.
regards,
Dipankar. -
Getting Group Function is not Allowed
Hello All....
When I run the following in the SQL command screen it works fine... But when I try to use it in APEX to populate page values, it gives me the error...
ERROR
1 error has occurred
ORA-06550: line 25, column 74: PL/SQL: ORA-00934: group function is not allowed here ORA-06550: line 24, column 1: PL/SQL: SQL Statement ignored
CODE THAT WORKS IN SQL COMMAND SCREEN
SELECT
SUM(CASE WHEN SLOT = 'Q' THEN '1' ELSE '0' END) AS C_SLOT,
SUM(CASE WHEN TEST = 'P' THEN '1' ELSE '0' END) AS C_TEST,
FROM TBL_REC;
CODE THAT GIVES ERROR ON APPLICATION EXPRESS PAGE
SELECT
SUM(CASE WHEN SLOT = 'Q' THEN '1' ELSE '0' END) INTO :P2_C_SLOT,
SUM(CASE WHEN TEST = 'P' THEN '1' ELSE '0' END) INTO :P2_C_TEST,
FROM TBL_REC;
The colums SLOT and TEST have letter codes, I just want it to count just when it matches a certain letter. In the SQL Command Screen, it is returning one row, with the counts, everything is fine. It is only a problem when I try to use it anywere on a page in Application Express.
The full version has about 20 lines that are all sum lines, but I can not even get the 2 line ver above to work.
Any thoughts?This will work .. the into clause goes after the select columns ... into var1 ,var2 etc ..
SELECT SUM(CASE
WHEN SLOT = 'Q' THEN
'1'
ELSE
'0'
END),
SUM(CASE
WHEN TEST = 'P' THEN
'1'
ELSE
'0'
END)
INTO :P2_C_SLOT, :P2_C_TEST,
FROM TBL_REC;SS -
Function module not allowed: IDOC_INPUT_INVOIC_MRM in 4.6C
Hi All,
I am working on SAP 4.6C, I am trying to post an idoc through WE19 and using message type INVOIC and basic type - INVOIC02. Also, we are using the process code - INVL which using the function IDOC_INPUT_INVOIC_MRM.
While trying to post an MM Invoice after entering all the parameters in WE19, the IDoc in status 51.
Also, the error message states that "Function module not allowed: IDOC_INPUT_INVOIC_MRM". Since it is a standard function module, I donu2019t know how to get to solve the problem.
Thanks in advance.
Regards,
NagarajanHi Nagaraju ,
Make Entries in WE57 . To make entries in this Take help of WE42-Inbound process code INVL .If u did not have the entries then it causes this error .After logging ur entry Check in table EDIFCT.
Hope this helps .
Rgds
Sree . M -
Function module not allowed: AFS_RETAIL_ARTMAS_IDOC_INPUT.
Dear Expert,
I have a problem when I use ALE. I found error message of inbound in target system have a error status 51. Function module not allowed: AFS_RETAIL_ARTMAS_IDOC_INPUT.
message type is MATMAS. and i want to distribute Material master from 1 system to another system.
Process code: AFSA
This below is my config.
Process code AFSA
My process code Identification.
Function module : AFS_RETAIL_ARTMAS_IDOC_INPUT
Maximum number of repeats 0
Object type IDOCARTMAS
End event MASSINPUTFINISHED
Object type IDOCARTMAS
Start event INPUTERROROCCURRED
End event INPUTFINISHED
How to do this?
thanks,
Sak
Edited by: Pongsak Ruangsongkhram on Dec 24, 2007 8:59 AMPls make sure the following config in we42.
Process code MATM
Function module IDOC_INPUT_MATMAS01 IDOC_INPUT_MA
Maximum number of repeats
Object type IDPKMATMAS
End event MASSINPUTFINISHED
Object type IDOCMATMAS
Start event INPUTERROROCCURRED
End event INPUTFINISHED
Object type BUS1001
Start event
Cheers! -
Function module not allowed: RSAR_DATA_RECEIVED B1 252
Hi Friends,
I have a Data load problem when loading hierarchi data loads i.e. 0material,0prod_hier etc.
I am getting the following error:
Error when updating Idocs in Business Information Warehouse
Diagnosis
Errors have been reported in Business Information Warehouse during IDoc update:
Function module not allowed: &
System Response
Some IDocs have error status.
Procedure
Check the IDocs in Business Information Warehouse . You do this using the extraction monitor.
Error handling:
How you resolve the errors depends on the error message you get.
Under Error Analysis:
Function module not allowed: RSAR_DATA_RECEIVED B1 252.
We are getting this problem after refreshing the R/3 source system with production R/3 system.
the loads went fine before the refresh.
Data load is taking long time and finally getting failed without pulling any data into BW.
Looking for valuable suggessions.
Thanks in advance.
LaxmanCannot load Hierarchies after refresh
More information in SAP Note 216671. -
"Function module not allowed" error message
Hi,
We created a special FM to be processed when the INVOIC is in inbound processing. We link the FM to the process code and the process code to the partner functions. We get the error message; "Function module not allowed: & name of our FM". However, when we reprocess the idoc via WE19, it goes through.
Did somebody ever face that situation?
Thanks
MartinHi
is it for MRM . If it is ,I faced the same Problem Martin .go to EDIFCT table give ur basic type and execute and check for entries .if there no issue other wise goto we57 and maintain the entry for basic type . -
During Notification Creation I get the error --Partner Function is Not Allowed in Partner Determination Profile Q2
As I enter Purchase Document Number in the transaction QM01 and press Enter. I get the above error and donot go further.
Can anyone help me here.Hello Prashant,
You are missing some configuration for the partner function;
Go- to
SPRO>IMG>QM>Quality Notifications>Notification Creation>Partners>Define partner Determination Procedure>
Again Select "Define Partner Determination Procedure".
Select Quality management> Change Partner
Now Select Q2.
Compare settings with Partner Determination Procedure on any other client. Also check Partner functions on the same screen.
Amol. -
PL/SQL: ORA-00934: group function is not allowed here
Hi,
I am writing a PL/SQL procedure. The structure is like :
SET SERVEROUTPUT ON;
CREATE OR REPLACE Procedure abc
IS
v_total_ip_rec number(14);
v_total_op_rec number(14);
v_total_rec number(14);
BEGIN
SELECT SUM (CASE
WHEN <condition 1>
THEN 1
ELSE 0
END
) into v_total_ip_rec,
SUM (CASE
WHEN <condition 2>
THEN 1
ELSE 0
END
) into v_total_op_rec,
SUM (1) into v_total_rec
FROM A,B
WHERE A.Col1=B.Col1;
EXCEPTION
WHEN OTHERS THEN
raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
END;
When I run this procedure it gives me following error:
"PL/SQL: ORA-00934: group function is not allowed here"
Anybody have any idea?
Any help would be appreciated.
Thanks.Hi Arunkumar ,
I think you don't need subquery.
Regards Salim.
Or.
SELECT COUNT (CASE
WHEN <condition 1>
THEN 1
END) v_total_ip_rec,
COUNT (CASE
WHEN <condition 2>
THEN 1
END) v_total_op_rec,
COUNT (1) v_total_rec
FROM a, b
WHERE a.col1 = b.col1
Maybe you are looking for
-
Strange behaviour with Safari.
Very strange behaviour with Safari this morning. Pages loading piecemeal or partially. The content only becomes viewable after the cursor has passed over the area. Have cleared caches and reported it but I'm wondering if this is a local matter
-
Very urgent! some basic questions about discoveror
1. if i made some changes to a workbook (e.g: change some conditions) on discoveror desktop,will them take effect at the same time on discoveror plus??? 2. how and where can I make control for one user to access some workbooks and another user to acc
-
HTTP Content Server Interface Behaviour
I developed my own http servlet which is a link to the external DMS. This http servlet is receiving requests from SAP to get, create documents etc.. (info, get, create,.. functions encoded in URL query). I carefully log every request coming from SAP.
-
I searched for an answer to the following two questions, but all the posts I looked at assumed the iWeb site was being hosted on MobileMe. My sites are independent hosted on the server of our ISP, and I do not use MobileMe. Here are my questions: 1.
-
LookupXRef not throwing any exception
Hi All, We are using ESB Cross referencing out of box functionality provided with 10.1.3.3 SOA Suite.We have a case where we need to have some busineess logic when the value we are trying to look up in the Cross Ref table doesnot exists , in that cas