Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FAGLL03 : Submit syntax for dynamic selections

Former Member
0 Kudos

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

7 REPLIES 7

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

Hi experts,

Any suggestions for above requirement.

kindly provide sample code ..

thanks & regards,

Hari priya

0 Kudos

Hi experts,

Any suggestions for above requirement.

kindly provide sample code ..

thanks & regards,

Hari priya

0 Kudos

Hi ,

I have similar requirement,did u find any solutions for this.

Thanks in advance.

Former Member
0 Kudos

solved by myself

0 Kudos

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