Skip to Content
0
Former Member
Sep 15, 2005 at 10:44 AM

Regarding the BAPI calls without input

28 Views

Hi all,

We are developing on webdynpro component. I came across a scenario where we call the BAPI through Adaptive BAPI model. This bapi doesnt take any input parameters but returns 7 tables with data.

So, My problem here is i am not getting output in the 7 tables. i am sending a dummy input and executing on the input elements modelobject.

Could anyone ddid this scenario.. ie., calling/executing teh BAPI call which doesnt have any input s but expects output.

Here is what i have

<i><b>Z_Sales_Order_Header_Input bapiSalesOrderHeader=new Z_Sales_Order_Header_Input();

wdContext.nodeZ_Sales_Order_Header_Input().bind(bapiSalesOrderHeader);

wdContext.currentZ_Sales_Order_Header_InputElement().modelObject().execute();

int ilSalesOrderTypeSize=0;

ilSalesOrderTypeSize=wdContext.nodeZ_Sales_Order_Header_Output().nodeSalesordertype().size();</b></i>

Thanks & Regards,

Raghavendra Pothula