Example ABAP code for Filter data of table control *---------------------------------------------------------------------* * Form F_filter_data *---------------------------------------------------------------------* * By Oka Wirasatha *---------------------------------------------------------------------* form F_FILTER_DATA . field-symbols : <selected_col> type CXTAB_COLUMN. data : LW_COLS like TC_ITEM-COLS. data : GT_FIELDCAT type LVC_T_FCAT. data LAYO type LVC_S_LAYO. data : GT_FILTER_INDEX type LVC_T_FIDX, LT_SELCOL type table of LVC_S_COL with header line. data : LT_FILT type LVC_T_FILT, LW_FILT type LVC_S_FILT, LT_LAYOUT type LVC_S_LAYO. * find out if a column is selected. loop at TC_ITEM-COLS assigning <selected_col>. if <selected_col...
when i am try find BAPI for change prince on search engine, I'm Found BAPI_M_REVAL_CREATEPRICECHANGE but in this BAPI block by statement .... * Im Standard deaktiviert error_flag = 'X'. IF ( NOT error_flag IS INITIAL ). EXIT. ENDIF. ..... Why ?? until now I don't no why this BAPI is block !!. My solution is just copy to Z_BAPI .. and remove that statement and running well. Note : minimal required for parameters table MATERIAL_PRICE_LIST is plant = ft_list-werks. material = ft_list-matnr. curr_type = '10'. IF ft_list-vprsv = 'S'. change_std_price = 'X'. std_price = ft_list-nstpr * 100. ELSE. change_mov_price = 'X'. moving_pr = ft_list-nstpr * 100. ENDIF. currency = ft_list-waers. iso_code = ft_list-waers. price_unit = ft_list-peinh. quantity_unit = ft_list-meins. isocode_unit = ft_list-meins. hope can help for change price (MR21).
A current or future standard price exists for material 1610616033 Message no. CKPRCH025 Diagnosis A current or future cost estimate exists. Procedure You can set the price of a marked cost estimate through the radio button 'Default Planned Prices' and release it by saving. ***** This message come up when i am try to change standard price of material. Why ?
Comments