Skip to Content

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

move number to param

type-pools: tstr.

data : <b>i_yeartab type tstr_yeartab</b>,

i_ttstr type ttstr,

i_gensegtab type tstr_gensegyeartab.

call function 'TSTR_PERIODS_QUARTERS'

exporting

it_yeartab = i_yeartab

is_ttstr = i_ttstr

importing

et_gensegtab = i_gensegtab

exceptions

error = 1

others = 2.

<u><b>how can i move 2006 to i_yeartab</b></u>

Tags:
Former Member
replied

i_yeartab-TSTRYEAR = '2004.

append i_yeartab.

call function 'TSTR_PERIODS_QUARTERS'

exporting

<b>it_yeartab = i_yeartab[]</b>

is_ttstr = i_ttstr

importing

et_gensegtab = i_gensegtab

exceptions

error = 1

others = 2.

Try the above.

Regards,

Ravi

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