Application Development 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: 

problem in alv dispaly filedcat-edit

Former Member
0 Kudos

Dear,

i am using filedcat-edit to change the output of alv display but after changing the quantity and when i pressing save button it is converting quantity 8.000 to 0.008 . kindly help me.

thannk u,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI manoj,

I think u missed the character field missing coneversion. first do it.

happy solving

thanks

nagendra.

8 REPLIES 8

Former Member
0 Kudos

change that field in to character field.............................

Regards

Anbu b

Former Member
0 Kudos

HI manoj,

I think u missed the character field missing coneversion. first do it.

happy solving

thanks

nagendra.

0 Kudos

dear ,

what is this charecter field missing conversion how to do plz help.

0 Kudos

in the fieldcatalog mention the decimals_out , so that you will not get that problem. It depends on how many decimals you want to give. find the from domain of the field and use...

fieldcat-decimals_out = 2.

0 Kudos

Dear ,

i given the filedcat-decimals_out = 2 . it is giving out put as 8.00 and i want to change to 5.00 but after changeing to 5.00 and pressing save button it is changing to 0.08. kindly help .

0 Kudos

Can you post your code and I am guessing the problem is from the Fieldcatalog. if possible show your code.

0 Kudos

Dear,

data : inv_qty type menge .

IS_FIELDCAT-COL_POS = V_COL_POS .

IS_FIELDCAT-FIELDNAME = P_FLD .

IS_FIELDCAT-TABNAME = P_TABLE .

IS_FIELDCAT-SELTEXT_L = P_SEL_TEXT.

IS_FIELDCAT-edit = 'X'.

is_fieldcat-input = 'X'.

if p_fld = 'INV_QTY' .

is_fieldcat-decimals_out = 3.

endif

in output it is showing 8.000 and if i change to 5.000 and after saving it is giving 0.005 .

thanking u.

0 Kudos

Hi,

Use FM LVC_FIELDCATALOG_MERGE to generate the field catalogue.

I think this will solve your problem.

Regards,

Kunjal