Skip to Content
author's profile photo Former Member
Former Member

Smartforms Global Data

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 17, 2008 at 08:17 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.