Question: Oracle Apex 5.1, once click the button it will open new window its possible?, any one please provide the sample code

Answer: 
Use the below code

javascript:window.open('f?p=&APP\_ID.:1:&SESSION.:::1:P1\_ID:'+$v("P844\_ID")+','\_blank');
```
javascript:window.open('f?p=&APP_ID.:3002:&SESSION.:::3002:P3002_CPY_ID,P3002_RPM_ID,P3002_ACM_ID,    P3002_FORMAT,P3002_REPORT_PAGE_NO:'+$v("P1977_CPY_ID")+','+$v("P1977_RPM_ID")+','+$v("P1977_ACM_ID")+',VIEW,1977','_blank');

```

Use the above code 
Click the button and create the dynamic action and select Execute Js and paste the query.. pass the parameter and page no everything.. then try