on 02-29-2008 2:06 AM
Hi,
We are SRM 5.0 SP9. BBPCF04
When user approve or reject a Confirmation, BBP_DOC_CHECK_BADI is called.
How can I check which flag (approved/reject) is selected ? We need to skip the check logic when confirmation is rejected.
I tested to get container value of approvalstate by
BBP_PDH_WFL_WI_FROM_OBJECT_GET
BBP_PDH_WFL_CONTAINER_ELEM_GET
but BBP_DOC_CHECK_BADI is called before updating the workflow container value.
Regards,
Masa
Edited by: Masa on Feb 29, 2008 6:17 PM
Please use the FM BBP_PD_CONF_GETDETAIL and check whether the status table E_STATUS has the corresponding status.
Regards
Kathirvel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Masa,
I suppose the value of check box (approve/reject) is stored in the global variable used in the FUGR for confirmation. (GV_APPROVE_REJECT will hold the value of check box)
You can read this from function group memory to know whether Approve was checked or Reject was checked.
We have used ths kind of logic many times.
Best Regards,
Prasanna
Hi Masa,
can you please provide the complete code for this as i also have same req.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
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.