cancel
Showing results for 
Search instead for 
Did you mean: 

Getting data on my view.... how to send this data directly to R/3

Former Member
0 Kudos
49

Hi...

I am getting data from the R/3 system on my material view....for that i have used Y_Ep_demo_Material_Get_Data...

now i want to send this data to my SAP system.....for this i have Y_Ep_Demo_Material_Create.... how to send this data to SAP through this Bapi.......

please help me...

Thanks & Regards

Ravi Shankar B

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Bind the view inputs to the create BAPI .

Y_Ep_Demo_Material_Create input=new Y_Ep_Demo_Material_Create();

wdContext.nodeY_Ep_Demo_Material_Create().bind(input);

input.set<Parameter>(wdContext.current<View>Element().get<Parameter>);

//Execute The Bapi

Kind Regards

Mukesh

Former Member
0 Kudos

Hi

Follow all the steps for the new BAPI.

e.g.Instantiating the model class, binding it to the BAPI node.

Now get the values for the Attributes from your FM Y_Ep_demo_Material_Get_Data and set them to the import parameters of the FM Y_Ep_Demo_Material_Create.

Then execute the RFC.Invalidate the output node.

Regards,

Ajay

Former Member
0 Kudos

HI Ravi,

Set the input parameters and execute the BAPI

as

Y_Ep_Demo_Material_Create input=new Y_Ep_Demo_Material_Create();

input.set<parameter("input");

wdContext.nodeY_Ep_Demo_Material_Create_Input(input);

<Execute the BAPI>

Regards

Saravanan K