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

Load data from Bw into BPC using prompt in Dynamic script

Hi Experts,


I am trying to pass a variable using Prompt (for Entity Dimension) when loading data from BW into BPC.


we have used the standard SAP package "Load InfoProvider Selections" which calls the process chain /CPMB/LOAD_INFOPROV_UI.


I reviewed the previous posts but still have issues.


Any help would be appreciated.



Please see below for DM script.

PROMPT(TEXT,%ENTITY1%,"Select Entity",,)

INFO(%S1%,</LowValue><HighValue /></Attribute><Attribute><ID>%ENTITY1%</ID><Operator>3</Operator><LowValue>)

'ENTITY SELECTION

INFO(%TEMPNO1%,%INCREASENO%)

INFO(%ACTNO%,%INCREASENO%)

'DEFAULT THE INFO PROVIDER

TASK(/CPMB/INFOPROVIDER_CONVERT,OUTPUTNO,%TEMPNO1%)

TASK(/CPMB/INFOPROVIDER_CONVERT,ACT_FILE_NO,%ACTNO%)

TASK(/CPMB/INFOPROVIDER_CONVERT,TRANSFORMATIONFILEPATH,\ROOT\WEBFOLDERS\TESTAPP\B_TEST\DATAMANAGER\TRANSFORMATIONFILES\ZBPC_LOAD.XLS)

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

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

TASK(/CPMB/INFOPROVIDER_CONVERT,FILE,ZBPC_MAT)

TASK(/CPMB/INFOPROVIDER_CONVERT,INFOPROV_SELECTION,%S1%)

TASK(/CPMB/LOAD_IP,PREPROCESSMODE,0)

TASK(/CPMB/LOAD_IP,TARGETMODE,2)

TASK(/CPMB/LOAD_IP,INPUTNO,%TEMPNO1%)

TASK(/CPMB/LOAD_IP,ACT_FILE_NO,%ACTNO%)

TASK(/CPMB/LOAD_IP,RUNLOGIC,1)

TASK(/CPMB/LOAD_IP,CHECKLCK,1)

Regards

Sathish

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 27, 2016 at 10:54 AM

    Sorry but I have explained it number of times! Why not to use search?????

    For %SELECTION% you have to use FULL string

    Add a comment
    10|10000 characters needed characters exceeded

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.