Skip to Content
0
Former Member
Feb 13, 2006 at 12:47 PM

Update Routine ABAP question

27 Views

Hi,

I am updating data between two ODS objects using some update routines. I would like to write the following routine (in pseudo code):

++++++++++++++++++++++++++++++++++++++++++++++++++++

Check if the characteristic i am updating is not null

IF COMM_STRUCTURE-field1 = 'value1' AND

COMM_STRUCTURE-field2 = 'value2'.

RESULT COMM_STRUCTURE-field3.

ELSE.

Don't update anything

END IF

+++++++++++++++++++++++++++++++++++++++++++++++++++

My questions:

1. How i tell the routine not to update anything (as specified in the pseudo code)?

2. How i can check that the characteristic i woul like to update is not null?

3. What is the preferred debug method in case i do not use the PSA?

BR,

Xibi