cancel
Showing results for 
Search instead for 
Did you mean: 

BADI implementation in BI 7.0

Former Member
0 Kudos

Hi gurus,

I want to enhance a generic datasource using BADI implementation in BI 7.0.

Please provide an step by step example?

Its urgent

Sonal...

Accepted Solutions (1)

Accepted Solutions (1)

martin_lehmann4
Active Participant
0 Kudos

Hello Sonal,

see these docs from the library:

- [Five Ways to Enhance SAP BI Backend Functionality Using ABAP|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4493c4a6-0301-0010-62a2-efd6ded61e04]

- [Customer Enhancements and Userexits in BW - SAP NetWeaver Know-How Network Webinar|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5]

- [Enhancing DataSources with BAdI RSU5_SAPI_BADI|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7].

The first two presentations are meant for introduction and context of the BAdI, the latter is the desired step by step example. You also can search in BI forums with the technical name of the BAdI: RSU5_SAPI_BADI.

Best regards

M.Lehmann

Edited by: Martin Lehmann on Jun 24, 2008 1:43 PM

Former Member
0 Kudos

Hi Martin ,

I have implemented RSU5_SAPI_BADI for the generic datasource. but dont have any effect in extracted data in RSA3.

i have also placed a break point, still it does not break to the debbugger .... can u tell what could have i missed ?

Sonal....

martin_lehmann4
Active Participant
0 Kudos

Did you try a hardcoded BREAKPOINT. ? Another method is to use an endless loop, see here: "How do I debug background Processes?" in https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap+debugger&; .

Former Member
0 Kudos

Yes, had other problems of oject package , now its working with debugging, but the problem is then C_T_DATA table does not get modified with the work area.

I have seen the type of internal table C_T_DATA . it has no header line.

But the same C_T_DATA in cmod user exit show the header line...

What can b done ?

martin_lehmann4
Active Participant
0 Kudos

I send you a simple example, which works in our system:


METHOD if_ex_rsu5_sapi_badi~data_transform .

  DATA: it_ourtable TYPE TABLE OF ourtable,
        wa_ourtable LIKE LINE OF it_ourtable.

  CASE i_datasource.

    WHEN 'ZOUR_DS'.

      LOOP AT c_t_data INTO wa_ourtable.

* Sentences , where PC is not filled
* will be not extracted.
        IF wa_ourtable-prctr EQ ''.
          DELETE TABLE c_t_data FROM wa_ourtable.
        ENDIF.
      ENDLOOP.

  ENDCASE.

ENDMETHOD.

Hope this helps...

Former Member
0 Kudos

Hi Martin,

Thanks for all ur replies

Sonal...

Answers (0)