Hello Verena,
Thank you very much for your quick respond. But I'm sorry, I can't work it out (I’m a bloody beginner with AIF).
I think I already did what you said before. So I added a simple fixed value for my program.
The fixed value is 10 for Zahl1 in my structure (pic from /AIF/IFTEST) and seems to work.
The namespace is ZCTTE2 and the interface is ZRFC2. As I understood I have to call /aif/cl_enabler_xml=>transfer_to_aif and this should transform the data by the rules defined in /AIF/CUST and then call my FuMo the transformed data. Is that right?
The call of the FuMo looks something like that.
DATA: lv_qns TYPE /aif/pers_rtcfgr-queue_ns VALUE 'ZRFC2'.
DATA: lv_qname TYPE /aif/pers_rtcfgr-queue_name VALUE 1.
DATA: ls_calc_sap TYPE zaif_s200_calculation_raw2.
CALL METHOD /aif/cl_enabler_xml=>transfer_to_aif
EXPORTING
is_any_structure = ls_calc_sap
iv_queue_ns = lv_qns
iv_queue_name = lv_qname
But the data is only transferred to the /AIF/IFMON. When I debug the code the variable ls_calc_sap-payload-zahl1 is not changed (and not 10). Do you have any hint?
Best regards,
Nikolaus
