Skip to Content
avatar image
Former Member

Binocular search for Cost Center

Hi everybody,

I want to add accounting category and cost center Infos to BID document. So I added the following fields to the CI_BBP_HDR and CI_BBP_HDR_BID structures:

ZZCOST_CTR of type KOSTL

ZZACC_CAT of type BBP_ACC_CAT

How can I add a binocular search to ZZCOST_CTR that takes in consideration the ZZACC_CAT value?

Thank you for your help,

Antonio

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    May 17, 2006 at 02:50 PM

    Hi Antonio,

    You have 2 options:

    - try to activate generic accounting screen in BBP_BID_INV (I never did it)

    - re-use the standard R/3 search feature with a R/3 dialog RFC used in SC/PO item accounting screen (see thread How to restrict the Cost Center Search ?)

    In that case, look at FORM f4_search_costcent of LBBP_PDH_ACCF20 to see how SRM uses META_SHLP_CALL.

    For CUF, you can assign search help in the CI structure field definition.

    So you have 2 options:

    - create a Z search help that re-use the logic of FORM f4_search_costcent (read user's attribute ACS to get the FI system), and assign it in your CI structure

    - use BADI to handle CUF in your own specific screen, so you can use the instruction PROCESS ON VALUE-REQUEST (like in SAPLBBP_PDH_ACC 2000).

    (for BADI BBP_CUF_BADI, see Using BBP_CUF_BADI to display custom screens)

    Rgds

    Christophe

    Add comment
    10|10000 characters needed characters exceeded