Hi Prasad,
Is your issue got resolved?
If you see the mismatch with guid you can retify it as this way
You can create header guid in first instance itself using guid_create and then call the creation standard function module and then you use the same header guid while changing the activity so that same guid will be maintained till end of program.
Regards,
Dharmakasi.