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

problem with submit report for transaction LT23

Former Member
0 Likes
877

Hi,

I want to submit report for transaction LT23 based on the double click on a field in the output of my report. I am using selection table to pass values. The problem is I have something called dynamic selections. I am using some selection fields from the dynamic selection option. Can anyone tell me how do I pass the values in such a case?

Hi,

I want to submit report for transaction LT23 based on the double click on a field in the output of my report. I am using selection table to pass values. The problem is I have something called dynamic selections. I am using some selection fields from the dynamic selection option. Can anyone tell me how do I pass the values in such a case?

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
736

In your [submit|http://help.sap.com/abapdocu/en/ABAPSUBMIT.htm] statement in the [selection screen parameters|http://help.sap.com/abapdocu/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm] use the [WITH FREE SELECTIONS|http://help.sap.com/abapdocu/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm#!ABAP_ADDITION_5@5@] option to pass dynamic selections

NB: Use FREE_SELECTIONS_RANGE_2_EX to build the correct parameter texpr.

Regards

Raymond

Read only

0 Likes
736

Hi, thanks for quick answer. I tried your solution, but i wonder how the program understands which transfer order items(LTAP-TAPOS) belong to which transfer order(LTAP-TAPOS). I have more than one transfer orders and i have to fill selection table and free selection table in a loop. There is one submit statement out of the loop. In LT23, LTAP-TANUM is a static field, LTAP-TAPOS is dynamic. If I apply your solution to my code, the program will work correctly?

Read only

0 Likes
736

Both criteria will be used, but this is a standard selection-screen/open sql, every field is checked separately, you will get every records which have a value of TAPOS in the list of TAPOS and a value of TANUM in the list of TANUM.

You wont be able to perform a more precise selection than in the original transaction.

Regards,

Raymond