cancel
Showing results for 
Search instead for 
Did you mean: 

Hide a custom field using BADI BBP_CUF_BADI_2

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (0)