Tagbpc 10.1

Create Validation from Load File (ZCL_RSPLF_FILE_UPLOAD) in BW-IP

Prerequisite
Also check SAP Notes:   SAP Note 2053696
URL Upload
<Host:Port>/sap/bc/webdynpro/sap/zrsplf_file_upload_v3?planning_sequence=<Planning Sequence>&sap-client=<Client>&sap-language=EN
Implement BAdI
ZRSPLF_FILE_UPLOAD
Class – Method that trigger BAdI
ZCL_RSPLF_FILE_UPLOAD – IF_RSPLFA_SRVTYPE_IMP_EXEC~EXECUTE
Step #6 trigger  l_r_badi->transform_file
Step #8 trigger  l_r_badi->transform_record
Step #9 trigger  l_r_badi->transform_data
My Case
Need to implement validation when uploading file before data goes into infocube.
What I’ve Done
Put validation logic inside method transform_file from BAdI implementation.
20170426-1107
Result
20170426-1111

 

Debugging ABAP BPC Standard 10.0 VS BPC Embedded 10.1

In BPC Standard 10.0 after we connect the Logic Script – BAdI – EPM Package we put the external breakpoint on object below,

Object
Detail
Class
CL_UJXD_PACKAGES_RES
Method
DO_POST
Line
179
Snippet
20170416-1200

 

In BPC Embedded 10.1 we are not using BAdI anymore to put logic programmaticaly BPC uses Fox Script, it’s extend version of logic script in BPC Standard, by extend I mean more powerful because it has more syntax to handle complex logic.

To execute ‘package’ in BPC Embedded we use Planning Sequence or Planning Function inside Analysis Office instead of running package on EPM Excel.

After all Datasource & Planning Function / Planning Sequence set up, put internal breakpoint inside below object, then execute Planning Sequence from Tcode RSPLAN

 

Class –  Method
CL_RSPLFR_CONTROLLER – EXECUTE_SERVICE
(put it in first line executable syntax)
20170419-1015
Script
RSPLFC_DEBUGGING_SCRIPT_FOX
1. Execute planning sequence with execute step with trace then debug runtime appear.
2. Go to tab script then load script name ‘RSPLFC_DEBUGGING_SCRIPT_FOX’
then execute directly.
20170419-1022 20170419-1023

Voila! debugger for fox script appear.

20170419-1024
to get the value of local variable inside Fox Script put some hardcode break-point.

 

© 2018 Rijdz

Theme by Anders NorenUp ↑