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

ALV

Former Member
0 Likes
654

Hi

I have an issue when iam trying to fix the issue.

Fieldcatalog is like this READ TABLE I_FCAT INTO WA_FCAT WITH KEY FIELDNAME = 'ESI'.

IF SY-SUBRC EQ 0.

WA_FCAT-REPTEXT_DDIC = 'X'.

WA_FCAT-SELTEXT_S = TEXT-025.

WA_FCAT-SELTEXT_M = TEXT-025.

WA_FCAT-SELTEXT_L = TEXT-025.

WA_FCAT-OUTPUTLEN = 10.

WA_FCAT-JUST = 'L'.

WA_FCAT-DO_SUM = 'X'.

MODIFY I_FCAT FROM WA_FCAT INDEX SY-TABIX.

CLEAR WA_FCAT.

ENDIF.

My question is what is that WA_FCAT-JUST and WA_FCAT-DO_SUM use?

Help will be appreciated.

Thanks in advance.

Regards,

Rk

Hi

I have an issue when iam trying to fix the issue.

Fieldcatalog is like this READ TABLE I_FCAT INTO WA_FCAT WITH KEY FIELDNAME = 'ESI'.

IF SY-SUBRC EQ 0.

WA_FCAT-REPTEXT_DDIC = 'X'.

WA_FCAT-SELTEXT_S = TEXT-025.

WA_FCAT-SELTEXT_M = TEXT-025.

WA_FCAT-SELTEXT_L = TEXT-025.

WA_FCAT-OUTPUTLEN = 10.

WA_FCAT-JUST = 'L'.

WA_FCAT-DO_SUM = 'X'.

MODIFY I_FCAT FROM WA_FCAT INDEX SY-TABIX.

CLEAR WA_FCAT.

ENDIF.

My question is what is that WA_FCAT-JUST and WA_FCAT-DO_SUM use?

Help will be appreciated.

Thanks in advance.

Regards,

Rk

5 REPLIES 5
Read only

Former Member
0 Likes
618

1)L-left justified

R- right justified

it means it is use for alienment of field

2) do sum is used for total of field value.

Read only

0 Likes
618

Hi

Thanks for that.

What is 'X' refers,is it default value?

code is

READ TABLE I_PAYROLL-INTER-RT INTO I_RT_LINE WITH KEY

LGART= '/3E1'.

IF SY-SUBRC EQ 0.

WA_FINAL-ESI = I_RT_LINE-BETRG.

ENDIF.

MODIFY I_FINAL FROM WA_FINAL.

CLEAR I_RT_LINE

SUM of the column means could you please eloborate it.

Thanks

Read only

0 Likes
618

Hi,

If you specify WA_FCAT-DO_SUM = 'X'. for a particular column, this means the sum of the column values will apear at the end of the ALV display.

'X' means that you are activating the summation option if it is blank then disabling the option.

Read only

Former Member
0 Likes
618

WA_FCAT-JUST meaning is justified and L mean left justified.

second is

WA_FCAT-DO_SUM meaning is sum of the columned

Read only

Former Member
0 Likes
618

Justified...left or Right