All Known Implementing Classes:
GetAllStrategyERP, GetAllStrategyERP604, GetAllStrategyERP605

public interface GetAllStrategy
Strategy interface for reading a sales document from ERP with all aspects. Respective function module is ConstantsR3Lrd.FM_LO_API_WEC_ORDER_GET
  • Method Details

    • execute

      BackendCallResult execute(BackendState backendState, SalesDocument salesDocument, ItemBuffer itemBuffer, JCoConnection connection) throws BackendException
      Execute the read call to fetch sales document details from the ERP backend. Is able to take a buffered state of items into account to optimize performance (i.e. those items won't be requested from the backend).
      Parameters:
      backendState - ERP specific state of the document
      salesDocument - BO representation of the sales document
      itemBuffer - State of previously read items (performance improvement)
      readParams - control read call (i.e. do we need to take IPC pricing into account)
      connection - connection to backend system
      Returns:
      result of backend call
      Throws:
      BackendException - exception from R/3
    • executeRfc

      void executeRfc(JCoConnection connection, com.sap.conn.jco.JCoFunction function) throws BackendException
      Performsm the actual JCO call
      Parameters:
      connection - connection to the backend system
      function - JCO function
      Throws:
      BackendException - exception from R/3