How to start SDK
Hi
Iam using SAP BusinessOne 2005B PL34,Now I need to work on SDK to complete the Clients requirement.I gone through the SDK Sample program in the SDK Help Manual.
But , Still Iam confused while taking form and fields references.
So I want to know
1.What are the total prerequisites for SDK.
2.Is there any small working code so that it will become easy to understand.(Connection stringOne Click EventError Events)
If you send this details that will be much helpful for me.
Thanks & Regards
Chakrapani Bandaru
9849290882
Hello
You can find some presentations in eLerning f.e.
u can use visual basic C++ od C#
cample Connection:
in C#
try
string Coockie;
string ConnectionString;
long ret;
SAPApp = new SboGuiApi();
SAPApp.Connect("0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056");
app = SAPApp.GetApplication(0);
pCmp = new SAPbobsCOM.Company();
Coockie = pCmp.GetContextCookie();
ConnectionString = app.Company.GetConnectionContext(Coockie);
if (pCmp.Connected) pCmp.Disconnect();
ret = pCmp.SetSboLoginContext(ConnectionString);
if (ret != 0)
return false;
ret = pCmp.Connect();
return true;
catch (Exception ex)
MessageBox.Show("Failed to connect to SAP");
return false;
sample form:
private void CreateRunFrm()
SAPbouiCOM.Form oForm;
FormCreationParams oCreParam = (FormCreationParams)app.CreateObject(BoCreatableObjectType.cot_FormCreationParams);
Item oItem;
Folder oFolder;
Matrix oMatrix;
SAPbouiCOM.Column oColumn;
SAPbouiCOM.Columns oColumns;
LinkedButton oLink;
oCreParam.UniqueID = "APLX_RunF";
oCreParam.FormType = "APLX_Bank";
oCreParam.BorderStyle = BoFormBorderStyle.fbs_Fixed;
try
oForm = app.Forms.AddEx(oCreParam);
oItem = oForm.Items.Add("APL_Button", BoFormItemTypes.it_BUTTON);
oItem.Top = 280;
oItem.Left = 445;
oItem.Width = 50;
oItem.Height = 20;
oItem.ToPane = 2;
oItem.FromPane = 2;
oButton = (SAPbouiCOM.Button)oItem.Specific;
oButton.Caption = "&Dodaj";
catch (Exception e)
app.MessageBox(e.Message, 0, "", "", "");
oForm = app.Forms.Item("APLX_RunF");
initialize event`s
app.ItemEvent += new _IApplicationEvents_ItemEventEventHandler(app_ItemEvent);
void app_ItemEvent(string FormUID, ref ItemEvent pVal, out bool BubbleEvent)
if (pVal.BeforeAction)
BubbleEvent = true;
return;
if (FormUID == "APLX_RunF")
switch (pVal.EventType)
case BoEventTypes.et_CLICK:
if (pVal.ItemUID == "APL_Button" )
//Your Code heare
default:
break;
[https://www.sdn.sap.com/irj/sdn/businessone-elearning]
[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/69b323f9-0901-0010-7c95-86ad93ada3d3|
olso in your instalacion dir you can find samples & help manuals.
regards
Similar Messages
-
How to start with Acrobat SDK on Xcode?
Hello,
I'm a newer with acrobat sdk, does anyone know how to start and give me some commend for good books.
Does acrobat SDK 9 support Snow Leopard and Xcode 3.2?OK, I installed the savage driver package and ran (as root)
X -configure
I took the resulting xorg,conf.new to /etc/X11 as xorg.conf.
When I startx as a user, the laptop screen stays black.
When I run
xdpyinfo
I get
unable to open display ""
When I enable "startkde" in ~/.xinitcr, the KDED configuration dialog comes up, but in a poor resolution.
In a way, X seems to work basically, but I suppose the resolution is at 640*480.
At /var/log/xorg.0.log I can't find any errors (EE), just 3D warnings, which shouldn't bother.
BUT..... it seems the X is taking mode 111 (640*480), but my 14" laptop would like 117 (1024*768).
Can you tell me, where and how I can switch the resolution in X ? I read about the "Displaysize" in the Monitor Section, but I couldn't figure that out. The funny thing is, I have a second laptop running, with 1024*768 (vesa driver), and there is no DisplaySize in its Monitor section, but this machine is running at the correct resolution. Strange. -
How to start developing Xcelius component?
Guys,
When can I find steb-by-step explanation of how to start developing own Xcelsius components or modify existing?
I performed following actions:
1) installed Xcelsius 2008 Component SDK SP3
2) downloaded Flex 2.0.1 SDK from here:
http://labs.adobe.com/technologies/flex/sdk/flex2sdk.html
3) installed Flex Builder 3.0
Now I don't understand what to do...need assistanceHi,
You use the Xcelsius Add-On Packager (comes with the SDK) to create custom add-ons. Within this tool you can define visual components, connections or functions that can be exported as add-ons.
In order to define a visual component (the most used type) you need to first create two separate swf files. One contains your custom flex component, the other contains the interface (property sheet) the user will be using in Xcelsius to interact with the custom component.
1. Custom flex component (swf)
Develop your custom flex component as you normally do in Flex, Xcelsius SDK is not involved in any way here. Define component styles and public properties that can be later be accessed via the property sheet.
2. Property sheet (swf)
It's the interface to your custom component. Here end users can change fonts, colors, bind cell values to component properties, etc. This is possible via the Xcelsius SDK. Using the SDK you get to populate the interface initial values values with the default custom component style and property values. You can also initiate bindings here between component properties and cell values.
Under C:\Program Files\Business Objects\Xcelsius\SDK you can find both the full documentation and samples to get you started.
Hope this helps, -
How to insatll SDK for B1 2005 B???== URGENT
Hi I have SAP Business One 2005
I want to know how to install SDK using Visual basic 2005 and .NET framework ver2.0
Kindly Put down in detail the steps in downlaoding and installing in my PC.
Thanks in AdvanceHi,
the DI API standard package is installed with the B1 client together.
You only have to start VB2005 and add the necessary reference to your project.
(COM Object -> SAP Business One 2005 DI)
Regards Chris
Message was edited by:
Chris Kroos -
How to start IM on 7210 supernova, get free settin...
please send me IM setting for 7210 supenova,
how to start it, what is packet data?Project properties, change Configuration (on top) to Release and voila
1>------ Operación Generar iniciada: proyecto: SDK_Exporter, configuración: Release x64 ------
1>Vinculando...
1> Creando biblioteca C:\Program Files\Adobe\Common\Plug-ins\CS5.5\MediaCore\ExporterSDK.lib y objeto C:\Program Files\Adobe\Common\Plug-ins\CS5.5\MediaCore\ExporterSDK.exp
1>Incrustando manifiesto...
1>El registro de compilación se guardó en el "file://c:\premiere_pro_cs5.5_r1_sdk_win\premiere_pro_cs5.5_r1_sdk_win\Premiere Pro CS5.5 Win SDK\Examples\Projects\SDK_Exporter\x64\Release\BuildLog.htm"
1>SDK_Exporter - 0 errores, 0 advertencias
========== Generar: 1 correctos, 0 incorrectos, 0 actualizados, 0 omitidos ==========
IF I GO TO C:\Program Files\Adobe\Common\Plug-ins\CS5.5\MediaCore\
I FOUND THE ExporterSDK.PRM file !!
Note: remember to set Systen / User variables : ADD name : PREMSDKBUILDPATH value: C:\Program Files\Adobe\Common\Plug-ins\CS5.5\MediaCore -
How to start/ restart the service in visual admin of SAP WAS 6.4?
I have installed the sneak preview version of SAP NetWeaver WAS 6.4 for default Database MaxDB. While developing a simple application to manage simple database table citymaster with 2 columns in jsp I am getting error as
Exception e com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at : java.comp.
Looking at visual admin tool for WAS 6.4 all the entries are in color blue but the last entry for 'DATASOURCE' is in RED color where 'java.comp/env/JDBC/DATASOURCE' is the jndi reference created for default DataSource.
Can any one help me that why the last entry is in RED and it that say that some error has occured or that entry is not started then how to start that?
Please help....Dear Daniel,
I have checked the Visual Administrator's JNDI Registry service entry in the ejbContexts node but there is no entry for the project which I have created.
It get deployed while I right click on the project's ear file and click on "Deploy on J2EE Engine". But same as before while checking in Browserthe site gives the same error...
503 Service Unavailable
Application cannot be started!
Details: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application bcone.com/EntityCMPAppln cannot be started, because it has hard reference to resource CONFIG_DB with type javax.sql.DataSource, but it is not active on the server.
at com.sap.engine.services.deploy.server.ReferenceResolver.processUsageOfComponent(ReferenceResolver.java:508)
at com.sap.engine.services.deploy.server.ReferenceResolver.beforeStartingApplication(ReferenceResolver.java:337)
at com.sap.engine.services.deploy.server.application.StartTransaction.begin(StartTransaction.java:149)
at com.sap.engine.services.deploy.server.application.StartTransaction.beginLocal(StartTransaction.java:285)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:355)
at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:120)
at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesLocalAndWait(ParallelAdapter.java:224)
at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationLocalAndWait(DeployServiceImpl.java:4170)
at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationsInitially(DeployServiceImpl.java:2390)
at com.sap.engine.services.deploy.server.DeployServiceImpl.clusterElementReady(DeployServiceImpl.java:2267)
at com.sap.engine.services.deploy.server.ClusterServicesAdapter.containerStarted(ClusterServicesAdapter.java:41)
at com.sap.engine.core.service630.container.ContainerEventListenerWrapper.processEvent(ContainerEventListenerWrapper.java:101)
at com.sap.engine.core.service630.container.AdminContainerEventListenerWrapper.processEvent(AdminContainerEventListenerWrapper.java:19)
at com.sap.engine.core.service630.container.ContainerEventListenerWrapper.run(ContainerEventListenerWrapper.java:80)
at com.sap.engine.core.thread.impl4.SingleThread.execute(SingleThread.java:70)
at com.sap.engine.core.thread.impl4.SingleThread.run(SingleThread.java:111)
Please help me, how to recover this error.
Rgds,
Vivek -
How to start a application with a login window?
hi there
does anyone have any idea on how to start an application with a login window? a login window is the first frame or window to be displayed when an application starts running. and only correct login id and password have been entered the real application will start. any sample out there? thank you.You can start a new thread by making a thread object and passing it an implementation of a runnable object. Runnable has just one method, public void run(), this is was gets executed in a second thread. perhaps the code you would use would look something like this.
<code>
// set up thread for login window
new Thread(new Runnable() {
public void run() {
// construct your login window here
// when you are done processing the
// password....
if(goodPassword) {
authorized = true; // a global variable
notifyAll(); // don't forget this
else {
System.exit(42);
}).start();
// control does not stop this code gets executed while
// the above thread is running.
// Set up main program here. This is done in the
// backround.
while(!authorized) {
synchronized(this)
{ wait(50); }
// now when the user logs in this frame pops
// up real quick.
myFrame.setVisible(true);
</code>
Hope you can figure it out.. good luck :) -
How to Start Oracle Report in Unix?
hi
Does anyone know how to start oracle report in unix? I was
told to try this (r60desm) but that did not work. We are on 11i
and 6i. Please help
alphaI don't have Forms/Reports 6i for UNIX. Have you tried typing "r60" and typing tab twice?
-
How to start Oracle Application Server 10g on Linux
Hi,
I have installed the Oracle Appliacion server and Infrastructure server on Linux. Both I have installed under with Diff. folder
Can some one please tell me how to start / stop Appliacion server and Infrastructure server on Linux
We are going to use the these with Oracle EBS 11.5.10.2 .
Oracle EBS 11.5.10.2 installed in the same Linux server under diff. folder
Can some one please guide me.
Thanks,You can do as rizla said or go another route.
We setup profiles to use for all of the oracle homes. Then in the scripts we call the profiles. Easier to migrate and manage in my opinion if you have multiple oracle homes. You can then use profiles when ssh'd into the boxes, too. Both ways will work.
Example:
Script which you can chkconfig.
#!/bin/sh
# oracle_collabInfra
# This shell script takes care of starting and stopping Oracle Collab Infra instance.
#chkconfig: 345 96 14
# Source function library.
. /etc/rc.d/init.d/functions
RETVAL=0
start () {
echo $"Starting Collab Suite on the Infra instance..."
echo $"Starting Listener..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; lsnrctl start"
sleep 10
echo $"Starting Metadata Repository..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; sqlplus '/ as sysdba' <<!
startup;
exit;
sleep 10
echo $"Starting Enterprise Manager Application Server Control..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; emctl start iasconsole"
sleep 5
echo $"Starting Infra OID and OC4J_Security processes..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=OID"
runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=OC4J_Security"
echo $"Starting Infra HTTP_Server processes..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=HTTP_Server"
return $RETVAL
stop () {
echo $"Stopping Collab Suite on the Infra instance..."
echo $"Stopping all Infra OPMN managed processes..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl stopall"
sleep 5
echo $"Stopping Enterprise Manager Application Server Control..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; emctl stop iasconsole"
sleep 10
echo $"Stopping Metadata Repository..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; sqlplus '/ as sysdba' <<!
shutdown immediate;
exit;
sleep 10
echo $"Stopping Listener..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; lsnrctl stop"
return $RETVAL
restart () {
stop
start
RETVAL=$?
return $RETVAL
# See how we were called.
case "$1" in
start)
start
stop)
stop
restart)
restart
echo $"Usage: $0 {start|stop|restart}"
RETVAL=1
esac
exit $RETVAL
profile:
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=$ORACLE_BASE/collabInfra
export ORACLE_SID=orcl
export TMP=/tmp
export TMPDIR=/tmp
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=/bin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/kerberos/bin:/usr/local/bin:/usr/X11R6/bin:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/backup_restore
unset USERNAME -
How to start and finish a transaction using EJB 3.0 in JDeveloper
Hello everybody!
Does anybody can explain how to start and finish a transaction using EJB 3.0. I need to start a transaction insert some information in some tables and if everything was fine commit the information.
I put the annotation @TransactionManagement(TransactionManagementType.BEAN) in my session bean and @Resource SessionContext ejbContext; but I don't what anything else I have to do.
Any help will be appreciate.I tryied to use in the client the statement EntityTransaction transaction = myBean.getTransact(); but I receive the EJBException: Cannot use resource level transactions with a container managed EntityManager
I just need to start a transaction something like this: transaction.begin(); and finish the transaction, something like this: transaction.commit();
Does anybody can help? -
My 6th generation nano isn't recognized by my computer. When I plug it in an error message pops up, which says "USB Device Not Recognized". Does anyone know how to start trouble shooting this? I updated both windows and iTunes.
Work through all the suggestions in this Apple support document first.
iPod: Does not appear in Windows or iTunes and Device Manager is empty
B-rock -
How to start BPM Process in Netweaver CE 7.1 from backend
Hi,
since 2 Month i am trying to use SAP Netweaver CE 7.1 EHP1. I found a lot about modelling of business process with process composer.
In my company we are often using SAP Standard Programs/transaktions, thats why I want to start a SAP Netweaver BPM Process from SAP Backend. I think there are more than one way. May be someone can tel me one easy way.
The following systems are available in my Landascape:
- PI 7.1
- ERP 2005
- CE 7.1 EHP1 with ESR
Does someone have an idea how to start the BPM Process or how to trigger start event from Backend?
Greetings,
ManuelHi,
Netweaver BPM process can be started in two ways:
1. Using NWA by instantiating a process
2. Using a Web service which trigers the Start event of the Business Process. You may find this useful:
/people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
Hope this helps!!
Regards,
Arafat -
Sender File Adapter Conversion problem - how to start new recordset?
Hi guys!
I have a source file like following:
aaaakkkkkk
uuuupppppp
&&hhhhffffff
6666uuuuuu
3333rrrrrrrr
&&kkkkoooooo
which means - fixed length 4,6 and && starts new recordset.
I need to get structure like:
<recordset>
<item>
<a>aaaa</a>
<b>kkkkkk</b>
</item>
<item>
<a>uuuu</a>
<b>pppppp</b>
</item>
</recordset>
<recordset> ... with h,f and 6,u </recordset>
<recordset>
<item>
<a>kkkk</a>
<b>oooooo</b>
</item>
</recordset>
Any ideas?
Let's say, I can add && on the beginning of the file and other "lite" changes... but structure stays the same...
so, how to start new recordset? with which conversion parameter? for items it is clear...
Thanx a lot!
Olian
Message was edited by:
Olian Saludewaaaakkkkkk<end_of_line>&&uuuuwwwwww<end_of_line>...
then normal parameters should work fine,
item.fieldFixedLengths==4,6
Item.fieldNames=field1,field2
item.endSeparator=<end_of_line> -
How to start BPM Process in Netweaver CE 7.1
Hi,
since 2 Month i am trying to use SAP Netweaver CE 7.1 EHP1. I found a lot about modelling of business process with process composer.
In my company we are often using SAP Standard Programs/transaktions, thats why I want to start a SAP Netweaver BPM Process from SAP Backend. I think there are more than one way. May be someone can tel me one easy way.
The following systems are available in my Landascape:
- PI 7.1
- ERP 2005
- CE 7.1 EHP1 with ESR
Does someone have an idea how to start the BPM Process or how to trigger start event from Backend?
Greetings,
ManuelHi,
Netweaver BPM process can be started in two ways:
1. Using NWA by instantiating a process
2. Using a Web service which trigers the Start event of the Business Process. You may find this useful:
/people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
Hope this helps!!
Regards,
Arafat -
How to start listener in sql developer for remote debug
how to start listener in sql developer for remote debug ? Since the new version 1.1.0.23 is different with the old version for remote debug, I don't know how to start the listener on the new version for remote debug.
even follow the user guide below and not work . Experts on sql developer please help me with this.
Remote Debugging
To debug a procedure or function for a connection where the database is on a different host than the one on which you are
running SQL Developer, you can perform remote debugging.
Remote debugging involves many of the steps as for local debugging; however, do the
following before you start the remote debugging: Use an Oracle client such as SQL*Plus to issue the debugger connection command. Whatever
client you use, make sure that the session which issues the debugger connection commands is the same session which executes your PL/SQL
program containing the breakpoints.
For example, if the name of the remote system is remote1, use the following SQL*Plus command to open a
TCP/IP connection to that system and the port for the JDWP session:
EXEC DBMS_DEBUG_JDWP.CONNECT_TCP('remote1', '4000'); The first parameter
is the IP address or host name of the remote system, and the second parameter is the port number on that remote system on which the debugger
is listening.
Right-click the connection for the remote database, select Remote Debug, and complete the information in the Debugger - Attach
to JPDA dialog box. Then, follow the steps that you would for local debugging (for example, see Debugging a PL/SQL Procedure).
Debugger - Attach to JPDA This dialog box is displayed when you right-click a database connection name and select Remote Debug.
Use this
dialog box if you are using the Sun Microsystem's Java Platform Debugger Architecture (JPDA) and you would like the debugger to listen so
that a debuggee can attach to the debugger.
For more information about remote debugging, see Remote Debugging.
Host: Name or IP address of
the remote host on which SQL Developer should listen for the database to connect.
Port: Listening port number on the remote host. You can
choose any valid port number that is not in use by another process.
Timeout: The number of seconds that SQL Developer will wait for the
remote database to make a debugging connection. Don't Show Dialog Box Before Connecting: If this option is checked, this dialog box will not
be displayed before future connections for remote debuggingYou're not the only one:
Not able to start remote debug listener
Re: remote debug question at version 1.1.0.23 64
Maybe you are looking for
-
Need some urgent help please. I have a court summons for some information that has been taken from my Icloud account. I believe my ex employer has hired someone to hack into my account. They have had my laptop inspected by a forensic company. Orginal
-
DELETING DUPLICATE SONGS - PALM PRE
I am unable to delete duplicate songs on my Palm Pre music files. I'm not even sure how the duplicate songs showed up in my files. I have tried everything. I use I tunes & I have set all audio defaults to Itunes. I also use the Palm Music Assistant
-
Configuring Scheduler only on single node in a clustered environment
Friends, I have OIM 11gr2 environment in clustered mode with 6 nodes in it. As per my client requirement, I need to configure scheduler only on one node and No on all other nodes. So, all schedule jobs OOTB and custom jobs should run only on one node
-
HI, is there any way i can install thE sharepoint developer tools in my dev machine for woirking with SP 2013 AND VS 2012? i am not getting the sharepoint project templates when i went to VS 2012. so the link says that i need to connect to internet
-
I created a couple metadata templates that are no longer active and I would like to delete them. Unfortunately, I can't find a way to do this and I have done a lot of research. Can someone tell me how to delete them?