Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for the Microsoft platform
Viewing all articles
Browse latest Browse all 1545

Pass user to stored procedure in script logic

$
0
0

Hello,

 

I have a logic that executes a stored procedure. I need to pass the user as a parameter for the stored procedure.

 

The code in the modify script is:

PROMPT(SELECTINPUT,,,,"Entity,Category,Time")

TASK(Logic Task,USER,%USER%)

TASK(Logic Task,APPSET,%APPSET%)

TASK(Logic Task,APP,%APP%)

TASK(Logic Task,SELECTION,%SELECTIONFILE%)

TASK(Logic Task,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\MyLogic.LGF)

TASK(Logic Task,LOGICMODE,1)

 

The code in the script logic is :

*RUN_STORED_PROCEDURE=myStoredProcedure(0,N'%ENTITY_SET%',N'%CATEGORY_SET%',N'%TIME_SET%',USER)


Any idea please?


Thank you


Viewing all articles
Browse latest Browse all 1545

Trending Articles