on 03-11-2014 6:26 AM
Hi Experts,
I have a requirement of changing Workstatus as soon as the user clicks on “Submit/Approve/Reject” button from the BPF.
We are trying to implement the same by referring to the thread
Now the thing is, we have written the BADI referring above thread which needs to be pass with some parameters(Owner & Context Members).
Our concern is how to pass active context members to BADI, and how to trigger the same from the Submit/Approve/Reject button in BPF?
Is it a manual invocation through script/DM, or is there any other way?
Since I am new to BPC BADI’s and requirement is urgent, please help………
Thanks in advance
Priyanka Jagtap
We have "UJ_BPC_BPF_SUBMIT" standard BADI which gets triggered from the BPF when the step SUBMIT is executed.So it is automatically triggerd.
The context and the owner ID will flow to the BADI from the BPF itself, just that you have to pass the Model ID, Environment ID, Driving Dimension member, Step Order(which you will find in the Instance Table)
Thanks & Regards,
Bishwajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi BPC/BADI Experts,
Any Inputs on this?
Please reply.......................
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anjan,
I referred to the below link for debug:
Followed following steps:
1. Logged in to BPC client using user X.
2. Went to the page where BPF step needs to be submitted.
3. Logged in to SAP GUI and set a breakpoint in class CL_BPC_REST_RES at line 56 using same user X.
I have created Enhancement Implementation for BADI UJ_BPC_BPF_SUBMIT.
Filters provided are:
APPL_ID = ABC
APPSET_ID = XYZ
DRV_DIM_MEM = 0166
STEP_ORDER = 1.
In "IF_UJ_BPF_SUBMIT_LOGIC_HANDLER~EXECUTE_SUBMIT_LOGIC" method i have written break-point.
When i clicked on SUBMIT, error appears as
I tried with and without filter as mentioned in
Please help. I am not able to debug and move ahead.
User | Count |
---|---|
6 | |
5 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.