FILE_OPEN_DIALOG doesn't work on ECC 6.0
Hi all,
i'm trying to use the open file dialog in a report selection screen
I've tried all the method's and FM's that i know but it's not working.
cl_gui_frontend_services=>file_open_dialog
F4_FILENAME
WS_FILENAME_GET
My SAP system is ECC 6.0 and the sap gui is the 620.
Do you have any idea on what could be the problem on this.
Thanks in advance.
Check the below link:
File open dialogue
Thanks
Seshu
Message was edited by:
Seshu Maramreddy
Similar Messages
-
Product hierarchy doesn't works in ECC 6.0
Hello guys!
I'm working in a project that migrate to ECC 6.0 and now is facing an error in Material Master (MM01) when try to select a product hierarchy in Basic Data 1 view.
When the matchcode of product hierarchy is used, the "Next level" button of popup windown doesn't open the product hierarchy. I check with an another consultant that don't remember the SAP note that fix it.
Anyone knows this SAP note?
Thanks a lot,
Rodrigo.Is your setup of product hierarchy consistent ? How many levels have you defined ?
In ECC 6.0 can you let us know the support pack & the patch level details (if not sure, obtain this info from your basis person)
Also it would help if you can upload screenshots of the setup done for the product hierarchy & the issue you face in material master.
Just for your info, I am on ECC 6.0 & do not face this issue. -
(sub)screen resize modification doesn't work after ECC 6 EhP 4 installation
Hello,
We have previously extended the size of the custom data tab on PO transaction ME23N (via modification) in order to accommodate a comprehensive overview of the many custom fields we have. The screen we changed is as follows:
Program: SAPLMEGUI
Screen: 1227
Original size:
- Lines/columns Occupied 5 / 100
Mainten. 5 / 100
Modified size:
- Lines/columns Occupied 23 / 160
Mainten. 23 / 160
It worked out fine in our ECC6.0 Release 700 (SP17).
Recently we upgraded to Release 701 (SP03) / ECC 6 EhP 4. We have made the same modification to the same screen as mentioned above. However, the screen was not resized as we had expected. Its size stays as 5/100. So the user has to scroll through a very short subscreen in order to see all custom fields.
Have anyone of you experienced this ( or any UI related issues) after installing enhancement pack 4 of ECC 6?
Any of your suggestions are appreciated.Hello,
We have previously extended the size of the custom data tab on PO transaction ME23N (via modification) in order to accommodate a comprehensive overview of the many custom fields we have. The screen we changed is as follows:
Program: SAPLMEGUI
Screen: 1227
Original size:
- Lines/columns Occupied 5 / 100
Mainten. 5 / 100
Modified size:
- Lines/columns Occupied 23 / 160
Mainten. 23 / 160
It worked out fine in our ECC6.0 Release 700 (SP17).
Recently we upgraded to Release 701 (SP03) / ECC 6 EhP 4. We have made the same modification to the same screen as mentioned above. However, the screen was not resized as we had expected. Its size stays as 5/100. So the user has to scroll through a very short subscreen in order to see all custom fields.
Have anyone of you experienced this ( or any UI related issues) after installing enhancement pack 4 of ECC 6?
Any of your suggestions are appreciated. -
Hi
I just tried to open files by using webutil_file.file_open_dialog. Since I only want to select files with the prefix "brp" (e.g. brp0001.txt, brp0002.lis), I fill the parameter file_filter with the value: brp*.*
This doesn't work. The dialog only shows folders, but not the brp*.* files. I tried with switching to capitals, which doesn't solve anything. With the filter set to *.* the dialog shows all folders and files, so that seems to work ok.
Is anyone aware of this problem and know a solution? I'm using webutil 1.0.2 (beta).K..here's some logging. As far as I can see it's all normal, but it doesn't work (no matter if I use a last | or not). Should be easy to reproduce.
2003-okt-29 09:42:44.547 WUF[setProperty()] Setting property WUF_GFN_DIRNAME to y:\data\
2003-okt-29 09:42:44.567 WUF[setProperty()] Setting property WUF_FILENAME to false
2003-okt-29 09:42:44.567 WUF[setProperty()] Setting property WUF_FILTER to (brp_archief*.*)|brp_archief*.*
2003-okt-29 09:42:44.587 WUF[setProperty()] Setting property WUF_GFN_MESSAGE to bestandsnaam selecteren
2003-okt-29 09:42:44.597 WUF[setProperty()] Setting property WUF_GFN_MULTISELECT to FALSE
2003-okt-29 09:42:44.608 WUF[getProperty()] Getting property WUF_GFN_OPENFILE
2003-okt-29 09:42:45.679 WUF[gfnDialog()] Creating Custom File Filter : Mask=brp_archief*.*, Label=(brp_archief*.*)
2003-okt-29 09:42:45.679 WUF[gfnDialog()] Open File mode
2003-okt-29 09:45:27.203 WUF[getProperty()] Value of WUF_GFN_OPENFILE= -
Barcode doesn't work after upgrade to ECC
Hi All,
In sapscript, we used bardcode. But after upgrade to ECC, it doesn't work.
Could you help me about it??
And we don't want to convert the sapscript to smartforms and use the new barcode technique.
Looking forward you help!!
Thanks & Best Regards,Hi ,
I think some function moule is missed, please check the driver program also. In production you are getting Barcodes ?. Or otherwise goto se73 - we have bar codes types.. system and printer barcodes . please assign the printer bar codes in output devices.
Best Regards,
Narasimha Rao. -
Micro usb doesn't work!!! (no charging, no pc connecting, ecc)
Hi!My micro usb connection deosn't work on my z3 compact!If I connect the phone to charge it, nothing happens (I've already tryed to change usb cable and also to connect it to a car charger...nothing!!!)And if I try to connect the phone to my pc, it doesn't work!!! How can I solve it? I tryed a factory reset and nothing changed...Can you help me, please???
Hello,
I have almost the same with my phone. It's been 3 days and I've tried everything that came to my mind!
First, the phone (Xperia Z3 Compact) was ok, then I noticed I'm low on battery (about 3%), I tried to charge it, connected to charger via micro usb port. Nothing happened, (like it has never been attached at all!) I did it several times, tested the charger and cable on other phones, worked properly on them.then I tested with several chargers and cables, and tried to charge it with my laptop, even when connecting to the laptop (on Windows), it's like nothing even detected, nothing at all, and on the phone nothing changes (no charging, no data connection, etc.).
Then I tried to restart the OS to see if it solves the problem, but due to the battery-low situation, I couldn't boot it back on! (the battery icon kept coming on the screen). The thing is, on the state before initiating to load the OS (Only the battery icon, big(!) on the screen), it SEEMED to be charging (the charger LED turned on and connecting and disconnecting the cable made difference!). but everytime after several seconds, the SONY logo appeared, and then the smaller battery icon with a 1% text appeared, then the LED turned off and it seemed to be not charging. (I tried it several times, even with 3-vibrate resets, etc. no change)
But when I tried to load it in the Fastboot mode or Flash mode, my laptop detected it without problem. (And did some getvar commands via fastboot, no problem in that state). then I provided a magnetic charger, and charged the phone without problem with that to 100%. But still, in the Android OS, USB does not work at all, no charging via usb, no data mode, no usb detection AT ALL.
Long story short, I even tried these:
Resetting completely to factory settings,Wiping cache partition,Flashing (via flashtool) the stock ROM.
and I even flashed the phone with a third party ROM! Still no usb charging/detection! The USB only works in Flash and Fastboot mode!
What do I do?! -
Delta Download from ISU BP to CRM BP doesn't work
Hi Experts,
We are currently new implementing a CRM7.0 system which is connected to an existing ISU system. We now have an issue about the BP delta download from ISU -> CRM.
Replication Scenario:
ISU BP -> CRM BP, NOT SD Customer -> CRM BP. As ISU is the leading system to create BPs and in ISU a MKK BP will be created first then a SD customer will be generated based on a template. So the change of a BP is via BP transaction for MKK role, not via XD02 SD Customer.
Issue:
The middleware setting is done and initial download from ISU BP -> CRM BP is done and successful. However when I trying to change a BP (change a MKK BP via BP transaction) in ISU, the change is not replicated to CRM (no queues, no BDOCs). It seems the delta download is not triggered at all.
However, I have maintained all the settings based on the ISU Specifics on the Set-Up-and-Load Guide for BP. So the followings are maintained:
- ISU: COM_BUPA_CALL_FU maintained based on the Guide
- CRM: CRMC_BUT_CALL_FU maintained based on the note 757955
- CRM: V_SMOFEVOB maintained based on the Guide
- ISU: BTE table (T-code: BF31) maintained based on the Guide
After setting above, the initial load is working (necessary table like CRMCONSUM, CRMRFCPAR etc. are maintained otherwise the initial download won't successful). However, the delta download from ISU BP (MKK) to CRM BP doesn't work.
The only uncertain thing for me is the setting for ISU : CRMC_BUT_CALL_FU. In the Guide only one sentence saying CRMC_BUT_CALL_FU needs to be maintained both in CRM and ISU and details refer to note 757955. However, the note 757955 only talks about FMs for CRM not for ISU/ECC. So in ISU/ECC the table CRMC_BUT_CALL_FU I activated for the following entries:
BPOUT BUPA 0100000 COM_BUPA_MWX_CREATE_MAIN
X
BPOUT BUPA 1000000 BUPA_OUTBOUND_MAIN
X
BPOUT BUPA 2000000 BUPA_CREATE_CHANGE_POINTER
X
BPOUT BUPA 3000000 BUPA_OUTBOUND_ALE_MAIN
X
BPOUT BUPX 1000000 MDS_BUPA_OUTBOUND
X
CLEAR BUPA 0100000 COM_BUPA_MWX_CLEAR_FLAGS
X
CLEAR BUPA 1000000 BUPA_OUTBOUND_CLEAR_FLAGS
X
CRMIN BUPA 1000000 BUPA_INBOUND_MAIN_CENTRAL
X
CRMIN BUPA 2000000 ABA_FSBP_INBOUND_MAIN
X
CRMOU BUPA 1000000 BUPA_OUTBOUND_BPS_FILL_CENTRAL X
CRMOU BUPA 1000010 ABA_FSBP_OUTBOUND_BPS_FILL
X
CRMOU BUPA 2000000 ABA_FSBP_OUTBOUND_BPS_FILL
X
MERGE BUPA 1000000 MERGE_BUPA_CENTRAL
X
MERGE BUPA 2000000 MERGE_BUPA_FINSERV
X
MERGE BUPR 1000000 MERGE_BUPR_CENTRAL
X
PXYIN BUPA 1000000 BUPA_INBOUND
X
XIIN BUPA 1000000 ABA_BUPA_MAP_PROXY_TO_DDIC
X
XIIN BUPA 2000000 ABA_FSBP_MAP_PROXY_TO_DDIC
X
XIIN BUPA 2100000 ABA_FSBP_MAP_PROXY_TO_DDIC_1 X
XIIN BUPA 3000000 ABA_FSBP_MAP_PROXY_TO_DDIC_1 X
XIIN BUPR 1000000 ABA_BUPR_MAP_PROXY_TO_DDIC
X
XIOUT BUPA 1000000 ABA_BUPA_MAP_DDIC_TO_PROXY
X
XIOUT BUPA 9000000 ABA_FSBP_MAP_DDIC_TO_PROXY
X
XIOUT BUPA 9000010 ABA_FSBP_MAP_DDIC_TO_PROXY_1 X
XIOUT BUPR 1000000 ABA_BUPR_MAP_DDIC_TO_PROXY
X
Not sure if the above setting is correct or not (some of the setting may not necessary, is that will impact the delta download from ISU to CRM)
Also what's the purpose of maintain two tables in ISU/ECC (COM_BUPA_CALL_FU and CRMC_BUT_CALL_FU)?
Also I have read some notes that the ISU BP -> CRM BP delta download is not triggered by above tables, it is triggered by BADI PARTNET_UPDATE, is this true, a bit confused.
I am looking forward a solution from you experts.
Thanks,
LaurenceAny inputs experts?
-
Buckup SQL Script doesn't work
Hi all,
In ECC i want schedule ASE jobs to dump transaction logs,i do it fellow the note 1588316 step by step . In schedule jobs my sql script doesn't work,but it works in sql command line.
sql script :
dump transaction DEV using config= 'DEVLOG'
Anybody can give me some advise to face this issue? Thanks in advance.
David LvHi all,
My problem sloved, it's JSagent problem.
sp_dumptrans not working at dbacockpit @Alcino Melo
use sybmgmtdb
go
sp_js_wakeup "start_js",1
go
after start JSagent my sql script can run
Thanks all
David Lv -
Default an operation/phase in COR6 - Parameter ID VGN doesn't work
Dear experts,
We are running ECC 6.0 and we need to have the field 'Operation-phase' filled out with certain value by default, right after the user calls the transaction COR6.
We have been trying to use the Parameter ID VGN, by adding it, along with the operation number, to the 'Parameters' tab in the userID. However, this doesn't work.
I would appreciate any input you can provide to have this requirement fulfilled as soon as possible.
Thank you!
Cesar C.Hi,
Many thanks for the hint, but unfortunately we can't set that field as mandatory because there are some users who like to select the operation from the pop-up window that appears after you hit enter.
There are some others (the lazy ones ) who want to have the value defaulted from their "own data".
I hope this help to clarify the requirement.
Thank you!
Cesar C. -
TRY ... CATCH doesn't work with EXEC SQL?
When I created a native SQL statement, I knew before, that it would take a few tries to get it working. I decided to use exception classes to avoid short dumps, but it didn't work.
Following code causes a short dump because of the dot after :xp_stras in the native SQL SELECT statement:
try.
EXEC SQL PERFORMING list.
SELECT LIFNR, NAME1, STRAS
INTO :xsl
FROM LFA1
WHERE UPPER( NAME1 ) LIKE :xp_name1
AND UPPER( STRAS ) LIKE :xp_stras.
ENDEXEC.
catch CX_SY_NATIVE_SQL_ERROR.
write: /1 'CX_SY_NATIVE_SQL_ERROR'.
catch CX_SY_SQL_ERROR.
write: /1 'CX_SY_SQL_ERROR'.
catch CX_DYNAMIC_CHECK.
write: /1 'CX_DYNAMIC_CHECK'.
catch CX_ROOT.
write: /1 'CX_SY_ROOT'.
endtry.
In ST22 you can see
Name of runtime error: DBIF_DSQL2_SQL_ERROR
Exception:
The name of the exception is empty, in other short dumps you can find there the name of the exception class. Maybe that's the reason for CATCH does'nt work, but I don't understand it.
Online help for EXEC SQL says:
Catchable Exceptions
CXSY_NATIVE_SQL_ERROR_
Cause: SQL-Error at the execution of a Native SQL-command.
Runtime Error: DBIF_DSQL2_SQL_ERROR
We have SAP ECC 6.0 with SAP_BASIS rel. 700 lvl. 0013.
If You have an idea why CATCH doesn't work, please tell me!
Regards,
KlausHi Rob,
I tried out Your original code as program ZTEST5 and got a short dump (sorry, some of the short dump symbols are formatting this post in a wrong way ...):
Short text
An SQL error occurred when executing Native SQL.
What happened?
The error 919 occurred in the current database connection "DEFAULT".
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
How to correct the error
Database error text........: "ORA-00919: invalid function"
Database error code........: 919
Triggering SQL statement...: "FETCH NEXT "
Internal call code.........: "[DBDS/NEW DSQL]"
Please check the entries in the system log (Transaction SM21).
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DBIF_DSQL2_SQL_ERROR" " "
"ZTEST5" or "ZTEST5"
"START-OF-SELECTION"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction
Restrict the time interval to 10 minutes befor
after the short dump. Then choose "System->List->
(Unconverted)".
3. If the problem occurs in a problem of your own
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the e
actions and input led to the error.
System environment
SAP-Release 700
Application server... "lux01617"
Network address...... "195.217.80.104"
Operating system..... "Linux"
Release.............. "2.6.5-7.283-smp"
Hardware type........ "x86_64"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 5
Shortdump setting.... "full"
Database server... "lux09208"
Database type..... "ORACLE"
Database name..... "D10"
Database user ID.. "SAPDAT"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Dec 2 2007 20:18:08"
create on........ "Linux GNU SLES-9 x86_64 cc3.3.3"
Database version. "OCI_102 (10.2.0.2.0) "
Patch level. 138
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 1
SAP database version. 700
Operating system..... "Linux 2.6"
Memory consumption
Roll.... 16192
EM...... 16759392
Heap.... 0
Page.... 98304
MM Used. 694160
MM Free. 3493088
User and Transaction
Client.............. 500
User................ "Z0000D2P"
Language key........ "E"
Transaction......... "SE38 "
Transactions ID..... "48FE92EB921F51C3E1000000C3D95068"
Program............. "ZTEST5"
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where terminated
Termination occurred in the ABAP program "ZTEST5" - in "START-OF-SELECTION".
The main program was "ZTEST5 ".
In the source code you have the termination point in line 16
of the (Include) program "ZTEST5".
Source Code Extract
Line SourceCde
1 REPORT ztest LINE-SIZE 80 MESSAGE-ID 00.
2
3 TABLES: lfa1.
4
5 DATA: BEGIN OF xsl,
6 lifnr TYPE lfa1-lifnr,
7 name1 TYPE lfa1-name1,
8 stras TYPE lfa1-stras,
9 END OF xsl.
10
11 DATA: xp_name1 TYPE lfa1-name1,
12 xp_stras TYPE lfa1-stras.
13
14 TRY.
15 EXEC SQL PERFORMING list.
>>>>> SELECT LIFNR, NAME1, STRAS
17 INTO :xsl
18 FROM LFA1
19 WHERE UPPER( NAME1 ) LIKE :xp_name1
20 AND UPPER( STRAS ) LIKE :xp_stras.
21 ENDEXEC.
22
23 CATCH cx_sy_native_sql_error.
24 WRITE: /1 'CX_SY_NATIVE_SQL_ERROR'.
25 CATCH cx_sy_sql_error.
26 WRITE: /1 'CX_SY_SQL_ERROR'.
27 CATCH cx_dynamic_check.
28 WRITE: /1 'CX_DYNAMIC_CHECK'.
29 CATCH cx_root.
30 WRITE: /1 'CX_SY_ROOT'.
31 ENDTRY.
32
33 &----
34 *& Form LIST
35 &----
Edited by: Klaus Babl on Oct 22, 2008 6:42 AM -
PPCI transaction doesn't work perfectly....WHY??
Hi experts!!!
I'm following the steps of OMINFOTYPES docuemntation that I've found in this forum, but transaction PPCI doesn't work, I've created the structure of my new infotype and the table associated to this HRI, after I execute PPCI transaction, and I only received a message, that say... "Infotype 9010 cannot be created. Please look at the following log" and then it shows me the log and I don't have created PT9010 structure, either table HRPT9010, HRP9010 created in the database, Modulpoool....etc,.
Can anybody explain me why I need to use PPCI transaction? Is this working properly?
thanlks a lot,
Regards
rebecaHello Rebeca.
I'm getting exactly the same message in PPCI (ECC 6.0)
Were you able to solve PPCI problem?
Thank you,
Irina -
Generated WSDL doesn't work in Visual Studio
After an update of SAP we have some problems with our web service (WSDL).
First of all we created a webservice using SE80. The generated WSDL url mentioned in SE80 doesn't work in visual studio which is in our opinion weird. When we use the url from the SOAMANAGER "Open WSDL document for selected binding" in visual studio we get a little bit further but it still doesn't work. The problem seems to be the "parameter(s)" with or without "s". Does anyone know how we can generated a WSDL with only "parameters"?
ExampleWSDL:
<wsdl:message name="ZPIQ_GET_LEERWEGResponse">
<wsdl:part name="parameter" element="tns:ZPIQ_GET_LEERWEGResponse"/>
</wsdl:message>
u2212
<wsdl:message name="ZPIQ_GET_NATIO">
<wsdl:part name="parameters" element="tns:ZPIQ_GET_NATIO"/>
</wsdl:message>
SAP ECC 6.0
SAPKA70014
SAPKB70014
SAPKW70015Hi Ralph,
In order to consume SAP services in Microsoft Visual Studio .NET, you need to convert WSDL from SAP (Document style) to Microsoft (RPC style) standard. This conversion is transparent to you, if you use [ES Explorer for .NET|https://www.sdn.sap.com/irj/sdn/dotnet?rid=/library/uuid/c0319dc4-d76d-2a10-d19f-e4f4ff315bde].
Best Regards,
Rima. -
Preview for an application doesn't work in Portal
Dear All,
Application 'hrrcf_a_candidate_profile_int' doesn't work in Portal IView in ECC 6.
Any reasons??
Thanks.Hi,
What kind iView you created in Portal?
Have you the log of the error?
Regards
Eduardo -
Updating to ios5 recorder doesn't work anymore
i have an app always working till i have installed ios5 on device.
this is the code.
[code]
UInt32 sessionCategory = kAudioSessionCategory_MediaPlayback;
AudioSessionSetProperty(kAudioSessionProperty_AudioCategory, sizeof(sessionCategory), &sessionCategory);
UInt32 audioRouteOverride = kAudioSessionOverrideAudioRoute_Speaker;
AudioSessionSetProperty (kAudioSessionProperty_OverrideAudioRoute,sizeof (audioRouteOverride),&audioRouteOverride);
//NSLog(@"url");
NSURL *url = [NSURL fileURLWithPath:@"/dev/null"];
//NSLog(@"dizionario");
NSDictionary *audioSettings = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithFloat: 44100.0], AVSampleRateKey,
[NSNumber numberWithInt: kAudioFormatAppleLossless], AVFormatIDKey,
[NSNumber numberWithInt: 1], AVNumberOfChannelsKey,
[NSNumber numberWithInt: AVAudioQualityMax], AVEncoderAudioQualityKey,
nil];
NSError *error;
bool b;
//NSLog(@"audio");
recorder = [[AVAudioRecorder alloc] initWithURL:url settings:audioSettings error:&error];
//NSLog(@"audio");
if (recorder) {
//NSLog(@"prepara");
b=[recorder prepareToRecord];
//NSLog(@"%@",(b ? @"OK" : @"NO"));
//NSLog(@"meter");
recorder.meteringEnabled = YES;
//NSLog(@"recorder");
b=[recorder record];
//NSLog(@"%@", (b ? @"OK" : @"NO"));
// NSLog(@"leveltimer");
// levelTimer = [NSTimer scheduledTimerWithTimeInterval: 0.03 target: self selector: @selector(levelTimerCallback:) userInfo: nil repeats: YES];
} else {
NSLog(@"************** ERRORE: ****************");
NSLog([error description]);
[/code]
the result is that recorder record silence, no peak power, no avarage power.
i use xcode4 (ios inxcode4 is till 4.3, i have not downloaded the latest xcode)
why in ios5 doesn't work anymore?
is not compatible?
thanksi have downloaded the latest xcode, tryed
Documents or Cache instead of /dev/null but no luck
i have solved but don't know why it stopped working.
the code above was putted in a singleton class loaded and initialized once at start of the app.
seems that records only one voice power then stops (even if i have controlled that recording=true, metering enabled=true ecc...in logs)
now i have putted the same code in a method of the singleton class and called that method from the file of the screen "ingame" and works...
mmm.......any ideas why it happens? -
SAPGUI login scripting program doesn't work.
I used a program which is called for sap login through local SAPGUI.
I call this program, then sapgui is called and then ID and PW is filled with existing value.
It worked well. however, we upgrade SAP frrom R/3 4.7 to ECC 6.0 and SAPGUI version is also changed.
after uprading, my program doesn't work.
although sapgui version is changed, my program can login R/3 4.7 server. but my program can't login ECC 6.0 server.
In case of ECC 6.0 server, my program can call SAPGUI. however, it can't fill the ID and PW. so it cant login.
I can't get the source of my program because I received only execution file.
Can you suggest any solution? such as, change the dll file.
Plz give me the solution!!!.Dear J-Philippe,
I'm just getting started with SAP GUI Scripting through the COM interface and I seem to be running into the same issue.
You seem to be referring to a work-around mentioned in the README (#4). I don't know where the README is located, could you (or somebody else) please post the work-around or the README or location thereof?
By the way, here's the code I'm running (it's Python):
import win32com.client
wrapper = win32com.client.Dispatch("SapROTWr.SapROTWrapper")
sap_gui = wrapper.GetROTEntry("SAPGUI")
application = sap_gui.GetScriptingEngine
connection = application.FindById("con[0]") # returns /app/con[0]
session = connection.FindById("ses[0]") # throws exception
The last statement fails with an exception "The control could not be found by id".
When I use connection.Children(0) instead I get the exception "The enumerator of the collection cannot find an element with the specified index"
Same results when using SapGui.ScriptingCtrl.1.
Thanks!
Edited by: brucevdk on Jan 31, 2011 7:51 PM
I found the mentioned SAP note 1526624 somewhere (I don't yet have access to the official resource) and it made me think that perhaps I'm not dealing with the same issue. I'm also not sure what CreateObject is and if it's similar to the Dispatch functionality above (I'm just getting started with COM Programming). I'll play around with the recorder at work tomorrow to see if scripting works at all.
Maybe you are looking for
-
Issue with Increment variable in the page headers
Hi All We have developed a payslip xml publisher report with two pages layout in the rtf file. Each page has got a different page header. Page 2 would be printed only when the page 1 is not sufficent to print the pay details of an employee. Inorder t
-
Problem installing Acrobat pro - installs with Slovak as language
Hello, I have tried this twice with the same result: I downloaded the Adobe Download Assistant and used it to download Acrobat XI Pro. When I finished downloading the Acrobat installation file, I started it and it popped up in Slovak as the language.
-
My superdrive has started destroying disks placed into it. It has done so to movie and game dvd's and a game cd. It makes a great deal of audible noise spinning up when the disk is inserted, mounts the disk without showing anything in the image when
-
I need to update my phone and it will not accept my new apple id and password. I have changed my apple id and password recently to a new email address. How do I update my phone when I can't get passed the id bit? Thank you
-
Answer the following questions
Kindly please answer the following the questions and explain them as detailed as possible. Thanks! (I)True/False (1)HAVING to exclude rows from a query, Use WHERE to exclude group. (2)You can only have a subquery in a FROM/ WHERE/ HAVING clause of a