-
Hi, for my current szenario I have to call a function module which requires a xstring input parameter (for Example RSDSO_WRITE_API_RFC) to transfer a large volume of test data. This xstring contains a table row stored as a byte string. Example: ABAP function module
Python client
The example byte string is deserialized to target_struct-text = 'abs', target_struct-int = 1 Currently I'm stuck with building the byte string on the python side. Are there any documents / examples availible how to build the byte string for a known ABAP target structure? Any information is greatly appreciated! Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
ABAP byte string counterpart on Python side are |
Beta Was this translation helpful? Give feedback.
ABAP byte string counterpart on Python side are
bytes
. The only example is in unit test: https://github.com/SAP/PyRFC/blob/main/tests/test_datatypes.py#L36