cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate the services when i have IWBEP and GW_CORE in 2 systems.

Former Member
0 Kudos

Hello Experts.

Problem:

I am able to entity, entitysets, association and navigations but unable to generate service.

Accepted Solutions (0)

Answers (2)

Answers (2)

jzeifang
Participant
0 Kudos

Hi Nitin,

I believe the root cause for this error is an too old version of function module SEO_CLASS_CHECK_CLASSPOOL. In this old version the import parameter SUPPRESS_ERROR_POPUP does not exist, but is used by method CHECK_CLASS_SYNTAX of class /IWBEP/CL_SB_GEN_DPC_DT_UTIL.

To resolve this problem you could either install the latest support package for SAP_BASIS or just implement SAP note 1444645 which updates this function module.

Regards,

Juergen

Former Member
0 Kudos

Hi Juergen,

Thanks a lot for your tip ! You perfectly identified the root cause, no more dump after having applied SAP Note 1444645 ! it avoided us to upgrade the IW_BEP component (for the moment)

Best regards.

PEB

Former Member
0 Kudos

Hi Juergen,

Your suggestion is solving my problem as well. Thanks.

Hi Nitin,

Please mark Juergen post as correct answer to help the others to find the solution for similar problem.

Thanks & Best Regards,

Husin

ChandraMahajan
Active Contributor
0 Kudos

Hi,

once you develop service using SEGW then you need to generate runtime artifacts and then register and maintain the service. check my blog where I mentioned about registration of service.

IW_BEP component enables you to develop services using SEGW. generally in your backend system, you will have IW_BEP component and development takes place there and then you need to register the service in GW system which has component GW_CORE.

you can refer this Deployment Options - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library for deployment option

Regards,

Chandra

Former Member
0 Kudos

HI Mahajan,

Thanks for your quick solution. However,in my backend system where i have iw_bep ,  I am unable to generate after creating the entity and navigations. I see the generate button but that is giving dump error.

on the other hand , in the system where i have gw_core, i can register this service etc and also can see the metadata url. but no data as the backend system is not getting generated.

in short when i click on "generate " button in the iw_bep system, i get short dump.

ChandraMahajan
Active Contributor
0 Kudos

Which short dump error are you getting? please let me know more details.

Former Member
0 Kudos

short dump msg:

Runtime Errors         UNCAUGHT_EXCEPTION
Except.                /IWBEP/CX_SBCM_FATAL
Date and Time          02.06.2014 09:48:28

Short text
     An exception occurred that was not caught.

What happened?
     The exception '/IWBEP/CX_SBCM_FATAL' was raised, but it was not caught anywhere
      along
     the call hierarchy.

     Since exceptions represent error situations and this error was not
     adequately responded to, the running ABAP program
      '/IWBEP/CL_SBUI_PR_CMD_GENERATECP' has to be
     terminated.

Error analysis
     An exception occurred which is explained in detail below.
     The exception, which is assigned to class '/IWBEP/CX_SBCM_FATAL', was not
      caught and
     therefore caused a runtime error.
     The reason for the exception is:
     Fatal error in Service Builder

     The occurrence of the exception is closely related to the occurrence of
     a previous exception "CX_SY_NO_HANDLER", which was raised in the program
      "/IWBEP/CL_SB_GEN_DPC_DT_UTIL==CP",
     specifically in line 1 of the (include) program

     "/IWBEP/CL_SB_GEN_DPC_DT_UTIL==CM00C".
    The cause of the exception was:

    An exception with the type CX_SY_DYN_CALL_PARAM_NOT_FOUND occurred, but was
    neither handled locally, nor declared in a RAISING clause

    The occurrence of the exception is closely related to the occurrence of
    a previous exception "CX_SY_DYN_CALL_PARAM_NOT_FOUND", which was raised in the
     program "/IWBEP/CL_SB_GEN_DPC_DT_UTIL==CP",
    specifically in line 5 of the (include) program
     "/IWBEP/CL_SB_GEN_DPC_DT_UTIL==CM00C".
    The cause of the exception was:

    Call of the function SEO_CLASS_CHECK_CLASSPOOL failed; the formal parameter
    SUPPRESS_ERROR_POPUP does not exist


Missing Handling of Application Exception
    Program                                 /IWBEP/R_SBUI_SERVICE_BUILDER

