How to serialize SAP Business Objects?

First I must clarify that I am not referring to the Business Objects company recently acquired by SAP. Instead, I mean business objects defined in the SAP Business Object Repository (BOR), for example. SalesOrder (BUS2032).

So, what is the preferred approach for serializing such a business object in the SAP system so that a third-party system can deserialize the business object, including all the attributes that make up a particular instance of the business object?

+5
source share
4 answers

IF_SERIALIZABLE_OBJECT. , - , - IF_SERIALIZABLE_OBJECT.

+3

IDocs, , SAP-. , ABAP. :

  • , , BAPI /
  • (zcl_sales_order, zcl_sales_order_position ..), .
  • XML-, call transformation ( , SAP), (, , , )
+2

SAP Business Connector XML- SAP ( SAP -SAP-). , .

+1

BOR. SAP BAPI, , SAP SOAP ..

BUS2032 :

  • SWO1
  • BUS2032
  • ""
  • call function 'BAPI

BAPI - 2032, SE80

Note that SAP does not always comply with the naming standard, but the more mature the module, the better the chance that they have already made some form of RFC or Webservice available to the module.

Of course, you can also write your own RFC or web service, but then you need to understand the business model and what attributes are needed.

0
source

All Articles