Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

Passing a COMBOBOX value from data manger to script logic

$
0
0

Hi Team,

 

The user will select a drop down from data manger package to pass a custom variable to script.

But the value is not passing to the script.

 

Drop down

PROMPT(COMBOBOX,%STATUS%,"Select Work Status:",0,,{LOCK,OPEN,SUBMIT,APPROVE})

 

Complete Data manger advance script

 

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

PROMPT(COMBOBOX,%STATUS%,"Select Work Status:",0,,{LOCK,OPEN,SUBMIT,APPROVE})

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

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

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

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

TASK(/CPMB/RUNCALCACCOUNT_LOGIC,LOGICFILENAME,SL_WORK_STAT_CHANGE.LGF)

 

The data manger package used the standard process chain  /CPMB/RUNCALCACCOUNT.

 

 

Script code (SL_STAT_CHANGE)

 

*START_BADI_STAT_CHANGE

 

QUERY = OFF

WRITE = OFF

 

ENTITY   = %ENTITY_SET%

CATEGORY = %CATEGORY_SET%

TIME = %TIME_SET%

STATUS = $STATUS$

*END_BADI

 

 

Though the package is successful its not giving the results as the STATUS value from the prompt is not passing to the script.

 

Data manger log

 

LOG BEGIN TIME:2014-02-28 15:00:31

USER:TEST                                                                                                                                               

APPSET:

APPLICATION

[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:ACCOUNT WILL QUERY ON ALL BASE MEMBERS.

[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:DATASRC WILL QUERY ON ALL BASE MEMBERS.

[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:FLOW WILL QUERY ON ALL BASE MEMBERS.

[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:GROUPS WILL QUERY ON ALL BASE MEMBERS.

[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:INTCO WILL QUERY ON ALL BASE MEMBERS.

[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:SBU WILL QUERY ON ALL BASE MEMBERS.

EXECUTION BADI:WORK_STATUS_CHANGE

QUERY: OFF

WRITE: OFF

ACTUAL

2400

  1. 2012.OCT

$STATUS$

BADI EXECUTION TIME IN TOTAL :301.62 ms.

 

Please help me on this.

 

Thanks,

Ranjan


Viewing all articles
Browse latest Browse all 5414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>