fabiopagoti / WB-Objects

ABAP Framework to handle Workbench objects
www.abap101.com
MIT License
7 stars 4 forks source link

Error in method GET_DIRECT_IMPLEMENTATIONS #25

Open Rodrigobcr opened 10 years ago

Rodrigobcr commented 10 years ago

The SAP NETWEAVER 7.02 does not have the "type table" SEO_CLASS_NAME in ABAP Dictionary, this "type table" is declared in Method GET_DIRECT_IMPLEMENTATIONS, that is in the class ZCL_WB_CLASS.

fabiopagoti commented 10 years ago

Thanks for the feedback Rodrigo.

It's now proven that WB Objects is not supported in NetWeaver 7.02.

We can avoid this dependencies creating Z DDIC objects by ourselves and releasing them as part of WB objects. This is what I'll do with table type SEO_CLASS_NAME.

Maybe we will have such problems with all standard function modules used in implementation classes of interface ZIF_WB_OBJECT. Basically each WB object class encapsulates one or more standard function module which might not be part of a specific NetWeaver.

Rule from now on: avoid using standard stuff to avoid dependencies in older releases. If the standard object seems to be old, use it.

fabiopagoti commented 10 years ago

SE11 Create Table type Name: ZSEO_CLASS_NAMES Description: Copy of standard table type SEO_CLASS_NAMES Line Type: SEOCLASS Save

Replace SEO_CLASS_NAME where needed