Skip to Content
avatar image
Former Member



I want to know how to post data in ztable in SAP through webdynpro using ABAP application.

Please provide general documents for it if any.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 20, 2009 at 10:06 AM


    First, to post the data into your Ztable design the necessary UI will all the selections and ncesssaery fields and the custom button to save the data to the table.

    Correct procedure for storing the data to table is done using the zclasses & Objects(OOPS) where you internally create the methods which inturn have either the ZBAPI (for Ztable) or Zfunctionmodules or using the assisatnce class.

    Use this custom class in UI and create a object for it.

    On the button handlers, you can use the object and call thee respective method to store the data.

    For ABAP Objects you can refer to any documentation in ABAP Objects forum for designing classes and usage of objects.

    Assistance Class -

    Standard WD component - DEMO_COMMON_ASSISTANCE1 for reference.



    Add comment
    10|10000 characters needed characters exceeded

  • Jun 22, 2009 at 03:58 AM

    Hi Chaitali,

    It is simple as how you work in normal abap to update the z* tables.

    get all the values into itab and use modify or insert statemetn to update the z* tables.

    this you can used with onaction_save or you can create a separate assistance class create a method in that and call this method on action of save.

    please try and let me know if you still need some help.

    all the best.



    Add comment
    10|10000 characters needed characters exceeded

    • Have you declared a variable for you table line buffer? It would seem from the error that you haven't.

      data ZTEMP_TABLE type ZTEMP_TABLE.

      Also it appears that this question really belongs in the ABAP general forum. I don't see anything Web Dynpro specific about it.