‎2011 Sep 17 7:28 PM
Hi folks,
Having a tough time with this one.
I have this submit statement:
SUBMIT rffmepgax
WITH s_fonds = s_fund-low
WITH s_fictr = s_fc-low
WITH s_hkont = '1410.0100'
THIS SECTION IS MESSED UP ---
WITH s_zhldt-low = s_fmdate-low
WITH s_zhldt-high = s_fmdate-high
WITH p_zhldt = '11/30/2010'
WITH s_zhldto-low = '11/30/2010'
WITH s_zhldt-low = '11/30/2010'
WITH s_zhldtc-low = '11/30/2010'
WITH s_zhldtf-low = '11/30/2010'
END OF MESSED UP SECTION ---
WITH p_per_fr = s_poper-low
WITH p_per_to = s_poper-high
WITH p_fyr_fr = s_year-low
WITH p_fyr_to = s_year-low
WITH s_fipex = '21T0'
WITH p_disvar = '/ZTRAVEL'
WITH p_maxsel = '19999'
WITH s_wrttp = '61'
WITH s_wrttp = '58'
AND RETURN
EXPORTING LIST TO MEMORY.
It works great, except that I can't get it to call by the FM_POSTING_DATE (ZHLDT). The t-code is FMRP_RFFMEP1AX. I need to be able to call the program by a fm posting date or fm posting date range criteria as well (those other criteria are working fine).
The problem is that there are 3 fm posting dates and they are buried in the dynamic selections (CO, FI, and commitment line items). The dynamic selections appears to call a different program entirely (RSSYSTDB maybe?).
I know this can be done, I just don't know the 3 field names for "FM POSTING DATE" that must be included to select the results for that posting date range. As you can see above, I included s_hkont above to include GL account selection, and that worked. But all three FM_POSTING_DATES need to be populated for FMRP_RFFMEP1AX to return results filtered by those dates or date ranges.
I need to know the name of the 3 FM POSTING DATES to include in the WITH criteria.
Thanks,
Kevin
‎2011 Sep 17 8:19 PM
Hi,
for logical databases, SAP recommends using SUBMIT ... WITH FREE SELECTIONS. For more information, please check the ABAP documentation.
Sandra
‎2011 Sep 17 8:19 PM
Hi,
for logical databases, SAP recommends using SUBMIT ... WITH FREE SELECTIONS. For more information, please check the ABAP documentation.
Sandra