Skip to Content
Author's profile photo Former Member

Retraction from BPC 10.0 to BI

Hi All,

We are migrating from BPC 7.5 to BPC 10.0. At the time of retraction we faced an issue which is related to the Super Class which has been used for the Enhancement Spot ‘UJD_RETRACT‘.

The issue is with the syntax error below. Since the method is not available in the interface ‘IF_UJ_MODELit is giving this error.

Capture.JPG

To resolve this issue, we need to do the below changes in the specified super class ‘ZCL_BPC_RTRCT_SUPERCLASS‘.

Before going to do any change to the super class, we need to create a package with the name ‘ZBPC’ (Package name which has been specified in the Super Class )

zbpc.JPG

How to Create Package :

Goto SE80

zbpc.JPG

Click on Yes

Z.JPG

Give some description and click on Enter, it will ask to create a Transport Request.

Now you need to replace the code with the new code at the following methods in the super class.

We need to pass the environment id to the ‘i_appset_id‘, which we need to hard code lets say ‘ENVIRONMENT_SHELL’.

GET_APP_STORAGE_TYPE Method  :

Z.JPG

GET_DIM_FROM_DIM_TYPE Method

zbpc.JPG

GET_DIM_LIST Method

Z.JPG

INITIALIZE Method – Here you need to comment the code where the load_all_dim_mbrs has been called.

zbpc.JPG

Capture.JPG

Done with the changes, now you can do the retraction properly from BPC to BI.

Assigned Tags

      23 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi Siva. Thanks for the article. It's a lot of helpful. You said in the last of your article that "you can do retraction properly". Would you mind sharing your thoughts how to do the retraction?

      Appreciate much your help,

      Cheers,

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Naomi,

      Retraction is nothing but the sending the data from BPC to BI either it is master or transaction data. Using APD technique in BI we can do the retraction but you can't manipulate the data at granularity level. Using BADI ' UJ_RETRACT'  you can manipulate the data even at granularity level using ABAP. For that you need to do the above process once you import the 2 EPM files into your BPC System in 10.0

      Author's profile photo Former Member
      Former Member

      Hi Siva,

      These are all the methods and changes in the methods of class ZCL_BPC_RTRCT_SUPERCLASS.

      But I am unable to create the custom class ZCL_BPC_RTRCT_SUPERCLASS.

      could you please help in creating this class.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Vijay, please find the below link for your reference.

      http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c029accf-6d95-2d10-79aa-cc291180bf73?QuickLink=index&overridelayout=true&59180354379512


      In this PDF, they have been listed out what are the classes to be imported in the system, just follow steps and send the class file to basis team. They will import it.


      Regards,

      Siva Nagaraju

      Author's profile photo Former Member
      Former Member

      Hi Siva,

      thanks for the information.

      One question: In the method "Initialize", I'm still having some issues.

      Those methods are not existing in BPC10:

      po_model->get_appl_data

      lo_application->get_param_value


      How did you replace them?


      best regards

      Dominik

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Dominik,

      I added another screen shot at the bottom, try to replace the code, it will works fine.

      Thanks,

      Siva Nagaraju

      Author's profile photo Former Member
      Former Member

      Works, thank you!

      best regards,

      Dominik

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Always welcome Dominik. Reward me if you really likes my blog.

      Thanks,

      Siva

      Author's profile photo ABAP_REJ P
      ABAP_REJ P

      Hi Siva,

      LOAD_DIMENSION_MEMBERS 

      IF_UJA_DIM_DATA~GET_MD_HANDLER -- this method says assert = 1 depreciated kindly use API method,

         Load all the master data for all dimensions

            loop at it_dim_list into ls_dim_dtl-dim_name.

              call method me->load_dimension_members
                exporting
                  i_dim_name     = ls_dim_dtl-dim_name
                importing
                  e_dim_mbrs_ref = ls_dim_dtl-dim_md_ref.

              insert ls_dim_dtl into table pt_dim_mbrs.

            endloop.

      Any so;ution for this .Please help

      Thank you

      Reeja P

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Reeja,

      Can you please elaborate what is the issue and provide me the code too. I checked it those methods are existing in the BPC 10.0 so there is no point to replace it.

      Thanks,

      Siva

      Author's profile photo Former Member
      Former Member

      Hi Siva,

        While executing from Data Manager Package i am getting the error message: Failed to get the parameter of &Application_Name&Model. Can you please help me to resolve this error

      Author's profile photo Former Member
      Former Member

      Hi Siva,

      In BPC 10 NW, the data entered in Input Forms has to be retracted to ECC.

      For this retraction we are following below link.

      http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c029accf-6d95-2d10-79aa-cc291180bf73?QuickLink=index&overridelayout=true&59180354379512

      In this document, I am unable to get the details of class ZCL_BPC_RTRCT_SUPERCLASS.

      as it is Z class, i am unable to create in my system.

      could you please help me.

      Author's profile photo karina hurtado
      karina hurtado

      Hi Siva, I have these issues http://scn.sap.com/thread/3686323

      Do you have any idea why am I getting these errors?

      Thank you in advance for your guidance.

      Author's profile photo Former Member
      Former Member

      Hi for me after running the package the IR_DATA is empty in UJD_RETRACT-RETRACT... Can you help me

      Author's profile photo Luis Arturo de la Torre Ortega
      Luis Arturo de la Torre Ortega

      Hello,

      I'm trying to get the EPM files that need to be imported into the 10.0 system, but all the links I find do not contain these files, can anyone help me??

      http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c029accf-6d95-2d10-79aa-cc291180bf73?QuickLink=index&overridelayout=true&48842368318534

      Appendix A - ZCL_BPC_RTRCT_SUPERCLASS_R900289.EPM

      Appendix A - ZCL_BPC_RTRCT_SUPERCLASS_K900289.EPM

      Thanks in advance,

      Author's profile photo Luis Arturo de la Torre Ortega
      Luis Arturo de la Torre Ortega

       

      Author's profile photo Vadim Kalinin
      Vadim Kalinin

      Try: https://archive.sap.com/documents/docs/DOC-4229

      Unfortunately the links in pdf to the file containing transports are not working...

      I have this zip file, can send by e-mail...

      Author's profile photo Luis Arturo de la Torre Ortega
      Luis Arturo de la Torre Ortega

       

      Hi Vadim,

      Thanks for your reply, unfortunately the link you just shared doesn´t work either. I´ll appreciate if you can send me the zip file to luis.delatorre@outlook.com.

      Best Regards,

      Luis de la Torre

      Author's profile photo Vadim Kalinin
      Vadim Kalinin

      Just sent!

      Author's profile photo Luis Arturo de la Torre Ortega
      Luis Arturo de la Torre Ortega

       

      Hi Vadim,

       

      I´m really sorry, but the right address is: luis.delatorre@outlook.com

       

      Thanks in advance,

       

      Luis de la Torre

      Author's profile photo Vadim Kalinin
      Vadim Kalinin

      Resent to correct address!

      Author's profile photo Former Member
      Former Member

      Hi Vadim,

       

      Cloud you please send me the document to 171698903@qq.com.

       

      Best Regards

      Author's profile photo Vadim Kalinin
      Vadim Kalinin

      The link in pdf is working fine! Just add extension zip to the downloaded file!