Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Need help with StartRFC.exe and format error :

Former Member
0 Likes
630

I'm attempting to use the following command line in a Windows XP environment with StartRFC copied to the local drive and is in the path mentioned. The file that I'm trying to send in is what looks like a properly formatted XML file.

C:\Program Files\SapGui\rfcsdk\bin>startrfc -d QAS -u USER -p password -c 230 -l E -h oc-sap-test -s 00 -g oc-sap-test -x sapgw00 -F EDI_DATA_INCOMING -E PATHNAME:C:\filessap\SampleIn_Fixed.xml -E PORT=TESTPORT

Username, password, and port changed to protect the guilty.

Here's the error I'm getting...

format error : PATHNAME:C:\filessap\SampleIn_Fixed.xml

Any ideas? The file does exist, it is not read only and I'm at my wits end!!

Thanks in advance!!

Darren

I'm attempting to use the following command line in a Windows XP environment with StartRFC copied to the local drive and is in the path mentioned. The file that I'm trying to send in is what looks like a properly formatted XML file.

C:\Program Files\SapGui\rfcsdk\bin>startrfc -d QAS -u USER -p password -c 230 -l E -h oc-sap-test -s 00 -g oc-sap-test -x sapgw00 -F EDI_DATA_INCOMING -E PATHNAME:C:\filessap\SampleIn_Fixed.xml -E PORT=TESTPORT

Username, password, and port changed to protect the guilty.

Here's the error I'm getting...

format error : PATHNAME:C:\filessap\SampleIn_Fixed.xml

Any ideas? The file does exist, it is not read only and I'm at my wits end!!

Thanks in advance!!

Darren

1 REPLY 1
Read only

Former Member
0 Likes
466

Hi Darren,

Try this...

C:\Program Files\SapGui\rfcsdk\bin>startrfc -d QAS -u USER -p password -c 230 -l E -h oc-sap-test -s 00 -g oc-sap-test -x sapgw00 -F EDI_DATA_INCOMING -E PORT=TESTPORT -E PATHNAME:C:\filessap\SampleIn_Fixed.xml

PATHNAME should come after Port

I hope this will solve your problem

Ramesh