cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Disabling selection in the Inforprovider /CPMB/LOAD_INFOPROV_UI

Former Member
0 Likes
260

Hi Experts,

I want to disable the selection of the inforprovider so that my users dont select it when running the Package.

I just want them to run the package without need of specifying infoprovider name.This is a standard /CPMB/LOAD_INFOPROV_UI logic.

I have put the logic below:


PROMPT(INFOPROVIDERSELECTION,%InforProvide%,%SELECTION%,"Please select the InfoProvider and set selection (InfoProvider list is restricted by both BW and BPC authority)",,)

PROMPT(TRANSFORMATION,%TRANSFORMATION%,"Transformation file:",,,Import.xls)

PROMPT(RADIOBUTTON,%TARGETMODE%,"Handling of records in target",0,{"Append","Overwrite records with match key","Replace data in same data region of Entity, Category, Time and Audit ID"},{"0","1","2"})

''PROMPT(RADIOBUTTON,%RUNLOGIC%,"Select whether to run default logic for stored values after importing",1,{"Yes","No"},{"1","0"})

''PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when importing data.",1,{"Yes, check for work status settings before importing","No, do not check work status settings"},{"1","0"})

INFO(%TEMPNO1%,%INCREASENO%)

INFO(%ACTNO%,%INCREASENO%)

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

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

TASK(/CPMB/INFOPROVIDER_CONVERT,TRANSFORMATIONFILEPATH,%TRANSFORMATION%)

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

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

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

TASK(/CPMB/INFOPROVIDER_CONVERT,FILE,%InforProvide%)

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

TASK(/CPMB/LOAD_IP,PREPROCESSMODE,0)

TASK(/CPMB/LOAD_IP,TARGETMODE,%TARGETMODE%)

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

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

TASK(/CPMB/LOAD_IP,RUNLOGIC,0)

TASK(/CPMB/LOAD_IP,CHECKLCK,1)

Always looking forward to your help

Regards

Lawrence

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186338
Active Contributor
0 Likes

If you want to allow users to make some selection on the infoprovider then you will have to allow infoprovider selection!

PROMPT(INFOPROVIDERSELECTION,%InforProvide%,%SELECTION%,...

Both are selected in the single prompt!

Vadim

Former Member
0 Likes

Hi Vadim,

Thanks for your response but ,i dont want to give them selection.I just want it to run without them inputting anything.

Regards

Lawrence

former_member186338
Active Contributor
0 Likes

Then - fix %SELECTION% text - it's xml. Easy!

Vadim

former_member186338
Active Contributor
0 Likes

Look on something like: