Fix in demo 11: Field-symbol usage (#712)

Do not rely on IF ... IS ASSIGNED for a field symbol inside a LOOP
This commit is contained in:
Stefan Rutzmoser 2020-11-19 10:10:48 +01:00 committed by GitHub
parent 482d04b1b3
commit 719fe85ef8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,7 @@ START-OF-SELECTION.
ASSIGNING <relationship_address>
WITH KEY standardaddress = 'X'.
IF <relationship_address> IS ASSIGNED.
IF sy-subrc = 0.
" Read Relationship Address
CLEAR addressdata.
CALL FUNCTION 'BAPI_BUPA_ADDRESS_GETDETAIL'