on 04-09-2007 2:35 PM
Hello Friends,
is there any where can i find Badi approvers by giving sc #.. I want to pull approvers from approver preview by giving SC#..
the scenario is i need to develop a report needs to display approvers for a sc those who display in the approver preview..
thanks,
john.
Hi
Few standard function modules which will definitely help.
*-- get Approval preview - on the Shopping cart applet information
CALL FUNCTION 'BBP_PDH_WFL_PARAM_APPLET_FILL2'
*-- get applet information
CALL FUNCTION 'SWD_API_WORKFLOW_GRAPHIC_GET'
*-- get reviewer workitems
CALL FUNCTION 'SWD_API_REVIEW_WFS_GET'
* Get WI-Liste for the parent workflow
CALL FUNCTION 'SWW_WI_TO_OBJECT_FIND'
* Reviewer-Workflow (fragment WF)
CALL FUNCTION 'SWD_API_REVIEW_WF_OF_WI_ID_GET'
CALL FUNCTION 'BBP_WFL_DIN_VIRTPAR_GRAPH_GET'
CALL FUNCTION bbp_pdh_wfl_wi_from_object_get.
CALL FUNCTION BBP_PDH_WFL_PARAM_APPLET_FILL
CALL FUNCTION BBP_PDH_WFL_PARAM_APPLET_FILL2
CALL FUNCTION BBP_PDH_WFL_PARAM_APPLET_SPEC
CALL FUNCTION BBP_PDH_WFL_PARAM_APPLET_TEXT
<u>For more information, Please refer to the SRM transaction - <b>BBP_PD</b> to get the complete details.</u>
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
I donot have exact information.
Still I can give some information.
FM BBP_PD_SC_GETDETAIL,Object_ID as SC Number.
Do F8 ,you will get intenal table E_STATUS filled with statues codes which can be found in TJ02 table.
Database View BBP_PDVIEW_LIST gives created by,changed by field based on Object_Type = BUS2121 and SC number as Object_ID.
Let me know if this information is helpful for you.
Regards,Nishant
Hi John,
we have developed a similar report here (but it is our client specific). All you need to do is take the same logic which is applied in n-step approval BADI(if you are using it) and implement as report.
or
if you are using standard workflows. use FM 'RH_STRUC_GET" to get the org structure. delimit the approvers based on your rule (eg: Cost center based or approval limit based ... etc)
or
if you are using HR Org structure replicated from R/3 or ECC
you can use Standard function modules
like
RH_OM_GET_HOLDER_OF_POSITION to get holder of position
RH_GET_MANAGER_ASSIGNMENT to get manager assignment.
if it is going to be HR replication , then it is ease of work.
hope this helps.
thanks, Renga
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.