cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in saving values to DB

Former Member
0 Kudos

Hi,

i'm a new bie to BSP. Currently i'm facing some problems in saving the values to DB

I'm assigning value for a html hidden field in VBScript, how do i save the same in the SAP database.

Thnx in Advance

Vinodh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vinod,

After entering values into your BSP application, on SAVE event you transfer all the data from the HTML page to the SAP structure. If the DB table to be updated is standard SAP table, please fine proper BAPI or Function Module and then transfer the collected data to the function module or BAPI and execute it.

If it is a custom DB table, then you can use regular SQL statements to do database operation.

Hoe this helps....

-Suresh

Former Member
0 Kudos

Hello, welcome!

Second please check out this weblog:

<a href="/people/brian.mckellar/blog/2004/06/11/bsp-trouble-shooting-getting-help">BSP Trouble Shooting: Getting Help</a>

Third, check out in transaction SE80 the BSP Application SBSPEXT_HTMLB and look at the one for inputField.

Then I would highly recommend checking out this weblog series: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/exploring...

It's a complete tutorial including saving to the DB.