Role of BADI in BPC

Hello Gurus, Where exactly does BADI come into picture in BPC? From reading the description of BADI, it seems like its similiar to what ABAP does. so what would be the difference between the two?
Thanks.

>
G.Vijaya Kumar wrote:
>
> And the role of BADI in BPC is, In NW platform of BPC all the functionalities like, adding any BPC object, Processing etc are implemented using BADI.
>
> In BPC for NW we have two stacks, Java and ABAP stack. Java Stack is nothing but the one used in providing the user interface like the status update when you process a dimension etc.
>
> ABAP stack is mainly for getting the task to be performed from .Net Server through Java Stack and trigger the process(Function Module) accordingly in NW system.
Actually, that's not right at all.  BAdIs are NOT responsible for all functionalites in BPC.  BAdIs are object oriented version of user exits, or customer exits. The definitions and hooks are placed specific at certain points in the product, so that you can implenment your own code at those points.  They are not predefined packages of code, they do NOT even contain code untill you implement them.  We only supply the definition, and the actual call to the BAdI in the main codeline.  You then implement the BAdI, insert your own code, and this code is executed at the correct time.
Also, in BPC NW, we do not even use the java stack for anything.  It is not responsible for the user inteface at all. The user interface for BPC is written in VBA which makes web service calls to the .net server, which then makes RFC calls to the ABAP tier.
Cheers,
Rich Heilman

