‎2013 Jul 18 1:00 PM
Hi,
need to use function MD_PEGGING_NODIALOG in my program.
Unfortunately this function calls form REQUIREMENTS_4_RECEIPT in line 109.
I was really suprised, when i saw that REQUIREMENTS_4_RECEIPT uses an error dialog with
MESSAGE E527(61) RAISING ORDER_NOT_FOUND.
As I my program can handle this situation I want to get back control flow to my program.
Are their any possibilities?
Thanks in advance,
Hubert
‎2013 Jul 18 1:14 PM
I believe you are not catching the exceptions of FM MD_PEGGING_NODIALOG which are shown when using FM pattern.
CALL FUNCTION 'MD_PEGGING_NODIALOG'EXCEPTIONS
ERROR = 1
NO_REQUIREMENTS_FOUND = 2
ORDER_NOT_FOUND = 3
OTHERS = 4.
‎2013 Jul 18 1:14 PM
I believe you are not catching the exceptions of FM MD_PEGGING_NODIALOG which are shown when using FM pattern.
CALL FUNCTION 'MD_PEGGING_NODIALOG'EXCEPTIONS
ERROR = 1
NO_REQUIREMENTS_FOUND = 2
ORDER_NOT_FOUND = 3
OTHERS = 4.
‎2013 Jul 18 1:14 PM
Why were you surprised, you did not look at FM signature (Exceptions tab) ?
CALL FUNCTION 'MD_PEGGING_NODIALOG'
EXPORTING
edelkz = edelkz
edelnr = edelnr
ematnr = ematnr
ewerks = ewerks
TABLES
imdrqx = imdrqx
EXCEPTIONS
ERROR = 1
NO_REQUIREMENTS_FOUND = 2
ORDER_NOT_FOUND = 3
ERROR_MESSAGE = 4
OTHERS = 5.Regards,
Raymond
‎2022 Sep 11 5:41 PM
I'm not ABAPer, but I'd like to know:
regarding 61 527, is there a way to set the message to W. thank you in advance
Can modifying BAPi be implemented
‎2022 Sep 12 1:37 PM
‎2013 Jul 18 1:15 PM
Have you enabled the exceptions section of your Function Module?