cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong routine in 0PP_DS03?

jbreznar
Participant
0 Kudos
249

Hi, I am wondering about the field routine in the transformation TRCS 0CO_OM_OPA_6 -> ODSO 0PP_DS03.

The routine looks like this:

 IF COMM_STRUCTURE-curtype = '20'
And COMM_STRUCTURE-DB_CR_IND = 'S'
or COMM_STRUCTURE-DB_CR_IND = 'H'
or COMM_STRUCTURE-DB_CR_IND = 'L'.
RESULT = COMM_STRUCTURE-amount.
RETURNCODE = 0.
ELSE.
RETURNCODE = 4.
ENDIF

But this would mean that it let's through records if they are curtype '20' and db_cr_ind 'S' or that they are either 'H' or 'L'

So you are then mixing different currency types together.

Shouldn't it be like bellow:

 IF COMM_STRUCTURE-curtype = '20'
And ( COMM_STRUCTURE-DB_CR_IND = 'S'
or COMM_STRUCTURE-DB_CR_IND = 'H'
or COMM_STRUCTURE-DB_CR_IND = 'L' ) .
RESULT = COMM_STRUCTURE-amount.
RETURNCODE = 0.
ELSE.
RETURNCODE = 4.
ENDIF

I didn't find anything on SAP Notes regarding this.

Also, if this DSO isn't delta capable, where do you load it from? The DataSource is delta capable, FULL load each day is not possible...

Work in Process (Value) | SAP Help Portal

Thank you.

Accepted Solutions (0)

Answers (0)