2006 Dec 11 4:56 PM
Hi Forum, Good Morning!
My ABAP Program will run in BACK Ground Job Processing(SM37) to download data to Presentation server( Local PC Directory). So I have created a RFC destination type TCP/IP to use 'RFC_REMOTE_FILE' function module in my ABAP Program.
When I am trying to test RFC connection It is giving following error.
ERROR Invalid length. Check parameters
LOCATION SAP- Server dsapp05_R3D_10 on host dsapp05 (wp 2)
COMPONENT CPIC
COUNTER 14
MODULE
LINE
RETURN CODE 240
SUBRC 0
RELEASE 640
TIME Mon Dec 11 10:08:05 2006
I did following procedure before I test RFC destination..
I have created RFC Destination : BJRFC
Technical Settings: Selected Registered Server Program radio button
Program ID: BJACCESS
Gateway host : 172.22.149.199
gateway Service: sapdp10
In my local machine Copied SAPRFC.INI file from the TEXT folder to the BIN Folder.
Then open the SAPRFC.INI file in BIN folder and Register a RFC server program at a SAP Gateway.
DEST=R3D_R
TYPE=R
PROGID=BJACCESS.rfcexec
GWHOST=172.22.149.199
GWSERV=sapdp10
RFC_TRACE=0
DEST=R3D_R
TYPE=R
PROGID=BJACCESS.trfcexec
GWHOST=172.22.149.199
GWSERV=sapdp10
RFC_TRACE=0
Then entered below command in dos prompt.
C:\Program Files\SAP\FrontEnd\SAPgui\rfcsdk\bin>rfcexec -aBJACCESS 172.22.149.199 xsapdp10.
so how do i proceed in this kind of case.
any help please.
Thanks in advance.
Hi Forum, Good Morning!
My ABAP Program will run in BACK Ground Job Processing(SM37) to download data to Presentation server( Local PC Directory). So I have created a RFC destination type TCP/IP to use 'RFC_REMOTE_FILE' function module in my ABAP Program.
When I am trying to test RFC connection It is giving following error.
ERROR Invalid length. Check parameters
LOCATION SAP- Server dsapp05_R3D_10 on host dsapp05 (wp 2)
COMPONENT CPIC
COUNTER 14
MODULE
LINE
RETURN CODE 240
SUBRC 0
RELEASE 640
TIME Mon Dec 11 10:08:05 2006
I did following procedure before I test RFC destination..
I have created RFC Destination : BJRFC
Technical Settings: Selected Registered Server Program radio button
Program ID: BJACCESS
Gateway host : 172.22.149.199
gateway Service: sapdp10
In my local machine Copied SAPRFC.INI file from the TEXT folder to the BIN Folder.
Then open the SAPRFC.INI file in BIN folder and Register a RFC server program at a SAP Gateway.
DEST=R3D_R
TYPE=R
PROGID=BJACCESS.rfcexec
GWHOST=172.22.149.199
GWSERV=sapdp10
RFC_TRACE=0
DEST=R3D_R
TYPE=R
PROGID=BJACCESS.trfcexec
GWHOST=172.22.149.199
GWSERV=sapdp10
RFC_TRACE=0
Then entered below command in dos prompt.
C:\Program Files\SAP\FrontEnd\SAPgui\rfcsdk\bin>rfcexec -aBJACCESS 172.22.149.199 xsapdp10.
so how do i proceed in this kind of case.
any help please.
Thanks in advance.
2008 Mar 12 7:13 AM
Hi,
Just you check whether your program is registered or not.
If it is registered then you can find in SMGW transaction and go to
GOTO - Logged on clients
in that you will be able to see your program name if it registers succesfully.
you have typed rfcexec -aBJACCESS 172.22.149.199 xsapdp10
in this way.
In this you have misseg 'g' in front of your sap ip.
Thanks&Regards
Rajehs Balusu
2008 Mar 14 4:06 AM
ABAP Program running in background (Application Server) can never save anything on the Presentation Server.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |