• If your ABAP PI/Netweaver System hasn’t been maintained into Full qualified Domain Name[FQDN], in bsp application, you will receive the following error, during loading BSP.

The following error text was processed in system : The URL contains no complete domain specification (cnst50059090 instead of cnst50059090.<domain>.<ext>).

  • How-to solve, check up with Notes 1088717, 1124553 and 517484

=> Modification with CX_FQND::CHECK

 METHOD check.

  DATA: lv_host    TYPE string,
        lv_port    TYPE string.  “#EC NEEDED

  lv_host = request->get_header_field( name = ‘host’ ).
  IF lv_host NA ‘.’ OR lv_host CO ‘0123456789.:’.
*{   INSERT         PI6K900003                                        1
  IF lv_host EQ ‘<your host-cnst50059090>:<your port-50200>’ . ” for localhost implementation
    exit. “just quit dummy FQDN check-up
  ENDIF.
*}   INSERT
    IF NOT lv_host CS ‘localhost’.
      SPLIT lv_host AT ‘:’ INTO lv_host lv_port.
      RAISE EXCEPTION TYPE cx_fqdn
        EXPORTING host   = lv_host
                  domain = ‘.<domain>.<ext>’. “#EC NOTEXT recommend security group
    ENDIF.
  ENDIF.

ENDMETHOD.

=> String operation : http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3516358411d1829f0000e829fbfe/frameset.htm

http://indradewaji.wordpress.com/2008/03/12/comparation-between-cs-and-ca-on-abap/

Advertisements