cancel
Showing results for 
Search instead for 
Did you mean: 

Reading data from an infocube into wd application

Former Member
0 Kudos

Hi,

How can we read data from an infocube.I have to read data from two infocubes and then display it in table in an wd application.

I have found an FM RSDRI_INFOPROV_READ to read , but how to use the same in wd application.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sanjeev,

Use CALL FUNCTION To use FM in WD.

something like this..

  • Declarations for BAPI_HU_DELETE_FROM_DEL

DATA : Del TYPE BAPIDELICIOUSDELIVERY-DELIVERY_NUMBER,

Return1 TYPE TABLE OF BAPIRET2.

del = lv_imp_outdel.

DATA : HUKEY TYPE BAPIHUKEY-HU_EXID,

wa_hukey TYPE BAPIHUKEY-HU_EXID.

  • loop at lt_pack_mat into ls_pack_mat.

wa_hukey = ls_pack_mat-HANDLING_UNIT.

MOVE wa_hukey TO hukey.

  • endloop.

  • Calling BAPI_HU_DELETE_FROM_DEL

CALL FUNCTION 'BAPI_HU_DELETE_FROM_DEL'

EXPORTING

DELIVERY = del

HUKEY = HUKEY

TABLES

RETURN = Return1.

  • Commit Work

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' .

Chers,

Kris.