10-06-2008 6:10 AM
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'.....
10-06-2008 6:24 AM
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'.
10-06-2008 6:14 AM
hi,
just check the all the fields moved in the fieldcatlog. if aany thing goes wrong over there you will get the message
10-06-2008 6:14 AM
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)
10-06-2008 6:19 AM
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...
10-06-2008 6:23 AM
the message is from fieldcatalog only. it is not from anywhere else. post your catalog code here..
10-06-2008 6:24 AM
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'.
10-06-2008 6:37 AM
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