How to find particular CRM BAPIs from Java code of ISA B2B application?
Hi Guys,
I am newbie in CRM ISA field. I am supporting CRM ISA 5.0 B2B application.
Basically I had a question about how to go about finding the BAPIs which are getting called from the Java side of ISA.
I know that the framework uses JCO connection in order to execute BAPIs in the back-end and usually these BAPIs are standard.
So I can put a break-point on the CRM bapis and see which is called when.
But if I want to track BAPIs from Java code, what should be my approach?
Please help.
Thanks!
Hi,
To setup the trace logs you need to use the following URL.
https://<system domain name>:port/<application_name>/admin
typically it should look like as below:
https://abc.com:50001/b2b/admin
Here there is an option to start and stop the logs and after stopping it will generate a Zip file which you need to download and from there you can easily find out the BAPI's or teh RFC calls.
Also when you search you should alwways keep one thing mind that these FM's normally start with CRM_ISA*
Hope it helps.
Regards
Sidd
Similar Messages
-
How to call a .bat file from java code?
How to call a .bat file from java code? and how can i pass parameters to that .bat file?
Thanks in advancethanks for ur reply
but still i am getting the same error.
I am trying to run a .bat file of together tool, my code looks like below
import java.lang.Runtime;
import java.lang.Process;
import java.io.File;
class SysCall{
public static void main(String args[]){
String cmd="D://Borland//Together6.2//bin//Together.bat -script:com.togethersoft.modules.qa.QA -metrics out:D://MySamples//Metrics// -fmt:html D://Borland//Together6.2//samples//java//CashSales//CashSales.tpr";
//String path="D://Borland//Together6.2//bin//Together.bat ";
Runtime r= Runtime.getRuntime(); //Declare the system call
try{
System.out.println("Before batch is called");
Process p=r.exec(cmd);
System.out.println(" Exit value =" + p.exitValue());
System.out.println("After batch is called");
/*can produce errors which must be caught*/
catch(Exception e) {
e.printStackTrace();
System.out.println (e.toString());
I am getting the below exception
Before batch is called
java.lang.IllegalThreadStateException: process has not exited
at java.lang.Win32Process.exitValue(Native Method)
at SysCall.main(SysCall.java:17)
java.lang.IllegalThreadStateException: process has not exited -
How to find the System Dbtype in java code
How to find the System Dbtype in java code
I need various Db connection my project (oracle, sq l,sybase,db2),So How to find the System Dbtype in java codeWelcome to the Forums.
Please go through the FAQ of the Forum.
You has posted your query in the wrong Forum, this one is dedicated to Oracle Forms.
Please try {forum:id=1050}.
Regards, -
How to isolate the Sql Statement from Java Code
Hi
I Need to know that can we segregate the Sql Statements and convert them to Stored Procedures so as to isolate the Sql statements from Java Code.
So i have one static web page which uses four select Statements so what i want is to create a stored procedure encapsulating these queries. So that the Java Web Developer will simply call the Stored Procedure instead of using four different SQL Statements.
Suppose the developer has these four Statements
Select ename,empno,sal,job from emp;
select empno,ename,mgr from emp;
select deptno,dname from dept;
select emp.ename,emp.empno,emp.deptno,dept,dname fromemp,dept;
So can i encapsulate these four Sql Statements in one Procedure and the Web developer can call the Store procedure and dont need to write the Sql Statements in his code.
Can Anybody guide me how to write this Stored type of Store procedure.
Thankshttp://www.google.com/search?q=java+windows+registry
Next time, search yourself. It might be beyond your belief, but you're really, really not the first person to wonder about this. -
How to kill a system process from java code.
Hi,
i need to kill or remove windows system process like cmd.exe from java code.
like removing it from end process in task mgr.
i tried below code but its not removed.
is there a better way we can do this.
killing a system process from java code will create any issues?
public static void main(String[] args) throws Exception {
String[] cmd = { "cmd.exe" };
Process p = Runtime.getRuntime().exec(cmd);
p.destroy();
any suggestions or ideas are really appreciated.
thanks.Hi jtahlborn, mohan
yes the process is created from my java code.
in my code iam creating a process like below and if it is running for a long i need to kill it from java.
For that " Runtime.getRuntime().exec("taskkill /F /PID " + 7408); " is working fine.
7408 is my process id in taskmgr created from java and iam manually passing the PID it to kill it.
But i need to get the PID from java code.
Thanks for your suggestions.
Sample Code:
public static void main(String args[])
try {
Process process = Runtime.getRuntime().exec(new String[]{"cmd.exe","/c","start"});
Field f = process.getClass().getDeclaredField( "handle");
f.setAccessible( true);
long procHandle = f.getLong( process);
System.out.println( "prochandle: " + procHandle );
//Runtime.getRuntime().exec("taskkill /F /PID " + procHandle);
} catch( Exception e) {
e.printStackTrace(); -
How to pass parameters to JasperReports from Java Code !!
Hi all
I m working on existing project and struck with a little problem. Though i have created report using iReport tool but i dont know how to integrate my reports with java code and pass suitable parameters.
Note : To answer this knowledge of jasperreports is must.
Kind regards
jitendraNote : To answer this knowledge of jasperreports is must.Then Note: you are asking in the wrong place. Try a Jasper Reports forum. Not this site.
-
How to checkout file on SCM from Java code ???
Hi friends,
I am developing application for test and trackking project . And I want to checkout my old files and then download.
I found scm ide but I couldn't find any sample about it. So I am in stuck!!
any body know, how to use it??
or any sample, document ??
thanks alot,So you are trying to use the JDeveloper Extension SDK to create integration with a version management tool.
In that case visit the Extension SDK page on OTN:
http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/index.html
You'll see there explanation of how to get the samples:
http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/samples.html
Then have a look at the VersionControlRCS sample:
Sample version control integration using the version control system (VCS) API. -
How to find the Execution Time for Java Code?
* Hi everyone , i want to calculate the execution time for my process in java
* The following was the ouput for my coding,
O/P:-
This run took 0 Hours ;1.31 Minutes ;78.36 Seconds
*** In the above output , the output should come exactly what hours , minutes and seconds for my process,
but in my code the minutes are converted into seconds(It should not)...
* Here is my coding,
static long start_time;
public static void startTime()
start_time = System.currentTimeMillis();
public static void endTime()
DecimalFormat df = new DecimalFormat("##.##");
long end_time = System.currentTimeMillis();
float t = end_time - start_time;
float sec = t / 1000;
float min = 0, hr = 0;
if (sec > 60) {
min = sec / 60;
if (min > 60) {
hr = min / 60;
System.out.println("This run took " + df.format(hr) + " Hours ;"+ df.format(min) + " Minutes ;" + df.format(sec) + " Seconds");
}* How to Calcualte exact timing for my process....
* Thanks* Hi flounder, Is following code will wotk perfectly?
public static void endTime()
DecimalFormat df = new DecimalFormat("##.##");
long end_time = System.currentTimeMillis();
float t = end_time - start_time;
float sec = t / 1000;
float min = 0, hr = 0;
while(sec >= 60){
min++;
sec = sec -60;
if (min >= 60){
min = 0; //or min = min -60;
hr++;
System.out.println("This run took " + df.format(hr) + " Hours ;"+ df.format(min) + " Minutes ;" + df.format(sec) + " Seconds");
} -
How can I set system date from java code?
Hi. I need to set the system date from my application. It must works on Windows7 so the "cmd /C date" must be executed with Administrator privileges.
I tried do it that
Process p = rt.exec("runas /user:" + env.get("COMPUTERNAME") + "\\Administrator \"cmd /C date " + dateYYYYMMDD + "\"");
Then process ask me for password for administrator but it terminates befor i send it. exitCode() returns 1.
Have you some idea how can I do it?
Regards for you.At the very least, you need to read this and follow the advice it gives. That may or may not solve your problem, but it's a bare minimum.
http://www.javaworld.com/jw-12-2000/jw-1229-traps.html -
Clear the Filter Criteria from java code programmatically
Hi All,
I am using jdev version 11.1.1.6.0.
I do have ADF table for which I have added filter to each column .
I created table using java class data control.
Filter is working Fine .
My use case is-
When I click on search button data is populated in table.
When anybody enters filter value in column suppose product and hit enter ,it filters data.
if he clears and do not hit enter key and search again then it does not show all data it only show filtered data.
So how can I programmatically clear all filters so on click of search it will show all the values not filtered values.
I have not used default Filter Behavior.
Please check below code for reference
<af:table value="#{bindings.AfMyAccOrderStatusHistorySearchVO.rangeSet}"
var="row"
rows="#{bindings.AfMyAccOrderStatusHistorySearchVO.rangeSize}"
emptyText="#{bindings.AfMyAccOrderStatusHistorySearchVO.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.AfMyAccOrderStatusHistorySearchVO.rangeSize}"
rowBandingInterval="0" id="tblStatusHistoryList"
autoHeightRows="#{bindings.AfMyAccOrderStatusHistorySearchVO.rangeSize}"
rowSelection="single"
width="100%"
partialTriggers="::cb5 ::cb8 ::cb1 ::cb2"
filterModel="#{bindings.AfMyAccOrderStatusHistorySearchVO1Query.queryDescriptor}"
queryListener="#{bindings.AfMyAccOrderStatusHistorySearchVO1Query.processQuery}"
filterVisible="true" varStatus="vs"
binding="#{AfMyAccOrderStatusHistoryAction.orderStatusHistorySearchList}">
<af:column headerText="#{alfaprojectBundle['ordstatushistory.column.invoiceDate']}"
width="70"
sortProperty="invoiceDate"
sortable="true" filterable="true"
id="c7" filterFeatures="caseInsensitive">
<af:outputText value="#{row.invoiceDate}" id="ot16"/>
</af:column>
<af:column headerText="#{alfaprojectBundle['ordstatushistory.column.soldto']}"
width="100"
sortProperty="soldTo"
sortable="true" filterable="true"
id="c14" filterFeatures="caseInsensitive">
<af:outputText value="#{row.soldTo}"
visible="#{row.visibilityIsOrdrFirstItem}"
id="ot23"/>
</af:column>
So how to clear all filter values from java code.I can't get the example "Programmatically Manipulating a Table's QBE Filter Fields"
Where is it ?
https://smuenchadf.samplecode.oracle.com/samples/ClearTableColumnFilterFields.zip
Thks -
How to find the CRM related Tables form a Particular DataSource
Hi friends
<b>How to find the CRM related Tables form a Particular DataSource
of BusinessContent.</b>
ex: i had taken CRM - DataSource ........ 0CRM_LEAD_H (Lead Header Data)
for this DS i assign IS and extract data. But i want to Know from which
CRM tables it was comming.
ie ..I want to know the what tables linked to Datasource(0CRM_LEAD_H)
How it has to check?Just for your info, you can find as useful (for a methodology to solve this kind of issue) this weblog:
SAP BW and Business Content Datasources: in pursuit of the origins
Hope it helps!
Bye,
Roberto -
How to find a crm field in the bi content
Hi all,
in r/3 we have been using rsosfieldmap table to find the infoobject existing in the bi system and can u tell me how to find the crm field whether that particular infoobject is existing or not in the bicontent.
Regards,
NaveenHI Naveen,
Check for the filed source table -- next find the data source used--> you can search in help.sap.com for the related BI content BW info objects
Rsosfiledmap table is used to find the respective Bw filed to which its mapped. this table can be used only if the fileds are already mapped and exisintg in use in BW system.
i guess u can use the same table to find the Bw info obejct(only if the CRM data source is replicated n used in BW system).
Regards
KP -
Can anybody tell me how to send/receive the sms from java application
Hi All,
Can any body tell me, how to send/receive the sms from java application to mobile phones.
I have installed the jsms engine and when i try to connect to the mobile device ,the jsms server is giving
the following error.
Cannot connect to GSM Device, error : -11Which jsms? Google finds several.
Try the website where you downloaded it. -
Discoverer Report: How to find Business Area name from Report Name.
Hi
I opened a report in Disco Desktop 4 -> Resonsibiolity --> Report Name.
So I know Report name but don’t know which Business Area it belongs to.
How to find Business Area Name from Report Name?
Cheers
VijayHi,
There is no relationship between reports and business areas. Each report can be built from many folders. Each folder can be in many business areas.
However you can try the following SQL which may give you the result you want for an v5 EUL. You will have to modify for Discoverer 4 EUL:
select distinct doc_name, obj.obj_name folder_name, bas.ba_name
from eul_us.eul5_documents doc
, eul_us.eul5_elem_xrefs xref
, eul_us.eul5_expressions exp
, eul_us.eul5_objs obj
, eul_us.eul5_ba_obj_links bol
, eul_us.eul5_bas bas
where xref.ex_from_id = doc.doc_id
and doc.doc_name = &your_report
and xref.ex_to_id = exp.exp_id
and obj.obj_id = exp.it_obj_id
and bol.bol_obj_id = obj.obj_id
and bas.ba_id = bol.bol_ba_id
Rod West -
HOW TO FIND OUT TABLE DESCRIPTION FROM JDBC?
HOW WILL FIND OUT TABLE DESCRIPTION FROM JDBC?
Have a look at ResultSetMetaData
getColumnCount()
getColumnName(int)
getColumnTypeName(int)
getColumnDisplaySize(int)
***Annie***
Maybe you are looking for
-
Recently i updated my the itunes but after doing so although it would open on my computer for a bit, it wouldn't recognise it - ie, syncing phone or I could open the program but when trying to redeem a gift voucher it didn't recognise the program on
-
Will i lose my unlimted data if i switch to a non-simcard smartphone to a phone that uses a sim card
i am currently using a 3G only Droid X2 and plan on switching to a Droid Razr Maxx 4GLTE, the droid X2 does not use a sim card but the Razr Maxx does, the Razr Maxx will be my first 4G phone and sim card phone, i was just curious if my unlimited data
-
i have database with sid RAJ. my gobal_name view shows me RAJ.US.ORACLE.COM but my database is accessed through RAJ.mydomain.com how can i synchronize it. thanks.
-
I cant upgrade to yosemite im running os 10.6.8
-
Problem with Cisco Secure Access Server 3.0
Hi All, Please what is my problem? I use Cisco Secure Access Server Version 3.0 for Windows 2000/NT Servers to authenticate users on our wireless network. I however wish to assign monthly time limits to each user after which he/she will no longer hav