Skip to Content
avatar image
Former Member

WEBDYNPRO ABAP APPLICATION

Hi

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.

Regards,

Chaitali

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

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

    Hi,

    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 -

    http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm

    Standard WD component - DEMO_COMMON_ASSISTANCE1 for reference.

    Regards,

    Lekha.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    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.

    regards,

    mahesh.gattu

    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.