Problems while debugging office integration in CRM 5.0
Hello,
after upgrading our installation of CRM 5.0 from SP 14 to SP 18 I've got a problem.
We use an Excel-Sheet as an attachment in Activities with some text-marks automatically replaced via BADI "CRM_DOC_TEMPL_BADI" by implementing the method "GET_VALUES". Everything worked fine until upgrade from SP 14 to SP 18. From that time on I only get the message "Error replacing values in Office document" (message class crm_documents #204) in the internet explorer.
I tried to debug the coding and cross-checked the data with our production environment. Everything seems to be OK. I find some generated coding for javascript which should do the replacement of values, I guess. Unfortunately I can't find a way to debug or check this coding whether it contains some illegal data or not.
Is there any way to review this coding and to see what goes wrong in the browser/excel without use of third-party-tools?
Thanks in advance,
Martin
Hello, Martin
The best option is using script debugger. It is included in your Internet Explorer.
To activate script debugger, open IE and go to Internet Options->Advanced and uncheck the following flags:
- Disable Script Debugging (Internet Explorer)
- Disable Script Debugging (Other).
If you are using IE8, there is a new tool for javascript debugging by using Development tools. Check [here |http://msdn.microsoft.com/en-us/library/dd565625(v=vs.85).aspx]for info
Regards
Joaquin
Similar Messages
-
Facing Problem while Debugging a custom report using LDB
Hi Gurus,
I have requirement to modify a custom report program related to FI. This program used Logical database ZDF ( Copied original DDF) for data fetching.
when i am trying to see the data in debugging mode, its not allowing to check in start-of-selection event. only in the initialization & end-of-selection i could able to debug.
when i put breakpoint in initialization, it is allowing to see the flow till a Get Event occurs in the code, once a Get event occur the debugger is coming out and displaying the report.
If anybody faced this kind of problem when debugging a report using LDB, please share how you resolved it. If there are any other ways to debug a program of this kind please help me.
Thanks,
NandaHi Amith,
I checked that way also, i put break point in database program of the copied LDB, but its not allowing to check the flow in that program also.
Please suggest any other ways.
Thanks,
Nanda -
Memory leak checking doesn't work: SEGV problem while debugging with dbx
I am debugging a program which has memory leaks.
When I do the following:
dbx <program>
(dbx) run <input parameters>
everything runs fine, but as I didn't use RTC leaks checking, this is of no use. Therefore I do the following:
dbx <program>
(dbx) check -memuse
memuse checking - ON
(dbx) check -leaks -frames 8
leaks checking - ON
(dbx) run <input parameters>
which gives the following result:
Running: <program> <input parameters>
(process id 17075)
Reading rtcapihook.so
Reading rtcaudit.so
Reading libmapmalloc.so.1
Reading rtcboot.so
Reading librtc.so
RTC: Enabling Error Checking...
t@1 (l@1) signal SEGV (no mapping at the fault address) in __rtc_memcpy at 0xffffffff7312ed90
0xffffffff7312ed90: __rtc_memcpy+0x0014: st %o4, [%o0 + %o3]
dbx: Stopped within call to '__rtc_suppress_always'. Starting new command interpreter
(dbx) where -l
current thread: t@1
[1] libaio.so.1:_init(0xfffffffe52000058, 0x0, 0xffdfffff, 0xfffffffe52000030, 0x400000, 0x80000), at 0xfffffffe55907a90
[2] ld.so.1[L]:setup(0xffffffff7ffff250, 0x0, 0xffffffff7f72c2b0, 0x10000, 0x0, 0x0), at 0xffffffff7f610ba4
[3] ld.so.1[L]:_setup(0xffffffff7fffffab, 0x1f, 0xffffffff7ffff640, 0xffffffff7fffffbe, 0xffffffff7ffff628, 0xffffffff7f72dde8), at 0xffffffff7f61f24c
[4] ld.so.1[L]:_rt_boot(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7f6052d4
I think this means that there is a problem within my 'RTC' libraries.
When I run the "version" command within my dbx session, I get following results:
(dbx) version
Machine hardware: sun4u
OS version: 5.9
Processor type: sparc
Hardware: SUNW,Sun-Fire-480R
The following components are installed on your system:
Sun Studio 9
Sun Studio 9 C Compiler
Sun Studio 9 C++ Compiler
Sun Studio 9 Tools.h++ 7.1
Sun Studio 9 C++ Standard 64-bit Class Library
Sun Studio 9 Garbage Collector
Sun Studio 9 Fortran 95
Sun Studio 9 Debugging Tools (including dbx)
Sun Studio 9 Debugger GUI
Sun Studio 9 Performance Tools (including collect, ...)
Sun Studio 9 X-Designer
Sun Studio 9 VIM editor
Sun Studio 9 XEmacs editor
Sun Studio 9 Native Connector Tool
Sun Studio 9 LockLint
Sun Studio 9 Building Software (including dmake)
Sun Studio 9 Documentation Set
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.6 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/CC": Sun C++ 5.6 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/f90": Sun Fortran 95 8.0 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.3 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/analyzer": Sun Performance Analyzer 7.3 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/dmake": Sun Distributed Make 7.5 2004/07/15
Can anybody help me out?
Which additional information do I need to provide in order to solve this issue?
Message was edited by: B.V. (the "where -l" command has been added
B.V.Hello Maxim,
As you said, it was worth to try, but unfortunately, it was not a very good investment :-(
The patch 117564-06 has been installed, and I have retried the same procedure, but the same problem occurs.
As you have mentioned in a previous reply, I have flagged the "rtc_error_stack" before launching the "where" command.
The result is the following:
Running: <program> <input parameters>
(process id 21873)
Reading rtcapihook.so
Reading rtcaudit.so
Reading libmapmalloc.so.1
Reading rtcboot.so
Reading librtc.so
RTC: Enabling Error Checking...
t@1 (l@1) signal SEGV (no mapping at the fault address) in __rtc_memcpy at 0xffffffff7312f068
0xffffffff7312f068: __rtc_memcpy+0x0014: st %o4, [%o0 + %o3]
dbx: Stopped within call to '__rtc_suppress_always'. Starting new command interpreter
(dbx) dbxenv rtc_error_stack on
(dbx) where -l
current thread: t@1
=>[1] librtc.so[0xffffffff7de01778]:__rtc_memcpy(0xfffffffe5013fff0, 0xfffffffe50220040, 0x8, 0x
10, 0x803, 0x64a3c338), at 0xffffffff7312f068
[2] librtc.so[0xffffffff7de01778]:change_masks_work(0xfffffffeff90e878, 0xfffffffeff90e878, 0x
803, 0x2, 0x0, 0xffffffff73243608), at 0xffffffff7312e618
---------- called from debugger ----------
[3] libmd5.so.1:_init(0xfffffffe50b00228, 0x0, 0xffdfffff, 0xfffffffe50b00208, 0x400000, 0x800
00), at 0xfffffffe531016e0
[4] ld.so.1[L]:setup(0xffffffff7ffff260, 0x0, 0xffffffff7f72c2b0, 0x10000, 0x0, 0x0), at 0xfff
fffff7f610ba4
[5] ld.so.1[L]:_setup(0xffffffff7fffffa6, 0x1f, 0xffffffff7ffff650, 0xffffffff7fffffb9, 0xffff
ffff7ffff638, 0xffffffff7f72dde8), at 0xffffffff7f61f24c
[6] ld.so.1[L]:_rt_boot(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7f6052d4
(dbx)
Any ideas?
Thanks
Dominique -
Problem while implementing Application Integration for Yahoo
Hi,
Im trying to communicate with yahoo server by using Application Integrator. For this I have uploaded the PAR file, created System Template, system Object and Alias also.
when come to User Mapping Im able to find my system that is myYahoo, but not able to enter user and password details. Those fields are inactive.
can any one help me with this?
Regards,
Ravi.Hi vasu,
Thank you very much. It really worked..
And i got one more problem. After user mapping, I have created an iview. And have given
URL template as
<System.protocol>://<System.server><System.uri>?<Authentication>
and URL template fraction for user mapping as
login=<MappedUser>&passwd=<MappedPassword>.
but Im getting runtime error as
Unable to process template '<System.protocol>://<System.server><System.uri>?<Authentication>', because 'protocol' is an invalid terminal property of the context 'System.'..
Can u plz guide me regarding this.
Thanks,
Ravi. -
SAP Office Integration Excel 2013 problem - dummy window pops up with inplace
Hi experts all around the globe,
we are facing a strange problem by some of our users since they have installed Excel 2013 on their PCs. An annoying Excel sheet pops up while generating an excel file in the background.
They are working with several Y (or Z if you like it better so) transactions, and create multiple Excel files (Excel.Sheet.8 -> .xls) in the background. The programs are using Office Integration (interfaces I_OI_CONTAINER_CONTROL and I_OI_DOCUMENT_PROXY) to create the files.
Method OPEN_DOCUMENT is called with the parameter OPEN_INPLACE, modified, and then closed with the CLOSE_DOCUMENT method, then saved with SAVE_DOCUMENT_TO_URL. The document gets only assigned to a dummy container, this means under normal circumstances the user shouldn't see anything - the file gets created, modified and stored in the background - end of the story. The programs are like 10 years old, and have been doing good since then.
Now some of our users reported, that they have an issue when generating Excel files with those programs. We have investigated / debugged, and here is the thing: in several cases when the method OPEN_DOCUMENT is called, an empty worksheet pops up (see attached screenshot). It also gets in focus, and then in 1 sec is it closing again (as the CLOSE_DOCUMENT is called). This is really annoying when the user has to generate hundreds of Excel sheets (it is quite often the case). The window gets opened and closed with every single file that gets created.
We have tried to identify the problem, but it is user independent, the SAP GUI, Office and Windows versions seem to be all the same - though it appears by some users. The most of us work with SAP GUI 730 Patch level 4, but upgrade to Patch level 9 has also not solved the problem. We have found the notes 1908528 and 1804535. They address similar problems but not exactly the same. We think it has something to do with incompatibility of the releases, or simply an Office / SAP setting we could not think of.
Has someone encountered the same? Any ideas?
Your help is greatly appreciated.
BoldiHello Daniel,
thank you very much for your reply, it is really appreciated.
We have SAP GUI 7.30 Version 7300.3.9.1084 Build 1496147 Patch Level 9 on the test machine. This one should be the latest available version, am I right?
The issue is a little bit different from the ones described in the SAP notes you suggested. The data is getting "correctly" displayed inplace, but Excel is also getting called up in the same time, and an additional emtpy sheet is displayed, which gets in the focus, disturbing the user. It is just like described in the SAP notes 1425448 and 1567380
To 1425448 (Solution Point 2 below): this is our standard setting, and it does not help us.
To 1567380 (Prerequisites): there is no macro in our sheet.
We could reproduce the issue with the standard report SAPRDEMO_SPREADSHEET_INTERFACE (this is the one suggested in SAP note 1908528 - "Verifying that Excel inplace functionality is working correctly"). The SAP GUI overtakes the focus after a while, as described in the SAP note 1567380, but the empty sheet is active at first, and it is a little bit more than annoying.
How is it on your side, could you please run the standard report (EXCEL, checkbox for inplace set, then Enter) to confirm that the problem exists?
Thanks a lot in advance and have a nice day!
Boldi -
Problem while import u201CSAPKU60003 & SAPKNA7013u201D into SAP CRM 2007
Gentlemen,
I have a problem while import u201CSAPKU60003 & SAPKNA7013u201D into SAP CRM 2007,
My current Support Package Level is:
SAP_ABA 700 0015
SAP_BASIS 700 0015
PI_BASIS 2006_1_700 0006
ST-PI 2005_1_700 0006
CRMUIF 600 0003
SAP_BW 700 0017
SAP_AP 700 0012
BBPCRM 600 0002
First I had the following error:
Syslog: k CQ3 : UMGSETTING& rscpexcc 12
GetDBMigrateCodePagesLangs uses TCP0D, TCPDB, TCP0C.
0 entries from FUNCT (%/SAPCND/CNF_GET_RECORD_FROM_DB%) deleted.
0 d / 0 i / 0 u / 6 = 100% ucf FUPARAREF
6 entries for FUPARAREF imported (/SAPCND/CNF_GET_RECORD_FROM_DBA*).
0 entries from RODIR (FUNC/SAPCND/CNF_GET_RECORD_FROM_DB) deleted.
0 entries from RODIR (FUNC/SAPCND/CNF_GET_RECORD_FROM_DB) deleted.
0 d / 0 i / 0 u / 1 = 100% ucf TFTIT
1 entry for TFTIT imported (D/SAPCND/CNF_GET_RECORD_FROM_DB*).
successfully set a temporary lock on table REPOSRC
REPOS /SAPCND/LDETERMINATION$14 A replaced.
REPOS /SAPCND/LDETERMINATIONU14 A replaced.
[dev trc ,00000] Wed Nov 26 16:33:14 2008 1315447 8.171484
[dbdsoci. ,00000] *** ERROR => invalid offset 0 for placeholder 16
71 8.171555
unsuccessful statement: EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,
dsql_open returned with unexpected error code 2
Please contact the SAP support.
End of Transport (0016).
date&time: 26.11.2008 - 16:33:14
5 warnings occured.
3 errors occured.
Main import
End date and time : 20081126163314
Ended with return code: ===> 16 <===
After I got this error I upgraded the Kernel from patch level 159 to 179,
After that I restarted the update again but the system is still running on u201CIMPORT_PROPERu201D and dose not given any update,
From Import logs of the queue I can see the following,
Summary:
24 DOCUT imported.
16 DYNPS imported.
30 DYNPT imported.
387 REPOS imported.
43 REPOT imported.
Totally 505 Objects imported.
Totally 3636 tabentries deleted.
Totally 14 objects activated.
Totally 12229 tabentries imported.
62066888 bytes modified in database.
[dev trc ,00000] Wed Nov 26 18:14:19 2008 20996974 40.917838
[dev trc ,00000] Disconnecting from ALL connections: 30 40.917868
[dev trc ,00000] Disconnecting from connection 0 ... 287 40.918155
[dev trc ,00000] Closing user session (con_hdl=0,svchp=00000000003005B8,usrhp=00000000002FB748)
5759 40.923914
[dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=00000000003005B8,srvhp=00000000061530E8)
921 40.924835
[dev trc ,00000] Now I'm disconnected from ORACLE 8230 40.933065
[dev trc ,00000] Disconnected from connection 0 90 40.933155
[dev trc ,00000] statistics db_con_commit (com_total=527, com_tx=307)
59 40.933214
[dev trc ,00000] statistics db_con_rollback (roll_total=0, roll_tx=0)
52 40.933266
Disconnected from database.
End of Transport (0004).
date&time: 26.11.2008 - 18:14:19
2 warnings occured.
Main import
End date and time : 20081126181419
Ended with return code: ===> 4 <===
Please advice me.
Regards,
AhmedI have similar problem while updating support packages in SAP R/3 4.6C environment.
000 unsuccessful statement: EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,
000 dsql_open returned with unexpected error code 1
000 unsuccessful statement: EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,
000 dsql_open returned with unexpected error code 1
Here is an outline of series of events that happened:-
We are applying in support packages in SAP R/3 4.6C HR Development
(TFI) environment. We planned with installing all the SP stacks
starting from 1 to 9.
-Updated kernel, tp , r3trans and SPAM level to latest level.
We received the following error in Import_Proper step of Support
package upgrade. Though the step has been repeated after making sure
that we have all the required files at OS level, we go this error
repeatedly.
Main import
Transport request___: SAPKB46C52
System______________: TFI
tp path : tp
Version and Release: 305.13.25 46D
check-sum error in datafile after 9374854 bytes.
Main import
End date and time : 20081205192603
Ended with return code: ===> 16 <===
When we renamed Co-File & data_file at OS level to see if the files are
created again and reran we got the following error.
Main import
Transport request___: SAPKB46C52
System______________: TFI
tp path : tp
Version and Release: 305.13.24 46D
Main import
End date and time : 20081205185117
Ended with return code: ===> 12 <===
We tried importing the individual support package SAPKB46C52 from STMS
and the transport cancelled at an earlier step with the same error.
Dictionary import
Transport request___: SAPKB46C52
System______________: TFI
tp path : tp
Version and Release: 305.13.25 46D
check-sum error in datafile after 9374854 bytes.
Dictionary import
End date and time : 20081205195929
Ended with return code: ===> 16 <===
While playing around I have deleted the transport from the tp buffer
and added manually, before doing so I made a backup of tp buffer at OS
level and I got following error though I reverted back to backed-up
copy.
- Error in phase: IMPORT_PROPER
- Reason for error: TP_BUFFER_INCONSISTENCY
- Return code: 0008
- Error message: Wrong sequence of Packages in the tp buffer (e.g.
SAPKB46C52 )
I then tried to disassemble the package separately and reran the
import queue. Now I have RC 8 on that support package.
When I did R3trans -l on the datafile it completed successfully.
D:\>R3trans -l \usr\sap\trans\data\RB46C52.SAP
This is R3trans version 6.05 (release 46D - 27.10.08 - 16:32:00).
R3trans finished (0000).
I verified the size of file "CSR0120031469_0023301.PAT" and it is the
same as mentioned in SSP.
Let us know is there is a workaround. -
The last time you opened OpenOffice, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again? i have a problem with open office, if I press reopen, nothing happened ans i see always this information on my mac? what can I do?
Please follow these directions to delete the Mail "sandbox" folders. In OS X 10.9 there are two sandboxes, while in 10.8 there is only one. If you're running a version older than 10.8, this comment isn't applicable.
Back up all data.
Triple-click anywhere in the line below on this page to select it:
~/Library/Containers/com.apple.mail
Right-click or control-click the highlighted line and select
Services ▹ Reveal
from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
Log out and log back in. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Repeat with this line:
~/Library/Containers/com.apple.MailServiceAgent
Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return. -
Problem While configuring Integrated Scenario
Hi,
While using Integrated Configuration in PI71, where our scenario establishes communication with a File(nfs) to File(nfs) adapter.
While testing in Integration Directory via Test Configuration, the scenario produces following error:
Problem occurred in receiver agreement for sender - BS1 to receiver -BS2,
namespace.OutboundInterfacename:: No standard agreement found for , BS1, , BS2,
namespacename, outboundinterfacename
where BS1, BS2 are sending and receiving Buisness systems respectively,
namespace - the namespace where both inbound and outbound service interfaces are configured.
Scenrio do not utilizes operation mapping.
I have gone though this thread Integrated configuration (PI 7.1) throws error when do 'Test Configuration' in sdn which states a similar problem but its still unsolved.
Moreover the scenario produces a required output file when it is tested by placing a test file in source destination.
Let me know if you have come across such situation and can provide the proper rationale for it.
Thanks for having a look.
Regards,
Nipun@Abhishek Salvi,
Thanks that's very helpful information, Howsoever as I have mention, the dry test {where keeping the file in source destination and getting it generated at target destination} gives positive outcome, but while testing in RWB, the error "no receiver agreement could be found" still persist.
What's wrong while posting file to Adapter Engine from RWB, Is it incorrect to test this way?
@Abhishek Paul, When you say End to End do you refer with the same dry test way as what Salvi has also confirmed as the only way to test AAE scenarios, or you are about End to End monitoring tab of RWB?
Regards,
Nipun Shedhani -
While debuging rfc I'm getting some problems..
HI Guys,
While Debugging RFC's, when passing values to parameters they are entering to BAPI Return,but for some values they are not entering to BAPI Return..
Its very Urgent..Please Rectify As soon as possible
With Regards
kirankpHi,
I guess this problem is specific to the BAPI which you are invoking remotely.
It might be giving different output returns on different inputs parameters.
Please provide more detail for making the problem more clear, if issue aint resolved.
Regards,
Tanveer.
<b>Please mark helpful answers</b> -
Problem while creating the Partner Address in CRM
Hi,
We are facing one problem while creating the new address for the Business Partner.
When ever customer wants to change the address : we are following one process : where we are
using 'BAPI_BUPA_ADDRESS_ADD' functin module. Becuse of this , new addrss number will be generated for the
corresponding account in BUT021_FS table.But this table contains old address number as a first record, so that when ever
we display the partner address in UI, it is displaying the old address only because first entry of the the table 'BUT021_FS'
contains the old address number.
Because of this , we are getting lots of complaints regarding this.
Can you please help on this ASAP.
Thanks & Regards
Pradeep.Try BAPI_BUPA_ADDRESS_CHANGE for address change followed by BAPI_TRANSACTION_COMMIT . It works.
-
Revision: 13535
Revision: 13535
Author: [email protected]
Date: 2010-01-15 14:45:38 -0800 (Fri, 15 Jan 2010)
Log Message:
Part 1 of fixing line endings in AS and MXML files so that line numbers are correct while debugging.
We've got a widespread problem with line-endings (\r\n vs \n vs \r) because not all our files have svn:eol-style set to "native". (With this setting, the line endings are adjusted for the platform that you check out code onto. Without it, you can end up with all-Mac line endings on a Windows machine, WindowsMacUnix line endings on a Mac, etc. The goal is all-Win on Win, all-Mac on Mac, etc.)
For schedule reasons, we've decided to minimize risk by fixing only AS and MXML files in frameworks/projects that contribute to our SWCs, because here line-ending problems can throw off line numbers and the debugger doesn't step through the right lines of code.
You can't set svn:eol-style to "native" unless the line endings are already correct for your platform. Since I'm on Windows, I wrote a script to find a fix the files that had any \n or \n line endings. The files now have \r\n.
QE notes: None
Doc notes: None
Bugs: SDK-24966
Reviewer: Pete
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-24966
Modified Paths:
flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/core/IDeferredContentOwner.a s
flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/core/ISelectableList.as
flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/core/LayoutElementUIComponen tUtils.as
flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/geom/CompoundTransform.as
flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/geom/TransformOffsets.as
flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/skins/halo/WindowBackground. as
flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/utils/MatrixUtil.as
flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatche r.as
flex/sdk/branches/4.0.0/frameworks/projects/osmf/src/org/osmf/media/MediaFactory.as
flex/sdk/branches/4.0.0/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as
flex/sdk/branches/4.0.0/frameworks/projects/rpc/src/mx/rpc/http/Operation.as
flex/sdk/branches/4.0.0/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPMultiService.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/ButtonBar.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/DropDownList.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/HSlider.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/Panel.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/PopUpAnchor.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/Scroller.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/mediaClasses/Volum eBar.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/supportClasses/Dro pDownController.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/supportClasses/Dro pDownListBase.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/supportClasses/Scr ollerLayout.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/supportClasses/Sli derBase.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/effects/AnimateTransform.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/effects/supportClasses/Animat eTransformInstance.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/effects/supportClasses/MoveIn stance.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/events/SkinPartEvent.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/skins/spark/HighlightBitmapCa ptureSkin.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/skins/spark/ScrollerSkin.mxml
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/styles/metadata/AdvancedInher itingTextStyles.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/styles/metadata/AdvancedNonIn heritingTextStyles.as
flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/utils/LabelUtil.as
flex/sdk/branches/4.0.0/frameworks/projects/wireframe/src/spark/skins/wireframe/NumericSt epperTextInputSkin.mxmlHi there,
I follow the help from this post
How to handle line break embeded inside CSV column
Not a perfect way, but it is accepted in my case.
Cheers, -
Document Templates in MS Word (Office-Integration)
Hi there,
i´m desperately looking for help concerning the following problem with integration of MS Word-Templates to our CRM:
We are using CRM 5.0 (as well as PCUI) and Office Integration with MS Word 2003. We created Document Templates (for Object Type BUS2000126) in MS Word witch contain variables, integrated as MergeField in the Word Template.
This works quite well, but we have problems when using switches.
For example field code: {MERGEFIELD ANS_Title ""} = field result
shows (for example) "Dr.f" instead of "Dr. ". The switch should fill
in a space if the variable is not blank.
By the way... when I create the Word-Template from SAP GUI, switches give back the right data - but not from PCUI!
Can anybody help me with this problem?
Thanks!
Karin
Message was edited by:
Karin PietschmannHi Johnny,
thank you very much for your help. But I think, this SAP Note does not help. The SAP Note is valid for CRM 4.0 - but we actually use CRM 5.0. If you have any further ideas, please let me know!
Best regards
Karin -
Re: [iPlanet-JATO] Experiencing problem while executing model.
Hi Todd,
Thanks a lot for your input!
In the case , I found that "TO_CHAR(PLAN_DT, 'MM/DD/YYYY')" is alaised as a
column name in the resultset. So I am using this as a column in Jato
Descriptor for Plan_Dt. Now it is working fine.
Thanks and Regards,
Santa.
----- Original Message -----
From: Todd Fast <toddwork@c...>
Sent: Thursday, July 26, 2001 9:50 AM
Subject: Re: [iPlanet-JATO] Experiencing problem while executing model.
Santa--
I am experiencing a problem while executing a bounded model. I am usingQueryModelBase. Whenever the following query gets executed inonBeforeModel
execute of TiledView, it throws an exception describing "PLAN_DT not found
in ResultSet". If you execute this query on the SQL prompt then we getrows
of data. Please could you tell us how the mapping between model and
resultset works ? And what changes do we have to make to execute thisquery.
>>
SELECT PART_NM,NEWTXTDOLL
TO_CHAR(PLAN_DT, 'MM/DD/YYYY'),
FROM cpsselect
WHERE CHG_DT >= TO_DATE('2001-06-17', 'YYYY-MM-DD')The mapping of result set to model is done via JDBC, using the columnnames
you provide in your model's column descriptors. It sounds as if you are
providing the column name "PLAN_DT" in a descriptor, and when the model
tries to look up that column in the result set, there is no such columnand
the operation fails.
In order to debug this, you should try running your query with a JDBC
connection, not SQL*Plus or your command-line SQL tool. What you need to
find out is how the expresion "TO_CHAR(PLAN_DT, 'MM/DD/YYYY')" is aliasedas
a column name in the resut set. The easiest way to do this is to write a
simple class that does nothing but use your JDBC driver to connect the
database and execute this query. After execution, use theResultSetMetaData
information to find out the column names for the result set. Then, use
these column names in your JATO column descriptors.
Another Problem:We are not getting the values for NEWTXTDOLL column whenwe try to display it in a Tiled View.
I'm sorry, this isn't enough information for me to offer any suggestions.
Using the technique above, determine which columns are coming back in the
result set, and make sure your display fields in the TiledView are boundto
those column names. The problem could be something as simple as a typo in
the field's bound name, or something more complex like the column in the
result set being named something you don't expect.
Another approach might be to alias the columns yourself using the "AS
<alias>" expression, and assign them names that you choose instead ofusing
the names assigned by the database or JDBC driver.
Todd
[email protected]
The Information contained and transmitted by this E-MAIL is proprietary to
Wipro Limited and is intended for use only by the individual or entity to
which
it is addressed, and may contain information that is privileged, confidential
or
exempt from disclosure under applicable law. If this is a forwarded message,
the content of this E-MAIL may not have been sent with the authority of the
Company. If you are not the intended recipient, an agent of the intended
recipient or a person responsible for delivering the information to the named
recipient, you are notified that any use, distribution, transmission,
printing,
copying or dissemination of this information in any way or in any manner is
strictly prohibited. If you have received this communication in error, please
delete this mail & notify us immediately at mailadmin@w...
[Non-text portions of this message have been removed]Hi Todd,
Thanks a lot for your input!
In the case , I found that "TO_CHAR(PLAN_DT, 'MM/DD/YYYY')" is alaised as a
column name in the resultset. So I am using this as a column in Jato
Descriptor for Plan_Dt. Now it is working fine.
Thanks and Regards,
Santa.
----- Original Message -----
From: Todd Fast <toddwork@c...>
Sent: Thursday, July 26, 2001 9:50 AM
Subject: Re: [iPlanet-JATO] Experiencing problem while executing model.
Santa--
I am experiencing a problem while executing a bounded model. I am usingQueryModelBase. Whenever the following query gets executed inonBeforeModel
execute of TiledView, it throws an exception describing "PLAN_DT not found
in ResultSet". If you execute this query on the SQL prompt then we getrows
of data. Please could you tell us how the mapping between model and
resultset works ? And what changes do we have to make to execute thisquery.
>>
SELECT PART_NM,NEWTXTDOLL
TO_CHAR(PLAN_DT, 'MM/DD/YYYY'),
FROM cpsselect
WHERE CHG_DT >= TO_DATE('2001-06-17', 'YYYY-MM-DD')The mapping of result set to model is done via JDBC, using the columnnames
you provide in your model's column descriptors. It sounds as if you are
providing the column name "PLAN_DT" in a descriptor, and when the model
tries to look up that column in the result set, there is no such columnand
the operation fails.
In order to debug this, you should try running your query with a JDBC
connection, not SQL*Plus or your command-line SQL tool. What you need to
find out is how the expresion "TO_CHAR(PLAN_DT, 'MM/DD/YYYY')" is aliasedas
a column name in the resut set. The easiest way to do this is to write a
simple class that does nothing but use your JDBC driver to connect the
database and execute this query. After execution, use theResultSetMetaData
information to find out the column names for the result set. Then, use
these column names in your JATO column descriptors.
Another Problem:We are not getting the values for NEWTXTDOLL column whenwe try to display it in a Tiled View.
I'm sorry, this isn't enough information for me to offer any suggestions.
Using the technique above, determine which columns are coming back in the
result set, and make sure your display fields in the TiledView are boundto
those column names. The problem could be something as simple as a typo in
the field's bound name, or something more complex like the column in the
result set being named something you don't expect.
Another approach might be to alias the columns yourself using the "AS
<alias>" expression, and assign them names that you choose instead ofusing
the names assigned by the database or JDBC driver.
Todd
[email protected]
The Information contained and transmitted by this E-MAIL is proprietary to
Wipro Limited and is intended for use only by the individual or entity to
which
it is addressed, and may contain information that is privileged, confidential
or
exempt from disclosure under applicable law. If this is a forwarded message,
the content of this E-MAIL may not have been sent with the authority of the
Company. If you are not the intended recipient, an agent of the intended
recipient or a person responsible for delivering the information to the named
recipient, you are notified that any use, distribution, transmission,
printing,
copying or dissemination of this information in any way or in any manner is
strictly prohibited. If you have received this communication in error, please
delete this mail & notify us immediately at mailadmin@w...
[Non-text portions of this message have been removed] -
Need help with Desktop Office Integration (DOI)
Hi all,
i need help to read an Excelsheet into an int. table.
Its the first time, that i use the SAP DOI. I copy different coding into my Report to get connection to an existing Excelsheet.
Here is my Coding:
* first get the SAP DOI i_oi_container_control interface
CALL METHOD c_oi_container_control_creator=>get_container_control
IMPORTING control = gr_control
error = gr_errors.
APPEND gr_errors.
* create a control container as defined in dynpro 100
CREATE OBJECT gr_container
EXPORTING container_name = 'CONTAINER'.
* initialize the SAP DOI Container, tell it to run in the container
* specified above and tell it to run Excel in-place
CALL METHOD gr_control->init_control
EXPORTING
r3_application_name = 'Data'
inplace_enabled = ' '
inplace_scroll_documents = 'X'
parent = gr_container
register_on_close_event = 'X'
register_on_custom_event = 'X'
no_flush = 'X'
IMPORTING
error = gr_errors.
* save error object in collection
APPEND gr_errors.
* ask the SAP DOI container for a i_oi_document_proxy for Excel
CALL METHOD gr_control->get_document_proxy
EXPORTING document_type = 'Excel.Sheet'
* EXPORTING document_type = 'Word.Document'
no_flush = 'X'
* REGISTER_CONTAINER = 'X'
IMPORTING document_proxy = gr_document
error = gr_errors.
APPEND gr_errors.
Then i open the Document from lokal PC.
CALL METHOD gr_document->open_document
EXPORTING
* document_title = ld_filenc
document_url = ld_verzc
* NO_FLUSH = ' '
* OPEN_INPLACE = ' '
* open_readonly = ' '
* PROTECT_DOCUMENT = ' '
* STARTUP_MACRO = ''
* USER_INFO =
* ONSAVE_MACRO =
IMPORTING
error = gr_errors
* RETCODE =
APPEND gr_errors.
Now i start the spreadsheet interface:
*...check if our document proxy can serve a spreadsheet interface data:
DATA: pd_has TYPE i.
CALL METHOD gr_document->has_spreadsheet_interface
EXPORTING no_flush = 'X'
IMPORTING is_available = pd_has
error = gr_errors.
APPEND gr_errors.
CALL METHOD gr_document->get_spreadsheet_interface
EXPORTING no_flush = ' '
IMPORTING
sheet_interface = gr_spreadsheet
error = gr_errors.
APPEND gr_errors.
* now loop through error collection because
* Get_spreadsheet_interface flushed and synchronized
* the automation queue !
LOOP AT gr_errors.
CALL METHOD gr_errors->raise_message
EXPORTING type = 'I'
EXCEPTIONS message_raised = 1
OTHERS = 2.
IF sy-subrc = 1.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
pd_kz_fehler = 'X'.
EXIT.
ENDIF.
ENDLOOP.
FREE gr_errors.
Ok, now i can open a Excelsheet, and i can mark a range in the sheet
rows is a constant.
CALL METHOD gr_spreadsheet->set_selection
EXPORTING
left = 1
top = 2
rows = rows
columns = 18
* NO_FLUSH = ' '
* UPDATING = -1
IMPORTING
error = gr_errors
* RETCODE =
my first problem: Excel is really open, and the user can see the sheet. I dont want, that excel is visible...is there a way to start excel in no_visible mode?
second problem: The sheet have makro aktiv...at start from excel, there is a popup, which ask 'makros activate' oder not activate... i dont want this popup... is there a way, to say it from abap, that makros always active?
third problem: i see, that the content Table have this components:
TYPES: BEGIN OF SOI_GENERIC_ITEM,
ROW(4) TYPE C,
COLUMN(4) TYPE C,
VALUE(256) TYPE C,
END OF SOI_GENERIC_ITEM.
But my excelsheet have more then 10000 lines....
forth (and biggest) problem: i need the selected data into an int. tabelle. The table have the components:
ROW
COL
VALUE
i dont know, how can i do this...
please help me
Sorry for my bad english.
Greetings
MarkusHi,
May be this link is useful
/people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework
Also Check out report SAPRDEMOEXCELINTEGRATION2.
check the links
http://www.esnips.com/doc/741a848e-f49a-4436-bec4-e21950f6c94c/desktop-office-integration.pdf
http://www.esnips.com/doc/2080a9ec-64f9-49c4-bd03-d9f56bc2437c/MSWord--Excel-with-ABAP.pdf
Regards,
Raj. -
Error while opening office document
Hello Gurus!
I try to use word intergation in WebIC (CRM 5.0). In "Create lead" trunsaction (CL_CRM_IC_ABOXSAMPLE_CR_LEAD class) I have Attachment tab. When I click "Create document with template" buton I get "Error while opening office document" error. In IE settings ActiveX is on. What should I do to make it work?
Best regards,
Artur.Hello Artur,
Try this Note:
Note 606745 - CRM Content Management: Document does not open
It's not exactly for that issue but it may help.
Good Luck
Eli Steklov
Please Reward Points if it Helped
Maybe you are looking for
-
How to connect to Agentry.db?
Hi All, I have exported the Agentry.db from the WPF client and want to connect to it using Sybase Central. Whatever connection parameters I try, it keeps telling me that the 'Specified database is invalid'. I have to assume this is due to an incorrec
-
Signal Loss after a 300ft RG6Q Cable Run
I have a long run of a 300ft RG6 Quad cable from one point to another. No other way of going about it. Due to this long run, some of the high frequency channels such as ESPN and TBS are not working. Using a Motorola Amp allows the channels to work
-
Hey all, new to the forums and quite new to final cut pro aswell. However i have a problem with the widescreen filter so i was wondering if any of you could help a noob out. Every time i add the widescreen filter to my footage there are these annoyin
-
Restrict users to change value in user id field in SM36
Hi, Our users are currently given authorization objects S_BTCH_NAM, S_BTCH_ADM and S_TCH_JOB in order to be able create background jobs and execute using batch admin userid, and not under their own userid. I like to know is there way to restrict user
-
How to block the incoming and outgoing calls by programmatically
I want to block incoming and outgoing calls from my application. Is it possible?