2009 Jun 10 6:17 AM
Hello everyone,
is there any implementation of serialization & deserialization (see [Wiki|http://en.wikipedia.org/wiki/Serialization]) in ABAP Objects? We'd like to send instantiated objects via RFC function modules, but the Workbench doesn't allow neither objects (TYPE REF TO) directly nor structures/tables which contain object references.
Thanks in advance and best regards,
Alej
2009 Jun 10 9:04 AM
Hello Alej
Just add the interface IF_SERIALIZABLE_OBJECT to your class. Then you can serialize your instance into an XML stream (CALL TRANSFORMATION) which you can send via RFC.
Regards
Uwe
Hello Alej
Just add the interface IF_SERIALIZABLE_OBJECT to your class. Then you can serialize your instance into an XML stream (CALL TRANSFORMATION) which you can send via RFC.
Regards
Uwe
2009 Jun 10 9:04 AM
Hello Alej
Just add the interface IF_SERIALIZABLE_OBJECT to your class. Then you can serialize your instance into an XML stream (CALL TRANSFORMATION) which you can send via RFC.
Regards
Uwe
2009 Jun 10 9:28 AM
Hello Uwe,
thanks for quick reply. I tested the serialization in our ECC6.0 system and it looks like it's working!
Afterwards I tried it in our old 4.6c system (the target for the RFC), but unfortunately the interface IF_SERIALIZABLE_OBJECT doesn't exist there!
Is there a way to deserialize the object again in a 4.6c release?
2009 Jun 10 9:39 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |