on 06-20-2006 10:40 AM
Hi all,
I am facing a problem when I try to use SAP .NET connector 2.0 to do BDC operation in SAP. The following is the background information of my case.
SAP Version: ECC5.0
SAP_BASIS: 640 patch level 0009
SAP_ABA: 640 patch level 0009
Coding environment MS VS 2003 C#
I constructed a BDC table in MS VS C#, and tried to invoke RFC_CALL_TRANSACTION to execute this BDC function within SAP. I tried 2 secnarios:
1. with ABAP_DEBUG = 1. I entered ABAP debug screen, then F8, and the operation was successful
2. without ABAP_DEBUG. I got error message
Msgid "00"
Msgno "359"
Msgtx "The transaction was terminated by the user"
Msgty "A"
Has anyone experienced the same issue before?
Thanks.
David
A side effect of ABAP_DEBUG=1 is that SAPGUI is started. If your transaction needs GUI (which is the normal case for RFC_CALL_TRANSACTION), it only works with GUI started. Add connection string parameter USE_SAPGUI=1 or USE_SAPGUI=2 (1/2: with SAPGUI/SAPGUI invisible after each RFC call). The corresponsing property in Destination class is called "SAPGui".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.