on 07-03-2015 8:43 AM
Hello Experts,
we have implemented the MSS Approval for HR Renewal.
If we start the chip we seen no photo of the user.
The oss has suggest us follow solution:
There is a BADI available which allows you to provide
user details (e.g. picture(s)). The name of the BADI is
/IWPGW/BADI_TGW_USER_DETAIL. Please check the online help for more
information -
http://help.sap.com/saphelp_gateway20sp09/helpdata/en/8b/6574533924e547e10000000a441470/content.htm . Please be aware that there is the
BADI name "/IWPGW/BADI_TGW_USER_DETAIL" and the Enhancement Spot name
"/IWPGW/ES_TGW_USER_DETAIL'. Kindly implement the BADI to retrieve the
image(s).
Has anybody implemented the BADI and could help how to fill the value (coding for example)?
Regards,
Claudia Janecek
http://scn.sap.com/thread/3714255 CA-MSS-HCM 2179923 1 25 No Workflow Icon on Approval Overview / Expanded Lane example is given here 2108489?? you can take a cue from this note http://scn.sap.com/community/bpm/business-workflow/blog/2014/11/25/journey-into-the-unified-inbox in above thread you can check with them and asking about it i ll look if we an sample coding, but you can debug and check
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Claudia,
Greetings!
Is your issue resolved? Did you get the exact code that solution?
I tried with many different logics, but i didnt work.
1. Problem is with creating filters. in the link, it asks us to Select the PROVIDER_ID and the TASK_DEF_ID rows, but i could see only PROVIDER_ID.
2. in the method, i am not able to pass the image value to the parameter.
Please help me, if you got the solution.
Regards,
Shankar
Hello Shankar,
no the issue isn't solved actually!
I have also tried many codings, but at least it doesn't workd. The employee Picture does not display.
I hope we get an answer from thread 3714255!
I have actually the same Problem with the filter in the badi. If I set the filter, the badi will get started!
Kind regards,
Claudia Janecek
Hello Shankar,
I have opend an oss message, now I have additional informations about the filters of the badi get_user_picture_stream:
**********
sorry for this confusion. You are fully correct, as for the badi for
the user picture, only the provider id needs to be set.
The documentation covers provided badis, not only the user picture,
but also task data; here the task definition would need to be set.
So again, no need to set task_def_id, only provider_id.
********
Do you get any solution about the problem.
Do you set the filter value of the provider ID.
What value of provider-ID do you set?
Kind regards,
Claudia Janecek
Dear Shankar,
I have received answer fro oss, but it is dissatisfying.
1. Filter values:
the filter values would be set by the task processing service itself,
and you only might specify them in the filter values in the badi
definition or even have no filter defined, so the badi would be
executed for all providers - that I assume would be the use case that
would apply here.
=> so I will not set the filters!
2. about filling CS_USER_PICTURE_STREAM - value
the value does contain the picture itself, so it would not be an url
or content-id, but content (picture) itself.
Could you do anything with that?
Thanks for reply!
Claudia Janecek
Dear Claudia,
Greetings!
Finally we had a reply in post 3714255
which is the correct answer. I have also applied the same solution and finally i could see the User(employee) photo.
Thanks to Thanet Siriwetwarawut.
Solution:
Didn't use filtering. But pass the photo to the parameter by using FM ' HR_IMAGE_EXISTS ' then get a photo by FM ' ARCHIVOBJECT_GET_TABLE '. Then concatenate table binarchivobject into a string which you can pass to the parameter.
Hope this helps you also.
Regards,
Shankar
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.