‎2009 Apr 24 10:52 PM
Hello,
I am getting the value for payment date as '0.00' instead of a blank value. How do I delete only this value from internal table without deleting the entire record.
Thks & Rgds,
Hemal
‎2009 Apr 24 11:21 PM
Hi Hemal ,
put a loop on ur internal table and delete entries where it is coming as 0.00 and modify ur internal table.
Loop at itab.
if itab-date = '0.00'
itab-date = ' '.
modify itab.
endif.
Endloop.
Regards,
Anuj
‎2009 Apr 24 11:28 PM
Hello Anuj,
Thanks for your response. I tried the code below, which didn't work.
LOOP AT it_invsrch_tab.
IF it_invsrch_tab-zpaymentdate = '0.00'.
it_invsrch_tab-zpaymentdate = ' '.
ENDIF.
MODIFY it_invsrch_tab[] FROM it_invsrch_tab.
ENDLOOP.
Rgds,
Hemal
‎2009 Apr 24 11:33 PM
Hello Anuj again,
I realized from your code that I was putting modify condition outside if..endif. After putting inside it works fine. Thanks for your help.
Rgds,
Hemal