Skip to Content
0
Former Member
Jan 11, 2007 at 12:33 PM

to modify a data package in start routine

51 Views

Hi,

This is the code for modifying a value of amount_17

but its not modifying it... can anyone help me out.

in this /BIC/CSZGGN_INFOSOURCE. contains these fields .

SALESORG

QUANTITY

AMOUNT_17

UNIT

CURRENCY

*************************************declaration begin

TYPES:

BEGIN OF DATA_PACKAGE_STRUCTURE.

INCLUDE STRUCTURE /BIC/CSZGGN_INFOSOURCE.

TYPES:

RECNO LIKE sy-tabix,

END OF DATA_PACKAGE_STRUCTURE.

DATA:

DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE

WITH HEADER LINE

WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.

********************************************code begin

loop at DATA_PACKAGE .

if DATA_PACKAGE-amount_17 EQ 234.

DATA_PACKAGE-amount_17 = 230 .

modify DATA_PACKAGE.

endif .

endloop.

Regards,

Nishu Gupta