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

startrfc syntax to retreive data when no Table parameters exist.

Former Member
0 Likes
607

I have been looking for the proper syntax for the startrfc command to return SAP data when no Table parameters exist per se37. My syntax works well for functions that have table parameters. I have seen high level language solutions to retrieve the Export parameter data returned by SAP, but I can not find a command line equivalent.

The BAPI_MATERIAL_GET_ALL function returns data into the file I have specified:

./startrfc -3 -h myhost -s B6I -c 010 -l EN -u user -p pwd -F BAPI_MATERIAL_GET_ALL -E MATERIAL=000000003001121900 -T MATERIALDESCRIPTION,2048,w=/users/tmp/sapdump.txt

With se37 I see there is a Table parameter called MATERIALDESCRIPTION. All is fine there. The function BAPI_MATERIAL_GET_DETAIL causes me a problem because is lacks table parameters. It has Export parameters, but what syntax is required for my startfrc command to direct MATERIAL_GENERAL_DATA to an output file? I have yet to see any example of this, nor answers to similar queries others have made. Is startfrc capable of getting Export parameter data? If so, please suggest an adjustment to:

./startrfc -3 -h myhost -s B6I -c 010 -l EN -u user -p pwd -F BAPI_MATERIAL_GET_DETAIL -E MATERIAL=000000003001121900 -E MATERIAL_GENERAL_DATA (?  syntax here to direct output to /users/tmp/sapdump.txt  ?)

I have been looking for the proper syntax for the startrfc command to return SAP data when no Table parameters exist per se37. My syntax works well for functions that have table parameters. I have seen high level language solutions to retrieve the Export parameter data returned by SAP, but I can not find a command line equivalent.

The BAPI_MATERIAL_GET_ALL function returns data into the file I have specified:

./startrfc -3 -h myhost -s B6I -c 010 -l EN -u user -p pwd -F BAPI_MATERIAL_GET_ALL -E MATERIAL=000000003001121900 -T MATERIALDESCRIPTION,2048,w=/users/tmp/sapdump.txt

With se37 I see there is a Table parameter called MATERIALDESCRIPTION. All is fine there. The function BAPI_MATERIAL_GET_DETAIL causes me a problem because is lacks table parameters. It has Export parameters, but what syntax is required for my startfrc command to direct MATERIAL_GENERAL_DATA to an output file? I have yet to see any example of this, nor answers to similar queries others have made. Is startfrc capable of getting Export parameter data? If so, please suggest an adjustment to:

./startrfc -3 -h myhost -s B6I -c 010 -l EN -u user -p pwd -F BAPI_MATERIAL_GET_DETAIL -E MATERIAL=000000003001121900 -E MATERIAL_GENERAL_DATA (?  syntax here to direct output to /users/tmp/sapdump.txt  ?)

1 REPLY 1
Read only

Former Member
0 Likes
486

Hello,

I need the same information on startrfc.

Can anyone help on this.