cancel
Showing results for 
Search instead for 
Did you mean: 

Select Option in APD

Former Member
0 Kudos

Hi All,

I am trying to create select-option for selection screen for extraction of criteria data into application server. Can I create selection-screen through "ABAP Routine" in APD?

If not, so how we can create selection-screen for the same?

--

Regards

Anukul

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

All,

I am using Query as source in APD and the target is "Write Data To File". The user want the selection-screen at the time of download the data into application server.

I cannot use the hardcode / filter because they want it as a user entry. Can I do it through ABAP code?

Thanks

advait_rao
Explorer
0 Kudos

Hi,

One way I can think of is.

a.Create a table (or use TVARVC) which can store all selection options required by the User.

b.Create an ABAP report, which lets users enter the parameters and fill this table.

c.When you trigger the APD, an User Exit will read the table and fill the variable values based on User's Selection,

d.The output file will contain data required by the Users.

Alternatively, you can also considering triggering the APD in the same ABAP.

Regards,

Advait

Former Member
0 Kudos

APD is a process that runs as a job, in background you cannot set a selection screen and even you add a aselection screen in your abap program it wont appear.

The only way to select dinamically the values in an APD is add Custom Exits variables into query filters and make that this ABAP variables read data from a table and you can create an update screen for this table and the user can load the values into the table, and the run the APD.

Regards

Former Member
0 Kudos

Anukul,

Are you using the "Filter" object from the "Transformations" section? (Funnel icon)

Double click the filter. When you click the button in the "More" column, you will get select option dialog displayed.

If you are looking for something else, please clarify.

advait_rao
Explorer
0 Kudos

What is the source for your APD?. If the source is a BW Query, you can use Characteristics Restrictions (hardcoded or via User Exits) to selected required data.

Regards,

Advait