Skip to Content
0
Former Member
Sep 13, 2007 at 06:14 AM

Update Problem in Transaktional Cubes (BW3.1)

18 Views

Hi Experts,

I have the following problem:

1. ODS load per delta CO-PA

2. Automatically update data in data target (2 Transactional Cubes)

Release BW 3.1

When I load the scenario with process chain only one Cube is updated.

Apparently the generated InfoPackage is the problem, it will be changed from the System?!

The switch between planning and loading is realized with the following coding:

REPORT ZZSWTRBT .

PARAMETERS p_cube TYPE RSINFOCUBE.

SELECTION-SCREEN ULINE.

SELECTION-SCREEN BEGIN OF BLOCK BL1.

PARAMETERS: p_trtobt RADIOBUTTON GROUP rad1.

PARAMETERS: p_bttotr RADIOBUTTON GROUP rad1.

SELECTION-SCREEN END OF BLOCK BL1.

SELECTION-SCREEN ULINE.

IF NOT p_bttotr IS INITIAL.

CALL FUNCTION 'RSAPO_SWITCH_BATCH_TO_TRANS'

EXPORTING

I_INFOCUBE = p_cube

  • EXCEPTIONS

  • CUBE_NOT_TRANSACTIONAL = 1

  • INHERITED_ERROR = 2

  • OTHERS = 3

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

ENDIF.

IF NOT p_trtobt IS INITIAL.

CALL FUNCTION 'RSAPO_SWITCH_TRANS_TO_BATCH'

EXPORTING

I_INFOCUBE = p_cube

  • EXCEPTIONS

  • CUBE_NOT_TRANSACTIONAL = 1

  • SWITCH_NOT_POSSIBLE = 2

  • INHERITED_ERROR = 3

  • OTHERS = 4

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

ENDIF.

Thanks for your help,

kind regards.

Frank