cancel
Showing results for 
Search instead for 
Did you mean: 

Integration of Java product into SAP CRM stack ABAP

0 Kudos

Hello,

sorry if I ask very basic questions but

my company is in its 1st. year using SAP CRM, so any help will be useful.

I have been assigned the task of integration of a Digital Signature product made in Java by a vendor

into our already customized SAP CRM process.

Here are some of the system data:

current product version: 

SAP CRM 7.0 / NW7.01

sap BBPCRM:

SAP CRM ABAP Server Component SAP CRM ABAP 7.01

This last data I think refers to the ABAP stack,

I have the following questions:

¿What language should we use to make this integration: Abap, Web Dynpro, Java, ? I mean the vendor even suggests .Net, PHP, ASP ,C #,

¿What transacction should we use to start the development?

¿Any link that refers to a similar integration?

Please help,

regards

Gabriel

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Answers (1)

Answers (1)

0 Kudos

Hello,

this is part of the code made by consultants who worked here

the code displays a button which triggers a web service to query data from another web site.

My problem now is I don´t know what part of this code is the name of the web service, and where is the web service located to see the code.

Thank you for your help,

regards

method DO_PREPARE_OUTPUT.
CALL METHOD SUPER->DO_PREPARE_OUTPUT
*  EXPORTING
*    iv_first_time = ABAP_FALSE

    .



 
DATA:

   lr_badi         
TYPE REF TO badi_crm_bp_uiu_defaults,

   lr_me           
TYPE REF TO cl_bsp_wd_view_controller.




* Account Lifecycle: get role exclusion group for determination
* if initial stages to offer for maintenance

 
IF NOT iv_first_time IS INITIAL.

    lr_me ?= me.

   
CALL METHOD cl_bp_roles_accountlifecycle=>if_uiu_bp_defaults~get_default_values

     
CHANGING

        cr_me
= lr_me.


*   register on workarea_change- and revert-events to clear flag GV_ACCOUNT_WAS_SAVED
*   when navigated to another object
*    SET HANDLER on_workarea_change.
*    SET HANDLER on_revert.

 
ENDIF.






* get BAdI instance

 
TRY.

     
GET BADI lr_badi.

   
CATCH cx_badi.

 
ENDTRY.


* call BAdI

 
IF lr_badi IS BOUND.

    lr_me ?= me.

   
CALL BADI lr_badi->get_default_values

     
EXPORTING

        iv_first_time
= iv_first_time

     
CHANGING

        cr_me        
= lr_me.

 
ENDIF.


*CU_PTU2_CRMATC015
*Boton para consultar curp con webservice
*Declarar variables

 
DATA: l_button   TYPE crmt_thtmlb_button,

        l_tipo    
TYPE string,

        l_id      
Type string.

  
DATA: lr_bol_bo_col TYPE REF TO if_bol_bo_col,

         lr_entity
TYPE REF TO cl_crm_bol_entity.

me
->typed_context->builheader->if_bsp_model_binding~get_attribute(

 
EXPORTING
*    attribute_ref      =     " Reference to (Top Level) Attribute

    attribute_path    
=     'STRUCT.BP_CATEGORY'" Attribute Path
*    index              =     " Attribute Path[Index]
*    component          =     " Attribute Path...Component
*    no_conversion_exit = 0    " Ignore Conversion Exit (0:False;1:True)

  RECEIVING

   
value              =   l_tipo  " Result Value
).



lr_bol_bo_col ?=  me
->typed_context->builidnumber->collection_wrapper->get_copy( ).




*    IF lr_bol_bo_col IS BOUND.
*      " Obtenemos la primera entidad...
*      lr_entity ?= lr_bol_bo_col->get_first( ).
*      "...luego obtenermos las demas entidades
*      WHILE lr_entity IS BOUND.
*        TRY.
*            l_id = lr_entity->if_bol_bo_property_access~get_property_as_string( 'IDENTIFICATIONTYPE' ).
*          CATCH cx_sy_conversion_error .
*        ENDTRY.
*
*        IF l_id EQ 'ZCURP'.
*          EXIT.
*        ENDIF.
*        " obtenemos la siguiente entidad
*        lr_entity ?= lr_bol_bo_col->get_next( ).
*      ENDWHILE.
*    ENDIF.
*Verificar  que se trate de una cuenta privada
IF l_tipo EQ '1'.
*Agregar boton de consulta de curp

   
READ TABLE gt_button WITH KEY text = 'Consutar Curp' TRANSPORTING NO FIELDS.

   
IF sy-subrc NE 0.

      l_button
-type     = cl_thtmlb_util=>gc_icon_service.

    l_button
-text     = 'Consutar Curp'.

    l_button
-on_click = 'consultar'.

    l_button
-enabled  = abap_true.

     
AUTHORITY-CHECK OBJECT 'Z_B_CURP'

     
ID 'ZBOTON' DUMMY.

     
IF sy-subrc EQ 0.

           
INSERT l_button INTO TABLE gt_button.

     
ENDIF.

   
ENDIF.