Application Development and Automation 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: 
Read only

Submit syntax for dynamic selections for T-code FAGLL03

Former Member
0 Likes
877

Hi Experts,

My z report contains following fields in selction screen.

1 . G/ L account

2. Comapny code

3. posting date

4. Profit Center

5. layout

In my z report i used following syntax for passing selection screen values to standard program and getting data.

This is for T-code FAGLL03

SUBMIT FAGL_ACCOUNT_ITEMS_GL

WITH SD_SAKNR IN S_SAKNR

WITH SD_BUKRS IN S_BUKRS

WITH %%DYN001-LOW (Profit Center)

EXPORTING LIST TO MEMORY

AND RETURN.

The above syntax is not working for dynamic selection field ( Profit Center), entire Profit center data is fetching from standard program. I want to fetch profit center data based on my z report selection values .

Expect for profit center field , submit syntax is working.

kindly provide submit syntax for my above requirement .

Any suggestions from experts....

Edited by: PLP REDDY on Nov 25, 2009 8:59 AM

3 REPLIES 3
Read only

MarcinPciak
Active Contributor
0 Likes
636

Indeed it won't work. Instead of passing parameters one by one use

[SUIBMIT... WITH SELECTION-TABLE rspar|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm#!ABAP_ADDITION_3@3@]

Here you add one line per parameter (field KIND = 'P' ) and multiple lines per select options (field KIND = 'S' ). For the latter you need also provide SIGN and OPTIONS, i.e SIGN = 'I' , OPTIONS = 'EQ'

The lin I gave you will explain it more.

Regards

Marcin

Read only

former_member194669
Active Contributor
0 Likes
636

Check my reply in the below mentioned thread

or

try to use fm

CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'

a®

Read only

0 Likes
636

Hi,

I have the same requirement ,pls lemme know if u have solution for this.

Thanks in advance,

Dimple