Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

NAST table - entries without object key

Former Member
0 Kudos

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 ?

3 REPLIES 3

Former Member
0 Kudos

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

0 Kudos

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

nitu_kumari2
Employee
Employee
0 Kudos

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 .