‎2022 Feb 08 12:18 PM
Here's the exception.
com.sap.adt.communication.resources.ResourceException: Execution of request "POST /sap/bc/adt/navigation/target?uri=%2Fsap%2Fbc%2Fadt%2Ffunctions%2Fgroups%2Fzmatt%2Ffmodules%2Fz_matt_email_subject%2Fsource%2Fmain%23start%3D11%2C16&filter=implementation&filter=matchingStatement" failed: 500 Internal Server Error
An exception was raised
------------ Request -----------------------
POST /sap/bc/adt/navigation/target?uri=%2Fsap%2Fbc%2Fadt%2Ffunctions%2Fgroups%2Fzmatt%2Ffmodules%2Fz_matt_email_subject%2Fsource%2Fmain%23start%3D11%2C16&filter=implementation&filter=matchingStatement HTTP/1.1
Content-Type: text/plain
Accept: application/xml
User-Agent: Eclipse/4.22.0.v20211124-1800 (win32; x86_64; Java 11.0.9.1) ADT/3.22.1 (devedition)
X-sap-adt-profiling: server-time
FUNCTION Z_MATT_EMAIL_SUBJECT
EXPORTING
EV_CANCEL TYPE FLAG
CHANGING
CT_SUBJECTS TYPE ZT_EMAIL_SUBJECT_TRANS.
email_subject_handler = zemail_subject_handler_factory=>get_instance( ).
email_subject_handler->set_subject_list( ct_subjects ).
CALL SCREEN 100.
ev_cancel = email_subject_handler->dialog_was_cancelled( ).
ct_subjects = email_subject_handler->get_subject_list( ).
ENDFUNCTION.
------------ Response ----------------------
HTTP/1.1 500 Internal Server Error
~server_protocol: HTTP/1.1
X-sap-adt-profiling: server-time=3949
Content-Type: application/xml
<?xml version="1.0" encoding="utf-8"?><exc:exception xmlns:exc="http://www.sap.com/abapxml/types/communicationframework"><namespace id="com.sap.adt"/><type id="invalidFunctionGroup"/><message lang="EN">An exception was raised</message><localizedMessage lang="EN">An exception was raised</localizedMessage><properties/></exc:exception>
--------------------------------------------
at com.sap.adt.communication.internal.resources.RestResource.createResourceException(RestResource.java:252)
at com.sap.adt.communication.internal.resources.RestResource.createResultFromResponse(RestResource.java:151)
at com.sap.adt.communication.internal.resources.RestResource.invoke(RestResource.java:141)
at com.sap.adt.communication.internal.resources.RestResource.post(RestResource.java:81)
at com.sap.adt.tools.core.internal.navigation.AbapNavigationServices.post(AbapNavigationServices.java:107)
at com.sap.adt.tools.core.internal.navigation.AbapNavigationServices.getNavigationTarget(AbapNavigationServices.java:74)
at com.sap.adt.tools.abapsource.ui.internal.navigation.SourceCodeNavigationHandler.getNavigationTarget(SourceCodeNavigationHandler.java:431)
at com.sap.adt.tools.abapsource.ui.internal.navigation.SourceCodeNavigationHandler$2.run(SourceCodeNavigationHandler.java:347)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
In SAPGui, there's no issue with the function group. It's active. This exception comes up from Eclipse when I press F3 for navigation on the 100 in CALL SCREEN 100.
This has definitely worked fine before - opening up a sapgui session showing screen 100.
‎2022 Feb 16 11:23 AM
Looks like the function group has some inconsistencies.
Maybe you try in SE37: SE37 (initial screen) -> Utilities -> Repair Function Group
If this does not solve the issue please create a ticket on component BC-DWB-TOO-FUB
Many Thanks,
Thomas.
‎2022 Feb 08 12:46 PM
Z_MATT_EMAIL_SUBJECT
Worst than Hungarian expression, put his name in the name of a function ... 😄
‎2022 Feb 08 2:55 PM
@ frdric.girod It's a FM which is designed for determining the subjects to use for emails sent to me!
(Actually, it's a demo program).
‎2022 Feb 08 3:01 PM
‎2022 Feb 14 6:13 PM
‎2022 Feb 16 11:23 AM
Looks like the function group has some inconsistencies.
Maybe you try in SE37: SE37 (initial screen) -> Utilities -> Repair Function Group
If this does not solve the issue please create a ticket on component BC-DWB-TOO-FUB
Many Thanks,
Thomas.