Quantcast
Channel: SCN : Discussion List - SAP Business Warehouse
Viewing all articles
Browse latest Browse all 6437

Remove the 0 record in the DSO based on the key figures

$
0
0

Hi

 

  I want to remove the 0 record in the DSO based on the key figures.

I tried to write this 2 code in the start routine but It can not be the result that I want.

Please update me how can i do.

 

1.

DELETE FROM AAA WHERE BBB = '0'.

 

2.

DATA: CCC TYPE _ty_s_SC_1.

 

    LOOP AT AAA INTO CCC.

DELETE AAA WHERE BBB EQ 0.

    ENDLOOP.

 

AAA:Activated table

BBB: key figures

CCC:Internal Tables

 

 

 

 

I have checked these.

Deletion of selective data from DSO through Transformation

  http://help.sap.com/SAPHELP_470/Helpdata/en/06/aafd54fc4011d195280000e8353423/content.htm


Viewing all articles
Browse latest Browse all 6437

Trending Articles