Skip to Content
author's profile photo Former Member
Former Member

Multiple Prompt for single Dimension in Data manager Package

Hi,

I would like to create multiple prompts for single dimension in data manager package.

Idea behind this is :

1st : SELECTINPUT for all dimensions which is used to retrieve records from database and send it as input to BADI.

2nd : SELECTINPUT for some dimensions which is used to retrieve matching data inside the BADI.

3rd : SELECTINPUT for some dimensions which is to create output record.

Because I would like to make it is user friendly. User may plan at certain scenario and actual data may be in some scenario and expect output in different scenario.

If i create 2nd and 3rd as TEXT it is working fine. But user have to type all the members manually that make no sense. So I have to create it as SELECTINPUT.

Please help me.

Thanks in advance,

Suresh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 17, 2012 at 09:11 AM

    Hi Suresh,

    If you look at the syntax of the PROMPT statement in the advanced script of the DM package, it looks something like:

    PROMPT(SELECTINPUT,,,,"%DIMS")

    Actually, the second parameter of the statement is a variable which stores the selected members. The default value is %SELECTION%. You can mention your own variable name something like:

    PROMPT(SELECTINPUT,%VAR%,,,"%ENTITYDIM")

    And use this variable in your logic.

    Hope this helps.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Still I got the same problem. Here is my updated script.

      PROMPT(SELECTINPUT,,,,"%ENTITY_DIM%,%ACCOUNT_DIM%,%CATEGORY_DIM%,%TIME_DIM%")

      //PROMPT(TEXT,%IPLAN%,"Enter Account :")

      PROMPT(SELECTINPUT,%IPLAN%,,,"%ACCOUNT_DIM%")

      INFO(%EQU%,=)

      INFO(%TAB%,:)

      TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,EQU,%EQU%)

      TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,TAB,%TAB%)

      TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SUSER,%USER%)

      TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%)

      TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%)

      TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SELECTION,%SELECTION%)

      TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,ENTITY_DISTRIBUTION.LGF)

      //TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,REPLACEPARAM,IPLAN%EQU%%IPLAN%)

      My doubt is, If it get works how should I get the values in my IPLAN variable. Please advice for that too.

      Thanks,

      Suresh

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.