abapFaker
abapFaker copied to clipboard
Cloud compatibility
Currently abapFaker uses SYS-Fields (date, uline, etc.) which are not allowed in the ABAP Cloud environment
plus probably
$ ./abaplint "../abapFaker/src/**/*.*" -s
100% - 0.0s - Reading files - zcl_faker_provider_phone.clas.xml
100% - 4.4s - Lexing and parsing(Cloud) - CLAS ZCL_FAKER_PROVIDER_PHONE
100% - 0.3s - Second pass - CLAS ZCL_FAKER_PROVIDER_PHONE
100% - 2.6s - Finding Issues - CLAS ZCL_FAKER_PROVIDER_PHONE
src/zcl_faker.clas.abap[117, 5] - Parser error(Unknown statement), ABAP version Cloud
src/z_abap_faker_demo.prog.abap[1, 1] - Object type not supported in cloud
src/z_abap_faker_demo.prog.abap[27, 1] - Parser error(Unknown statement), ABAP version Cloud
src/z_abap_faker_demo.prog.abap[36, 1] - Parser error(Unknown statement), ABAP version Cloud
src/provider/phone/zcl_faker_provider_phone.clas.abap[75, 5] - Database table or view "dd04t" not found
also see see https://dotabap.org/#/-/se38/abapFaker
Suggest enabling https://github.com/apps/abaplint and configuring it to check for cloud version, note that this only checks the syntax, not the whitelist.