Skip to content

Commit

Permalink
remove ID and type field of INA service and related types
Browse files Browse the repository at this point in the history
  • Loading branch information
RuixingYangSAP committed Dec 19, 2024
1 parent 3fbd1d4 commit fbd17c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 77 deletions.
60 changes: 4 additions & 56 deletions file-formats/rvbc/rvbc-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,66 +156,14 @@
"predefinedIna1Service": {
"title": "Predefined InA Service",
"description": "Predefined InA service",
"type": "object",
"properties": {
"ina1ServiceId": {
"title": "Service ID",
"description": "Service ID",
"type": "string",
"maxLength": 30
},
"ina1Service": {
"title": "Service Name",
"description": "Service name",
"type": "string",
"maxLength": 40
},
"serviceType": {
"title": "Service Type",
"description": "Service type",
"type": "string",
"maxLength": 2,
"pattern": "^[0-9]+$"
}
},
"additionalProperties": false,
"required": [
"ina1ServiceId",
"ina1Service",
"serviceType"
]
"type": "string",
"maxLength": 40
},
"customIna1Service": {
"title": "Custom InA Service",
"description": "Custom InA service",
"type": "object",
"properties": {
"ina1ServiceId": {
"title": "Service ID",
"description": "Service ID",
"type": "string",
"maxLength": 30
},
"ina1Service": {
"title": "Service Name",
"description": "Service name",
"type": "string",
"maxLength": 40
},
"serviceType": {
"title": "Service Type",
"description": "Service type",
"type": "string",
"maxLength": 2,
"pattern": "^[0-9]+$"
}
},
"additionalProperties": false,
"required": [
"ina1ServiceId",
"ina1Service",
"serviceType"
]
"type": "string",
"maxLength": 40
}
},
"additionalProperties": false,
Expand Down
23 changes: 2 additions & 21 deletions file-formats/rvbc/type/zif_aff_rvbc_v1.intf.abap
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ INTERFACE zif_aff_rvbc_v1
PUBLIC.

TYPES ty_app_id TYPE c LENGTH 70.
TYPES ty_ina1_service_id TYPE c LENGTH 30.
TYPES ty_ina1_service_name TYPE c LENGTH 40.
TYPES ty_ina1_service_type TYPE n LENGTH 2.

"! $values { @link zif_aff_rvbc_v1.data:co_extensibility_mode }
"! $default { @link zif_aff_rvbc_v1.data:co_extensibility_mode.not_supported }
Expand Down Expand Up @@ -88,23 +86,6 @@ INTERFACE zif_aff_rvbc_v1
extensibility_mode TYPE ty_extensibility_mode,
END OF ty_booklet_definition.

TYPES:
"! <p class="shorttext">InA Service</p>
"! InA Service
BEGIN OF ty_ina1_service,
"! <p class="shorttext">Service ID</p>
"! Service ID
"! $required
ina1_service_id TYPE ty_ina1_service_id,
"! <p class="shorttext">Service Name</p>
"! Service name
"! $required
ina1_service TYPE ty_ina1_service_name,
"! <p class="shorttext">Service Type</p>
"! Service type
"! $required
service_type TYPE ty_ina1_service_type,
END OF ty_ina1_service.

TYPES:
"! <p class="shorttext">Object Type RVBC</p>
Expand All @@ -123,10 +104,10 @@ INTERFACE zif_aff_rvbc_v1
booklet_definition TYPE ty_booklet_definition,
"! <p class="shorttext">Predefined InA Service</p>
"! Predefined InA service
predefined_ina1_service TYPE ty_ina1_service,
predefined_ina1_service TYPE ty_ina1_service_name,
"! <p class="shorttext">Custom InA Service</p>
"! Custom InA service
custom_ina1_service TYPE ty_ina1_service,
custom_ina1_service TYPE ty_ina1_service_name,
END OF ty_main.

ENDINTERFACE.

0 comments on commit fbd17c7

Please sign in to comment.