2015 May 26 4:05 PM
I have added 2 custom fields in STPO (1 character and 1 Numeric).
To reset the values in the table through program , I use the Function Module CSAP_BOM_ITEM_MAINTAIN.
I use the reset sign "!" for the character field and clears the value without any issue.
However for the Numeric fields , I cannot pass the above sign and passing "0' also doesn't over write the values.
Can anyone provide suggestion /ideas?
Thanks
Ram
2015 May 26 9:09 PM
For the numeric, you need to pass the 0. You can't escape from 0 for Numeric.
From Program /SAPMP/LCSAPF01, where numeric is reset to 0.
* data type CHAR
ch_ismp_apicn-/sapmp/met_lrch = c_data_reset.
ch_ismp_apicn-/sapmp/max_fertl = c_data_reset.
ch_ismp_apicn-/sapmp/fix_as_j = c_data_reset.
ch_ismp_apicn-/sapmp/fix_as_e = c_data_reset.
ch_ismp_apicn-/sapmp/fix_as_l = c_data_reset.
ch_ismp_apicn-/sapmp/rund_fakt = c_data_reset.
* data type NUMC
CLEAR: ch_ismp_apicn-/sapmp/abl_zahl.
Regards,
Naimesh Patel