SuccessFactors CMP

Compensation & Variable Pay Blog Posts

Meet us at NRF in NYC from 10 to 14th January 2025

🎉 To kick off the year in style, Booxi – Appointment Scheduling Software will have its very own booth at NRF!!!  We’re excited to showcase our platform to SAP retail clients and connect with American customers and partners! To celebrate, we’re hosting an afterwork event on Saturday evening, and everyone is welcome to join. 👉 …

Meet us at NRF in NYC from 10 to 14th January 2025 Read More »

Join tables vbak and konv

I have a problem concerning joining vbak and  konv. I want the contents to be in the same table at the output, but it does not seem to work. I cannot use the easy way of using JOIN, as KONV is  a special table. Any help ? TYPES: BEGIN OF ty_vbak,         vkorg TYPE vbak–vkorg,         vbeln TYPE vbak–vbeln,         erdat TYPE vbak–erdat,         knumv TYPE vbak–knumv,         vtweg TYPE vbak–vtweg,         kalsm TYPE vbak–kalsm,       END OF ty_vbak. TYPES: BEGIN OF ty_konv,         knumv TYPE konv–knumv,         kposn TYPE konv–kposn,         stunr TYPE konv–stunr,         kschl TYPE konv–kschl,         kdatu TYPE konv–kdatu,         kherk TYPE konv–kherk,         kinak TYPE konv–kinak,       END OF ty_konv. TYPES: BEGIN OF ty_tab,         vkorg TYPE vbak–vkorg,         vbeln TYPE vbak–vbeln,         erdat TYPE vbak–erdat,         vtweg TYPE vbak–vtweg,         kalsm TYPE vbak–kalsm,         knumv TYPE vbak–knumv,         kposn TYPE konv–kposn,         stunr TYPE konv–stunr,         kschl TYPE konv–kschl,         kdatu TYPE konv–kdatu,         kherk TYPE konv–kherk,         kinak TYPE konv–kinak,       END OF ty_tab. DATA: it_vbak  TYPE TABLE OF ty_vbak,      it_vbak2 TYPE TABLE OF ty_vbak,      it_konv  TYPE TABLE OF ty_konv,      it_tab   TYPE TABLE OF ty_tab,      wa_tab   TYPE ty_tab,      wa_konv  TYPE ty_konv. SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE TEXT–001.SELECT-OPTIONS: s_date FOR vbak–erdat,                s_vkorg FOR vbak–vkorg NO INTERVALS,                s_vtweg FOR vbak–vtweg NO INTERVALS,                s_vbeln FOR vbak–vbeln NO INTERVALS.SELECTION-SCREEN END OF BLOCK b1. SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE TEXT–002.SELECT-OPTIONS:            s_kposn FOR konv–kposn NO INTERVALS,            s_stunr FOR konv–stunr NO INTERVALS,            s_kschl FOR konv–kschl NO INTERVALS,            s_kherk   FOR konv–kherk NO INTERVALS,            s_kinak   FOR konv–kinak NO INTERVALS,            s_kdatu FOR konv–kdatu.SELECTION-SCREEN END OF BLOCK b2. START-OF-SELECTION.   SELECT knumv    FROM vbak    INTO TABLE @DATA(it_knumv)      WHERE erdat IN @s_date AND            vkorg IN @s_vkorg AND            vtweg IN @s_vtweg AND            vbeln IN @s_vbeln      ORDER BY kalsm ASCENDING. …

Join tables vbak and konv Read More »

AGGREGATION ON CDS VIEW and Filtering data with where clause issue

Hi, We have following case where in we have internal table data say ITAB (fields: matnr, werks) from previous CDS and lgort (Storage loc.) on selection screen Now, Need to get SUM of stock (MARD-LABST) at matnr level. meaning fetch from MARD based on ITAB matnr, werks, selection screen lgort and then SUM LAST as …

AGGREGATION ON CDS VIEW and Filtering data with where clause issue Read More »

Scroll to Top