cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms Global Data

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member191735
Active Contributor
0 Kudos

You need to pass to global data initialization using import export parameters fields.

t_resubm_date

If you want to use any global data in initialization, you need to send them through import , export fields.

sorry it is input and output parameters.

Whatever you defined under global data and if you want to use that, you need to pass it.

Edited by: abap technical on Jan 17, 2008 1:17 PM

Former Member
0 Kudos

I've tried that and I received a warning stating there is no value in the parameter.