Skip to Content
0
Former Member
Jan 17, 2008 at 07:10 PM

Smartforms Global Data

267 Views

I am using the below Method to extract Resubmission data from a contract. The data I need extracted is in parameter t_resubm_date.

The problem is I don't know what TYPE to use when defining the variable under Global Data which Smartforms requires.

t_resubm_date is type RECP_T_RESUBM_DATE_C. When I try to enter the below types in Global Data I receive the error "field t_resubm_date is unknown".

DATA: itab_resubm LIKE LINE OF t_resubm_date OCCURS 0,

wa_resubm LIKE LINE OF t_resubm_date.

Any help would be appreciated.

Thanks Much.

CALL METHOD cl_recp_data_cn_general=>get_contract

EXPORTING

id_guid = is_sfparam-content

IMPORTING

es_contract = contract

et_partner_all = t_partner

et_object_all = t_object

es_term_period = term_period

es_term_renewal = term_renewal

es_term_notice = term_notice

et_term_notice_obj = t_term_notice_obj

et_term_notice_obj_list = t_term_notice_obj_list

es_term_def_payment = term_def_payment

et_term_payment_all = t_term_payment

es_term_def_rhythm = term_def_rhythm

et_term_rhythm_all = t_term_rhythm

es_term_def_orgass = term_def_orgass

et_term_orgass_all = t_term_orgass

et_condition_all = t_condition

et_settl_cnpart_overview = t_settl_cnpart_overview

et_settl_cnpart_detail = t_settl_cnpart_detail

et_option_rate_all = t_option_rate

es_resubm_summary = resubm_summary

et_resubm_rule = t_resubm_rule

et_resubm_date = t_resubm_date

DATA: itab_resubm LIKE LINE OF t_resubm_date OCCURS 0,

wa_resubm LIKE LINE OF t_resubm_date.

LOOP AT t_resubm_date INTO wa_resubm.

APPEND wa_resubm TO itab_resubm.

CLEAR wa_resubm.

ENDLOOP.