Application Development 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: 

Change field value of vaiant in dynamic selection screen

suresh_kumar53
Participant
0 Kudos
384

Hello All,

I need to set selction value dynamically for dynamic selction screen.

In brief, I need to call QM11 transaction from my custom transaction based on the order where I double clicked. This order number needs to be populated in Reference object general -> reference number -> reference number select options. In order to go to this path, click on Dynamic selections (third button in menu bar)(Shift +F4) -> Expand reference object general -> double click reference number. Here you can see reference number selctions. This needs to be populated automatically. Please suggest me how we can do this?

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
133

You could try something like

SUBMIT rqmell10

  USING SELECTION-SET variant " defaut variant

  WITH qmdat IN so_qmdat " some standard report/LDB parameters

  WITH FREE SELECTIONS texpr. " free selection

To build the free selection parameter use FM FREE_SELECTIONS_RANGE_2_EX.

Regards,

Raymond

2 REPLIES 2

raymond_giuseppi
Active Contributor
134

You could try something like

SUBMIT rqmell10

  USING SELECTION-SET variant " defaut variant

  WITH qmdat IN so_qmdat " some standard report/LDB parameters

  WITH FREE SELECTIONS texpr. " free selection

To build the free selection parameter use FM FREE_SELECTIONS_RANGE_2_EX.

Regards,

Raymond

suresh_kumar53
Participant
0 Kudos
133

Hello Raymond, It is working. Thank you.