Skip to Content
avatar image
Former Member

Hide a custom field using BADI BBP_CUF_BADI_2

Hi Gurus,

We need to hide a custom field using BADI(BBP_CUF_BADI_2) for the Payment request (Invoice) alone.

We need to know how to differentiate the document as Invoice or Credit memo through which structure in the BADI the values are getting imported whether the selected one is invoice or credit memo, based on this condition we can hide the custom field.

Suggest any structure e.g is_header-subtype or any field so as to differentiate as invoice or credit memo

Regards

Paul

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Sep 01, 2008 at 11:02 AM

    Please use the below in the BADI

    Invoice

    IS_HEADER-PROCESS_TYPE = 'INV'
    IS_HEADER-SUBTYPE = 'IV'
    

    Credit Memo

    IS_HEADER-PROCESS_TYPE = 'CRME'
    IS_HEADER-SUBTYPE = 'CM'
    

    Regards

    Kathirvel

    Add comment
    10|10000 characters needed characters exceeded