Skip to Content

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

Make a parameter a table type.

Hi All,

I am new to webdynpro and I am facing a issue by passing the values from a internal table to a parameter.

How do I go about making the parameter a type that can read the data from my internal table.

My code of the internal table is:

DATA: t_item_no TYPE TABLE OF crmd_orderadm_i,
                wa_ex_item_no LIKE LINE OF t_item_no.
          IF msg_info IS NOT INITIAL.
            MOVE ls_et_orderadm_i-number_int TO wa_ex_item_no-number_int .
            APPEND wa_ex_item_no TO t_item_no.
          ENDIF.


   ex_item_no = t_item_no.


I need to pass the values from T_ITEM_NO to EX_ITEM_NO.

How can I go about that?

Any help is much appreciated.

Best regards,

Elena

Former Member
replied

Hi Elena,

In public section try defining the table type fully specified as follows.

TYPES: TT_CRMD_ORDERADM_I type standard table of  CRMD_ORDERADM_I WITH DEFAULT KEY.


Thank You,

Harsha

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question