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

Calling Bapi from Dot Net

Former Member
0 Likes
538

Hi All,

We are Trying to upload Bapi's From Dot Net.

When we are uploading Sales Order upload i will get this error ""ERROR: Sales document type DG-1 is not defined"" ,But If i Call Again It is not giving the any error and simply its updating the SAP data base.Not only Sales Order upload but Customer Master upload also First time iam getting :"" Invalid form of address text"" This Error...After Second Exectuion I am getting Sucess Message.

Why My Bapi Call is Not Sucess for First Call and why it is Getting sucess in Second Exection When i am calling bapi from .Net

how can i solve my Problem?

Thank you,

Madhu

Edited by: madhubabu rao on Oct 24, 2008 8:20 AM

3 REPLIES 3
Read only

Former Member
0 Likes
474

hi

for first time there could be problem of getting the meta data of the bapi, check in debug mode from .net xside if the medat dat ai savailable before yopu make a call to post data

cheers

Read only

Former Member
0 Likes
474

Hello,

Refer to the below Thread & Link respectively.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/12f6d390-0201-0010-e18d-cdb4554a...

Thought it might give you some inputs.

Thanks and Regards,

Venkat Phani Prasad Konduri

Read only

Former Member
0 Likes
474

asn