Fm for finding methods and interface
I had a FM for finding BADI names and classes for a trabnsaction by placing a bug pint on that FM...
I missed it.....Can anybody help me if u know abt that FM..
Kesav
Hi
The function module used to find out the BADIs is SXV_GET_CLIF_BY_NAME
Hope it helps.
Murthy
Similar Messages
-
Have a $15.00 credit and wish to rent a movie on Ipad but am being asked for payment method and redemption is not an option. Any suggestions?
To Contact iTunes Customer Service and request assistance
Use this Link > Apple Support iTunes Store Contact -
CMP Entity Bean with ejb-ql finder methods and INFORMIX database
Hi,
I have some CMP Entity Beans with finder methods defined in ejb-ql. In my ejb-jar, within <entity> definitions I have something like:
<entity>
<abstract-schema-name>BeanName</abstract-schema-name>
<cmp-field><field-name>fieldOne</field-name></cmp-field>
<cmp-field><field-name>fieldTwo</field-name></cmp-field>
<query>
<query-method>
<method-name>findAll</method-name>
<method-params></method-params>
</query-method>
<ejb-ql>SELECT OBJECT(o) FROM BeanName o</ejb-ql>
</query>
<entity>
And in persistent.xml:
<db-properties>
<data-source-name>datasource_name</data-source-name>
</db-properties>
<entity-bean>
<ejb-name>BeanName</ejb-name>
<table-name>table_name</table-name>
<field-map key-type="NoKey">
<field-name>fieldOne</field-name>
<column><column-name>column_one</column-name></column>
</field-map>
<field-map key-type="NoKey">
<field-name>fieldTwo</field-name>
<column><column-name>column_two</column-name></column>
</field-map>
<finder-descriptor>
<method-name>findAll</method-name>
<method-params/>
</finder-descriptor>
Once deployed, on server side, I can found a java source file (with corresponding compiled class file) in path:
j2ee/cluster/server0/apps/companyName/MyEARApp/EJBContainer/temp/temp38837373733/route/to/package/
with names:
BeanName0_0pm.java
BeanName0_0PM.class
and the generated java file contains this code:
public java.util.Enumeration ejbFindAll() throws javax.ejb.FinderException, javax.ejb.EJBException {
TransactionContext tc = pm.getTransactionContext();
Connection conn = null;
PreparedStatement pSt = null;
ResultSet ejb_rs = null;
int status = javax.transaction.xa.XAResource.TMSUCCESS;
try {
conn = pm.getConnectionForFindMethod();
pSt = conn.prepareStatement("SELECT \"O\".\"COLUMN_ONE\",\"O\".\"COLUMN_TWO\", FROM \"TABLE_NAME\" \"O\"");
ejb_rs = pSt.executeQuery();
I'm trying to call this method but it throws a SQLException when preparing the statement.
It seems that Informix does not like this SQL syntax because of upper case names, doble quotes on table alias, or something else.
When editing persistent.xml in netweaver, I can define the element <datasource-vendor> as ORACLE, SAPDB, MS_SQL_SERVER, DB2_UDB_AS400 or DB2_UDB_OS390 but INFORMIX is not an accepted value.
Is there any way to define how this SQL query is build?
Thanks in advance.The return type of the finder method defined in the remote home interface is either the entity bean's remote interface or a collection of objects implementing the entity bean's remote interface. The return type of the finder method defined in the local home interface is either the entity bean's local interface or a collection of objects implementing the entity bean's local interface
-
SelectOneChoice value needed for find-method to refresh table
I would like to implement a filter that will filter the dataset, resultset returned by my adf-table.
The user has to select a value in the dropdown-list and after he has made a selection the table has to be refreshed using the value of the dropdown as a parameter-value for the find-method.
I'm using a partialtrigger to raise the refresh-event on my table, autosubmit on my dropdown and partialtrigger-attribute on my table. Now I want to pass the value of the selectOneChoice to the key-value pair used for the find-method in my pageDefinition-file.
What's the best practice to add this parameter-value?Frank,
We tried the ValueChangeListener already on the selectOneChoice-component, but the listener doesn't get fired when you choose a new value in the selectOneChoice. Only the first time the method in our backing bean is accessed, and no other times.
We are using datacontrols based on ejb 3.0 session beans as our persistence layer instead of BC and we would like to put the chosen value of the selectOneChoice-component in the parameter of our method binding. We should be able to it in the same manner as you've mentioned in the example, by accessing the paramMap.
Thanks for the advise ! -
Hi All,
Am working on Oracle EBS version R12.1.3 and trying to SELECT a responsibility from List of Values (LOV) but the code is working as .find method.
Code:
forms.listOfValues("//forms:listOfValues").select("001_Responsibility");
The above method is working as
forms.listOfValues("//forms:listOfValues").find("001_Responsibility");
Please let me know if any details are required to understand issue.
FYI:
OATS version 12.4.0.1.139
EBS version R12.1.3
Thanks and Regards,
Vasanth Kumar S MI called a procedure in in-insert and on-updateWhy are you writing this code in the first place? If you have a block based on an updatable view, just let Forms do the inserts and updates.
If it's not an updatable view, use instead of triggers on the view.
See this current thread too:
INSTEAD of Trigger View for an Oracle EBS New form development -
Recursive query for finding parents and children against two tables
Hi I have two tables where the data is stored hierarchially.
I have found using connect_by, level and other oracle functions doing its job when the data is in one table.
Can I traverse against two tables by using the same oracle functions.
My Table A can go 2 levels deep in my hierarchy and level 3 and so forth has to be done against a different table.
Appreciate your insight..
Thanks in advanceThe number of levels that I can traverse in the first table is dynamic (sometimes 2 levels and sometimes 3 levels and actually no level limit) and then has to dynamically start looking at second table for finding any more levels in the other table.
I was able to implement them seperately and union them.
I was more looking for a comprehensive solution to reduce the number of lines that I have to maintain...
Thanks in advance
Edited by: user566193 on Jan 15, 2010 1:58 PM -
Right combination needed for transfer method and TTy
Hi,
I have a scenario to map for transfers (affiliated co),
Company code A - apc 1000; nbv 200; accum 800; new value 250;
In company code A
cr apc 1000
dr clrg 250
dr accum 800
cr interco gain 50
In receiving company code B
dr apc 1000
dr asset 50
cr contra 800
cr clg 250
I am unable to do this with transfer method 3, which is new value method. I tried creating new trnsfr variants and TTys but unable to get the above postings.
Please suggest suitable combination of trnsf methods and TTys asap!!!
Thanks
Edited by: rick dermont on May 9, 2008 6:05 PMHi,
>Can someone tell me why my post doesn't show up as I typed it? All of the carriage returns were removed so that its one big >paragraph (that is impossible to read).
Because your post is too long.
Because the performance of the java forum software is very bad, the forum admins had to disable the paragraph formatting of "long" messages to keep "acceptable" response times.
This is such a good advertising for Jive software and the j2ee engine...
Olivier -
Finder Methods and Transactions
Hi,
I was interested if anybody know if EJB-finder-methods participate in a
transaction.
Thanks.
Stefan Siprell
Software-Development
<<<<<<<<<<<<<<<<<<<<<<<<<<<
<sitewaerts> GmbH
Hebelstr. 15
76133 Karlsruhe
Germany
Tel.: +49 (721) 920 918 24
Fax: +49 (721) 920 918 29
mailto:[email protected]
http://www.sitewaerts.de
>>>>>>>>>>>>>>>>>>>>>>>>>>>
Yes, they do participate in a transaction. Make sure your isolation levels
are set to
Required/RequiresNew/Mandatory or Supports. Check out 11.6 of EJB 1.1 spec
for the determining what you need.
Stefan Siprell wrote:
> Hi,
> I was interested if anybody know if EJB-finder-methods participate in a
> transaction.
>
> Thanks.
>
> Stefan Siprell
> Software-Development
>
> <<<<<<<<<<<<<<<<<<<<<<<<<<<
> <sitewaerts> GmbH
> Hebelstr. 15
> 76133 Karlsruhe
> Germany
>
> Tel.: +49 (721) 920 918 24
> Fax: +49 (721) 920 918 29
>
> mailto:[email protected]
> http://www.sitewaerts.de
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
-
Where-used list for view methods, and context elements
I want to know where a context element in the component controller is used (and if I can delete it).
Is there something like a where-used list for a context element?
Similar question:
Is there a where-used list for a method of a view?
Best regards,
DanielHi Daniel,
Its not supported for both of these..
Regards
Anuj Goyal -
Javascript for finding city and state base on zipcode using an oracle table
Does anyone know if there is Javascript already written to find city and state based on zipcode?
Eventually yes. However, you could do it yourself as well. Have a look at my demo (once
the apex.oracle.com is back) and you can use it to create your own:
http://htmldb.oracle.com/pls/otn/f?p=31517:9
http://htmldb.oracle.com/pls/otn/f?p=31517:80
What you will need is an application process to get the data queried and then
returned into your items (region).
Denes Kubicek -
Output Configuration for Monitors/Mic and Interface Trouble Within Logic Pro X
1.) I'm currently using a Shure SM58 connected to mic input 1 on an Alesis iO2. I'm getting no levels from the microphone itself when I attempt to record, and the levels on the interface itself are weak (never reaching above -20db). I'm new to this, so how in the world can I get this thing to record? My drivers are up to date regarding the interface.
2.) I'd like to use my pair of speakers as my primary listening source, but I'd also like to monitor through the headphone port on my interface at the same time. Is this possible?
There are obviously tons of questions related to these two, but I've exhausted a lot of potential solutions already with no luck.Hello Heart-A-Tact,
The articles below explains how to setup your audio interface with Mountain Lion and Logic Pro X.
The first step is to make sure you have the most recent drivers installed from Alesis.
Logic Pro User Guide - Connect an audio interface
http://help.apple.com/logicpro/mac/10/#lgcpebe92ce0
Audio Midi Setup: Audio Devices window
http://support.apple.com/kb/PH5169
Logic Pro User Guide - Devices Preferences
http://help.apple.com/logicpro/mac/10/#lgcpbb81aca5
Logic Pro User Guide - Connect MIDI Keyboards and Modules
Logic Pro X Help: Connect MIDI keyboards and modules
Cheers,
Judy -
Documentation for Oracle XML parser Classes and Interfaces
I would like to use the oracle XMLParser V2 classes with JDeveloper 3.1, but I cannot find any reference documentation for the classes and interfaces in help.
I am especially interested in a documentation for the XSLProcessor class. The only information I found was provided with the few provided samples.I don't think the javadoc for this was included in the release. You can get the Javadoc (as well as the latest version of the XML Parser v2) here on OTN.
Take Care,
Rob
null -
Finding, Shopping, and Recycling Ink for your HP Photo Printer
The following link is great for finding, shopping, and recycling ink for your HP Photo Printer.
How to find the right HP ink
Ways to save money on ink
Save money and get better results with Original HP ink
How to check your printer’s ink levels
Recycle your ink cartridges
How to order ink
http://www.hp.com/united-states/consumer/digital_photography/print_better_photos/tips/choosing-ink.h...
Click the Kudos on the left side for helping and click Accept as Solution for providing a solution. I work for HP.
Best Regards,
Kenneth
This question was solved.
View Solution.I hope this helps!
Click the Kudos on the left side for helping and click Accept as Solution for providing a solution. I work for HP.
Best Regards,
Kenneth -
How to add a finder method in the container manager Bean in the weblogic6.1
in the environment jbuilder6 andweblogic6.1,use container manager entity Bean,it can automatic generate the findAll() method,I want to add a new method to find an element in the home interface,such as findByName(),name is a element of a table of the database.in the weblogic-cmp-rdbms-jar.xml,this is part of the fiile:
<finder>
<finder-name>findAll</finder-name>
<finder-query><![CDATA[ (= 1 1) ]]></finder-query>
</finder>
<finder>
<finder-name>findByName</finder-name>
<finder-param>java.lang.String</finder-param>
<finder-query><![CDATA[ (=name $name) ]]></finder-query>
</finder>
It can successfully compile the findAll(),but it is wrong when compile the findByName(),as follows
"www.ejbgrpx": Method Name: findByName
"www.ejbgrpx": Invalid specifications for a WebLogic RDBMS CMP EJB.
"www.ejbgrpx": ERROR: Error from ejbc: weblogic.ejb20.cmp11.rdbms.finders.IllegalExpressionException:
"www.ejbgrpx": While trying to process Finder
"www.ejbgrpx": Parameter Types: (java.lang.String)
"www.ejbgrpx": WebLogic Query: (= name $name)
"www.ejbgrpx": Finder Expressions: ()
"www.ejbgrpx": Could not parse WLQL expression: (= name $name) null
"www.ejbgrpx": ERROR: ejbc found errors
thank youThe finder methods that you are referring to are only simple finder methods. If you would like to add specialized finder methods, you can make your entity bean with bean managed persistence and not container managed. If you are using EJB 2.0, your entity bean with container managed persistence can use EJB QL for finder methods. You can search for this topic and/or download the EJB 2.0 specifications
Hope this helps -
How do I use the find method to find multiple items in a single paragraph?
I am desigining a script to find any instances where ctrl+b and ctrl+i are applied to body text and then replace those character format overrides with Italic or Bold chartag. Here's what the script is supposed to do:
put the find method in a while loop that searches for character format overrides.
If a character format override is found, pass the text range returned by the find method and the CharPropsChange flag to the GetTextForRange method.
Use a boolean compare between the idata of the text item to the character angle and character weight constants.
Whichever boolean evaluates to true, then use the SetTextProp method to set properties of the text range to the properties of the italic or bold character tag.
This script does work on the first character format override found however it ignores any other overrides in the same paragraph. The cause of this is that the while loop updates the text loc that the find method uses to the next paragraph in flow. I suspect that i need to add an inner loop that goes through all the text in a single paragraph, where at teach iteration the text loc used by the find method is based on the same paragraph but the offset is modified. I am just not sure how to do that.
function removeOverrides (pDoc)
var vDocStart = pDoc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf;
var vBoldFmt=getCharFmt (pDoc, 'Bold')
var vItalicFmt=getCharFmt (pDoc, 'Italic')
initFA_errno ();
while (FA_errno==Constants.FE_Success)
var vTextLoc = new TextLoc(vDocStart,0);
var vFindParams=findOverrideParams (pDoc);
var vTextRange=pDoc.Find(vTextLoc,vFindParams);
if (vTextRange.beg.obj.ObjectValid())
var vTextItems=pDoc.GetTextForRange (vTextRange, Constants.FTI_CharPropsChange)
if (vTextItems.length==!0 )
if (vTextItems[0].idata==Constants.FTF_WEIGHT)
pDoc.SetTextProps (vTextRange, vBoldFmt.GetProps())
if (vTextItems[0].idata==Constants.FTF_ANGLE)
pDoc.SetTextProps (vTextRange, vItalicFmt.GetProps())
} else (Log (vLogFileName, '\nERROR: No items were found in the text format array but format override was found: '+pDoc.Name))
vDocStart=vDocStart.NextPgfInFlow;
function findOverrideParams (pDoc)
var vFindParams = AllocatePropVals(1);
vFindParams[0].propIdent.num = Constants.FS_FindObject;
vFindParams[0].propVal.valType = Constants.FT_Integer;
vFindParams[0].propVal.ival = Constants.FV_FindCharacterFormatOverride;
return vFindParams;Hi Rick,
Well, following up on the previous posting, I actually did figure out how to make it work but it seems rather inefficient. I can insert a new paragraph right after the paragraph that has the table anchor but when i cut the table, i also cut the paragraph i just created. So to get around that, I create two paragraphs, so that there will be one paragraph left after i do the cut and that is the paragraph that I paste the table into. Once the table is pasted into the new paragraph, I delete the other paragraph that I created.
Here's the updated code from the for loop:
var vTbl = vDoc.GetUniqueObject(Constants.FO_Tbl, vTextItems[i].obj.Unique);
var vAnchorPgf=vDoc.NewSeriesPgf (vTbl.TextLoc.obj)
var vAnchorPgf2=vDoc.NewSeriesPgf (vAnchorPgf);
var vAnchorTextLoc=new TextLoc (vAnchorPgf2, 0);
var vTblTextRange=new TextRange ();
vTblTextRange.beg.obj=vTbl.TextLoc.obj;
vTblTextRange.beg.offset = vTbl.TextLoc.offset;
vTblTextRange.end.obj=vTbl.TextLoc.obj;
vTblTextRange.end.offset = Constants.FV_OBJ_END_OFFSET
vDoc.TextSelection=vTblTextRange;
vDoc.Cut (0);
vTblTextRange.beg.obj=vAnchorTextLoc.obj;
vTblTextRange.beg.offset = 0;
vTblTextRange.end.obj=vAnchorTextLoc.obj;
vTblTextRange.end.offset =0;
vDoc.TextSelection=vTblTextRange;
vDoc.Paste (0);
vAnchorPgf2.Delete();
Maybe you are looking for
-
Hi, I would like to know if we can process a PR with acct assignment K and item category D having limits by using ME59?If yes what are the pre-requisite conditions that will allow this?
-
Print form feed \f escape sequence in labview 7.0
I have a large string that I am trying to print that contains a form feed (\f) as defined in the LabView documentaiton. What I get is a little square where the \f should be and no new page. What am I doing wrong? Steve
-
What is the difference between non-blocking and 1:1 oversubscribed?
Could someone tell me what the difference is between a non-blocked port and one with 1:1 oversubscription?
-
Email to User after User created through Reconcilitation
Hi, I want to send a mail after user gets created through Recon?Any help will be appreciated
-
Preview in Safari Beta for Win not working
Hello All, Anyone else having this problem? I installed the new Safari beta for Windows (xp) and added it to my Preview in Browser list in Dreamweaver, pointing it to safari.exe, but when I try to preview, Safari opens and displays the home page, not