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

Script Logic is not writting all records to the Database unless run Twice?

$
0
0

Hi,

 

The script below is used to take information at a detailed department level, and moves it to a summary department for each unit.  We are finding that we need to run for a "LIST" of business Units as shown below in the "When/Is" section where we have  "HSIDE","MANHA","CORPH" for example.  We've tried changing the memberset to use MAXMEMBERS = 25 to cut down the number of records being calculated at once, but to no avail... we need to break up the list of Business Units into groups of 5 or so.  This would always work for All Units when we were on MS version 7, now we are on MS version 10.

 

We've had similar issues with scripts that interapp our data from one model to another, and have found that we sometimes need to run the same script twice in order to have all records written.  Simply running it twice works, but we can't figure out why it appears to be running into some form of limit the first time around.

 

Any thoughts or ideas?

 

Thanks!

 

*INCLUDE CONSTANTS.LGF

 

*XDIM_MEMBERSET ENTITYST=<ALL>

 

     *XDIM_MEMBERSET Time=varBudYear.Inp

     *XDIM_MEMBERSET Category=BUDGET

     *XDIM_MEMBERSET ActionPlan=<ALL>

     *XDIM_MEMBERSET DataSrcSt=INPUT_BASE_D,INPUT_BASE

     *XDIM_MEMBERSET JobCode=<ALL>

     *XDIM_MEMBERSET AccountSt=FICA_TEMP

     *XDIM_MEMBERSET WEEKS=<ALL>

 

//*WHEN ENTITYST.GROUP

  //*IS="HOSP"

 

*WHEN ENTITYST.BU_ID

*IS="HSIDE","MANHA","CORPH"

 

  *WHEN *

    *IS *

 

      // take it from dept, temp fica, put it in Corp Ret, FICA

      *REC(FACTOR=1,ENTITYST=ENTITYST.FICATARGET,ACCOUNTST="Dollars_Fica")

 

  *ENDWHEN

  *ENDWHEN

 

*COMMIT


Viewing all articles
Browse latest Browse all 1545

Trending Articles