Skip to Content

Make a Document Header Text mandatory for specific plant in MIGO

Dear expert,

I have a requirement to assign Document Header Text(BKTXT) as a Mandatory field for specific plant in MIGO.

For an example,

Plant 1, Plant2, Plant3,... are in ZTable which contain Plant that need Document Header Text.

Plant 4, Plant5 are not in ZTable

If the PO that selected contain any Plant no. that contain in ZTable then assign Document Header Text as a Mandatory field.

I try to finding a user exit for this scenario. but I can't find any of my search result match with my case.

Please advise for user exit that match with my case

Appreciate your help

Regards

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Apr 19 at 04:24 AM

    Hi Rati,

    You can achive this by writing code in badi MB_MIGO_BADI and METHOD if_ex_mb_migo_badi~line_modify.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 19 at 08:25 AM

    Hi,

    You can try user exit SMOD > MB_CF001 > EXIT_SAPLMBMB_001

    or BAdi

    MB_DOCUMENT_BADI

    MB_DOCUMENT_UPDATE

    Thanks

    Add comment
    10|10000 characters needed characters exceeded