Similar Messages

  • Error KBAPI 002 in BAdi Retraction BPC to ECC

    Hello experts,
    We are using the BAdi for retraction to ECC but the information is not showing in the report it should be. We were debugging and we found an ERROR:
    KBAPI 0002 , The message says "Transfer a CO oobject". We do have a Cost Center that is sendig from BPC to ECC. What is this error related with?
    How can I fix this to get the data in ECC.
    Thanks in advance.
    Best Regards.

    Hello Experts,
    I was checking the BAdi document and checked step by step, because in DEV environment the everything worked but in QA it didn't. I fount out that this error is caused by not maintaining the COST CENTER dimension with the property ERP_CostCtr.
    the problem got solved.
    Best regards.

  • BADI to transfer data between BPC applications

    Hi Experts,
    We have written script logic using BADI for transfering data from HCM application to FINANCE application using DAPP BADI. below is the code
    // Member Sets
    *SELECT(%OPEN%, ID, TIME, PERIODSTATUS=OPEN)
    *SELECT(%ALLEMP%, ID, EMPLOYEE, CALC=N)
    *SELECT(%TERMS%, ID, EMPLOYEE, TERM_PER )
    *SELECT(%NHIRES%, ID, EMPLOYEE, START_PER )
    *SELECT(%INTERN%, ID, HCDATASRC, EMP_TYPE=INTERN)
    *SELECT(%CC%, ID, COSTCENTER, CALC=N)
    *SELECT(%GEO%, ID, GEOGRAPHY, CALC=N)
    *SELECT(%BENEFITS%, ID, HCACCOUNT, USE_IN_LOGIC_CALC=BENEFITS)
    *SELECT(%VAR_COMP%, ID, HCACCOUNT, USE_IN_LOGIC_CALC=VAR_COMP)
    *SELECT(%VAR_COMP_PC%, ID, HCACCOUNT, IS_B_VAR_COMP_PC=Y)
    *SELECT(%BASE_COMP_PC%, ID, HCACCOUNT, IS_B_BASE_COMP_PC=Y)
    *SELECT(%AMT_PER_HC%, ID, HCACCOUNT, IS_B_AMT_PER_HC=Y)
    //Transfer to Finance
    *XDIM_MEMBERSET RPTCURRENCY = PC, USD
    *XDIM_MEMBERSET TIME = %OPEN%
    *XDIM_MEMBERSET EMPLOYEE = %ALLEMP%
    *XDIM_MEMBERSET HCACCOUNT = %BENEFITS%, 60000, %VAR_COMP%
    *START_BADI DAPP
    DESTINATION_APP="Finance"
    RENAME_DIM="HCACCOUNT=GLACCOUNT"
    ADD_DIM="DATASRC=PLAN_HCM","MANDA=SNPS"
    DEBUG=ON
    *END_BADI
    when we run this code through Program UJK_SCRIPT_LOGIC_TESTER directly in BW system, it went fine but when run from BPC Data manager , it consuming more memory ( at the programe CL_RSR_RRK0_PARTITION=========CP) and dumping in the system. can you suggest us on this?
    My mate already posted the same issue in below thread, but no luck so posting new thread again.
    Creating Custom Script Logic Keyword BADI's - BPC NW
    Thanks,
    Sri

    Hi Sonal,
    other than partitions, text file
    there are two more methods, according to my knowledge
    1.XREF
    2.HAL (Hyperion Application Link) using essbase adapters
    we use both XREF and HAL at our company to transfer data between applications depending on the need.
    hope this helps.
    Dornakal.
    www.dornakal.blogspot.com

  • BPC10.0 role ZBPC__BUI_ userid

    Hi all,
    We are in the process of upgrading our BPC system from 7.5 to 10.0 (CPMBPC 801 SP9), and are trying to define the future strategy for maintaining user security for BPC10.0, given that we use CUA on our BW/BPC systems.
    We have read sapnote 0001757825 - BPC security supporting CUA, and have some general questions about the BPC generated roles ZBPC__BUI_userid
    1. What is this role used for, and do we need to give it to all our BPC users?.
    2. We have noticed that these ZBPC__BUI_roles have been generated for existing users after running the 7.5 to 10 migration program. However when we add new users to an environment via BPC web client, there is no ZBPC__BUI role generated for that user. When and how does this ZBPC__BUI role get generated?
    3. What is the recommended approach for assigning this role to users in Test and Production systems? Should it be transported from Development, or should it be generated in target systems?
    4. Does the name of the role have to include the user ID, because it seems bad practice to name a security role after a user from a maintenance point of view?
    5. If required, can we assign a generic dummy role called ZBPC__BUI_DUMMY to all BPC users?
    Thanks,
    Carlton

    Carlton,
    We cannot assign a dummy role ZBPC__BUI_DUMMY to all BPC users because if you open a real role ZBPC__BUI_<userid> in your system and display the authorization objects, you can see environment info in the "Sub Namespace". That means this role contains the info that which environment the user can access.
    Charlie

  • Use of SetFormattingSheet for selection of EPMFormattingSheet in BPC 10.0

    I am trying to select a Formatting sheet to be applied based on the category selection. Can someone help me with the VBA code for the same? The code I have written is just refreshing the sheet and not applying the formating sheet. Is there any other option by which we can change the formatting based on selection in the Page Axis?
    Private Sub CommandButton1_Click()
    Dim category As String
    category = Range("D3").Value
    Dim client1 As New EPMAddInAutomation
    If category = "Actual" Then
    client1.SetFormattingSheet Worksheets("Sheet1"), "Default Report", "EPMFormattingSheet"
    End If
    If category = "Budget" Then
    client1.SetFormattingSheet Worksheets("Sheet1"), "Default Report", "EPMFormattingSheet (2)"
    End If
    Dim client As New EPMAddInAutomation
    client.RefreshActiveSheet
    End Sub

    Hi Alex,
    The code was changed in BPC 10, please read How To Migrate BPC 7.x BADIs to BPC 10 | SCN
    EXAMPLE: F
    create_write_back
    write_back
    B.R. Vadim

  • WRITE_BACK_INT of Class CL_UJR_WRITE_BACK in BPC 10.0

    Hi experts!
    I´m trying to write data from internal table to a BPC application (v 10.0).
    I read these links:
    [http://scn.sap.com/thread/1788887 | /thread/3143913]
    [http://scn.sap.com/thread/3143913 | /thread/3143913]
    and try to use method WRITE_BACK_INT of Class CL_UJR_WRITE_BACK, but its source code is disabled in this version.
    Could anyone help us on this?
    Thanks

    Hi Alex,
    The code was changed in BPC 10, please read How To Migrate BPC 7.x BADIs to BPC 10 | SCN
    EXAMPLE: F
    create_write_back
    write_back
    B.R. Vadim

  • Use of BADI in HCM Processes and Forms

    Hello Friend's,
                I am feeling trouble in learning HCM Processes and Forms.. Actually i dont know what is the role of BADI in HCM Processes and Forms. one more thing i need to know is OPERATION for backend service. What is the use of operation and how i can trigger the badi methods when running in portal.

    Hi Ramesh,
    Hope this is not too late to help.
    Do_operation will be called whenever there is roundtrip, by triggering event USER_EVENT_CHECK using form scripting.
    example,
    To trigger roundtrip for a drop down list, under exit* event add this
    xfa.record.CONTROL_PARAM.ISR_EVENT.value = "USER_EVENT_CHECK";
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    regards,
    Xiang Li

  • Standard function type Forecasting in BPC.

    Hello everyone!
    Since BPC 7.0 NW does not have an standard planning function type forecasting  (BPS/BI-IP) as a tool to predict the future development of key figure values (signeddata). What could be a good way to implement this function in BPC?
    Any work around ideas?
    Thanking you in advance.
    Regards,
    Russbel.

    Hi Russbel,
    I posted a presentation created by the EPM RIG in the forum.
    Creating Custom Script Logic Keyword BADI's - BPC NW
    Cheers,
    Scott

  • Roles with Change Access to Table Maintenance

    Hello,
    We have many roles that have S_TABU_DIS-Table Maintenance, 02-Change access, *-Auth. Group. Many of these roles have very few transactions and are not Basis\Development related. My questions are what transactions do I need to make sure these roles don't have to so they can't change data in Tables? I know SM30 and SE16, any others? Also second question, should I be worried if these roles do not have the access to start these transactions but do have the access given in the S_TABU_DIS object?
    Thank You,
    Alex

    1. Asides from SM30 and SE16 you already mentioned, 'SE16N' and 'N' come to mind. Maybe there are others.
    2. Yes. You should be worried. Users could get authorizations for any of the aforementioned transactions from another role and get authorization to change all the tables from this role. Bad Stuff.
    I suggest that you figure out why exactly these roles includes S_TABU_DIS object with change authorizations for all table groups. Once you have that figured out - you can take appropriate actions. In my mind, it would be very hard to justify having S_TABU_DIS with 02/* in any role.

  • Export Master Data BADI - how to setup?

    Hi,
    I want to setup a BADI in BPC to extract master data. The reason why i am not using the standard package to file is because i want to manipulate the data before it is output.
    As I understand i can trigger the BADI via a script and pass variables to it.
    Questions I have - I understand i need to use "EXPORT_MD_TO_BADI" but I cant find it? Is it a template code?
    Cheers

    Hi,
    The file which needs to be output is to load a hierarchy into SAP BW from BPC.  In the master data extract you get:
    ID PARENTH1
    A C
    B A
    C B
    I need to change this file so it outputs something like the following
    NODE       ID      OBJECT               PARENTID
    1               A     0COSTCENTRE     3
    2               B     0COSTCENTRE     1
    3               C     0COSTCENTRE     2
    I would like to make the BADI generic so we can use the following parameters:
    1. name of the file we are output
    2. dimension is selected
    3. object field is set (can do that in trans file)
    The UJD_RETRACT seems appropriate but
    - can i pass parameters to it i.e. the above. I have seen i can do number 2 (dimension) but how do i set the file name?
    - is it possible to drmatically change the file as i want to above?
    Cheers,

  • Profile Parameter to execute Abap Program at user logon.

    Hi Experts
    I've written a small printer selection program to change the users profile parameter.
    Is there another profile parameter that can be given to execute this program automatically
    when the user logs on.....The reason why I'm looking for a profile parameter to do this is, that only
    certain users need to have this happen at logon.
    Kind Regards
    Vic

    Hi Javi,
    I don't think you need a custom process chain for this. You can use delivered Process Chain for logic and hard-code your script name in the package. In that script you can call BADI that has your ABAP program inside.
    You can find guides how to build BADI here:[How to Pass Parameters to Custom Logic BADI using START_BADI|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20f4252d-98ca-2b10-e689-f85085ae2d12] or here [Creating Custom Script Logic Keyword BADI's - BPC NW|Creating Custom Script Logic Keyword BADI's - BPC NW;.
    Method IF_UJ_CUSTOM_LOGIC~EXECUTE has IT_CV as one of parameters. In your script you probably have to use *XDIM_MEMBERSET to get parameters from DM prompt. IT_CV will have all XDIM members.
    Please let me know if you have any other questions.
    Regards,
    Gersh

  • Change on the PFCG object

    Hi ,
    there is user exist or badi event for PFCG  which i can use in any of the
    pfcg changing i.e. when user is assign to role or deleted for role this badi
    etc will be called .
    Regards
    Alex
    Edited by: Alex Dean on Mar 28, 2010 8:21 AM

    Alex,
    I am not absolutely sure whether that is the best solution for your problem ..
    Although after searching SDN and google .. that is the only method that seems to solve your issue ..
    Still,
    you could check the OSS notes for the same .
    OR
    You can try Explicit enhancements in the foll. manner ,
    Quoting from ERP genie.com
    Enhancement points are basically hooks at certain defined points within the ABAP code i.e. at the beginning and end of a FORM. These hooks allow you to attach your own custom code which will be executed as if it had been hard coded into the code using a modification. Unlike hard coded modifications these will not be lost during upgrade or patching exercises.
    There are 2 types of enhancements with the enhancement framework:
    1. Explicit enhancement points: These are basically hooks already coded into the program by SAP at various points of the code. See program RIAUFMVK for examples of these! These are very easy to implement simply go into enhancement mode of SE80 and right click on the enhancement point where you want to add your code and choose u2018Enhancement Implementation->Createu2019 Give it a name, description and assign it to a change request (should not be a Z package) and then simply add the code as normal.
    2. Implicit enhancement points: These are basically points within ABAP code where an enhancement point is implied, and in which case can be created. Examples of implicit enhancement points are at the beginning and end of FORMu2019s, at the end of a program, include or function module etc.
    You would have to use the enhancement builder [HELP|http://help.sap.com/saphelp_nw04s/helpdata/en/09/9bf240a5668d38e10000000a155106/content.htm]
    to search edit create delete enhancement spots
    Hope this helps
    Regards
    Manthan.

  • N-step approval workflow for Shopping Cart-WS14000133

    Hi Experts,
    We have 5-6 levels of approvals for Shoppoing carts.All the SC needs to be approved by 5-6 managers based on their approval limits.All the approval limits are assigned at the Role level .(We have created Z roles)
    Please let me know how and where to define the roles in BADI to activate the N-step approval workflow for Shopping Cart-WS14000133
    Thanks,
    Venky

    To add to Masa's reply.
    This Badi is well documented by the online help and it even comes with example implementations AND it is mentioned in full detail at help.sap.com
    Kind regards, Rob Dielemans

  • ADMINISTRATION tab missing from Home Page of Web Admin 10.1 .

    Hi All ,For one of our Users , the ADMINISTRATION tab is missing from the Home Page. They can only see tab for LIBRARY and DOCUMENTS.
    We have given the following roles to the user :
    /POA/BUI_FLEX_CLIENT
    /POA/BUI_UM_USER
    SAP_BPC_SERVICE
    ZM_BPC_END_USER
    ZBPC_A9L000001 (created automaticallly by BPC_CREATE_SINGLE_ROLE)
    ZBPC_A9T000001 (created automaticallly by BPC_CREATE_SINGLE_ROLE)
    ZBPC_A9U000001 (created automaticallly by BPC_CREATE_SINGLE_ROLE)
    ZBPC_SZL000001 (created automaticallly by BPC_CREATE_SINGLE_ROLE)
    ZBPC_SZT000001 (created automaticallly by BPC_CREATE_SINGLE_ROLE)
    ZBPC_SZU000001 (created automaticallly by BPC_CREATE_SINGLE_ROLE)
    Also while making local EPM Excel Connection , we are not able to see the MODEL corresponding to that Environment for  that given user.
    Are we missing any role.
    Thanks,
    SHUBHAM

    P.S.
    /POA/BUI_FLEX_CLIENT
    /POA/BUI_UM_USER
    These two roles are for accessing BPC, for administration , you need to assign admin task profile to user.
    And to access mode, you need to assign data access profile.
    Shrikant 

  • Account Creation - Badi for Default values for BP Role and Sales Area

    Hi all,
    my requirement regards the possibility to create a new prospect (a link should be available in the navigation bar or create section).
    Logically, a bp role as "Prospect" and particoular sales area should be created automatically.
    I created an implementation for the BADI definition "BADI_CRM_BP_UIU_DEFAULTS". But don't know how to create the default values for BP role and Sales area:
    In my code
    assign cr_me->('VIEW') to <lv_view_name>.
      if sy-subrc ne 0.
        exit.
      endif.
      lv_viewname = <lv_view_name>.
      case lv_viewname.
        when 'AccountDetails.htm'.
    I obtain the viewname "AccountDetails" , the related context "Header". After I don't know how to proceed to obtain the related entities through the relationship BuilRolesRel and BuilSalesArrangementRel.
    Am I following the right way? Is there another solution to prepare the output for default values?
    Any kind of suggestion will be appreciated.
    Regards, Roberto

    go to spro>cross-application components>sap busines partner>business partner> basic settings>field groupings>Configure Field Attributes per BP Role
    Double click the business role which you want to customaze (e.g. 'A') and change the proper settings.
    Regards.

Maybe you are looking for

  • Function Module to Convert Amount to the Right Decimal

    Hi, There is a function module that helps convert currency without decimals into the right format. For eg if the amount in BSEG table is in Taiwanese Dollars it will be displayed as 17.95 whereas the real amount is 1795. So there is a function module

  • Bt Home Hub can I connect?

    Can I and how do I connect to BT Home Hub with my Laptop when it is  one of the available connections when working away from home, It normaly asks for a Password.

  • Kinect V2 Sensor - Device Cannot Start

    Greetings all! I have a standard HP desktop running a fully updated Windows 8.1, plently of RAM, with a Renesas USB 3.0 adapter. I have powered up the Kinect V2 and plugged it into the USB 3.0 adapter (there are no other devices on this USB hub). Whi

  • Warranty Swap Outs

    So I am within Warranty, sleep wake was broken - so I got my phone swapped yesterday. A girl next to me had a similar issue and said to the guy, can I pay the difference and upgrade my 5S for a 6 - he said yes and quoted her 185.00 for this. I asked

  • HT1918 i have remaining balance for the uk itunes and i need to switch to australian

    i have 65p balance left and i cannot find anything to spend it on to switch from uk to australian itunes..