Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8950

Re: Adding Custom Fields in SAP SYCLO Work Manager App

$
0
0

Hi Jason,

 

According to above, I extended the POJO into a custom one with the same name into my namespace and updated the config param accordingly. Now the BAPI class will pick up my POJO object but as I see the code for the Address object, it also seems to use the factory model. So do I need to change the Address reference to my custom one or will it take my custom one automatically while casting?

 

Capture.PNG

 

If I just need to change the references in the BAPI class to call the custom POJO, Stephandler to call the custom BAPI class or steplet to call the custom stephandler, then as you mention above I do not need to extend the BAPI class, stephandler & steplet as they should pick via reflection. Is that what you mean? Only if I need to do some extra processing there, then I should be extending them?

 

Also the Address object is being referred to from within the Account object. So should I extend that as well in order to refer to the custom Address object? If yes, then I think I need to follow the above for the Account object as well.

 

Awaiting your response. Thanks once again.

 

Regards,

Gourav


Viewing all articles
Browse latest Browse all 8950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>