cancel
Showing results for 
Search instead for 
Did you mean: 

Mandatory field check in SRM 7.0

Former Member
0 Kudos

Hi,

I check all of required fields, using BBP_DOC_CHECK_BADI BAdI. But this program generates only a table with messages.

How can I highlight fields in HEADER or ITEM level?

The message table has fields ITEM_GUID and FIELD_NAME. What are they for?

I would like to see the same result as using the method

CALL METHOD cl_wd_dynamic_tool=>check_mandatory_attr_on_view
     EXPORTING
       view_controller  = lo_view_controller
       display_messages = ABAP_TRUE
     IMPORTING
       messages         = lt_messages.

Best regards,
Salavat Petrov

Accepted Solutions (1)

Accepted Solutions (1)

konstantin_anikeev
Active Contributor
0 Kudos

Hi Salavat,

DOC_CHECK BADI performs customer checks for purchasing document. If you define ITEM_GUID and FIELD_NAME - it's not enought for WebDynpro (where the same item field could be shown in multiple places or even hidden).

If you need to hightlight fields on webdynpro, you should try to enhance a Webdynpro itself.

Regards

Konstantin

Former Member
0 Kudos

Thanks a lot, Konstantin.

I'll try to enhance a WDP for implement this check.

Best regards,

Salavat Petrov

Answers (0)