Skip to Content
1
Former Member
Apr 24, 2014 at 06:12 AM

Enhanced DataSource fields for the Remote Cube does not display

39 Views

Hi all,

  • we have an enhancement to do on 0FI_AP_30 where we need to populated Characteristic "SEGMENT" on to 0FI_AP_30 as this datasource does not contain SEGMENT Field.

  • So, we have developed Enhancement on CMOD with Enhancement Assignment RSAP0001 and this working fine for Replicated cube that is 0FIAP_C30.

  • Nevertheless, we can not see data on remote cube (0FIAP_C30) even if data is available in related data source.

  • we were trying to implement with implicit Enhancement as following link suggested but no luck. think there is problem in coding.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70e8e725-f205-2e10-70bb-92ac8eb5ee93?overridelayout=t…

  • as note suggested we tried to apply the same code which was developed with Enhancement Assignment RSAP0001 to implicit Enhancement but could not get succeeded (please see the code written)

for Enhancement Assignment RSAP0001

(this code is working fine with Enhancement Assignment RSAP0001 but not with Implicit Enhancement as per the note )

CASE I_DATASOURCE.
WHEN '0FI_AP_30'.


DATA: LS_DTFIAP_3 TYPE DTFIAP_3,
L_SEGMENT TYPE FB_SEGMENT,
L_DOCLN6 TYPE DOCLN6,
L_TABIX LIKE SY-TABIX.

LOOP AT C_T_DATA INTO LS_DTFIAP_3.
L_TABIX = SY-TABIX.
CONCATENATE '000' LS_DTFIAP_3-BUZEI INTO L_DOCLN6.

SELECT SINGLE SEGMENT INTO L_SEGMENT
FROM FAGLFLEXA
WHERE RYEAR EQ LS_DTFIAP_3-FISCPER(4) AND
DOCNR EQ LS_DTFIAP_3-BELNR AND
RLDNR EQ '0L' AND
RBUKRS EQ LS_DTFIAP_3-BUKRS AND
DOCLN EQ L_DOCLN6.

IF SY-SUBRC = 0.
LS_DTFIAP_3-ZSEGMENT = L_SEGMENT.
ELSE.
CLEAR LS_DTFIAP_3-ZSEGMENT.
ENDIF.
MODIFY C_T_DATA FROM LS_DTFIAP_3 INDEX L_TABIX.
ENDLOOP.


WHEN OTHERS.
EXIT.
ENDCASE
.


  • Could any one suggest me the correct way to this or provide me the correct code sample?

Thanks

Mirana