cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

DEBUG Custom logic S4HANA CLOUD

shashankagg
Participant

Accepted Solutions (1)

Accepted Solutions (1)

shashankagg
Participant
0 Likes

You may write below syntax within your custom logic code :

cl_ble_trace_writer=>write_info_message( 'Pass8' ).

Here instead of PASS8 - you may add your internal variables as well. Above syntax would ensure you if the code is triggered and you may see this variable in CUSTOM LOGIC TRACING app.

Answers (1)

Answers (1)

Edrilan_Berisha
Product and Topic Expert
Product and Topic Expert

Hi,

 

there is a blog post which describes that: https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/debugging-custom-logic-using-...

 

 

Best,

Edrilan Berisha

SAP S/4HANA Cloud Financials Development

shashankagg
Participant
0 Likes
I dont have ADT installed and hence couldnt use.
Edrilan_Berisha
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi, I am not sure what you mean with "adt luxury" ADT is for free. If you don't want to use it, you have to change your mind and use it, so you can easily debug your custom logic.

shashankagg
Participant
0 Likes
I tried connecting ADT with S4 HANA Public Cloud , but i am getting error as below-
shashankagg
Participant
0 Likes
I tried connecting ADT with S4 HANA Public Cloud , but i am getting error as below- "No authorization to access the resource /sap/bc/adt/core/http/reentranceticket"
Sanyasi
Discoverer
0 Likes

Hi Edrilan, For Instance the BADI which are not yet released and we had to write some custom logic : WRT to 3495575 - Timesheet Approval Workflow,

This BADI is not released i am not handle via eclipse , hence as per KBA Document i need to use to Custom logic in S4 Hana Public. hence how can i debug the it ?

 

Thanks in advance for your support 

Regard,

Sanyasi