02-12-2013 4:49 PM
Hello,
I'm seeing 35 entries in NAST table without any object key linked to it.
This is resulting in multiple output types for any new object - e.g. For any new PO, there close to 20 output types, which are are not related to any of the data from PO.
Questions : How can an entry get saved in NAST without assignement to object key? Can we delete these entries ? How we can make sure, this dummy entries dont regenerate once deleted ?
02-13-2013 5:39 AM
Hi,
Hi,
when a sales order or purchase order created, it will store nast table. objky = sales order no/ purchase order no..at the time of debugging, if we force to neglect the output type , a sales order will create without output type. this sales order will not create in nast table... look at nast table and watch keyfields of the table............
we can delete this entries...double click on the record...put /h in command field. press 'enter'.
debugger screen will open.
form set_status_val tables ntab structure x031l
using code name next for_lines.
field-symbols: <field>.
refresh exclude_tab.
if code = 'SHOW'.
set titlebar 'TAB' with name 'anzeigen'(100).
elseif code = 'EDIT'.
set titlebar 'TAB' with name 'ändern'(101).
elseif code = 'INSR'.
set titlebar 'TAB' with name 'einfügen'(102).
elseif code = 'ANVO'.
set titlebar 'TAB' with name 'einfügen'(102).
elseif code = 'DELE'.
set titlebar 'TAB' with name 'löschen'(103).
endif.
click on code. forcefully change the function code...put 'dele' . press F8.
if any problem let me know......
Thanks
Sabyasachi
12-11-2013 8:53 AM
Hi, please see note 13840 - Reorganization of NAST records (report RSCLNAST) and delete all inputs with obj key = _ (empty) and check if note 789652 is implemented.
Regards Kasia
12-11-2013 8:55 AM
Please delete them using the one of the below FMs.
ISP_NAST_DELETE
NAST_DELETE_OBJECT
Or , you can write a small Z program to delete the entries .
REPORT ZABC_TEST123.
delete from nast where objky = '0000000000'.
These entries should not be created again .