Skip to Content

Issue in BADI MB_DOCUMENT_BADI


Hi All,

My requirement is to add validation for some movement type, and plant storage location combination.

I have displayed custom error message using FM 'POPUP_TO_INFORM'. Once error message raised further processing stopped and leave to current transaction selection screen as I have written that statement.

It working for material posting transactions but in some custom program where this BADI has been called in that i have an issue.

If any transaction perform before raising an error message ( like document posting or outbound delivery created ) in that case status log not displayed on the report output.

Please let me know if is there any alternative solution available.

Thanks,

Aarti

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Jan 14, 2015 at 07:17 AM

    Hi Aarti,

    you have to call the BADI in your custom programs before performing other transactions. It seems to be an issue of the right order of your custom program code.

    Regards,

    Klaus

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 14, 2015 at 07:31 AM

    As per your solution I have to change all the custom programs.

    I don't think this will be acceptable by client.

    Add comment
    10|10000 characters needed characters exceeded