2013 Jan 25 9:06 AM
Hi
I have Zprogram with dynamic selection screen like in FBL5N and next I want to transfer choosen values from it to FBL5N with SUBMIT procedure.
How to do it?
2013 Jan 25 9:25 AM
Reading f1 help of submit might help ( check the option "Free selections" )
For retrieving the dynamic screen values from your z program use function RS_REFRESH_FROM_DYNAMICAL_SEL. Then submit the standard one with free selection ( read f1 help or search in SCN ).
2013 Jan 25 9:21 AM
Hi,
The Approoach should be like
data: iSEL TYPE TABLE OF RSPARAMS.
data: xsel type rsparams.
submit FBL5N
via selection-screen
with selection-table isel
and return.
Ans based on your Selection screen values.
You'll have to fill the Seltab.
Like
xsel-SELNAME = 'BUDAT'.
xsel-KIND = 'S'.
xsel-SIGN = 'I'.
xsel-OPTION = 'EQ'.
xsel-LOW = sy-datum.
append xsel to isel.
Please try this and let us know.
Regards,
Amit
2013 Jan 25 9:25 AM
Reading f1 help of submit might help ( check the option "Free selections" )
For retrieving the dynamic screen values from your z program use function RS_REFRESH_FROM_DYNAMICAL_SEL. Then submit the standard one with free selection ( read f1 help or search in SCN ).
2013 Jan 25 10:28 AM
Thanx.
I found resolve in SUBMIT help.
I retrieve values FREE_SELECTIONS_INIT and next SUBMIT WITH FREE SELECTIONS.
2013 Jan 25 10:43 AM
Hi,
call the RFITEMAR is the report for tcode 'FBL5N'
SUBMIT RFITEMAR
WITH dd_kunnr-low = s_kunrg-low (Customer Account)
WITH dd_kunnr-high = s_kunrg-high
WITH dd_bukrs-low = s_bukrs-low (Company Code)
WITH dd_bukrs-low = s_bukrs-high
WITH x_norm = 'X' (normal Items)
AND RETURN.
Regards,
Gurunath Kumar D