cancel
Showing results for 
Search instead for 
Did you mean: 

BBP_WF_LIST Filter Values

Former Member
0 Kudos

Hi All Experts,

Im new to sap abap. Im in my first project.

Im having a requirement that i need to do filter in BBP_WF_LIST badi for RFx invitation - purchaser.

When i logged in as purchaser 1, i can see only the RFx created by Purchaser 1. Not by Purchaser2 or 3.

Can u help me in this requirement that how and what to filter the values.

Do i need to write any code in the methods(BBP_WF_LIST, BBP_WF_LIST_SOCO).

Thanks,

Rani.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Documents are filtering by using the Badi BBP_WF_LIST. You can implement this badi

Regards,

Devi

Former Member
0 Kudos

Hi ,

If you logged in as a Purchaser 1 then you can see only purchaser 1 documents you cannot see other buyers until you have a central access or your able to search basing on requester of the document if you have requester field in the POWL selection criteria..

Regards

Devi

Former Member
0 Kudos

Hi Devi,

Thanks for your reply.

As of now, when i login as purchaser1, i can see the RFx's of Purchaser 2, Purchaser 3....

But i want to display only for purchaser 1's RFx... How can i filter.... this is my question.

As this is first project, i dnt understand where to filter and how to write code for this....

Please explain.

Thanks,

Rani.

Former Member
0 Kudos

Hi,

please check the below logic.

LOOP AT e_pdlist ASSIGNING <ls_e_pdlist>.

READ TABLE i_pdlist TRANSPORTING NO FIELDS WITH KEY guid = <ls_e_pdlist>-guid

created_by = sy-uname.

if sy-subrc <> 0.

delete e_pdlist.

endif.

Endloop.

regards,

Devi

Former Member
0 Kudos

Hi Devi,

Thanks a lot for ur help.

Ur code is perfectly working, i did some small changes.

Its working now.

Thanks,

Rani.

Former Member
0 Kudos

Hi Devi,

Can u please help me in another requirement, if u r free.

I want to know how to create custom search help(Z Search Help) using Function Module.

BBP_CM_F4_ORGUNIT is my function module.

I want to fetch all the organization units for the search help.

And please me in coding step by step.

Thanks,

Rani.

Former Member
0 Kudos

hi ,

Search Help.

create a cusom search help

set :

selection method : M_PLOMC

Search help exit : RHF4_EXIT_PLOMA

Parameter Exp Lpos Spos Data Element Default value

SHORT 1 1 HR_MCSHORT

STEXT 2 2 HR_MCSTEXT

LANGU_1000 3 3 LANGU sy-langu

PLVAR2 4 4 PLVAR '01'

OTYPE2 5 5 OTYPE 'O'

OBJID set the flag 6 0 HROBJID

it will display all orgunits..

regards

Devi

Former Member
0 Kudos

Hi Devi,

Oh is it....

I will try... and i let u know...

Thanks,

Rani.

Former Member
0 Kudos

Wow... devi... its working fine....

Im Really very thankful to u......

Thanks a lot for ur timely help...

I will contact u for further requirements...

Thanks,

Rani.

Answers (0)