Skip to Content
0
Former Member
Feb 23, 2006 at 08:32 PM

Can't retrieve data from RFC when passing input parameters

19 Views

Hello Everyone:

I have created a Jco Connection using BAPI_CUSTOMER_GETDETAIL2 bapi. I also created a form, an action button to get the data and a table where the data is displayed. It does work ok, however, when I try to "harcode" the input parameter it won't work. That is, I want to pass the input programatically, not as a form. I tried this:

String userID = "35";

wdContext.nodeBapi_Customer_Getdetail2_Input().currentBapi_Customer_Getdetail2_InputElement().setCompanycode(userID);

But it won't work... won't show any errors though, just as if there are no records for that query...... does anyone have any ideas about this?

Thanks

Alejandro