Skip to Content
0
Former Member
Nov 14, 2013 at 07:39 AM

Help on DM Selection

27 Views

Hi ,

Now I am with BPC 10 , sp 12 .

I created below DM package and script for copy one sales office to many sales office .

But below code is working only for copy one to one , but i want copy one sales office to many sales offices .

I searched all posts and unable to found answer for my requirement .

DM :

PROMPT(COPYMOVEINPUT,%S_SO%,%T_SO%,"Select the members to COPY and where to","SOFFICE")

INFO(%EQU%,=)

INFO(%TAB%,;)

INFO(%PREFIX%,@@@SAVE@@@@@@EXPAND@@@|X|)

INFO(%SUFFIX%,|)

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

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

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,MEMBERSELECTION,S_SO%EQU%%S_SO%%TAB%T_SO%EQU%%T_SO%)

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

Script :

*XDIM_MEMBERSET SOFFICE = $S_SO$,$T_SO$

*WHEN SOFFICE

*IS $S_SO$

*REC(FACTOR=1,SOFFICE=$T_SO$)

*ENDWHEN

*COMMIT

Please let me know any help on to copy many sales office at a time .

Thanks.

PSR.