cancel
Showing results for 
Search instead for 
Did you mean: 

Help with code

Former Member
0 Kudos

Can someone explain to me what this code in a start rotine is doing?

LOOP AT DATA_PACKAGE.

IF NOT DATA_PACKAGE-STOCKCAT IS INITIAL

OR ( DATA_PACKAGE-PROCESSKEY = '450' and

DATA_PACKAGE-BWAPPLNM = 'IS-R' ) .

DELETE DATA_PACKAGE.

ENDIF.

ENDLOOP.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If data_package-stockcat is not empty .. -- 1st condition

<b>or</b> (data_package-process key value is equal to 450 <b>and</b> data_package-BWAPPLNM value is equal to IS-R .) -- 2nd condition

if any one of the above condition satisifes then delete the record.

Regards,

Siva.

Answers (0)