Class DefaultPraJointVentureService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultPraJointVentureService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,PraJointVentureService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultPraJointVentureService")
@Deprecated
public class DefaultPraJointVentureService
extends Object
implements ServiceWithNavigableEntities, PraJointVentureService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This inbound OData service enables you to create, read, and update data about Joint Venture in Production Revenue Accounting (PRA) Ownership. You can query the entities in this service to retrieve the corresponding data about Joint Venture. This service is published on the SAP API Business Hub. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | PRAMAINTVENTURE_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | PRA XI inbound Integration(SAP_COM_0806) |
| Scope Items: | Revenue Accounting - Oil and Gas Production(5NM) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PRAMAINTVENTURE_O4 |
| Business Object: | Production Revenue Accounting Joint Venture |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.PraJointVentureService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPraJointVentureService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from thePRAUnitVentureentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from thePRAVentureentity collection matching the filter and search expressions.createVenture(PRAVenture pRAVenture) Deprecated.Create a newPRAVentureentity and save it to the S/4HANA system.Deprecated.Fetch multiplePRAUnitVentureentities.Deprecated.Fetch multiplePRAVentureentities.Deprecated.getUnitVentureByKey(String companyCode, String pRAUnitVenture, String pRACombinedProductCode) Deprecated.Fetch a singlePRAUnitVentureentity using key fields.getVentureByKey(String companyCode, String pRAJointVenture) Deprecated.Fetch a singlePRAVentureentity using key fields.updateUnitVenture(PRAUnitVenture pRAUnitVenture) Deprecated.Update an existingPRAUnitVentureentity and save it to the S/4HANA system.updateVenture(PRAVenture pRAVenture) Deprecated.Update an existingPRAVentureentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultPraJointVentureService
public DefaultPraJointVentureService()Deprecated.Creates a service usingPraJointVentureService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:PraJointVentureServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePraJointVentureService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:PraJointVentureServiceCreates a batch request builder object.- Specified by:
batchin interfacePraJointVentureService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllUnitVenture
Deprecated.Description copied from interface:PraJointVentureServiceFetch multiplePRAUnitVentureentities.- Specified by:
getAllUnitVenturein interfacePraJointVentureService- Returns:
- A request builder to fetch multiple
PRAUnitVentureentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countUnitVenture
Deprecated.Description copied from interface:PraJointVentureServiceFetch the number of entries from thePRAUnitVentureentity collection matching the filter and search expressions.- Specified by:
countUnitVenturein interfacePraJointVentureService- Returns:
- A request builder to fetch the count of
PRAUnitVentureentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getUnitVentureByKey
@Nonnull public GetByKeyRequestBuilder<PRAUnitVenture> getUnitVentureByKey(String companyCode, String pRAUnitVenture, String pRACombinedProductCode) Deprecated.Description copied from interface:PraJointVentureServiceFetch a singlePRAUnitVentureentity using key fields.- Specified by:
getUnitVentureByKeyin interfacePraJointVentureService- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
pRAUnitVenture- Joint VentureConstraints: Not nullable, Maximum length: 6
pRACombinedProductCode- Combined product codeConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
PRAUnitVentureentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
updateUnitVenture
@Nonnull public UpdateRequestBuilder<PRAUnitVenture> updateUnitVenture(@Nonnull PRAUnitVenture pRAUnitVenture) Deprecated.Description copied from interface:PraJointVentureServiceUpdate an existingPRAUnitVentureentity and save it to the S/4HANA system.- Specified by:
updateUnitVenturein interfacePraJointVentureService- Parameters:
pRAUnitVenture-PRAUnitVentureentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
PRAUnitVentureentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllVenture
Deprecated.Description copied from interface:PraJointVentureServiceFetch multiplePRAVentureentities.- Specified by:
getAllVenturein interfacePraJointVentureService- Returns:
- A request builder to fetch multiple
PRAVentureentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countVenture
Deprecated.Description copied from interface:PraJointVentureServiceFetch the number of entries from thePRAVentureentity collection matching the filter and search expressions.- Specified by:
countVenturein interfacePraJointVentureService- Returns:
- A request builder to fetch the count of
PRAVentureentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getVentureByKey
@Nonnull public GetByKeyRequestBuilder<PRAVenture> getVentureByKey(String companyCode, String pRAJointVenture) Deprecated.Description copied from interface:PraJointVentureServiceFetch a singlePRAVentureentity using key fields.- Specified by:
getVentureByKeyin interfacePraJointVentureService- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
pRAJointVenture- Joint VentureConstraints: Not nullable, Maximum length: 6
- Returns:
- A request builder to fetch a single
PRAVentureentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createVenture
Deprecated.Description copied from interface:PraJointVentureServiceCreate a newPRAVentureentity and save it to the S/4HANA system.- Specified by:
createVenturein interfacePraJointVentureService- Parameters:
pRAVenture-PRAVentureentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
PRAVentureentity. To perform execution, call theexecutemethod on the request builder object.
-
updateVenture
Deprecated.Description copied from interface:PraJointVentureServiceUpdate an existingPRAVentureentity and save it to the S/4HANA system.- Specified by:
updateVenturein interfacePraJointVentureService- Parameters:
pRAVenture-PRAVentureentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
PRAVentureentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-