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: 

alv grid

Former Member
0 Kudos

hi,

when i click on local file icon in pf status of my alv i get a error message as OBJECTS_NOT_CHARLIKE....

i have not given any pf status in the call function of 'REUSE_ALV_GRID_DISPLAY'.....

1 ACCEPTED SOLUTION

Former Member
0 Kudos

ERFORM APPEND_FIELDCAT USING 'WERKS' 'Plant'

'S026' 'WERKS'.

PERFORM APPEND_FIELDCAT USING 'MATNR' 'Material'

'S026' 'MATNR'.

PERFORM APPEND_FIELDCAT USING 'MAKTX' 'Description'

'MAKT' 'MAKTX'.

PERFORM APPEND_FIELDCAT USING 'MCOMP' 'Component'

'S026' 'MCOMP'.

PERFORM APPEND_FIELDCAT USING 'MAKTX1' 'Description'

'MAKT' 'MAKTX'.

PERFORM APPEND_FIELDCAT USING 'BDNMG' 'Opening RPL'

'ZOLD_RPL' 'BDMNG'.

PERFORM APPEND_FIELDCAT USING 'BDMNG' 'Required Quantity'

'S026' 'BDMNG'.

PERFORM APPEND_FIELDCAT USING 'ENMNG' 'Withdrawn Quantity'

'S026' 'ENMNG'.

PERFORM APPEND_FIELDCAT USING 'RPL' 'Reprocessing Quantity.'

'RESB' 'BDMNG'.

PERFORM APPEND_FIELDCAT USING 'DIFF' 'Difference in Quantity'

'RESB' 'BDMNG'.

PERFORM APPEND_FIELDCAT USING 'RATE' 'Rate'

'MBEW' 'STPRS'.

PERFORM APPEND_FIELDCAT USING 'VALUE' 'Difference in Value'

'MBEW' 'SALK3'.

PERFORM APPEND_FIELDCAT USING 'MAABC' 'ABC Ind.'

'MARC' 'MAABC'.

PERFORM APPEND_FIELDCAT USING 'EXTWG' 'Ext.MatGrp.'

'MARA' 'EXTWG'.

PERFORM APPEND_FIELDCAT USING 'TOTAL' 'Total target Quantity'

'SO26' 'BDMNG'.

PERFORM APPEND_FIELDCAT USING 'DERVIED' 'Dervied RPL'

'SO26' 'BDMNG'.

6 REPLIES 6

Former Member
0 Kudos

hi,

just check the all the fields moved in the fieldcatlog. if aany thing goes wrong over there you will get the message

former_member188685
Active Contributor
0 Kudos

may be you have some currency and qty fields. are you populating the fieldcatalog manually..? for currency and qty fields you have to specify other properties also like currencyfield, currency table, ref_table, ref_field etc. same thing for qty fields( there are related properties check once)

Former Member
0 Kudos

thanks.but if it was so i should not have got the list output rite....

something is wrong with pf or user command....i posted it in forum cause poeple who have come accross this problem may help...

0 Kudos

the message is from fieldcatalog only. it is not from anywhere else. post your catalog code here..

Former Member
0 Kudos

ERFORM APPEND_FIELDCAT USING 'WERKS' 'Plant'

'S026' 'WERKS'.

PERFORM APPEND_FIELDCAT USING 'MATNR' 'Material'

'S026' 'MATNR'.

PERFORM APPEND_FIELDCAT USING 'MAKTX' 'Description'

'MAKT' 'MAKTX'.

PERFORM APPEND_FIELDCAT USING 'MCOMP' 'Component'

'S026' 'MCOMP'.

PERFORM APPEND_FIELDCAT USING 'MAKTX1' 'Description'

'MAKT' 'MAKTX'.

PERFORM APPEND_FIELDCAT USING 'BDNMG' 'Opening RPL'

'ZOLD_RPL' 'BDMNG'.

PERFORM APPEND_FIELDCAT USING 'BDMNG' 'Required Quantity'

'S026' 'BDMNG'.

PERFORM APPEND_FIELDCAT USING 'ENMNG' 'Withdrawn Quantity'

'S026' 'ENMNG'.

PERFORM APPEND_FIELDCAT USING 'RPL' 'Reprocessing Quantity.'

'RESB' 'BDMNG'.

PERFORM APPEND_FIELDCAT USING 'DIFF' 'Difference in Quantity'

'RESB' 'BDMNG'.

PERFORM APPEND_FIELDCAT USING 'RATE' 'Rate'

'MBEW' 'STPRS'.

PERFORM APPEND_FIELDCAT USING 'VALUE' 'Difference in Value'

'MBEW' 'SALK3'.

PERFORM APPEND_FIELDCAT USING 'MAABC' 'ABC Ind.'

'MARC' 'MAABC'.

PERFORM APPEND_FIELDCAT USING 'EXTWG' 'Ext.MatGrp.'

'MARA' 'EXTWG'.

PERFORM APPEND_FIELDCAT USING 'TOTAL' 'Total target Quantity'

'SO26' 'BDMNG'.

PERFORM APPEND_FIELDCAT USING 'DERVIED' 'Dervied RPL'

'SO26' 'BDMNG'.

0 Kudos

now i am 100% sure it is from fieldcatalog. for currency and quantity fields you supply the information required then it will not give the message.

WAERS and MEINS should be there in the internal table

check once

for currency

cfieldname type slis_fieldname, " field with currency unit ex: WAERS

ctabname type slis_tabname, " and internal table here ex: IT_ALV

for qty

qfieldname type slis_fieldname, " field with quantity unit ex: MEINS

qtabname "internal table name here ex: IT_ALV

for both..

ref_fieldname like dd03p-fieldname, ex: KWMENG

ref_tabname ex: VBAP