cancel
Showing results for 
Search instead for 
Did you mean: 

BBP_F4_READ_ON_EXIT

Former Member
0 Kudos

Hi Experts,

We have requirement where the category search help can be controlled at Item level.

i.e If the user is in Good screen then he can see only Categories of type 01,

If he is in limit screen he should see only product categories with type as 02. Now the problem is i can be able to control the search using BBP_F4_READ_ON_EXIt. But its not possible at Item level as this is getting called only once before bbpsc01 or bbpsc04 is called,

Can any body throw some light on this ..

best Regards

Geethanjali.K

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi. You can try a search help exit as well, there is standard search help on this field.

If that does not work you could let the user see all categories but then use BBP_DOC_CHECK_BADI to issue an error if the user chooses an invalid category.

Regards,

Dave.

Former Member
0 Kudos

Hi,

I have a plan to already put a validation under that. But the problem here is we have around 100 product categories in the search help. So it will be difficult for the user to check each and every time for the correct product category.

Thats the reason why they want to control the search help based on item type.

any other suggestion other than using this BAdi

Regards

Geetha

Former Member
0 Kudos

Try the search help exit. I've not got access to SRM at the moment, but just go in the GUI to BBPSC01 and press F1 on the field to get the search help name. Then you can go to SE11 and implement a search help exit like any other.

The difficulty that you will have is passing the current line item to the exit. There is an item check BADI, like the BBP_DOC_CHECK_BADI but called for each line. That may be able to trap the current line item and export the GUID to memory, then you can call BBP_PD_SC_GETDETAIL to find out which line is being amended.

You can also try the BBP_CUF_BADI, as that is called per line item if you have any custom fields.

Regards,

Dave.

Former Member
0 Kudos

Hi David,

Thanks for your suggestion, The solution given by you helped me in filtering the product categories at Item level,

I tried with custom search help exit and using Export Import parameters I imported a flag from DOC_CHANGE_BADI for product type as LIMI into the exit.

This makes me to reach my solution, Your suggestions are appreciable,

Thanks

Geetha

Answers (0)