anchor.diff:        RETURN. "Package already exists. We assume this is fine
       ENDIF.
   
  -    ls_package-devclass  = iv_package.
  -    ls_package-ctext     = iv_package.
  -    ls_package-pdevclass = '$TMP'.
  -    ls_package-component = 'LOCAL'.
  -    ls_package-as4user   = sy-uname.
  +    ls_package = is_package.
   
       cl_package_factory=>create_new_package(
         EXPORTING
  
positive.code:           iv_url              = lv_url
            iv_target_package   = lv_target_package ).
  
          lcl_sap_package=>create( lv_target_package ).
  
          lo_repo = lcl_repo_srv=>new_online(
            iv_url         = lv_url
  
negative.code: 
    METHOD create.
  
      DATA: lv_err     TYPE string,
            ls_package LIKE is_package,
            li_package TYPE REF TO if_package.
  
  
      ASSERT NOT is_package-devclass IS INITIAL.
  
      cl_package_factory=>load_package(
        EXPORTING
          i_package_name             = is_package-devclass
        EXCEPTIONS
          object_not_existing        = 1
          unexpected_error           = 2
  