Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question