Trigger Location of Exception
    Program                                 /IWBEP/CL_SBUI_PR_CMD_GENERATECP
    Include                                 /IWBEP/CL_SBUI_PR_CMD_GENERATECM001
    Row                                     92
    Module type                             (METHOD)
    Module Name                             DO_EXECUTE_COMMAND

Source Code Extract

Line  SourceCde

   62             lv_msgno = '028'.
   63             insert lr_gs->project INTO TABLE lt_rejected.
   64
   65           WHEN /iwbep/if_sbdm_gen_manager=>gc_gen_finished_sc.
   66             IF lv_msgty EQ 'W'.
   67               lv_msgno = '026'.
   68             ELSE.
   69               lv_msgno = '025'.
   70             ENDIF.
   71             insert lr_gs->project INTO TABLE lt_val_passed.
   72
   73           WHEN /iwbep/if_sbdm_gen_manager=>gc_gen_canceled_sc.
   74             insert lr_gs->project INTO TABLE lt_val_passed.
   75             insert lr_gs->project INTO TABLE lt_canceled.
   76             lv_msgno = '024'.
   77           WHEN /iwbep/if_sbdm_gen_manager=>gc_gen_failed_sc.
   78             lv_msgno = '027'.
   79           WHEN OTHERS.
   80         ENDCASE.
   81         IF lv_msgty IS INITIAL.
   82           lv_msgty = 'S'.
   83         ENDIF.
   84         lo_message = mo_message_utility->create_message_from_values( iv_msgty = lv_msgty iv_
   85         mo_controller->on_messages_raised( io_sender = me io_message = lo_message iv_refresh
   86       ENDLOOP.
   87     CATCH /iwbep/cx_sbcm_exception INTO lx_exc.

   87     CATCH /iwbep/cx_sbcm_exception INTO lx_exc.

   88

   89         lo_message = mo_message_utility->create_message_from_error( ix_error = lx_exc ).

   90         mo_controller->on_messages_raised( io_sender = me io_message = lo_message iv_refresh

   91    CATCH cx_sy_no_handler INTO lx_error.

>>>>>         RAISE EXCEPTION TYPE /iwbep/cx_sbcm_fatal EXPORTING previous = lx_error.

   93

   94   ENDTRY.

   95

   96 * --- check overall result ---

   97   IF lt_val_passed IS INITIAL.

   98     MESSAGE ID '/IWBEP/SBUIP' TYPE 'S' NUMBER '031' DISPLAY LIKE 'E'.

   99     rv_rcode = /iwbep/if_sbui_controller=>gc_rc_error.

  100   ELSEIF lt_rejected IS NOT INITIAL.

  101     MESSAGE ID '/IWBEP/SBUIP' TYPE 'S' NUMBER '030' DISPLAY LIKE 'W'.

  102     rv_rcode = /iwbep/if_sbui_controller=>gc_rc_warning.

  103   ELSEIF lt_canceled IS NOT INITIAL.

  104     IF LINES( lt_val_passed ) GT LINES( lt_canceled ).

  105       MESSAGE ID '/IWBEP/SBUIP' TYPE 'S' NUMBER '032' DISPLAY LIKE 'S'.

  106       rv_rcode = /iwbep/if_sbui_controller=>gc_rc_success.

  107     ELSE.

  108       MESSAGE ID '/IWBEP/SBUIP' TYPE 'S' NUMBER '033' DISPLAY LIKE 'S'.

  109       rv_rcode = /iwbep/if_sbui_controller=>gc_rc_success.

  110     ENDIF.

  111   ELSE.

ChandraMahajan
Active Contributor
0 Kudos

Seems that you might be missing some notes as getting error in generator program. you may want to search on marketplace for specific note or raise OSS message.

Former Member
0 Kudos

Hi, thanks . my basis team upgraded from V5 to V8. this resolved the problem. i contact you if any problem arrises. thanks a lot for your time and interest shown towards resolving problems.

Former Member
0 Kudos

Hello Chandrashekhar,

can you please share your email id and fone no.

urgently, i need help from you or your friends who can help me in resolving the fix:

i can create deep entity using xml but not clear how to form json format and use it.

pls send your contact details to

nitin.vaspp@gmail.com

i have to finish this work by today and i am totally struck from 1.5 days