Skip to Content
Dec 03, 2018 at 04:22 PM

Fetch/link records from table VBRK with a link to GLPCA into query


Hello everyone,

I would like to fetch records from table VBRK into an already existing SAP query.

The SAP query runs on an infoset that has been built on table GLPCA. I do not want to join the tables GLPCA and VBRK in my infoset as that then removes a lot of records which I need. I want to fetch records VBRK-KUNAG (Sold to Party) into my query with the link being GLPCA-REFDOCNR and VBRK-VBELN.

Can I do this? How would I write the code for this? Any advice would be much appreciated.