diff --git a/src/demos/zdemo_excel11.prog.abap b/src/demos/zdemo_excel11.prog.abap index 10dd386..93ad4d6 100644 --- a/src/demos/zdemo_excel11.prog.abap +++ b/src/demos/zdemo_excel11.prog.abap @@ -147,7 +147,7 @@ START-OF-SELECTION. ASSIGNING WITH KEY standardaddress = 'X'. - IF IS ASSIGNED. + IF sy-subrc = 0. " Read Relationship Address CLEAR addressdata. CALL FUNCTION 'BAPI_BUPA_ADDRESS_GETDETAIL'