Skip to content

RAP generator doen't generate repository objects via FIORI app and application job #43

@agraeber

Description

@agraeber

Hi André,

we installed the RAP generator on our 2023 On-Prem system.

Unfortunatly the generation of objects could not be started via the FIORI app.
Absolutely nothing is happening. No appl job, no log, no error, nothing.

As workaround I followed the manual for calling the generator via command line and executed the generation via the generated JSON, this works fine.

What could be the reason for this?

Thanks and best regards

Andreas Graeber
Jungheinrich AG


Appendix
This is the generation via command line, which works fine.

METHOD main.
TRY.
DATA(json_string) = get_json_string( ).
DATA(rap_generator) = zdmo_cl_rap_generator=>create_for_cloud_development( json_string ).
"DATA(rap_generator) = /dmo/cl_rap_generator=>create_for_S4_2020_development( json_string ).
DATA(framework_messages) = rap_generator->generate_bo( ).
IF rap_generator->exception_occured( ).
out->write( |Caution: Exception occured | ) .
out->write( |Check repository objects of RAP BO { rap_generator->get_rap_bo_name( ) }.| ) .
ELSE.
out->write( |RAP BO { rap_generator->get_rap_bo_name( ) } generated successfully| ) .
ENDIF.
out->write( |Messages from framework:| ) .
LOOP AT framework_messages INTO DATA(framework_message).
out->write( framework_message ).
ENDLOOP.
CATCH zdmo_cx_rap_generator INTO DATA(rap_generator_exception).
out->write( 'RAP Generator has raised the following exception:' ) .
out->write( rap_generator_exception->get_text( ) ).
ENDTRY.
ENDMETHOD.

METHOD get_json_string.
SELECT SINGLE json_string FROM zdmo_rapgen_bo INTO json_string
WHERE bo_name = 'ZAGR_R_Book01TP'.
ENDMETHOD.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions