2014 Sep 04 1:15 PM
Hi Experts,
I got a function with following importing parameter:
REFERENCE(IM_RECIPIENTS) TYPE ISU_ADR6_TAB OPTIONAL
I created a table 'zdyu_mail' with the structure wich the same as ISU_ADR6_TAB
And I tried to transfer this parameter as following:
DATA: ta_dyu_mail TYPE STANDARD TABLE OF zdyu_mail,
wa_dyu_mail LIKE LINE OF ta_dyu_mail.
TYPES: ty_dyu_mail TYPE STANDARD TABLE OF zdyu_mail.
DATA: v_recipients TYPE ty_dyu_mail.
IM_RECIPIENTS = v_recipients
Where am I worng?
2014 Sep 04 1:19 PM
Why do allllll of this? Just do this: Data: v_recipients type isu_adr6_tab.
2014 Sep 04 1:19 PM
Why do allllll of this? Just do this: Data: v_recipients type isu_adr6_tab.
2014 Sep 04 1:58 PM
Your function module parameter is of type ISU_ADR6_TAB and your parameter is of type STANDARD TABLE OF zdyu_mail, these are two different types. That's why it is wrong. Follow Glen's advise and it will work.