Skip to Content
0
Former Member
Jan 21, 2008 at 03:19 PM

GET statement

29 Views

Hi,

I have a question about the restriction after GET TABLE statement. Please help

I use GET statement to get the data from a database table bsid.

In the table bsid.

kunnr zuonr belnr xblnr

aaa space 10291 21986

aaa space 23321 97165

aaa Q1 36353 38363

bbb t2 38763 373662

bbb t2 286648 264829

1, when the zuonr is initial, the records belongs to kunnr (aaa)include the following should be deleted.

kunnr zuonr belnr xblnr

aaa space 10291 21986

aaa space 23321 97165

aaa Q1 36353 38363 (even zuonr=Q1, the other records which belong to the same aaa have initial zuonr, this should be deleted too)

2, Only the bbb which zuonr has value can be seleted.

Question:

How to write the coding after GET bsid to restrit the condition?

Please help!

Thank you!