OTAA upload failes

Dear all,
I sucessfully migrated my Temp_Node with DHT11 device from V2 to V3 and get live data via ABP. Using OTAA (AppKey and AppEUI in node.h OR in ino-sketch itself) I indeed see data in serial the monitor but not in <the things stack - application - end device>. Perhaps the error is to be found in the command:
"static const u1_t PROGMEM APPEUI[8]={ … };
void os_getArtEui (u1_t* buf) { memcpy_P(buf, APPEUI, 8);}
as well for DEVEUI and APPKEY?
Any idea or a good reference sketch at hand?
Thanks a lot, Thomas