cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve data from BAPI, FM and Insert in WAS Database

Former Member
0 Kudos

Hello All.

I need to retrieve data from SAP in WedDynpro project using BAPI, FM and create tables in WAS Database to Insert.

I have created the front ends in WedDynpro project to acces data using BAPI and FM. Its works fine.

How to create these table in WebDynpro project to insert the data come from SAP (BAPI - FM) ?

I created the tables in dictionary.

--> Create a new project --> project type Dictionary Project --> Create Tables.

How can insert the data from the BAPI in tables created in dictionary?

Best Regards.

Taylor

Accepted Solutions (1)

Accepted Solutions (1)

monalisa_biswal
Contributor
0 Kudos

hi Taylor,

You need to write ejbs for inserting data in WAS tables.

[EJB Help Doc|http://help.sap.com/saphelp_sm32/helpdata/de/a3/c7637aaf2e054e9cf46e9b45001b54/frameset.htm]

You need to expose session bean's method as web service which you can import in Webdynpro.

Hope this helps!

Monalisa

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Taylor,

If the data is coming from R/3 through a BAPI and if the structure is defined under the tables tab in the BAPI, it will be a node in WD Java. Now, just create a Table UI element and then Bind the table UI element to the node that represents your table coming from the backend.

Alternatively, you can rightclick on the RootUIElementContainer in the Outline View on the Bottom left hand corner and then select Apply template. now select "Table" from the three option that you get in the pop-up window. After, this select the concerned node and all the attribute as well. This will create a table showing all the data coming from the R/3 system.

I hope this helps.

Regards,

Gopal.

Former Member
0 Kudos

Hi Gopal.

Thanks for your atention.

The item to show the data come from BAPI is OK ....it`s WORK FINE.

Now ...i need insert this data in a Database Table created in Web Application Server Database in Java side.

This is my question ....how to insert the data come from BAPI in a table created in WAS Database.

thanks in advance...

Taylor

Former Member
0 Kudos

Hi Gopal.

Thanks for your atention.

The item to show the data come from BAPI is OK ....it`s WORK FINE.

Now ...i need insert this data in a Database Table created in Web Application Server Database in Java side.

This is my question ....how to insert the data come from BAPI in a table created in WAS Database.

thanks in advance...

Taylor