469,319 Members | 2,218 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,319 developers. It's quick & easy.

SAP RFC - Numeric character Headache

Hi All,

Wondering if anyone has encountered this one, and if anyone has a solution (or an insight into what's going wrong)

This has been bugging us now for quite a while, and cannot find a solution.

We are attempting to Write test data from a VFP9 Application local cursor into a SAP Object.
We can create a new line, and the RFC returns that the new line exists, but when we attempt to insert the data into the Object, The RFC returns Incorrect Data Type.

We have been informed by the client that the Data Type is Numeric character, we have attempted to Convert the Numeric to Char, but still no joy.

The Client has supplied an Excel Interface which appears to work, so there is no issues with the RFC itself.

Is there anything anyone can think of that would be limiting VFP to write to a SAP RFC?


Jul 14 '10 #1
3 1975
Hi All,

We got it working, was not the Data type at all, but the RFC not accepting the Identifier of the Object Column.
Changing the Reference to the Ordinal number of the object worked.
Jul 29 '10 #2
Jyoti Ballabh
115 100+
Another option would be to transform your .DBF in a plain text file (using Access or Excel, if you have Office installed). It's an easy thing to do, and the file resultant will be uploaded with WS_UPLOAD without problems (and you can do some make-up to the fields if you need it).

The use of GUI_UPLOAD will be wise if your system supports it, because WS_UPLOAD is obsolete and we can expect will disappear in future versions of SAP/ABAP.
Jul 30 '10 #3

Thanks for the response.

We are using SQL Server as the Backend and the client's SAP Dept has supplied a RFC as the only means of communicating with SAP.

We were thinking of the Excel option (Creating an Excel File and uploading this) but the client's SAP dept refused.


Jul 30 '10 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

50 posts views Thread by The Bicycling Guitarist | last post: by
40 posts views Thread by Shmuel (Seymour J.) Metz | last post: by
5 posts views Thread by Timothy Madden | last post: by
6 posts views Thread by stefaniefauconnier | last post: by
reply views Thread by William Heymann | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by mdpf | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.