cancel
Showing results for 
Search instead for 
Did you mean: 

Not getting the Data when running the RFC from VC

Former Member
0 Kudos

Hi All,

I have created on model, i have added one RFC model . It accepts 5 parameters.

Out of that five, 2 parameters are dates. the results are displaying in table.

When i run and deploy it is give the following message to me.

An error was returned fromt he back-end

System:[ERROR] NO DATA FOUND.

But when run the same RFC at the R3 it is running fine and giving the results.

Again i have created one Webdynpro to test this bapi. I am able to execute the application sucessufully, i am able to get the data in webdynpro application properly. But i am not able to get the data for the same RFC in the VC application.

Can anybody tell how to find where is the problem. what might be the problem.

Regards

Vijay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vijay,

it seems that your BAPI has five import parameters. I guess that they are passed in the wrong format or something else. Please check if the values are passed correctly.

You can check this via external debugging which I described in my blog here:

<a href="/people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i:///people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i

<a href="/people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i:///people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i

Best Regards,

Marcel

Former Member
0 Kudos

Hi Marcel

Thanks for the quick reply. The RFC is running in the R3 system not the BW system.

I am sending the five parameters

1) customerId (String)

2) Report Type (String)

3) FromDate (Date)

4) ToDate (Date)

5) InputType (String)

Output parameters is a Table parameter.

But still i have tried the link which u have sent, when i tried to execute the transaction which as mentioned in the link, saying that , Transaction does not exist.

can u please how to debug this problem in R3

Regards

Vijay

Former Member
0 Kudos

Hi Vijay,

it doesn't matter that you are on a R/3 system. The BAPi/RFC is typical for R/3 systems, that's why you have to set the system type in your connection to R/3.

You also have the transaction SE80 in R/3 systems, maybe you must check your privilleges. I think the parameters are passed not correctly. E.g. the parameters of the data type date you must pass them in a certain format of your backendsystem, or the customerID maybe you enter a customerID with 10 digit but your backend system has a customerID with 12 digits and so on. The best way is to use the external debugging and debugging the BAPI with the passed values. If the BAPI dumped you can also check the passed values via ST22.

Best Regards,

Marcel