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

Error showing

Former Member
0 Likes
414

Hi friendz

I am new to SAP. I just tried to call the BAPI "Purchase order" and tried to retrieve some data using the GetDetail() method. The parametres i passed are PurchaseOrder,Items , History. I am using .NET 2003 for these purposes. But my program shows an error as

"public member GetDetail on type _ComObject not found.

Can anyone help me to solve this problem

I got the code from

http://help.sap.com/saphelp_46c/helpdata/en/72/90fd343603c95ee10000009b38f844/frameset.htm

Thanking you

2 REPLIES 2
Read only

uwe_schieferstein
Active Contributor
0 Likes
383

Hello Ratheesh

Are you sure that the SAP system you want to retrieve data from is of release 4.6c (that is the release of the documentation you mention)?

If you do not know call function module RFC_GET_SYSTEM_INFO (no input required). In the field RFCSI_EXPORT-RFCSAPRL you see the release of the SAP system. If it is a different release it is most like that the interface of the BAPI has changed somewhat.

Regards

Uwe

Read only

0 Likes
383

My SAP release version is 4.0. Now if the interface of the BAPI has changed how can it be solved