When we are writing code in filter routines we may get a requirement to find out InfoSource and Target Info Cube details.
BI7 is designed based on Object Oriented technology. Just copy and paste following code into your filter routine.
* Target InfoProvider
DATA : I_TGT type RSBKTGTNM,
s_src type RSBKSRCNM.
* get target details
CALL METHOD i_r_request->GET_TGT
RECEIVING
R_TGT = I_TGT.
* get Source details
CALL METHOD i_r_request->GET_SRC
RECEIVING
R_SRC = S_SRC.
Please watch this blog for more updates on BI7.
BI7 is designed based on Object Oriented technology. Just copy and paste following code into your filter routine.
* Target InfoProvider
DATA : I_TGT type RSBKTGTNM,
s_src type RSBKSRCNM.
* get target details
CALL METHOD i_r_request->GET_TGT
RECEIVING
R_TGT = I_TGT.
* get Source details
CALL METHOD i_r_request->GET_SRC
RECEIVING
R_SRC = S_SRC.
Please watch this blog for more updates on BI7.
No comments:
Post a Comment