How to reuse a value set in the filter into an LMD process
Using apex 3.2, I'm wondering how to re-use the value currently set into the filter (interactive report) into a LMD process attached to a button created on the same page.
The process on Submit - after validations and computations, I presume, should look like to the following statement, but in a dynamic way:
begin
insert into table2 select * from table1
where study = 'ABCD';
end;
I tested the following clauses options, which none of them work:
a) where study = :STUDY
b) where study = :IR_STUDY
setting the debbug to on, I could realize that the report was based on (apparently, APEX generates APXWS_EXPR_1 bind variable for the first parameter and APXWS_EXPR_2 if a second parameter is used into the filter, and so on...) :
where ("STUDY" = :APXWS_EXPR_1)
and then saw :
0.28: IR binding: ":APXWS_EXPR_1"="APXWS_EXPR_1" value="ABCD"
0.28: IR binding: ":APXWS_MAX_ROW_CNT"="APXWS_MAX_ROW_CNT" value="10000"
of course, I thought that the clause 'where ("STUDY" = :APXWS_EXPR_1)' could work. Unfortunaltely, not.
any king of support is welcome.
Thanks a lot,
Bruno
but I don't know how to execute it from putty ? Can some one help me.Use the same command. Just make sure you are logged in as applmgr user and source the application env file before you run the command. Also, make sure you issue the command in a directory where applmgr has read/write privilege.
How to Load Value Set Values When Using Fndload To Load A Concurrent Program [ID 252853.1]
Tips About FNDLOAD [ID 735338.1]
How To Download A Single Flexfield Structure Using FNDLOAD? [ID 745689.1]
Download Multiple Flexfields From FNDLOAD [ID 316600.1]
Thanks,
Hussein
Similar Messages
-
How to create a value sets for concurrent program?
Hi Friends,
I am creating a concurrent program with a parameter period...
In the value set for the parameter period, I am using the following query :
---where application_id = 101
and set_of_books_id = :$PROFILES$.gl_set_of_bks_id
and closing_status IN ( 'O', 'F', 'C')
order by period_year, period_num' ----
In my cursor, i have a condition 'where set_of_books_id = ' ---
How can I pass the above set of books id into the cursor ?? it is not working when I am defining another parameter as Book and passing that value to the cursor....
I need that period parameter to return all the periods for the set of books where we are running the concurrent request from...I also need to get the set of books id for my cursor...
Hope I am making sense...All that I am trying is to have period parameter and also a SOB id in cursor condition...
Rgds,Hi Vamsi /Nitin,
Let me explain the whole thing now.....
My plsql procedure is ......
CREATE OR REPLACE procedure GL_INT(
perrbuff out varchar2,
pretcode out varchar2,
pbook in varchar2,
pperiod in varchar2
) is
cursor cur1 (p_sdate in date, p_edate in date )is
select distinct group_id groupid,
user_je_source_name source
from gl_interface
where accounting_date >= p_sdate
and accounting_date <= p_edate
and set_of_books_id = pbook;
cursor cur2 is
select distinct start_date sdate,
end_date edate, period_name period
from gl_period_statuses
where period_name = pperiod
and set_of_books_id = pbook
and application_id = 101;
i cur1%rowtype;
j cur2%rowtype;
begin
open cur2;
fnd_file.put_line(fnd_file.output,'PERIOD'||'----'||'GROUPID'||
'----'|| 'SOURCE');
loop
fetch cur2 into J;
exit when cur2%notfound;
open cur1(J.sdate,J.edate);
loop
fetch cur1 into I;
exit when cur1%notfound;
fnd_file.put_line(fnd_file.output, J.period||'----'||I.groupid||'----'||
I.source);
end loop;
end loop;
Close cur1;
close cur2;
Exception when others then dbms_output.put_line(SQLERRM);
end;
==================================================================================================
For SOB value set, I have passed the default value as vamsi suggested ($profiles$.gl_set_of_bks_id)....
For period value set, I have entered query as ..where application_id = 101
and set_of_books_id = :$PROFILES$.gl_set_of_bks_id
and closing_status IN ( 'O', 'F', 'C')
order by period_year, period_num...................
It still doesn't work....I don't know how to derive those Periods based on the SOBs and at the same time pass SOB id into the cursors...
Please help...
Rgds,
Murali -
How to get default values while using the transaction "BP"
Hi Group,
I have a query on how to get default values while using the transaction <b>BP</b>?
The thing is:
when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
how can I achieve this?
So please kindly let me know the procedure to achieve this.
Thanks & Regards,
Vishnu.Hi,
The events of BDT can be used to default some fields on creating a partner.
For this create a function module for ISDAT. attach that event in BUS7.
In the ISDAT funtion modulethe following code should be used.
For example to set the nationality:
I_BUSDEFAULT-NATIO = 'DE.
CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
EXPORTING
i_busdefault = I_BUSDEFAULT
Regards, Smita. -
How to use Special value set with Column clause to display addtional column
hi
can anyone tell me
How to use Special value set with Column clause to display addtional column
how can i use FND POPID and with COLUMN clause ?Dear Yaseen,
To get the value in formula cumulative,after you have created the formula for that particular key figure,go to edit and click on tab "calculations".
In that select overall result as 'count all values not equal to zero' and single result as 'count all values not equal to zero' .
And mark the cumulative check box underneath.
I hope you get the desired result and please do me favour .
Sumit goomber -
BRF -fetch formula value set in the expression
Hi expert.
My question is how to fetch formula value set in expression of BRF.
Here is my scenario.
For SC object BUS212 is have maintained the 2 levels approval process as below .
object type u2013 BUS2121
Process schema - 3C_SC_700_002
100-approval-u2018 ' u2013 u2018 ' u2013 RR_EMPLOYEE- Specify Employee for Approval- 365-40007953- ' ' -dec entire doc.
200-approval- AMT_LIMITu2013 limit ck u2013 RR_EMPLOYEE- Specify Employee for Approval- 250- 40007953- ' '-decision for entire doc.
For second level approval system checks for SC cart total amount .
In the BRF the expression type 0FB001u2019 (CL_FORMULA_BRF) is created for event (AMT_LIMIT ) is EX_AMT_LIMIT_2
here
Expression is of type u20180FB001u2019 (CL_FORMULA_BRF ), formula editor
Has condition 0V_SC_TOTALVALUE ( Overall value) > 10000 (number)
The process levels are maintained in table u2018 /SAPSRM/C_WF_Lu2019 here I got the EVENT> AMT_LIMIT.
800 BUS2121 3C_SC_700_002 100 A RR_EMPLOYEE 365 40007953
800 BUS2121 3C_SC_700_002 200 A RR_EMPLOYEE 304 AMT_LIMIT 40007954
In table TBRF210 I got event and Expression relation
800 A SRM_WF AMT_LIMIT A EX_AMT_LIMIT_2
In table TBRF200 I got the BRF expression EX_AMT_LIMIT_2 and object OV_SC_TOTALVALUE relation
800 A SRM_WF F EX_AMT_LIMIT_2 F A 0V_SC_TOTALVALUE
Now here is my problem how to fetch condition 0V_SC_TOTALVALUE ( Overall value) > 10000 (number)
Suggest the Class-method , tables or FM to fetch this 10000 value against 0V_SC_TOTALVALUE ( Overall value).
Warm Regards.
Indranil PanzadeHi ,
first thanks for taking the interest in this thread .
I need this data matinated in BRF expression for my custome (report and pplication)purpose.
here i maintained the value 10000 for SC total amount against some EXPRession .
that i want to show in my report's column like this
Object- process levels-EVENT-EXPRESSION-valid amount(EXP.formula amt) -reposible person(AHUJA)plant-(1000).
wants more explaination ,
please reply.
Indranil -
How do I use GarageBand as a amp/speaker to listen to my Electronic Drum set? I have a MIDI-USB cord already but I can't figure out how to listen to my set through the software using my computer speakers?
If you want to listen to the sounds of your drum set, you should use an audio cable and connect it to the computer's line-in, then create a real instrument track.
If you use a Midi/USB interface, you'll have to create a software instrument track and select one of GB's drumsets as the instrument. Hopefully your drumset's midi notes are mapped to the right sounds in GB. -
The Finder toolbar, by default, has Previous and Next buttons that let you navigate back and forth in folders. I somewhat change that setting and can't go back and foreward. How do I change this setting to the original one? I tried everything! Help!
Select a Finder window, Finder->View->Customize Toolbar…, and add it back.
-
How to pass a data set as a filter?
Hello everybody!
Are asking me to do the following:
Select from a Combo Box classifications suppliers and all suppliers to pass on the whole as a result of a query filter.
At this time I was only able to pass the values of the first, someone will have some idea on how to pass a data set as a filter?
The result of my selection, as a way to "Store" and assign it as my input filter query.
thanks for your help.Hi Jan,
thanks for your help, but...
My problem is passing the result of a query directly to another query, to me that this generates a result.
For Example: zquery_1, is the entry qualification of suppliers and I returned a set of suppliers.
The zquery 2, receives as input suppliers that set me back and the materials associated with the suppliers.
To achieve this, I am passing the result of a zquery_1 store and east asginandolo as variable input to zquery_2, my problem is that this just me reading the first of the records.
If the 3 providers zquery_1 me back, how can I pass these 3 andalusia zquery_2 providers without the user having to select them?
greetings
Manuel Sandoval -
How to set the where clause of a value set on the basis of a form field
I am using a DFF(Descriptive FlexField), which needs to display the value of a certain column(say columnA) on the basis of the value of another column(say columnB).
So i have created a value set which points to the table which has both these columns, and the DFF uses this value set. However, the problem is that I have not put any where clause in the value set, because of which i cannot handle the exact fetch returns more than one rows error.
The query has to be as follows:
select ColumnA from tbl where ColumnB = [ a form value ];
What I want to know is how can i get the value of a certain field of a certain block of the form in the above query.
Edited by: 981615 on Jan 14, 2013 12:48 AM
Edited by: 981615 on Jan 14, 2013 12:48 AMJust have a look over these two statements if it solves your problem
one time where clause
Set_Block_Property('BLOCK_NAME',ONETIME_WHERE,your form item);
dynamic where clause
set_block_property('BLOCK_NAME'default_where, your form itme)
you can where clause at run time from any procedure or some triggers -
I have a case where a trading partner sends two separate file types: a 999 acknowledgement (uses the carat separator) and a 277U (uses the "U"). The trading partner uses the same ISA6/ISA8 identifiers. The 999 acknowledgement
cannot be defined in the Transaction Set List so I need to support all transaction sets in the agreement. For the 277U, I can set the 277 in the set list, but then having multiple agreements with the same ISA6/ISA8 is not allowed. The type
of file we accept is directed to an orchestration via the receive port/receive folder (999 files go to one folder and 277U files go to another).
I would like to be able to accept the file and let BizTalk determine the repetition separator by reading it from the supplied ISA11 value rather than the set value in the agreement. Is this possible?Here's the thing, all other HIPAA transactions define ISA11 as Repetition Separator so having an ISA11 value of 'U' on a 277U is an outlier.
Let me alter my advice...the first thing you should do is check their Companion Guide for the 277U to see if they have specified the interpretation of ISA11.
But, looking at the 277CA Implementation Guide, ISA11 is defined as Repetition Separator. I don't have have the official 277U IG but if you can get a copy, that will decide this definitively.
So, I would raise it as a bug on their side.
However, if they insist on remaining non-compliant, you then have to get them to document to you the exact meaning of ISA11 since they're causing some ambiguity. If they are sending 'U' as Standards Identifier, they I would use a custom Pipeline Component
to change 'U' to '^' in EDI. -
How to add a value set in a custom form in query_find screen in R12 please
Hello,I need to add a value set fileld found in the fnd_flex_value_set table in a query find screen . How do I proceed please ?
Do I create a record group followed by a 'LOV' ?
Thanks.Hi;
For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Application Development in PL/SQL » Forms which you can get more quick response
Regard
Helios -
How to change table value set using FND_LOAD
Hi ,
I need to change my existing " table valueset " tablename .
As i know we cont change it from front end if it is created once. but i am trying to create same value set in other instance and uploading it using FND_LOAD .
Is it Possible ?
IF yes please guide ?
I feel greate if any one helps me.
Regards ,
Azam.Hi,
You could use FNDLOAD to download the values, and edit the ldt file before uploading it back using FNDLOAD.
Search My Oracle Support for "FNDLOAD afffload.lct", you should get couple of hits which should be helpful.
Note: 252853.1 - 11i AOL : How to Load Value Set Values When Using Fndload To Load A Concurrent Program
Note: 274528.1 - How To Download Single Context Using FNDLOAD For Descriptive Flexfield
Regards,
Hussein -
How to implement multiple Value Helps within the same Application ??
Dear Experts,
I want to implement multiple value helps in the same view.For that I have declared exporting parameters of type 'wdy_key_value_table.' within the component controller for each of the value helps.While I do activate and test the application I get the following error :
The following error text was processed in the system HE6 : A row with the same key already exists.
The error occurred on the application server hsdnt24s11_HE6_00 and in the work process 4 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: VALUESET_BSART of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
Method: IF_PO_VIEW1~VALUESET_BSART of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
Method: WDDOINIT of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
Method: INIT of program CL_WDR_CONTROLLER=============CP
Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
I dont know how to implement multiple value helps.Need your help on this.
Regards,
Mamai.Hi
Hint is : A row with the same key already exists it means , It is assigning the same value/Key to row and you are calling it at WDDOINIT so it giving error at the time of initialization .
Better way to do the coding at some event in view OR if not possible than just execute the first value help in wddoinit later clear all the value before gettig the other Value help. Code it at WdDoModify View to get its run time behaviour.
BR
Satish Kumar -
CRM 5.2, how to define an assignment set in the runtime depository?
We are using CRM 5.2. I have created a new component and view and the view is exposed as an interface view. Now i have to include this in the overview page of BP_HEAD component. I have enhanced BP_HEAD component and enhanced the view required as well( View Name BPHeadOverview). I have added my new component as the used components in BP_HEAD.
But when i open the enhanced view, i don't see any available assignment blocks. Standard overview page of BP_HEAD had some available assignment blocks but the enhanced one doesn't. Also following message is shown "Define an assignment set in the runtime depository". How can i add my new component and interface view to the available assignment blocks of the overview page of BP_HEAD? Thanks for your help.
Regards
HariHi Sudipta,
Thanks for your help. I am making good progress.
I believe i am quite close to completion now. Need your help with following questions though -
1) I have a context node BUILACTIVITY. Now i need to only display partial list from this context node? Is there a way i can do this directly with the context node or i have to create a new node and manipulate? If so any tips there?
2) When i create new view it doesn't have graphical representation option any more? Is it that way only? If so can i just create table view and use it?
3) When i create a form view and try to insert a table using <crmic:tableView> tag, i am getting an error messge saying "//BUILACTIVITY/Table" is not a table? What could be the issue?
Thanks a lot for your help again.
Regards
Hari -
How to make a value set dpepenedent on other value set's values
Hi,
I want to have two parameters on my report in oracle apps. I made one Value set which is 'Table' in Validation Type, now I want the other value set dependent on this previous value set's values, Is there a way to make it possible.
Regards,
Nidhi...Nidhi,
There is no relation to OAF for your issue. I will suggest to put your query in proper forum. Try http://forums.oracle.com/forums/forum.jspa?forumID=40
--Shiv
Maybe you are looking for
-
Trying to reload Acrobat X Pro after loosing sight of a netwokr scanner. Getting the flowwoing error log. Exit Code: 6 - 0 fatal error(s), 4 error(s), 3 warning(s) WARNING: OS requirements not met for {AC76BA86-1033-F400-7760-000000000005} WARNING:
-
How can I get a verification number for Elements 11 to send a photo?
I'm trying to set up the Adobe email so I can send a photo from Elements 11. I have entered my email address, click on "resend E-mail" but do not get a "sender verification" number in my regular email. What am I doing wrong? I know my email is entere
-
Solaris Management Console (SMC) - Solaris 9 x86
I�ve just installed Solaris 9 (x86) version. I�m unable to install Solaris Management console. I was using below command to add listed patches: pkgadd -d . SUNWpmgr SUNWrmui SUNWlvmr SUNWlvma SUNWlvmg I�m unable to find these packages on cd1. Somehow
-
Cleaning off my Mac...
I have a 500GB hard drive, and only 25GB available. I've moved all my important stuff to an external drive, but there's still 455.54GB taken up by "other", and I have no idea what "other" is. Audio is 159.7GB Movies are 2.08GB Photos are 4.9GB Apps
-
Short Brush Stroke Lag CS6 in Dual Monitor Setup
When I use a brush or any of the clone\healing tools the brush start lagging when I do you short and quick strokes. Longer and continuous strokes don't have any lagging going on. I have reinstalled the driver and tried a few different versions as wel