cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BPC package not getting triggered on workflow step submission

former_member590808
Participant
0 Likes
803

Hi,

We have a new model APL_HR, here there is a workflow APL_MANPOWER_PLAN in which driving dimension is APL_ENTITY. There are three steps: Initiator, Reviewer, Approver. We want that on submission of Reviewer step a copy package should execute and copy the numbers from 347 audit trail to 349. I have maintained the table entry via sm30 in required table ZBPCBT005. What is the logic for user package column ?( Screenshot attached for reference.) I maintained 1 after refering other packages. Problem is that the neither numbers are getting copied nor package is getting executed on step submission. Below is the logic script written.

*XDIM_MEMBERSET APL_AUDITTRAIL = 347
*XDIM_MEMBERSET APL_TIMES = %APL_TIMES_SET%
*XDIM_MEMBERSET APL_CURRENCY = INR
*XDIM_MEMBERSET APL_ENTITY = BAS(%APL_ENTITY_SET%)

*START_BADI ZFT_APL_SC_COPY
QUERY = OFF
WRITE = OFF

DEST_AUDITTRAIL = 349
DEST_MODEL  = APL_HR
COSTCENTRE = %APL_ENTITY_SET%
DIMNAME = APL_ENTITY

*END_BADI

 

Regards,

Neha

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186338
Active Contributor
0 Likes

"BADI_UJ_BPF_REVIEW_LOGIC
BADI_UJ_BPF_SUBMIT_LOGIC

Yes they are implemented." - then you have to look on the implemented code and you will understand how Z table is used!

As I have already told you - it's a custom development and you are asking question: what is the correct value for the custom table used in custom code.

former_member186338
Active Contributor
0 Likes

P.S. Your question is something like:

"In my system I have transaction ZTTT1 and there is an input field XXXX - what is the correct value for this field?"

former_member590808
Participant
0 Likes

No, my question is not about what is the correct value for the custom table. I was conveyed that, we have to maintain entries in the mentioned table ZBPCBT005 for copy packages to execute via logic script on step submission. Previously for all the models where we copied data on step submission, we maintain the entry in this same table.

And on similar lines I asked you the question, I am not sure about the impact of custom BADI or input that I need to pass because am not calling the BADI_UJ_BPF_SUBMIT_LOGIC anywhere specifically.

Anyways , thanks for your help.

former_member186338
Active Contributor
0 Likes

nehayadav0911

Sorry again, but you do not understand basic things!

ZBPCBT005 is a CUSTOM table (name starting with "Z")! And this table is used in the CUSTOM code developed by somebody (and I am talking about code of BADI_UJ_BPF_SUBMIT_LOGIC which is triggered when the user Submit in BPF...)

You can ask the CUSTOM code developer about the information required for this table or look on the code yourself if you know ABAP.