2009 Aug 07 1:22 PM
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?
2009 Aug 07 1:42 PM
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
2009 Aug 10 9:28 AM
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?
2009 Aug 10 9:41 AM
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