report : invoice list
In my function specs
1) pass vbeln to vbpa, partner role = 'WE' & 'RG' and get the ship-to-party and payer (kunnr) from vbpa table for each billing document from the first line item of the invoice. if ship-to-party code is entered in selection screen the retain records where ship to party = ship to party in selection screen.
2) if radio button is :
"invoice list is generated " then
check if invoice list is generated by passing vbeln to vbrl table where vbeln=vbrl-vbelen_vf.
retain records which are not found in vbrl table.
i already declared radio button i want coding for the above two points.