on 06-23-2022 3:04 PM
Hi,
the scenario is pretty simple:
The LOG table at Step 4 is not written probably because the step 5 trigger a Framework Rollback.
There is a way or alternative way to write the LOG Table ?
Thanks,
Angelo.
Hi Angel,
what about using the application log framework?
Application Logs | SAP Help Portal
You can create your own application log object and read and write to it.
Kind regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andre,
yes it is an alternative, we use Application Logs to log the messages of Application Jobs.
We use a custom solution for LOGS simply to add some custom fields like Class, Method, HTTP Status and to have a Header / Item Application for better readibility.
It is really hard to think that there is no way to start a new luw for this scenarios.
Thank you,
Angelo.
Hi Angel,
I am assuming it is an unmanaged service .
Did you explore the option of updating the LOG table in a RFC FM in a new LUW.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Siddhartha,
Yes, it is an Unmanaged Service.
I tried to encapsulate all the logic for LOG in a RFC Function Module and I tried to use the addidions
BTP do not love this additions because is not valid in restricted language scope.
Tried also to use addition DESTINATION 'NONE' but generate a Runtime Error (RFC_ILLEGAL_CALL_ON_SAPCP) and also to switch Function Module Process Type from RFC to Update, the problem persist.
I have exactly the same problem dealing with std Application Log. Can't figure out a way to save the logs in the DB, already tried everything mentioned here, with no luck.
Shall I open a ticket to SAP Support?
Thanks
BR
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.