‎2009 Aug 24 11:52 AM
Hi Experts,
My z report contains following fields in selction screen.
1 . G/ L account
2. Comapny code
3. posting date
4. document type
5. layout
In my z report i used following syntax for passing selection screen values to standard program and getting data.
SUBMIT FAGL_ACCOUNT_ITEMS_GL
WITH SD_SAKNR IN S_SAKNR
WITH SD_BUKRS IN S_BUKRS
WITH X_OPSEL EQ ' '
WITH X_CLSEL EQ ' '
WITH X_AISEL EQ 'X'
WITH SO_BUDAT IN S_BUDAT
WITH PA_VARI EQ P_VAR
EXPORTING LIST TO MEMORY
AND RETURN.
The above syntax is not working for dynamic selection field ( document type ), entire document types data is fetching from standard program. I want to fetch document type data based on my z report selection values for document type field.
Expect for document type field , submit syntax is working.
kindly provide submit syntax for my above requirement .
Any suggestions from experts....
thanks & regards,
Hari priya
Edited by: Hari Priya on Aug 24, 2009 4:33 PM
‎2009 Aug 24 12:14 PM
Hi,
Try like this.
call function 'RS_REFRESH_FROM_SELECTOPTIONS'
exporting
curr_report = 'FAGL_ACCOUNT_ITEMS_GL'
tables
selection_table = i_sel[].
Fill your profit center values in i_sel
Submit FAGL_ACCOUNT_ITEMS_GL with selection-table i_sel and return
WITH FREE SELECTIONS TEXPR AND RETURN
Regards,
Shamma
‎2009 Aug 25 5:45 AM
hi shamma,
I tried above logic , it is not working.
Any suggestions on how to pass document type values from my Z REPORT SELECTION SCREEN TO standard report by using submit as this is dynamic selections.
thanks & regards,
Hari priya
‎2009 Aug 28 6:46 AM
Hi experts,
Any suggestions for above requirement.
kindly provide sample code ..
thanks & regards,
Hari priya
‎2009 Aug 28 6:47 AM
Hi experts,
Any suggestions for above requirement.
kindly provide sample code ..
thanks & regards,
Hari priya
‎2010 Apr 08 4:17 PM
Hi ,
I have similar requirement,did u find any solutions for this.
Thanks in advance.
‎2011 Aug 04 6:43 AM
‎2011 Dec 20 8:15 AM
Hi Haripriya,
could you please let us know how did you solved the issue ?. I have a similar requirement to pass the the Profit center and WBS element to the dynamic selection of FAGLL03.
Regards
Kishore