Skip to Content
Former Member
May 18, 2015 at 10:50 AM

Setting %SELECTION% in DM


Hello Experts,

I have an issue where I need some help.

We got a DM package which works pretty well using PROMPT. The new requirement is to replace the PROMPTS with fix values. So far so good. This DM package will call a script logic which calls itself a BADI.

The Syntax of the DM package PROMPT is like:

PROMPT(SELECT,%SELECTION%,,"Please enter the hierarchy for the new position","POSITIONS")

This PROMPT works pretty well, as already mentioned, and during debugging we get, after entering TOTPOSITIONS as hierarchy element, a string like:


Now, I want to set the %SELECTION% variable with a fix value like DIMENSION:POSITIONS|TOTPOSITIONS using an INFO instruction. I tried to achieve this in the following way:


Unfortunately it does not work, the %SELECTION% is not passed to the BADI. Does anybody of you guys know how to set the %SELECTION% variable to a certain dimension member?

TY in advance,