SAP with Macros
Hi Experts,
I am working on Single click entry tool, my requirement is
1. I want to know how many sessioned i have opened in SAP through Macros in a popup.
2. suppouse i am getting 2 sessions in popup and i am selecting any one then automatically macro will focus in selected one in SAP.
urgent.....
Back again to tell you this is a common task and has been solved like a zillion times, check for example these links:
http://www.sapdev.co.uk/file/file_upexcel.htm
http://www.sap-img.com/abap/upload-direct-excel.htm
And I would put some money on the fact there is some demo report on this topic in your ERP (but I am sorry, I don´t know any useful rpogram name, maybe you can try to seacrh a little using wildcards... XLS maybe?).
Regards Otto
Similar Messages
-
Dear all,
I have a couple of Word templates (in document libraries) that should have the filename and page count on the footer of the front page. It seams there is an issue with Word that these do not automatically update (MS kb 832897).
I am using word 2010, 64 bits.
This is solved with a Macro.
When placing the word with macro template in SharePoint, SP blocks it and the macros are not ran.
Any one with experience on this?
Thanks in advance.
GonçaloIt is not possible to run a macro in SharePoint after the document has been uploaded.
You can replicate this scenario by creating a SPItemEventReceiver which will run customized code on ItemAdded in your document library.
Please go through the following articles for details:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spitemeventreceiver.aspx
http://msdn.microsoft.com/en-us/library/office/ms437502%28v=office.14%29.aspx
Please don't forget to mark it answered, if your problem resolved or helpful. -
Excel spreadsheets with macro's
Good day
Excel spreadsheets with macro's created in Windows does not work on my Macbook (excel for mac 2011), even if I enable macro's. I do not create these spreadsheets myself. Cn anyone assist please? Thank you for your time.Hi,
As far as I known, the macro/Active X control can be used well with both of the Office 2013 and Office 365.
Would you like to share us a sample file that created in Office 2013? I'd like to test it. You can send it via Email ([email protected]).
If you have any update, please feel free let us know.
===========
Update:
I have received your mail and
attachment. Then, I tested it, I found the probably reason.
You were using ActiveX controls in the sample file, and them displayed 4 tabs in Format control dialog box. Next, you created a new Form control, it displayed 7 tabs.
You were using the two type of controls. ActiveX controls and Form controls
are different.
Form controls
Form controls are the original controls that are compatible with earlier versions of Excel, starting with Excel version 5.0. Form controls are also designed for use on XLM macro sheets.
ActiveX controls
ActiveX controls can be used on worksheet forms, with or without the use of VBA code, and on VBA UserForms. In general, use ActiveX controls when you need more flexible design requirements than those provided by Form controls. ActiveX controls have extensive
properties that you can use to customize their appearance, behavior, fonts, and other characteristics.
For more detail information, please refer to the following link:
https://support.office.microsoft.com/en-us/article/Overview-of-forms-form-controls-and-ActiveX-controls-on-a-worksheet-d101804a-0f84-43ad-8cb2-e19277b8e3fb?CorrelationId=0e7129b7-8ea2-458c-af14-a99292d300b9&ui=en-US&rs=en-US&ad=US
Hope it's helpful.
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Word for Windows with Macros can convert to mac
I have a word document that was created on a PC with Windows. It's a docm. file with macros (drop drown menus, scroll bars, and check boxes). When I open in on my MAC, none of the macros are enabled. They just become text boxes when I click
on them. How can I convert it over so I can use it on my MAC? I'm using Word 2011 Version 14.4.1. Any help would be greatly appreciated!!!Hi,
For this question, I suggest you post the question to Office for Mac forum for support:
http://answers.microsoft.com/en-us/mac
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank
you for your understanding.
Regards,
Melon Chen
TechNet Community Support -
Error when connect to SAP with JCo Connector on linux
Dear all,
Please, i need help. i was tray to connect to SAP with SAP JCo on linux ubuntu, but i have an error.
this is the error :
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM GWHOST=myhost, GWSERV=sapgw00, ASHOST=myhost, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR hostname 'avatar-bumi' unknown
TIME Thu Feb 14 15:25:48 2008
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -2
MODULE niuxi_mt.c
LINE 388
DETAIL NiPGetHostByName2: hostname 'avatar-bumi' not found
SYSTEM CALL gethostbyname_r
ERRNO 110
ERRNO TEXT Connection timed out
COUNT
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1125)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3138)
at sapjco.Main.main(Main.java:34)
Exception in thread "main" com.sap.mw.jco.JCO$Exception: (121) JCO_ERROR_NULL_HANDLE: Invalid rfc_handle = NULL encountered
at com.sap.mw.jco.rfc.MiddlewareRFC.nativeGetAttributes(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.getAttributes(MiddlewareRFC.java:1233)
at com.sap.mw.jco.JCO$Client.getAttributesInternal(JCO.java:2940)
at com.sap.mw.jco.JCO$Client.getAttributes(JCO.java:2994)
at sapjco.Main.main(Main.java:38)
How to resolve this error....
Regards,
Lisa
Edited by: Lisa Yanti on Feb 14, 2008 9:35 AMI was resolve this error by my self.
We can handle this error with registering our current IP and host name on /etc/hosts.
example:
content of /etc/hosts:
127.0.0.1 localhost
127.0.1.1 myhost.workgroup
The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
added the ip and host name to be like this configuration
127.0.0.1 localhost
127.0.1.1 myhost.workgroup
172.20.17.74 myhost
The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts -
Hello SAP Gurus-
Every month we have to download various reports from SAP (ME2J, FS10N, FD10N, FK10N and others) and export it to excel. Than in excel, we have to mannually format the same.
Is there a way we can link SAP with excel? Like if anyone in my company posts against particular vendor, it will automatically update the excel file that will have report from FK10N (Vendor Balance Display)
One of my friend at Bloomberg said that their SAP is linked to excel where excel is updated automatic. But I could not get any further details on how it works.
Please let me know if there is a way we can implement this system in our company.
Thank You in advance.
JaiHi,
You have to direct download it in to the Excel sheet without export to excel file.
E.g:- If you need to download the balance or any data fron the spreatsdeet amd yu download the file and give the file name as .xls it will download in the excel format.
May hope this is helpgul
Regards,
Kanike -
Compatibility problem with macro media flash active control
I am getting a message on my screen "compatibility problem with macro media flash active control, it isnt compatible with my version of windows (vista). How can this be fixed? why am I suddenly getting it now? I have the latest Adobe flash player installed.
Trishathe latest flash is probably the problem... it's seems that the latest flash has been causing a boat load of issues. i did a system restore to undo the flash and mozilla upgrades and it's still crashing but not as bad as it was with the upgrades.
-
Connecting SAP with an independent SQL database
Dear all,
I need to connect SAP with an independent MSSQL database.
My requirement is to transfer a set of records from my Ztable to a table in SQL database.
I have maintained the settings in DBCO transaction. I maintained DBMS as 'MSS' in DBCO.
send some sample code of how to establish the connection. Is it possible to write data in to SQL database.
How to edit the file tnsnames.ora in application server directories. I heard that for connecting to an oracle database we need to edit this , is it necessary to edit this tnsnames.ora even for connecting with SQL database?
Thanks in advance.
LakshmanThis is not possible.
My suggestion is that you create shell scripts on the unix side that copy the data to the other database.
ARD runs it's own private copy of PostGgreSQL inside the package so it won't interfer with any other SQL databases on the network or even on the machine. -
Add purchase order in SAP with sdk
Hi Experts:
I am doing an aplication for to export a purchase order to SAP with the SDK and I need to read the document number of the last purchase order that was added.
Wich method can I use?
Thanks.Hi Silvia,
You can use the GetNewObjectKey method right after you have created a new document. You can then get the DocNum using the GetByKey method.
Here an example in VB.NET (if you use C#, it is easy to translate):
'We declare a new document of type delivery
'and set all the necessary properties and values
'We then add the new delivery note
If oDeliveryNote.Add = 0 Then
Dim tmpDel As Documents = vCmp.GetBusinessObject(BoObjectTypes.oDeliveryNotes)
'Then using the GetByKey method together with the GetNewObjectKey method,
'we can get all kinds of interesting info about the newly created delivery note
If tmpDel.GetByKey(vCmp.GetNewObjectKey) Then
'Let's populate some variables that we declared earlier
DelNr = tmpDel.DocNum
NumAtcard = tmpDel.NumAtCard
CardCode = tmpDel.CardCode
DocType = tmpDel.UserFields.Fields.Item("U_type").Value
End If
End If
The same code applies to all document types.
Good luck,
Johan
Edited by: Johan Hakkesteegt on Feb 13, 2012 12:19 PM -
Connecting SAP with Excel (Beginner)
Hello!
I'm new to the SAP scripting. On my company we use lots and lots of Excel spreadsheet lists with sales orders and projects, which is why i need to learn to connect those lists with SAP.
I have a list of sales orders in Excel starting downwards from cell A2 and I want to get the exchange rate on each of the orders from the header of VA03, so that the script copies the currency rate of each sales order next to the order number in the spreadsheet.
How do i do this? :s
Thanks, MattiasHi Mattias,
if you have allready worked with Scripting (Recording) you allready have the way to connect excel with SAP
To Connect an existing Instance of SAP with Excel you will need this code:
Public sapsession
Public Sub Connect_SAP()
If Not IsObject(SAPguiApp) Then
Set SAPguiApp = CreateObject("Sapgui.ScriptingCtrl.1")
End If
If Not IsObject(sapsession) Then
Set sapsession = sapConnection.Children(0)
End If
If IsObject(WScript) Then
WScript.ConnectObject sapsession, "on"
WScript.ConnectObject sapApplication, "on"
End If
End Sub
at end of all action you have to destroy all objects
Public Sub Destory_SAP()
set sapsession = nothing
set sapapplication = Nothing
set sapGuiapp = Nothing
End Sub
PS Look for Threads that have the same Title as yours -
There are many in this forum ...
Greetings
Thomas B -
Cross company subcontrating in sap with same company code
Dear Sir
we have an scinario of cross company subcontrating in sap with same company code , take an example my plat is 1003 and another is 1019 with same company code, so is it possible to do subcontracting ? i will process doccoumntation like j1if01
which i raise with vendor also.
plz send me procedure
regards''
sumitYes,you can do subcontracting between plants of same company code.
You need to to treat respective plants as vendors.
SAP process may be
1. Create a subcon p.o (sending plant as vendor)
2. Issue material using MB1B
3. Raise challan using J1IF01 if it is excisable or else print material document(step-2) as delivery challan for reference.
4. Receiving plant will raise sales order based on p.o
5. GR material from issuing plant - MIGO
6. Process material
7. Do Delivery / PGI from receiving plant
8. Do billing or proforma invoice
9. Receive processed material based on p.o
10. Challan reconcillation(not needed if material is non excisable)
11. Invoice for subcontracting work(optional) -
After a system restart i cannot connect to SAP with SAPGUI.
After a system restart i cannot connect to SAP with SAPGUI.
See attached log "dev_disp" and "dev_w0"
At the end of this message you can see the comparison between the
defective system and another working system
I notice the absence of the "IGS400" process
Could you please help me ?
Best regards to everybody.
"dev_disp" log file tell me : ************************
trc file: "dev_disp", trc level: 1, release: "640"
Thu Jun 21 13:21:24 2007
kernel runs with dp version 132(ext=102) (@(#) DPLIB-INT-VERSION-132)
length of sys_adm_ext is 312 bytes
sysno 00
sid SVI
systemid 324 (IBM iSeries with OS400)
relno 6400
patchlevel 0
patchno 147
intno 20020600
make: single threaded, ASCII, 64 bit
pid 380
Thu Jun 21 13:21:27 2007
***LOG Q00=> DpSapEnvInit, DPStart (00 380) [dpxxdisp.c 1100]
shared lib "dw_xml.so" version 147 successfully loaded
shared lib "dw_xtc.so" version 147 successfully loaded
shared lib "dw_stl.so" version 147 successfully loaded
shared lib "dw_gui.so" version 147 successfully loaded
shared lib "dw_mdm.so" version 147 successfully loaded
MtxInit: -2 0 0
DpSysAdmExtInit: ABAP is active
DpIPCInit2: start server >FRASTEST_SVI_00 <
DpShMCreate: sizeof(wp_adm) 10712 (824)
DpShMCreate: sizeof(tm_adm) 3021432 (15032)
DpShMCreate: sizeof(wp_ca_adm) 18000 (60)
DpShMCreate: sizeof(appc_ca_adm) 6000 (60)
DpShMCreate: sizeof(comm_adm) 216000 (432)
DpShMCreate: sizeof(vmc_adm) 0 (448)
DpShMCreate: sizeof(wall_adm) (22440/36712/56/104)
Thu Jun 21 13:21:28 2007
DpShMCreate: SHM_DP_ADM_KEY (addr: 700000080000000, size: 3337656)
DpShMCreate: allocated sys_adm at 700000080000000
DpShMCreate: allocated wp_adm at 700000080001830
DpShMCreate: allocated tm_adm_list at 700000080004208
DpShMCreate: allocated tm_adm at 700000080004230
DpShMCreate: allocated wp_ca_adm at 7000000802e5ca8
DpShMCreate: allocated appc_ca_adm at 7000000802ea2f8
DpShMCreate: allocated comm_adm_list at 7000000802eba68
DpShMCreate: allocated comm_adm at 7000000802eba80
DpShMCreate: allocated vmc_adm_list at 700000080320640
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 700000080320668
DpShMCreate: allocated wall_adm at 700000080320670
MBUF state OFF
EmInit: MmSetImplementation( 2 ).
Thu Jun 21 13:21:29 2007
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 4096 kByte.
Using implementation std
EsIUnamFileMapInit: ES base = 0x7000000d0000000
EsStdInit: Extended Memory 4096 MB allocated
<ES> 1023 blocks reserved for free list.
ES initialized.
Thu Jun 21 13:22:33 2007
rdisp/http_min_wait_dia_wp : 1 -> 1
Thu Jun 21 13:22:35 2007
***LOG Q0K=> DpMsAttach, mscon ( FRASTEST) [dpxxdisp.c 10036]
Thu Jun 21 13:22:36 2007
DpStartStopMsg: send start message (myname is >FRASTEST_SVI_00 <)
DpStartStopMsg: start msg sent
Thu Jun 21 13:22:47 2007
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
Thu Jun 21 13:22:49 2007
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 6400, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1025]
DpMsgAdmin: Set patchno for this platform to 147
Release check o.K.
Thu Jun 21 13:39:13 2007
DpSigInt: caught signal 2
DpHalt: shutdown server >FRASTEST_SVI_00 < (normal)
Thu Jun 21 13:39:14 2007
***LOG Q0I=> NiPWrite: writev (32: Broken pipe) [niuxi.c 1140]
ERROR => MsINiWrite: NiBufSend (rc=NIECONN_BROKEN) [msxxi.c 2455]
ERROR => MsIModState: MsINiWrite (rc=NIECONN_BROKEN) [msxxi.c 3695]
MBUF state OFF
MBUF component DOWN
DpModState: change server state from STARTING to SHUTDOWN
Thu Jun 21 13:39:15 2007
Stop work processes...
Thu Jun 21 13:40:18 2007
ERROR => DpWpKill(411, SIGUSR2): kill failed [dpxxtool.c 2462]
Stop gateway
Stop icman
Terminate gui connections
waiting for termination of work processes
Thu Jun 21 13:40:19 2007
waiting for termination of work processes
Thu Jun 21 13:40:20 2007
waiting for termination of work processes
Thu Jun 21 13:40:21 2007
waiting for termination of work processes
"dev_w0" log file tell me : ************************
trc file: "dev_w0", trc level: 1, release: "640"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
M sysno 00
M sid SVI
M systemid 324 (IBM iSeries with OS400)
M relno 6400
M patchlevel 0
M patchno 147
M intno 20020600
M make: single threaded, ASCII, 64 bit
M pid 404
M
M
M Thu Jun 21 13:22:00 2007
M ***LOG Q01=> tskh_init, WPStart (Workproc 0 1 404) [thxxhead.c 1146]
M calling db_connect ...
C DB4 SQL Reparse Activated
C
C Thu Jun 21 13:22:11 2007
C R3INLPGM: RmtExeLib from /usr/sap/SVI/SYS/exe/run/DBSLDB4RMT
C R3INLPGM: RmtExeLib is R3640ASVI
C
C Thu Jun 21 13:22:13 2007
C Connection to database done without problems.
C -
C -
DbSl EGO Structure
C -
C SAPSYSTEMNAME = SVI
C Character encoding = ASCII
C process class = dialog process
C workprocess id = 0
C local host = FRASTEST
C dbhost = FRASTEST
C rdbname =
C dbname = SVIFRASTEST
C dblib = R3SVIDATA
C application server = DVEBMGS00
C Connect type = LOCAL
C pid = 404
C dbjobname = WP00
C dbjobuser = SVI00
C dbjobno = 025901
C wpjobname = WP00
C wpjobuser = SVI00
C wpjobno = 025901
C DB2/400 vers. appl. server = PASE 4
C DB2/400 vers. DB server = V5R4
C da_cache_size = 100
C reopen = ON
C timeout_retry = 3
C ODP threshold = 800
C ODP commit thresh. = 810
C ODP open thresh. = 850
C QAQQINI library = Default (QUSRSYS)
C Alternate QAQQINI library = Not specified
C use_lobs_for_long = ON
C use_lobs_for_short = OFF
C single_execution_threshold = 2000
C single_execution_reuse = OFF
C keep_tmp_SQLpkgs = OFF
C dbsl_trace = off
C allow_cancel = OFF
C nqe_optimize_method = O - All I/O (compatibility mode)
C query_compl_reval = O
C nte_list_size = 10
C -
C
C Thu Jun 21 13:22:17 2007
C SQL monitor started for job
B
B Thu Jun 21 13:22:18 2007
B Connection 0 opened (DBSL handle 0)
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost
B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20070621 132200 FRASTEST
M
M Thu Jun 21 13:22:37 2007
M db_connect o.k.
M
M Thu Jun 21 13:22:38 2007
M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif
ACTIVE TRACE LEVEL 2
ACTIVE TRACE COMPONENTS all, M
M -
C-STACK -
=> 64 bit R/3 Kernel
=> 64 bit OS400 Kernel
=> Heap limit = unlimited
=> Stack limit = unlimited
=> Core limit = unlimited
=> File size limit = unlimited
=> Heap address = 0x40000000000000009ED34587C2E94220
=> Stack address = 0xffffffffffff3f0
=> Stack low = 0xfffffffffffdb30
=> Stack high = 0xffffffffffffa90
=> Stack Trace:
Unknown at 0x3618
sleepms() at 0x1000f9324
SpinLockSemRq1() at 0x1000f926c
SemRq() at 0x1000fcf6c
ThIPCInit() at 0x1000ac1a0
tskh_init() at 0x1000ad704
tskhstart() at 0x1000c0950
DpMain() at 0x10175ad2c
nlsui_main() at 0x10172dee8
=> CPU Registers:
msr = 0x800000000000f032 iar = 0x0000000000003618
ctr = 0x0000000000003610 lr = 0x09000000000a2890
xer = 0x0000000008000000 cr = 0x000000002a404445
r00 = 0x0000000000000000 r01 = 0x0ffffffffffff3f0
r02 = 0x00000000000000a4 r03 = 0xffffffffffffffff
r04 = 0x0000000000000000 r05 = 0x0000000000000000
r06 = 0x0000000000000000 r07 = 0x0ffffffffffff520
r08 = 0x0000000000000001 r09 = 0x0000000010108003
r10 = 0xb00010000c90e000 r11 = 0xb00010000c90ef30
r12 = 0x0900000000001eb0 r13 = 0x0000000182784a50
r14 = 0x0000000000000002 r15 = 0x00000001810e6c48
r16 = 0x0ffffffffffffb28 r17 = 0x000000018001bf20
r18 = 0x0000000000000003 r19 = 0x0000000000000004
r20 = 0x0000000180c6de34 r21 = 0x0000000180c6de28
r22 = 0x000000018004ce60 r23 = 0x0000000180c6e244
r24 = 0x0000000000000064 r25 = 0x0000000000000158
r26 = 0x0000000000000158 r27 = 0x0000000000000000
r28 = 0x0000000000000000 r29 = 0x0fffffffffffffe0
r30 = 0x09001000a005ec48 r31 = 0x0000000000000000
Thu Jun 21 13:40:23 2007
Library |(SRV)PGM |Module |Function/Statement No.
Thu Jun 21 13:40:24 2007
|--||--
QSYS |QP2USER2 |QP2API |__Qp2Fork 8
QSYS |QP2USER2 |QP2API |runpase_main__FPi 6
QSYS |QP2USER2 |QP2API |runpase_common__FiPvT2 2
R3640ASVI |O4PRTLIBC |AS4STACK |As4Stack_From_PASE 3
R3640ASVI |O4PRTLIBC |AS4STACK |As4StackOut 10
R3640ASVI |O4PRTLIBC |AS4STACK |_MATINVS2__8O4_StackFv 8
M -
ACTIVE JOBS OF DEFECTIVE SYSTEM
Opz Sottosis/Lav corrente Tipo % CPU Funzione Stato
R3_00 QSYS SBS 0,0 DEQW
DISP_WORK SVI00 BCI 5,3 PGM-disp+work CNDW
GWRD SVI00 BCI 10,9 PGM-gwrd RUN
ICMAN SVI00 BCI 1,8 PGM-icman RUN
MSG_SERVER SVI00 BCI 0,0 PGM-MSG_SERVER SELW
RSLGCOLL SVI00 BCI 0,0 PGM-rslgcoll SELW
RSLGSEND SVI00 BCI 0,0 PGM-rslgsend SELW
SAPOSCOL SVI00 BCI 1,0 PGM-SAPOSCOL RUN
SAPSTART SVI00 BCH 0,0 PGM-sapstart EVTW
WATCHDOG SVI00 BCI 0,4 PGM-disp+work SELW
WP00 SVI00 BCI 1,0 PGM-disp+work RUN
WP01 SVI00 BCI 1,0 PGM-disp+work RUN
WP02 SVI00 BCI 1,0 PGM-disp+work RUN
WP03 SVI00 BCI 1,1 PGM-disp+work RUN
WP04 SVI00 BCI 0,9 PGM-disp+work RUN
WP05 SVI00 BCI 0,9 PGM-disp+work RUN
WP06 SVI00 BCI 0,8 PGM-disp+work RUN
WP07 SVI00 BCI 0,6 PGM-disp+work RUN
WP08 SVI00 BCI 0,0 RUN
ACTIVE JOBS OF WORKING SYSTEM
R3_03 QSYS SBS 0,0 DEQW
DISP_WORK TST03 BCI 0,0 PGM-disp+work SELW
GWRD TST03 BCI 0,0 PGM-gwrd SELW
ICMAN TST03 BCI 0,0 PGM-icman SELW
IGS400 TST03 BCI 0,0 PGM-igswd_mt THDW
IGS400 TST03 BCI 0,0 PGM-igsmux_mt THDW
IGS400 TST03 BCI 0,0 PGM-igspw_mt THDW
IGS400 TST03 BCI 0,0 PGM-igspw_mt THDW
MSG_SERVER TST03 BCI 0,0 PGM-MSG_SERVER SELW
RSLGSEND TST03 BCI 0,0 PGM-rslgsend THDW
SAPSTART TST03 BCH 0,0 PGM-sapstart EVTW
WATCHDOG TST03 BCI 0,0 PGM-disp+work SELW
WP00 TST03 BCI 0,0 PGM-disp+work SEMW
WP01 TST03 BCI 0,0 PGM-disp+work SEMW
WP02 TST03 BCI 2,5 PGM-disp+work RUN
WP03 TST03 BCI 0,0 PGM-disp+work SEMW
WP04 TST03 BCI 0,0 PGM-disp+work SEMW
WP05 TST03 BCI 0,0 PGM-disp+work SEMW
WP06 TST03 BCI 0,0 PGM-disp+work SEMW
WP07 TST03 BCI 0,0 PGM-disp+work SEMW
WP08 TST03 BCI 0,0 PGM-disp+work SEMW
WP09 TST03 BCI 0,0 PGM-disp+work SEMW
WP10 TST03 BCI 0,0 PGM-disp+work SEMW
WP11 TST03 BCI 0,0 PGM-disp+work SEMW
WP12 TST03 BCI 0,0 PGM-disp+work SEMWFollowing your suggestions i got this error message in the log file "dev_w0"
This process creted also a very big "core" file
B ***LOG BY4=> sql error 304 performing FET on table DDNTF [dbntab#7 @ 10281] [dbntab 1028 1]
B ***LOG BY0=> Conversion error in assignment to host variable *N. MSGID= Job=028178/SVI00/WP00 [dbntab#7 @ 10281] [dbntab 1028 1]
B *** ERROR => missing return code handler
caller does not handle code 1 from dbntab#7[3098]
Here is the complete log:
trc file: "dev_w0", trc level: 1, release: "640"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
M sysno 00
M sid SVI
M systemid 324 (IBM iSeries with OS400)
M relno 6400
M patchlevel 0
M patchno 147
M intno 20020600
M make: single threaded, ASCII, 64 bit
M pid 317
M
M
M Wed Aug 1 17:53:03 2007
M ***LOG Q01=> tskh_init, WPStart (Workproc 0 1 317) [thxxhead.c 1146]
M calling db_connect ...
C DB4 SQL Reparse Activated
C
C Wed Aug 1 17:53:05 2007
C R3INLPGM: RmtExeLib from /usr/sap/SVI/SYS/exe/run/DBSLDB4RMT
C R3INLPGM: RmtExeLib is R3640ASVI
C Connection to database done without problems.
C -
C -
DbSl EGO Structure
C -
C SAPSYSTEMNAME = SVI
C Character encoding = ASCII
C process class = dialog process
C workprocess id = 0
C local host = FRASTEST
C dbhost = FRASTEST
C rdbname =
C dbname = SVIFRASTEST
C dblib = R3SVIDATA
C application server = DVEBMGS00
C Connect type = LOCAL
C pid = 317
C dbjobname = WP00
C dbjobuser = SVI00
C dbjobno = 028178
C wpjobname = WP00
C wpjobuser = SVI00
C wpjobno = 028178
C DB2/400 vers. appl. server = PASE 4
C DB2/400 vers. DB server = V5R4
C da_cache_size = 100
C reopen = ON
C timeout_retry = 3
C ODP threshold = 800
C ODP commit thresh. = 810
C ODP open thresh. = 850
C QAQQINI library = Default (QUSRSYS)
C Alternate QAQQINI library = Not specified
C use_lobs_for_long = ON
C use_lobs_for_short = OFF
C single_execution_threshold = 2000
C single_execution_reuse = OFF
C keep_tmp_SQLpkgs = OFF
C dbsl_trace = off
C allow_cancel = OFF
C nqe_optimize_method = O - All I/O (compatibility mode)
C query_compl_reval = O
C nte_list_size = 10
C -
C
C Wed Aug 1 17:53:09 2007
C SQL monitor started for job
B Connection 0 opened (DBSL handle 0)
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost
B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20070801 175303 FRASTEST
M
M Wed Aug 1 17:53:12 2007
M db_connect o.k.
M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif
I
I Wed Aug 1 17:53:13 2007
I MtxInit: 0 0 0
M SHM_PRES_BUF (addr: 700000200000000, size: 4400128)
M
M Wed Aug 1 17:53:14 2007
M SHM_ROLL_AREA (addr: 700000210000000, size: 268435456)
M
M Wed Aug 1 17:53:15 2007
M SHM_PAGING_AREA (addr: 700000220000000, size: 67108864)
M SHM_ROLL_ADM (addr: 700000230000000, size: 2672386)
M SHM_PAGING_ADM (addr: 700000240000000, size: 164896)
M
M Wed Aug 1 17:53:16 2007
M ThCreateNoBuffer allocated 324144 bytes for 1000 entries at 700000250000000
M ThCreateNoBuffer index size: 3000 elems
M ThCreateVBAdm allocated 7440 bytes (50 server) at 700000260000000
X EmInit: MmSetImplementation( 2 ).
X <ES> client 0 initializing ....
X Using implementation std
X ES initialized.
B
B Wed Aug 1 17:53:20 2007
B db_con_shm_ini: WP_ID = 0, WP_CNT = 13, CON_ID = -1
B
B Wed Aug 1 17:53:25 2007
B dbtbxbuf: Buffer TABL (addr: 7000002d0000100, size: 64000000, end: 7000002d3d09100)
B dbtbxbuf: Profile: max_objects = 5000, displace = 1, reorg = 1
B dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5
B dbtbxbuf: protect_shm = 0, force_checks = 0
B dbtbxbuf: tsize_retry = 31427136
B ***LOG BB0=> buffer TABL started with length 64000000 bytes [dbtbxbuf#8 @ 16037] [dbtbxbuf1603 7]
B
B Wed Aug 1 17:53:26 2007
B dbtbxbuf: Buffer TABLP (addr: 7000002e0000100, size: 16776192, end: 7000002e0fffd00)
B dbtbxbuf: Profile: max_objects = 500, displace = 1, reorg = 1
B dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5
B dbtbxbuf: protect_shm = 0, force_checks = 0
B dbtbxbuf: tsize_retry = 8322944
B ***LOG BB0=> buffer TABLP started with length 16776192 bytes [dbtbxbuf#8 @ 16037] [dbtbxbuf1603 7]
B dbtbxbuf: Reading TBX statistics:
B dbtbxbuf: Opening /usr/sap/SVI/DVEBMGS00/data/tbxnew failed (No such file or directory).
B dbtbxbuf: Renaming /usr/sap/SVI/DVEBMGS00/data/tbxnew to /usr/sap/SVI/DVEBMGS00/data/tbxstat failed (No such file or directory).
B dbtbxbuf: 110 object entries precreated
B Layout of EIBUF buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 360 = 360
B 2: 13 * 40 = 520
B 3: 8009 * 40 = 320360
B 4: 4000 * 160 = 640000
B 5: 8009 * 8 = 64072
B 6: 1 * 200 = 200
B 7: 65 * 8 = 520
B 8: 319664 * 128 = 40916992
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B dbexpbuf: Buffer EIBUF (addr: 700000300000108, size: 41943040, end: 700000302800108)
B ***LOG BB0=> buffer EIBUF started with length 40960k bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
B Layout of ESM buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 360 = 360
B 2: 13 * 40 = 520
B 3: 4001 * 40 = 160040
B 4: 2000 * 160 = 320000
B 5: 4001 * 8 = 32008
B 6: 1 * 200 = 200
B 7: 65 * 8 = 520
B 8: 28755 * 128 = 3680640
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B dbexpbuf: Buffer ESM (addr: 700000310000108, size: 4194304, end: 700000310400108)
B ***LOG BB0=> buffer ESM started with length 4096k bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
B Layout of CUA buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 360 = 360
B 2: 13 * 40 = 520
B 3: 16411 * 40 = 656440
B 4: 8191 * 160 = 1310560
B 5: 16411 * 8 = 131288
B 6: 1 * 200 = 200
B 7: 193 * 8 = 1544
B 8: 57325 * 256 = 14675200
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B dbexpbuf: Buffer CUA (addr: 700000320000108, size: 16776192, end: 700000320fffd08)
B ***LOG BB0=> buffer CUA started with length 16383k bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
B Layout of OTR buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 360 = 360
B 2: 13 * 40 = 520
B 3: 4001 * 40 = 160040
B 4: 2000 * 160 = 320000
B 5: 4001 * 8 = 32008
B 6: 1 * 200 = 200
B 7: 81 * 8 = 648
B 8: 28754 * 128 = 3680512
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B
B Wed Aug 1 17:53:27 2007
B dbexpbuf: Buffer OTR (addr: 700000330000108, size: 4194304, end: 700000330400108)
B ***LOG BB0=> buffer OTR started with length 4096k bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
B ***LOG BB0=> buffer CALE started with length 500000 bytes [dbcalbuf#2 @ 2212] [dbcalbuf2212 ]
C
C Wed Aug 1 17:53:29 2007
C *** ERROR => Error 304 in function db_fetch
[dbsldb4.cpp 9041]
C === DBSL Begin of SQL request after execution ===
C === DBSL SQLP0400 ===
C Function 5
C Package DDNTFIH Library R3SVIA2062
C Main_Pgm Main_Lib
C Statement_Name "Wx3AAADpDB" Cursor_Name "CADDNTF16461"
C Open_Options x80 Clause_For_Describe N
C Commitment_Control C
C Date_Format USA Date_Separator /
C Time_Format USA Time_Separator :
C Naming_Option SYS Decimal_Point .
C Blocking_Factor 1 Scrollable_Option 0
C Position_Option 0 Relative_Record 0
C Rows_To_Insert 0 Direct_Map N
C Reuse_DA N Name_Check Y
C Use_Ptrs 0 With_Hold N
C Close_File_Name Close_Library_Name *THRESHOLD
C Reopen 0 Use_Perf 1
C Query_Compl. (Reval) ! Statement_Text_CCSID 819
C Sort_Sequence_Table *JOB Sort_Sequence_Library *LIBL
C Language_ID *JOB Allow_Copy_Data S
C Allow_Blocking L
C === DBSL SQLDA ===
C sqldaid: SQLDA 2 , sqldabc: 816, sqln: 10, sqld: 4
C === TRACE VAR 0 ===
C sqlvar: 0, sqtype 469, sqllen 30, sqlname.data 13488
C sqlind: 0
C sqlname (hex):
C 0008000034B00000 0000000000000000 0000000000000000 0000000000000000
C sqldata row=0 (hex):
C 005400430041004C 0053002000200020 0020002000200020 0020002000200020
C 0020002000200020 0020002000200020 0020002000200020 00200020
C === TRACE VAR 1 ===
C sqlvar: 1, sqtype 501, sqllen 2, sqlname.data 0
C sqlind: -2
C sqlname (hex):
C 0000000000000000 0000000000000000 0000000000000000 0000000000000000
C sqldata row=0 (hex):
C 0000
C === TRACE VAR 2 ===
C sqlvar: 2, sqtype 497, sqllen 4, sqlname.data 0
C sqlind: -2
C sqlname (hex):
C 0000000000000000 0000000000000000 0000000000000000 0000000000000000
C sqldata row=0 (hex):
C 00000031
C === TRACE VAR 3 ===
C sqlvar: 3, sqtype 405, sqllonglen 32700
C sqldatalen NULL
C sqlind: 0
C sqlname (hex):
C 00080000FFFF0000 0000000000000000 0000000000000000 0000000000000000
C sqldata row=0 (hex):
C 0000028742000007 4100000000010000 0000280001000000 0100010000004944
C 0000000000000000 0000000000000000 0000000000000000 00000000004B4142
C === DBSL errc ===
C errc: OK
C === DBSL sqlca ===
C sqlcode: 304
C sqlerrml: 68, sqlerrmc:
C 00035CD540404040 4040404040404040 4040404040404040 4040404040404040
C 4040404040404040 4040404040404040 4040404040404040 4040404040404040
C 40400006
B ***LOG BY4=> sql error 304 performing FET on table DDNTF [dbntab#7 @ 10281] [dbntab 1028 1]
B ***LOG BY0=> Conversion error in assignment to host variable *N. MSGID= Job=028178/SVI00/WP00 [dbntab#7 @ 10281] [dbntab 1028 1]
B *** ERROR => missing return code handler
caller does not handle code 1 from dbntab#7[3098]
==> calling sap_dext to abort transaction
[dbeh.c 93]
M -
C-STACK -
=> 64 bit R/3 Kernel
=> 64 bit OS400 Kernel
=> Heap limit = unlimited
=> Stack limit = unlimited
=> Core limit = unlimited
=> File size limit = unlimited
=> Heap address = 0x40000000000000009E570787C2ED4260
=> Stack address = 0xfffffffffffd6f0
=> Stack low = 0xfffffffffffd6f0
=> Stack high = 0xffffffffffffa90
=> Stack Trace:
AixStack() at 0x10008d040
CTrcStack2() at 0x10008d138
ThControl() at 0x1006551a4
dyThControl() at 0x1003ab070
dextIntern() at 0x1003aa06c
sap_dext() at 0x1003aff24
dbeh_exit() at 0x100416924
db_ntab() at 0x10039d48c
read_ntab() at 0x101512474
db_cbufload() at 0x10150f40c
reset_handling() at 0x101512f00
init_shm_and_load_cals() at 0x10151394c
db_cbufinst() at 0x101514c48
db_calinit() at 0x1005ae8bc
db_init() at 0x1001c7ae0
ThCallHooks() at 0x1000c3654
ThIPCInit() at 0x1000ac574
tskh_init() at 0x1000ad704
tskhstart() at 0x1000c0950
DpMain() at 0x10175ad2c
nlsui_main() at 0x10172dee8
Wed Aug 1 17:53:29 2007
Library |(SRV)PGM |Module |Function/Statement No.
|--||--
QSYS |QP2USER2 |QP2API |__Qp2Fork 8
QSYS |QP2USER2 |QP2API |runpase_main__FPi 6
QSYS |QP2USER2 |QP2API |runpase_common__FiPvT2 2
R3640ASVI |O4PRTLIBC |AS4STACK |As4Stack_From_PASE 3
R3640ASVI |O4PRTLIBC |AS4STACK |As4StackOut 10
R3640ASVI |O4PRTLIBC |AS4STACK |_MATINVS2__8O4_StackFv 8
M -
M ***LOG R1B=> ThControl, sap_dext-call (00 ) [thxxdynp.c 355]
M in_ThErrHandle: 1
M *** ERROR => ThControl: illegal sap_dext call !!! (step 1, th_errno 5, action 1, level 1) [thxxhead.c 9564]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M Entering ThSetStatError
M Entering ThReadDetachMode
M ThISend: still inside critical section semaphore ? -
How to Integrate SAP with Solid works?
Hello Experts,
My customer is asking to do some research on integrating SAP with Solid works. I don't have any Prior experience on this. Can any one give me some inputs on below questions
1) How to Design the interface between SAP and Solid works?.
2) Is it better to Design our own Interface or better to Buy some third party tools?.
3) Please give me some best Third Party tools for this purpose?.
Thanks a lot in advance...
Regards,
Mohan.Hi,
...or Option 4, use the SAP - SolidWorks Integration. At the service marketplace at http://service.sap.com/plm or directly at http://service.sap.com/~sapidb/011000358700003638082001E/GEDAS_SOLIDWORKS.htm you can find more information about this SAP product.
Best regards,
Martin -
How to extent table space in ecc6 sap with aix
Dear ALL,
how to extent table space in ecc6 sap with aix
REGARDS,
ashutoshHi Ashutosh,
You can use brtools/sapdba in oracle and increase tablespace. You have not mentioned which database and version using.
Regards,
Anil -
Inqmy resource adapter for SAP with Bea Weblogic Server
Hi everybody,
Anybody have tried to use INQMY resource adapter for SAP with Bea weblogic server
It works well with INQMY server, but with BEA I'm getting a lot of problems creating
the connections.
Thanks in advance.
Xavi.
All,
Here are the steps we (used for internal testing) had to perform to get
IN-Q-MY adapter for SAP to work with WebLogic:
The wli.adapter.inqmy.sapr3.spi package contains extensions to the
In-Q-My J2EE Connector Architecture classes to overcome some limitations
in the base implementation classes. To get around these issues, we had
to extend their R3ManagedConnectionFactory, R3ConnectionManager, and
R3ConnectionFactory classes.
* The javax.resource.spi.ManagedConnectionFactory implementation
does not over-ride the equals and hashCode methods correctly. This
causes problems with WLS 6.1.
* There is a bug in their javax.resource.spi.ConnectionManager
implementation for non-managed uses of the adapter. Consequently, their
adapter cannot be used in a non-managed scenario.
* The javax.resource.cci.ConnectionFactory class does not support
the getConnection() method that does not take any arguments (it throws a
null pointer exception).
I am attaching the classes discussed above.
Cheers,
Chris
Torsten Friebe wrote:
> Hi,
>
> does anybody know where to get a trail version - if one exists - of IN-Q-MY
> application server or the resource adapter?
>
> Thanks, regards
> Torsten
>
> "Xavi" <[email protected]> schrieb im Newsbeitrag
> news:[email protected]...
>
>>Hi everybody,
>>
>>Anybody have tried to use INQMY resource adapter for SAP with Bea weblogic
>>
> server
>
>>?
>>
>>It works well with INQMY server, but with BEA I'm getting a lot of
>>
> problems creating
>
>>the connections.
>>
>>Thanks in advance.
>>Xavi.
>>
>>
>
>
package wli.adapter.inqmy.sapr3.spi;
import java.io.Serializable;
import javax.resource.ResourceException;
import javax.resource.cci.Connection;
import javax.resource.cci.ConnectionSpec;
import javax.resource.spi.ConnectionManager;
import javax.resource.spi.ConnectionRequestInfo;
import javax.resource.spi.ManagedConnection;
import javax.resource.spi.ManagedConnectionFactory;
import com.inqmy.r3adapter.R3ConnectionSpec;
import com.inqmy.r3adapter.R3ManagedConnectionFactory;
* Extends the In-Q-My implementation to allow for getConnection() with no
* connection spec, i.e. use the default configured connection parameters.
public class R3ConnectionFactory
extends com.inqmy.r3adapter.R3ConnectionFactory
implements com.bea.connector.IProxyMarker {
private R3ConnectionSpec m_cspec;
public R3ConnectionFactory(ConnectionManager cm, R3ManagedConnectionFactory mcf)
throws ResourceException {
super(cm, mcf);
String strClientNumber = mcf.getClientNumber();
if (strClientNumber == null) {
throw new javax.resource.spi.IllegalStateException("ClientNumber not set for "+mcf);
String strLanguage = mcf.getLanguage();
if (strLanguage == null) {
throw new javax.resource.spi.IllegalStateException("Language not set for "+mcf);
String strUserName = mcf.getUserName();
if (strUserName == null) {
throw new javax.resource.spi.IllegalStateException("UserName not set for "+mcf);
String strPassword = mcf.getPassword();
if (strPassword == null) {
throw new javax.resource.spi.IllegalStateException("Password not set for "+mcf);
m_cspec = new R3ConnectionSpec(strClientNumber, strLanguage, strUserName, strPassword);
public Connection getConnection(ConnectionSpec connectionSpec)
throws ResourceException {
if (connectionSpec == null) connectionSpec = m_cspec;
return super.getConnection(connectionSpec);
package wli.adapter.inqmy.sapr3.spi;
import java.io.Serializable;
import javax.resource.ResourceException;
import javax.resource.spi.ConnectionManager;
import javax.resource.spi.ConnectionRequestInfo;
import javax.resource.spi.ManagedConnection;
import javax.resource.spi.ManagedConnectionFactory;
* Extends the In-Q-My implementation to over-ride the
* allocateConnection method to return a CCI connection vs. a ManagedConnection
public class R3DefaultConnectionManager
implements ConnectionManager, Serializable {
public R3DefaultConnectionManager() {}
public Object
allocateConnection(ManagedConnectionFactory mcf, ConnectionRequestInfo cri)
throws ResourceException {
ManagedConnection mc = mcf.createManagedConnection(null, cri);
return mc.getConnection(null, cri);
package wli.adapter.inqmy.sapr3.spi;
import javax.resource.spi.ConnectionManager;
import javax.resource.spi.ConnectionRequestInfo;
import javax.resource.spi.ManagedConnection;
import javax.security.auth.Subject;
* Extends the In-Q-My implementation to get around some problems encountered
* while running on WebLogic:
* <ul>
* <li>Must over-ride default implementation of equals and hashCode method</li>
* <li>Needed to provide my version of the CCI ConnectionFactory</li>
* <li>Needed to provide my version of the default ConnectionManager for the
* non-managed scenario use case</li>
* </ul>
public class R3ManagedConnectionFactory
extends com.inqmy.r3adapter.R3ManagedConnectionFactory {
private int m_iHashCode;
transient private com.inqmy.r3adapter.R3ConnectionRequestInfo t_cri = null;
public R3ManagedConnectionFactory() {
super();
java.rmi.server.UID uid = new java.rmi.server.UID();
m_iHashCode = uid.hashCode();
public Object createConnectionFactory() {
// need to install our own default connection manager because In-Q-My
// version causes a ClassCastException in CCI ConnectionFactory
// getConnection
return createConnectionFactory(new R3DefaultConnectionManager());
public ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo cri)
throws javax.resource.ResourceException {
// need to check for null on the ConnectionRequestInfo object because the
// In-Q-My R3ManagedConnection ctor does not check for null
if (cri == null) cri = getDefaultConnectionRequestInfo();
return new com.inqmy.r3adapter.R3ManagedConnection(this, subject, cri);
public Object createConnectionFactory(ConnectionManager connectionManager) {
// need to supply a connection factory that can deal with getConnection
// that does not take a ConnectionSpec
try {
return new R3ConnectionFactory(connectionManager, this);
} catch (javax.resource.ResourceException re) {
re.printStackTrace();
throw new java.lang.IllegalStateException(re.getMessage());
com.inqmy.r3adapter.R3ConnectionRequestInfo getDefaultConnectionRequestInfo()
throws javax.resource.spi.IllegalStateException {
if (t_cri == null) {
String strClientNumber = this.getClientNumber();
if (strClientNumber == null) {
throw new javax.resource.spi.IllegalStateException("ClientNumber not set for "+this);
String strLanguage = this.getLanguage();
if (strLanguage == null) {
throw new javax.resource.spi.IllegalStateException("Language not set for "+this);
String strUserName = this.getUserName();
if (strUserName == null) {
throw new javax.resource.spi.IllegalStateException("UserName not set for "+this);
String strPassword = this.getPassword();
if (strPassword == null) {
throw new javax.resource.spi.IllegalStateException("Password not set for "+this);
t_cri = new com.inqmy.r3adapter.R3ConnectionRequestInfo(strClientNumber, strLanguage, strUserName, strPassword);
return t_cri;
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj == this) return true;
if (!this.getClass().isInstance(obj)) return false;
R3ManagedConnectionFactory mcf = (R3ManagedConnectionFactory)obj;
return compare(getClientNumber(), mcf.getClientNumber()) &&
compare(getLanguage(), mcf.getLanguage()) &&
compare(getUserName(), mcf.getUserName()) &&
compare(getPassword(), mcf.getPassword()) &&
compare(getServerName(), mcf.getServerName()) &&
compare(getSystemNumber(), mcf.getSystemNumber());
protected final boolean compare(final Object obj1, final Object obj2) {
if (obj1 == obj2) return true;
if (obj1 != null) {
return obj1.equals(obj2);
} else {
if (obj2 == null) {
return true;
} else {
return false;
public int hashCode() { return m_iHashCode; }
Maybe you are looking for
-
Problem with printing JFrame with several other components on it
Hi, i am trying to print out a JFrame that contains other Swing and AWT components, such as JTables and menus etc. The problem is that the options that i select from the pageformat dialog, do not get set when the printing is taking place. As a result
-
My Itunes freezes or "not responding"
I recently got the ipod video 60GB and I uploaded multiple videos on my itunes. Before it was working fine. Now whenever i try to open it, the screen comes up then freezes almost immediately. I tried to reinstall it and did virusscans, and nothing. W
-
When running Xcode, I get a warning from OSX saying:...
I have my profile locked down so that Xcode requires Admin privelages to be run. When I run it, it first asks me to authorize the OS to run it. After saying "Allow once", it then says: "The application "42804F1b0...........etc...." (basically a full
-
Hi All, How to shutdown Content Switching Module in Cat 6500 switches ? I want to shutdown only CSM-Module without disturbing Chassis. Can anyone please send me the command on that ? Highly appreciate your valuable reply. Thanks,
-
Lr White Balance drop down menu
I was in Rome this weekend snapping photographs in JPEG format. I then changed my camera settings to snap in RAW format whilst trying to capture the Pantheon at night, knowing I would be able to play about with the white balance and exposure in Lr up