cancel
Showing results for 
Search instead for 
Did you mean: 

How to make "Delivery Note" field mandatory in GR/IR (S/4HANA Public Cloud).

Praveen06
Explorer
0 Kudos
116

Hi Experts,
In SAP S/4HANA Public Cloud, is there a way to make the "Delivery Note" field (LFSNR) mandatory during Goods Receipt (movement type 101)?
Can this be done via SSCUI, BAdI in Custom Logic App, or any other standard method?
Appreciate any suggestions.
Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Chuma
Active Participant
0 Kudos

Hello,

In SAP S/4HANA Public Cloud, the field "Delivery Note" (LFSNR) during Goods Receipt (Movement Type 101) is not mandatory by default.

Nevertheless, you can enforce this requirement using custom business logic, as SSCUIs do not provide direct control over the field's behaviour for inventory transactions.

Recommended Solution
You can utilise the Custom Logic App to implement a BAdI that validates the field during posting:

  • BAdI Name: MMIM_GR4 – Check Plant-Specific Fields for Goods Receipt
  • App: Custom Logic
  • Business Context: MM_IM_GOODS_RECEIPT

Use Case: Implement logic that checks whether the Delivery Note (field LFSNR) is filled. If it is empty, raise an error message.
IF im_header-deliverynote IS INITIAL.
RAISE EXCEPTION TYPE /BOBF/CX_FRW
EXPORTING textid = 'Delivery Note must be entered'.
ENDIF.

Let me know if it works

Thank you and kind regards

Chuma