Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

table control in module pool

Hi,

Iam using table control in module pool.

when i enter and save items, it should move into the internal table.

here i have header details and table control comes under item details where iam using 2 different tables one for header and another for item and the common field is the gatepass no. which iam generating dynamically by using FM (number_get_next) as soon as i save the record.

i have declared it like this.

loop at zmseg.----


>>(my internal table for items)

module user_command.----


> (here under save i have moved the data)

endloop.

OR

but iam facing problem when i item contains more than one item as it is generating gatepass no for every item. do i need to declare both seperately.

Under this i have declared: when 'save'.

moved all the data into header and item tables.

endcase.

Please let me know where iam doing mistake.

Regards,

Mahesh.

Former Member
Not what you were looking for? View more on this topic or Ask a question