I have an external application that creates maintenance notifications by calling BAPI_ALM_NOTIF_CREATE, BAPI_ALM_NOTIF_SAVE and BAPI_TRANSACTION_COMMIT. It works when connecting to some SAP systems, but not others.
On the systems where it doesn't work, when I call BAPI_ALM_NOTIF_CREATE, I get an error saying that the Functional Location does not exist. If I add an Equipment number, it works but gives me an information message saying the the functional location does not exist. The functional location does exist.
When I call the BAPI's from SAPgui using SE37, everything works fine.
Is there some translation I need to do on the Functional Location before passing it to BAPI_ALM_NOTIF_CREATE in my external application?
Why would it work differently when calling BAPI_ALM_NOTIF_CREATE from an external application?
Thanks,
Greg