Skip to Content
author's profile photo
Former Member

table control

hi gurus,

we are facing a problem we r making a module pool program in which we r using table control we want to enter data in table control and then want it to get modified in datbase table but its nt happening please help us out

seeking ur soon reply

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • author's profile photo
    Former Member
    Posted on Aug 23, 2007 at 12:56 PM

    Hi,

    Try using UPDATE statement in your PAI at the respective action.

    regards

    Sourabh Verma

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 23, 2007 at 12:59 PM

    Hi Prakash,

    you have to modify your database table according to the Table Control.

    Write this code in the PAI event of that flow logic.

    LOOP AT ZFORM_TABLE .

    MODULE ZFORM_TABLE.

    ENDLOOP.

    MODULE ZFORM_TABLE.

    MODIFY ZFORM_TABLE INDEX TC-CURRENT_LINE.

    END MODULE.

    Bye,

    Satya.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 23, 2007 at 12:59 PM
    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 23, 2007 at 01:01 PM

    hi,

    use reference of database table in module pool and screen select get from dictionary and select required fields of database table n declare it flow logic.

    in pai event use

    update databasetable from internaltable.

    ex: update zstud .

    zstud is a reference for database table zstud.

    if helpful reward some points.

    with regards,

    Suresh Aluri.

    Add comment
    10|10000 characters needed characters exceeded