Skip to Content

Same include name in method MODIFY_OUTPUT from BAdI BBP_CUF_BADI_2

Hello,

We created two customer fields for SC item search result as described in OSS note 672960 - User-defined fields 2.

So, we used include INCL_EEW_PD_SEARCH_ITM_CSF_SC by adding an append.

Those two CUF are correcly displayed in BBPSC04 transaction (Dynpro SAPLBBP_PDH_SEARCH 4001).

Now, i have to fill those two fields with values before output. For this, i implemented method MODIFY_OUTPUT from BAdI BBP_CUF_BADI_2.

Problem is during the different calls of this method, IV_INCLUDE_NAME parameter is always filled-in with include INCL_EEW_PD_ITEM_SSF_SC and never with INCL_EEW_PD_SEARCH_ITM_CSF_SC.

Moreover, IV_DOC_GUID, IS_HEADER and IS_ITEM are always empty.

I need to get item or header SC information to call data from R/3 backend in order to display them in my two customer fields.

I don't understand what is the problem, so i created also my two CUF using include INCL_EEW_PD_ITEM_CSF and INCL_EEW_PD_ITEM_CSF_SC, but it did not solve my problem.

Does anyone have a suggestion ?

Thank you.

Regards.

Laurent.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 09, 2010 at 04:36 PM

    Hello,

    A workaround can be used by implementing an enhancement point for FORM sub_list_get from include LBBP_PDH_SEARCHF10.

    Nevertheless, i carry on working on BAdI solution.

    Regards.

    Laurent.

    Add comment
    10|10000 characters needed characters exceeded