09-03-2020 7:06 PM
Hi Experts,
I have a requirement to call program FAGL_ACCOUNT_BALANCE (tcode FAGLB03) from my custom program.
I have tried using WITH FREE SELECTION in my submit statement, but the Documentation of this says that, only programs associated with a LDB can be called using WITH FREE SELECTION statement.
Since the program FAGL_ACCOUNT_BALANCE does not have LDB assigned the above statement does not work.
I have looked into the threads of similar kind but couldn't find.
Please help me to solve this.
Thanks in advance.
09-03-2020 7:23 PM
Hi Akash,
Have you tried "WITH SELECTION-TABLE rspar" parameter of SUBMIT, You may want to check program DEMO_PROGRAM_SUBMIT_SEL_SCREEN.
09-03-2020 8:01 PM
How much dynamic is it? If you always call the same program, you may pass the parameters using SUBMIT ... WITH param1 = value1 selopt1 IN itab_range1[] ... AND RETURN. Otherwise see Kartik answer (WITH SELECTION-TABLE).