Skip to Content
0
Former Member
Jan 16, 2009 at 11:45 AM

End-Routine in BI 7.0 :

22 Views

I implemented an end-routine to populate a field in a DSO.

After a load, when I check the New Data table of DSO, I can see the field populated.

But when I activate the request, I dont see the same field populated in DSO contents.

What could I be missing?

Below is the End-Routine I wrote with the help of SDN:

DATA: WA_result_package LIKE LINE OF RESULT_PACKAGE.

DATA: GI_ZSD_O01 TYPE TABLE OF /BIC/AZSD_O0100.

DATA: WA_ZSD_O01 LIKE LINE OF GI_ZSD_O01.

SELECT * FROM /BIC/AZSD_O0100 INTO CORRESPONDING FIELDS OF TABLE

GI_ZSD_O01.

LOOP AT RESULT_PACKAGE INTO WA_RESULT_PACKAGE.

read table GI_ZSD_O01 with key DOC_NUMBER =

WA_result_package-DOC_NUMBER

into WA_ZSD_O01.

WA_result_package-DOC_TYPE = WA_ZSD_O01-DOC_TYPE.

MODIFY RESULT_PACKAGE FROM WA_RESULT_PACKAGE.

ENDLOOP.