Modifying SAP BAPIs that Contain Namespaces so they are Valid In SAP Mobile WorkSpace

SAP Mobile WorkSpace does not allow a structure datatype to contain names with special characters (a forward slash ‘/’ in this case), because the forward slash is used as a Java class name after deployment and code generation.

  1. After creating MBOs from SAP BAPIs that contain namespaces, modify the definition by removing any forward slashes.
    For example, If the BAPI contains a structure:
    /SAPPO/BAPI_ORDER_OPEN
    rename the structure.
  2. In this case, you could remove the /SAPPO/ prefix.
    Modify the structure datatype names before making any other changes to the MBO, since renaming the structure type name or structure attribute recreates the parameter of the MBO or operation parameter, causing the previous definition to be lost.