How is the second program getting submitted, is it a schedule program or the first program is submitting it.
provide more details.
first program submitting the second program.
first program is pl/sql package, second program is submitting from package.
I am not sure, but have a look at fnd_global.conc_request_id
wouldn't it be applsys.fnd_concurrent_requests.parent_request_id?
When you submit the parent program and when the Child program is called from this Parent, automatically, parent request Id will be populated for Child Concurrent Program automatically
Please find the below screenshot for reference.
Also, you can find the same in 'parent_request_id' column of FND_CONCURRENT_REQUESTS table.
Please let me know if my understanding is correct.