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

Using Tabstrip update the database table

Hi Guy's,

I created two screens(100 & 110).

Click 1 pushbutton HRP1000 related information is displayed.

Click 2 pushbutton it displays HRP1001 relatd information.

worked to read the data from the Database tables and output displayed sucessfuly . However i want to entered data in those fields wants to update to database table.

Please friends help me how to work this senario.

Thanks and Regards,

Sai.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 10:14 AM

    Add two more buttons eg but3 and but4.

    When clicking but 3, display all athe fields in HRP1000 as blank and allow the user to enter the values in it.

    Then , when clicking on "SAVE' button, modify the database table from screen structure.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Guy's,

      To update the database records, wrote the logic in PAI

      WHEN 'SAVE'.

      INSERT HRP1001.

      INSERT INTO HRP1001 VALUES wa_P2.

      it displaying an error message " the work area wa_p2 is not long enough.

      and also i tried using it_p2

      it displaying an error message " you can't use internal table as work area".

      Please help me friends it is very urgent.

      Thanks and Regards,

      Sai.

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.