cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot find ZCL_S4D400_STRUCTURED_TYPES in ABAP learning journey!

mcgunarathna2
Explorer
0 Kudos

 

Hi,

I'm learning ABAP on cloud based SAP BTP. The below highlighted class, which is mentioned in the learning journey, cannot be found. Have I missed anything?

Can someone help me pls?

Thanks in advance. 🙂

mcgunarathna2_0-1678078905584.png

 

Margit_Wagner
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @mcgunarathna2 
Thank you for bringing this to our attention.
To help us to understand your query better, could you please provide the following information?

• Title or URL of the SAP Learning Journey and the exercise or unit (title/URL)
• Steps to reproduce / refer to the appropriate steps in the exercise 

Kind regards
Margit

 

 

View Entire Topic
jannes_schofeld
Product and Topic Expert
Product and Topic Expert

Hi Sean,

thanks for providing the screenshots. From what I can see: In step 19 make sure to remove the '/A_PurchaseOrder' from the Address, resulting in the address ending with 'API_PURCHASEORDER_PROCESS_SRV'. You are defining the path with '/A_PurchaseOrder' in the Processing tab, that is why you do not need it in the address URI.

Hope this helps.

Best regards,

Jannes

Sean
Explorer
0 Kudos

Hi @jannes_schofeld,

Yes, i've followed the guide which mentioned to remove the "/A_PurchaseOrder" from the address.

Sean_0-1638865569797.png

At the processing tab, I've input "/A_PurchaseOrder" as the below screenshot.

Sean_2-1638865687260.png

But still got the same error. 

Regards,
Sean

 

 

 

 

jannes_schofeld
Product and Topic Expert
Product and Topic Expert

Hi @Sean,

you still got the trailing '/' after 'API_PURCHASEORDER_PROCESS_SRV' - can you try to remove that, redeploy your iFlow and see if it makes a difference?

Best regards,

Jannes

Sean
Explorer
0 Kudos

Hi @jannes_schofeld,

Yes, I've removed it the "/" as screenshot below and redeployed the iFlow.

Sean_0-1638866534325.png

 

Checked the message monitoring and got the same error:

Sean_1-1638866567789.png

Regards,
Por Shen

 

jannes_schofeld
Product and Topic Expert
Product and Topic Expert

Hi @Sean,

it's hard to tell what could be the issue here. Is there any more error information in the logs?

Also, can you double check, that the Address and Resource Path parameters do not include any leading or trailing white spaces? Apart from that, can you once try to deploy and perform the process without the Query Options?

Best regards,

Jannes

Sean
Explorer

Hi @jannes_schofeld,

I've found the root cause. I've removed the "/" from the resource path as screenshot below and it works now. Able to deploy and the messages were successfully processed. 

Sean_0-1638873038600.png

I think there is a typo in the SAP Learning hub. SAP Learning - Consuming API from SAP API Business Hub

At step 20: In the screenshot, it is "/A_PurchaseOrder". I think there could be a typo in the screenshot. 

Sean_0-1638934295203.png

Regards,
Sean