Hi Rohith,
I may have been a little vague when i was talking about changing the child program. I was not referring to changing it during the runtime of ZPGM_PARENT but changing the actual se38 code before hand.
Now based on the code sample you provided you are taking the child program name (pa_child_pgm) as a parameter of ZPGM_PARENT. How is pa_child_pgm populated, is it populated in a static variant or is there a 3rd program that populates that variable?
Also just to make sure the program name passed in pa_child_pgm already exists in se38 correct? As long as the child program name (no matter how many different programs there are) exists in se38 you can extend the program via any fashion mentioned in this thread so far to use the same memory variable names and then just make 1 change to ZPGM_PARENT to get the result set.
Geoffery