3) check billing document field (BSEG-VBELN). When you find the billing document number (VBELN), you'll find the corresponding VKORG, etc. in table VBRK. RFPOS is a structure that might be used for both customers and vendors, so I think that KONTO = KUNNR when you are looking ...