Skip to Content
author's profile photo Former Member
Former Member

Problem in saving values to DB

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2004 at 09:53 AM

    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%20bsp%20development%20and%20the%20miniwas.htm

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2004 at 04:13 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.