Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

To fill Structure

Former Member
0 Likes
915

hello..

can anyone tell me how to fill a structure with the input parameter?

thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
877

parameter:p_input type date.

data:wa type vbak. "structure of type vbak

wa-erdat = p_input. "filled with value

but wat structure u want to fill?can u pls be more clear???

5 REPLIES 5
Read only

Former Member
0 Likes
878

parameter:p_input type date.

data:wa type vbak. "structure of type vbak

wa-erdat = p_input. "filled with value

but wat structure u want to fill?can u pls be more clear???

Read only

0 Likes
877

i_str_vddate_range-LOW

i_str_vddate_range-HIGH

this is the str which i need to fill by what is been inputed..

i'e: i_term_range-low

i_term_range-high

how do i proceed..??

Read only

0 Likes
877

select-options: i_term_range for field.

ranges:i_str_vddate_range for field.

if i_term_range-high is initial.

i_str_vddate_range-sign = 'I'.

i_str_vddate_range-option = 'EQ'.

i_str_vddate_range-low = i_term_range-low .

else.

i_str_vddate_range-sign = 'I'.

i_str_vddate_range-option = 'BT'.

i_str_vddate_range-low = i_term_range-low .

i_str_vddate_range-high = i_term_range-high .

endif.

append i_str_vddate_range.

Read only

Former Member
0 Likes
877

hi,

C_T_LOG-EBELN   = U_T_EKKO-EBELN.
C_T_LOG-TYPE    = 'I'.
C_T_LOG-NUMBER  = '167'.
C_T_LOG-ID      = 'FMFG'.

Read only

Former Member
0 Likes
877

Hi,

I am not getting ur question exactly.

In my understanding, we cant fill the structures using input.

Just creat a internal table using this structure and fetch the values from db table into ur internal table.

Hope this helps u.

thanks.