GP public API: is it possible to call that using BSP
Hi
if we dont want to involve NWDI development, is it possible to call those GP public APIs using BSP?
any tutorial avaiable?
thanks and best regards.
Jun
Hi Jun,
The GP Public APIs are Java APIs and without NWDI/NWDS, it is not possible to use them. It is not possible to call them from the ABAP Side.
However, it is possible to start a GP Procedures via Web Service. That might help you if you want to start a Guided Procedures from a BSP. But the display of the runtime might be a problem since it is not possible to jump from a BSP to a portal page. At least, I don't know how if it is possible.
Hope this helps.
Best regards,
David
Similar Messages
-
--and possibly even hijacks information from its Web site? I'm a veteran user of computers/digital products/software programs/email clients, and I'm very concerned that, as careful as I am, I may have been "phished" early this morning in connection with my legitimate online purchase of the ExportPDF program for my home computer. Had a cordial exchange with one of Adobe's customer reps, who directed me to the piracy site, even though this is not really a piracy issue. Other forms requre types of technical information that simply don't apply to this type of interaction. Does anybody at the company care that their products and resources may be being misused for fraudulent ends?
Please notify Adobe of any security issues here:
http://www.adobe.com/support/security/alertus.html -
hi,
1. Can anyone suggest me how to call a dll in a bsp. if you can help me with a sample code it'll be helpful.
2. Is it possible to call VBScript in BSP
Thnx in Advance
VinodhIt is done the same way you do in normal HTML.
A BSP is only an HTML page which ABAP is compiled into during runtime just like a JSP page or ASP page.
<htmlb:content design="design2003">
<htmlb:page title = "Test submit ">
<htmlb:form id="myform" method="POST" enctype="multipart/form-data">
<htmlb:inputField id="myFile"
visible="true"
width="300px" /><br>
<htmlb:listBox id="filelist"
width="300px" />
<script>
function selectFolder(){
var myText = "Browse for file";
var objShell = new ActiveXObject("Shell.Application");
var ssfWINDOWS = 0;
var objFolder;
objFolder = objShell.BrowseForFolder(0, myText, 0, ssfWINDOWS);
if (objFolder != null) {
document.forms.myform.myFile.value=objFolder.Items().Item().Path;
getFileList(objFolder.Items().Item().Path);
function getFileList(id) {
var FSO = new ActiveXObject("Scripting.FileSystemObject");
var myStartingFolder = id;
if ( myStartingFolder != null || myStartingFolder != "" ) {
var myFolder = FSO.GetFolder( myStartingFolder );
var myFileList = new Enumerator(myFolder.files);
// First clear all entries
document.forms.myform.filelist.options.length = 0;
for (; !myFileList.atEnd(); myFileList.moveNext()) {
document.forms.myform.filelist.options[document.forms.myform.filelist.options.length] = new Option(myFileList.item().name,FSO.GetFileName(myFileList.item()));
} // start folder found
} // getFileList
</script>
<htmlb:button id="myButton"
onClientClick="selectFolder()"
text="Browse" />
</htmlb:form>
</htmlb:page>
</htmlb:content>
Just remember with ActiveX you have security issues to keep in mind! -
Error while calling badi using class cl_exithandler with getInstance
hi experts...we are using SAP ECC 6.0 version
I have created BADI Def and Implementation using se18 and se19 with some interface methods..
Problem:
I'm writing a report to call that using class CL_EXITHANDLER but it shows an Exception..
" Exception condition "DATA_INCONS_IN_EXIT_MANAGEM" raised."
Report example:
DATA: CL_EXIT TYPE REF TO CL_EXITHANDLER,
IF_USER_INSTANCE TYPE REF TO ZIF_EX_USER_MAILID1.
CALL METHOD cl_exithandler=>get_instance
EXPORTING
EXIT_NAME = 'ZBADI_USERMAIL_DEF'
* NULL_INSTANCE_ACCEPTED = SEEX_FALSE
* IMPORTING
* ACT_IMP_EXISTING =
CHANGING
instance = IF_USER_INSTANCE
* EXCEPTIONS
* NO_REFERENCE = 1
* NO_INTERFACE_REFERENCE = 2
* NO_EXIT_INTERFACE = 3
* CLASS_NOT_IMPLEMENT_INTERFACE = 4
* SINGLE_EXIT_MULTIPLY_ACTIVE = 5
* CAST_ERROR = 6
* EXIT_NOT_EXISTING = 7
* DATA_INCONS_IN_EXIT_MANAGEM = 8
* others = 9
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
so i found that all EXITs are in the Table " SXS_ATTR"
but what i have created BADI has not exist in that Table so that it gets an Exception(while i'm debugging found this)
so kindly tel me whats problem my BADI "ZBADI_USERMAIL_DEF" not maintained that Database table
but in Implentation class its working fine..yes i have created badi in Enhancement spot so regarding what u told i'm using GET BADI and CALL BADI
DATA:W_HANDLE TYPE REF TO ZBADI_USERMAIL_DEF.
GET BADI W_HANDLE.
CALL BADI w_handle->get_user_mailid
EXPORTING
uname = UNAME
changing
mailid = W_EMAIL
WRITE: / 'UNAME:',UNAME.
WRITE: / 'EMAIL ID',W_EMAIL.
CALL BADI w_handle->get_user_address_data
EXPORTING
uname = UNAME
changing
addrdata = W_ADDRDATA
IF W_ADDRDATA IS NOT INITIAL.
WRITE: / W_ADDRDATA-BNAME,W_ADDRDATA-NAME1,W_ADDRDATA-NAME2,W_ADDRDATA-TELPR,W_ADDRDATA-TELNR,W_ADDRDATA-TEL01.
ENDIF.
but here BADI are not called
Interface implementation class methods not executed so kindly tel me whats problem here.
Thanks in Advance
sivakumar -
Error calling EBusiness Suite Public API's from SOA
Hi, I'm doing some proof of concept work with SOA Suite v 10.1.3.10. When I try to call any of the EBiz suite public API's that have user defined types for records and tables passed as parameters I get the following error when the Oracle Application Adaptor tries to create the WSDL and necessary sql scripts:
Error while writing wsdl file C:\Program
Files\jDeveloper\jdev\mywork\CRMTest\CRMTest\CRMOut3.wsdl.
Exception:
The wrapper procedure, CS_SERVICEREQUEST_PUB$CREATE_,
could not be found in the package, XX_BPEL_CRMOUT3, for the schema, APPS.
To move beyond this I created a skeleton stored procedure containing a declaration for the
CS_SERVICEREQUEST_PUB$CREATE_ function (and selected overwrite script in the wizard) and am now getting the following error:
Error while writing wsdl file C:\Program
Files\jDeveloper\jdev\mywork\CRMTest\CRMTest\CRMOut3.wsdl.
Exception:
Unable to expand a user defined type definition.
An unexpected exception occurred while trying to analyze teh user defined type definition of parameter .
Check to ensure that the user defined type is defined correctly in the database. Contact oracle support if
error is not fixable.
This works fine for the API's that just use basic types. I've also tried this with the Database Adapter and this seems to work OK too, just not with the Oracle Application Adapter.
Thanks for any help you can provide
Mike
Edited by: user2554089 on Jan 5, 2009 1:38 PMHi Christine,
It looks like a couple of the Application Servers aren't starting when OC4J starts, I need to hunt through the logs to identify the source of the problem but in the meantime I'm starting them manually from the Application Server Control. To do this expand the OC4J server and check that all the services are running (green up arrow) any that are down, click on them and start them manually. I had to manually start hw_services and deploy_service but the Worklist now runs fine.
It's possible that you won't see this problem yourself as you're upgrading from a later release than I started from but from a brief google session it looks like others have seen the same problem for different reasons. I've seen some posts that refer to the default port of the Worklist changing so that it needs starting with http://host:8988/integration/worklistapp/Login instead of http://host:8888/integration/worklistapp/Login.
Because I'm also having problems shutting down SOA suite I suspect that the patch has mangled one of the configuration scripts and I'll post the root cause when I've had chance to pore over the logs.
Regards
Mike
Edited by: Mike Ronson on Jan 19, 2009 3:28 PM -
Does any body know if there is any public API that calls this CSP_SHIP_TO_ADDRESS_PVT.ship_to_address_handler()?? I have a requirement to create a Resource Address real time for which i am looking for any public WSDL available in Integrated SOA Gateway for this package that i can use.
Any help is appreciated.
Thanks,
Harika.Hello jmcamaross, Congrats on your iPhone 6 Plus Pre-Order! We're all very excited about the new phone so I know the importance of ensuring the address is correct. Options for changing the shipping address would be to cancel your original pre-order and place a new order. When this is done, your shipping date would change to a later date as you would lose your current "place in line". Please let us know if this is a good option for you.
TanishaS1_VZW
Follow us on Twitter @VZWSupport. -
Creating Job material using public API from WIP
Take the entered component part number and search in the WIP job material requirements. This should use a WIP API. If the material is found, increment the quantity. If material is not found, create the job material using public API. (Provide WIP API details)
The java object, oracle.apps.csd.schema.server .CsdHvWipJobPvtEO is a wrapper to call WIP API. This should be used to create material requirements is this the procedure to create job material Req.
from OAF how we have to create Job material transactionHi Pat,
What is your SBO version? I've seen several cases in which the login/connection procedure (both in the client and via DI API) has become much slower after upgrading to SBO 2005.
Do you experience the same slowness when connecting via DI API in a non-WebService setting?
I would not recommend using DI API in a web service context in the first place. DI Server would give you a much more robust, stable and scalable infrastructure to build upon.
Henry -
App rejected due to non-public api's
Hi,
My App rejected due to non-public api's.
Apple's Comments:
2.5: Apps that use non-public
"We found that your app uses one or more non-public APIs, which is not in compliance with the App Store Review Guidelines. The use of non-public APIs is not permissible because it can lead to a poor user experience should these APIs change.
We found the following non-public API/s in your app:
_updateView (I have the method name like "_updateView" in my source, can I change the name of the method. Is it works ? )
If you have defined methods in your source code with the same names as the above-mentioned APIs, we suggest altering your method names so that they no longer collide with Apple's private APIs to avoid your application being flagged in future submissions.
Additionally, one or more of the above-mentioned APIs may reside in a static library included with your application. If you do not have access to the library's source, you may be able to search the compiled binary using "strings" or "otool" command line tools. The "strings" tool can output a list of the methods that the library calls and "otool -ov" will output the Objective-C class structures and their defined methods. These techniques can help you narrow down where the problematic code resides."
And in my application, I am using the FBConnect, SDWebImage library, and Twitter+oAuth api's. These are non-public api's ? Now, can I integrate Jira (Crash Reporter) to my application? Can anybody solve my issue......
Thanks & Regards,
Rajesh Kumar YandamuriI have the same problem what to do with below points from the apple.
Requires help plz help me my app rejected two times with this points.
We found that your app uses one or more non-public APIs, which is not in compliance with the App Store Review Guidelines. The use of non-public APIs is not permissible because it can lead to a poor user experience should these APIs change.
We found the following non-public API/s in your app:
_tearDown
If you have defined methods in your source code with the same names as the above-mentioned APIs, we suggest altering your method names so that they no longer collide with Apple's private APIs to avoid your application being flagged in future submissions.
Additionally, one or more of the above-mentioned APIs may reside in a static library included with your application. If you do not have access to the library's source, you may be able to search the compiled binary using "strings" or "otool" command line tools. The "strings" tool can output a list of the methods that the library calls and "otool -ov" will output the Objective-C class structures and their defined methods. These techniques can help you narrow down where the problematic code resides.
We appreciate that you may have made the precautions in your code for using non-public APIs, however, there is no way to accurately or completely predict how an API may be modified and what effects those modifications may have. For this reason, we do not permit the use of non-public APIs in App Store apps.
If there are no alternatives for providing the functionality your app requires, we encourage you to file an enhancement request. Or, try working with the Apple Developer Technical Support team to explore alternative solutions.
On occasion, there may be apps on the App Store that don't appear to be in compliance with the App Store Review Guidelines. We work hard to ensure that the apps on the App Store are in compliance and we try to identify any apps currently on the App Store that may not be. It takes time to identify these occurrences but another app being out of compliance is not a reason for your app to be.
For discrete code-level questions, you may wish to consult with Apple Developer Technical Support. Please be sure to:
- include the complete details of your rejection issues
- prepare any symbolicated crash logs, screenshots, and steps to reproduce the issues for when the DTS engineer follows up.
For information on how to symbolicate and read a crash log, please see Tech Note TN2151 Understanding and Analyzing iPhone OS Application Crash Reports.
If you have difficulty reproducing this issue, please try testing the workflow as described in <https://developer.apple.com/library/ios/qa/qa1764/>Testing Workflow with Xcode's Archive feature". -
Apps that use non-public APIs will be rejected
Hi guys
Just reading the iOS guidelines before I get too deep into making the native version of a web app.
I was wondering what:
Apps that use non-public APIs will be rejected
means when submitting an app made in AIR - does it mean you can't use your own custom classes?
CheersIf you mean custom AS3 classes, yes you can use those. What you can't do is create an ANE that calls into the private frameworks of iOS itself.
-
AP Supplier Products & Services Public API
Hi,
As part of R12 Vendor data migration we need to migrate info in AP Supplier screen "Products & Services" tab. Products & Services are already defined in the system. Need to pick at vendor level, Add it and Approve it. Is there is any Oracle standard Public API is available to do the same. Please advice.
Thanks,
Vinoth.KHi ,
Is it possible to get example code you have used to integrate API. I am trying to do it using C# but I am unable to get the catalogue list or product list .
Any help will be highly appreciated .
Thanks -
What is the difference between private API and public API??
Hi,
I came accross the terms private API and Public API ?
what are these APIs and what is the difference between them??
Thanks and Regards,
SohamSoham,
Publicly Callable Business Process APIs are the list of supported and published APIs. Direct calls to any other routines are not supported, unless explicitly specified, because API validation and logic steps will be bypassed. Many other packages include procedures and functions, which may be called from the API code itself.
Note:216838.1 - Oracle HRMS Product Family Publicly Callable Business Process APIs (A Reference Consolidation)
Regards,
Greg -
Is it possible to call a activeX control from PL/SQL...?
Hi all,
Is it possible to call a activeX control from PL/SQL...? If yes, please give me sample code or any link.
Thanks,
PalThe LoadLibrary() Win32 call is used to find the physical DLL and load it into memory. This API call first look in the current directory for the file, and then uses the PATH environmental variable to try and find the file.
Thus you need to make sure PATH is properly set. A Win32 process runs in a 32bit VM (Virtual Machine). Been a very long time since I did Windows server side development, but as I recall this VM inherits the default o/s environment (unlike Unix where the parent process environment is inherited).
You can set the environment using the Properties menu of the System desktop icon (or via Control Panel).
However.. Oracle does not run as your user. Typically it is installed as the o/s user Oracle and this user owns all the Oracle processes (listener, instance, etc).
So you will need to make sure that this user's environment is correctly configured... Further more than this, I'm out of my depth. Did a lot of Windows stuff back in the 90's, but for many years now I'm only using Unix/Linux professionally - with Windows being my console platform for playing games at home. :-)
On the Linux/Unix side, I configure the environment variable via the Listener. E.g. Under the entry SID_LIST_LISTENER, I configure the external procedure handler as follows:
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME=/tjs-dev/app/oracle/product/10.2.0)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ANY")
)No idea how this applies and works on the Windows side. -
Is it possible to call methods from another class from within an abstract c
Is it possible to call methods from another class from within an abstract class ?
I found an example in teh JDK 131 JFC that may help you. I t is using swing interface and JTable
If you can not use Swing, then you may want to do digging or try out with the idea presented here in example 3
Notice that one should refine the abstract table model and you may want to create a method for something like
public Object getValuesAtRow(int row) { return data[row;}
to give the desired row and leave the method for
getValuesAt alone for getting valued of particaular row and column.
So Once you got the seelcted row index, idxSelctd, from your table
you can get the row or set the row in your table model
public TableExample3() {
JFrame frame = new JFrame("Table");
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {System.exit(0);}});
// Take the dummy data from SwingSet.
final String[] names = {"First Name", "Last Name", "Favorite Color",
"Favorite Number", "Vegetarian"};
final Object[][] data = {
{"Mark", "Andrews", "Red", new Integer(2), new Boolean(true)},
{"Tom", "Ball", "Blue", new Integer(99), new Boolean(false)},
{"Alan", "Chung", "Green", new Integer(838), new Boolean(false)},
{"Jeff", "Dinkins", "Turquois", new Integer(8), new Boolean(true)},
{"Amy", "Fowler", "Yellow", new Integer(3), new Boolean(false)},
{"Brian", "Gerhold", "Green", new Integer(0), new Boolean(false)},
{"James", "Gosling", "Pink", new Integer(21), new Boolean(false)},
{"David", "Karlton", "Red", new Integer(1), new Boolean(false)},
{"Dave", "Kloba", "Yellow", new Integer(14), new Boolean(false)},
{"Peter", "Korn", "Purple", new Integer(12), new Boolean(false)},
{"Phil", "Milne", "Purple", new Integer(3), new Boolean(false)},
{"Dave", "Moore", "Green", new Integer(88), new Boolean(false)},
{"Hans", "Muller", "Maroon", new Integer(5), new Boolean(false)},
{"Rick", "Levenson", "Blue", new Integer(2), new Boolean(false)},
{"Tim", "Prinzing", "Blue", new Integer(22), new Boolean(false)},
{"Chester", "Rose", "Black", new Integer(0), new Boolean(false)},
{"Ray", "Ryan", "Gray", new Integer(77), new Boolean(false)},
{"Georges", "Saab", "Red", new Integer(4), new Boolean(false)},
{"Willie", "Walker", "Phthalo Blue", new Integer(4), new Boolean(false)},
{"Kathy", "Walrath", "Blue", new Integer(8), new Boolean(false)},
{"Arnaud", "Weber", "Green", new Integer(44), new Boolean(false)}
// Create a model of the data.
TableModel dataModel = new AbstractTableModel() {
// These methods always need to be implemented.
public int getColumnCount() { return names.length; }
public int getRowCount() { return data.length;}
public Object getValueAt(int row, int col) {return data[row][col];}
// The default implementations of these methods in
// AbstractTableModel would work, but we can refine them.
public String getColumnName(int column) {return names[column];}
public Class getColumnClass(int col) {return getValueAt(0,col).getClass();}
public boolean isCellEditable(int row, int col) {return (col==4);}
public void setValueAt(Object aValue, int row, int column) {
data[row][column] = aValue;
}; -
Is it possible to call module component's function through interface function
Hi,
I see this in the livedocs.
"In general, if you want to set properties on controls in the module by using external values, you should create variables that are bindable. You then set the values of those variables in the interface’s implemented methods. If you try to set properties of the module’s controls directly by using external values, the controls might not be instantiated by the time the module is loaded and the attempt to set the properties might fail."
I have an extended component in a module. I need to call that component's funcion from the interface function. i.e My main appication call the interface funcion, and that interface funcion has to call the component's funcion. Is it possible. I get error that the component is null, if I try this. Is there any way to do this.
Thanks in advance.I accomplished this, by dispatching a event from the module, and handling it in the module itself. In the handler I am able to access the component. However it is possible only when I use ModuleLoader. I tried the same using ModuleManager. It didnt work. I am adding the listener in creationComplete event. The event was triggered properly. But the listener was not invoked.
Below is the TestModule i used. In this setLabel is the implemented function.
<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" implements="TestInterface" creationComplete="onCreate()"
xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" width="400" height="300">
<fx:Script>
<![CDATA[
[Bindable] public var labelText:String = 'Initial Text';
public function onCreate():void {
this.addEventListener("test",testListener);
public function setLabel(s:String):void {
trace(getQualifiedClassName(parentDocument));
this.labelText = s;
triggerEvent();
public function triggerEvent():void {
trace('triggering event');
dispatchEvent(new Event("test",true));
public function testListener(event:Event):void {
trace('event caught');
trace(moduleLabel.text);
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<mx:Label id="moduleLabel" text="{labelText}"/>
</mx:Module>
With ModuleLoader I get the following output in console, when the setLabel function is called
ModuleTest
triggering event
event caught
test
With ModuleManger,I get the following output. The event listener is not invoked.
null
triggering event
Also while trying different options, in between I tried using parentDocument. I added the below line in the interface function.
trace(getQualifiedClassName(parentDocument));
This line printed the correct parent class name, while using ModuleLoader. But printed null with ModuleManager.
Following are the functions in main application to load the module using module manager.
public function onCreate():void {
loadTestModule();
public function loadTestModule():void {
var url:String = '';
url += 'TestModule.swf';
modInfo = ModuleManager.getModule(url);
modInfo.addEventListener(ModuleEvent.ERROR,moduleReady);
modInfo.addEventListener(ModuleEvent.READY,moduleReady);
modInfo.load(null, null, null, moduleFactory);
public function moduleReady(event:ModuleEvent):void {
if (event.type == ModuleEvent.ERROR) {
trace(event.errorText);
if (event.type == ModuleEvent.READY) {
mod = modInfo.factory.create() as TestInterface;
var el:IVisualElement = modInfo.factory.create() as IVisualElement;
this.addElement(el);
Am I missing something when I use ModuleManager. -
Is it possible to call BPMN process through java.
HI All,
Is it possible to call a BPMN process through a java. Please share your thoughts on this.
Thanks
Parker.Check this API:
http://download.oracle.com/docs/cd/E17904_01/apirefs.1111/e10659/oracle/soa/management/facade/package-summary.html
Check mostly the class Composite, you can access a process with it (and even its instances).
Maybe you are looking for
-
An ipod has been detected but could not be identified properly?
why is it doing this??
-
White blank or space problem in URL
Hi, when i passing the attribute name in the url. Sometimes url having spaces between the words that time it shows Error this is the following code for that duplicate button. In CO Homepage if("duplicate".equals(pageContext.getParameter(EVENT_PARAM))
-
Hi , there is a way to create a user definied field definition that connects in a specific table of my application an list a column? Thanks.
-
Techtool Deluxe don't works with Mac OS X 10.7.x Lion...
Hello, i have installed Mac OS X Lion on my iMac from Late 2009 and buy it with Apple Care Protection here in Germany. The Progam Techtool Pro does not work under Lion. Installing succesfull and display when starting an Error-Message (Techtool Deluxe
-
I've used DW insert app object to build form to update a record. I'd like to add an if statement but I am unsure where to insert the code. I want to check a field for a specific value before letting the record be updated. If the value is equal to a s