{"id":22,"date":"2010-07-20T17:17:00","date_gmt":"2010-07-20T17:17:00","guid":{"rendered":"http:\/\/www.sapbpc.sapag.co.in\/?p=22"},"modified":"2010-07-20T17:17:00","modified_gmt":"2010-07-20T17:17:00","slug":"bobj-planning-and-consolidations-netweaver","status":"publish","type":"post","link":"https:\/\/www.sapbpc.sapag.co.in\/?p=22","title":{"rendered":"BOBJ Planning and Consolidations, Netweaver"},"content":{"rendered":"<p align=\"justify\">BusinessObjects Planning and Consolidation, version of Netweaver (formally known as Business Planning and Consolidation, version for Netweaver) has the ability to incorporate Script Logic to perform calculations and customize functionality.&nbsp; In this blog series, I will attempt to provide guidance surrounding the use of key words for BPCNW Script Logic. <\/p>\n<p align=\"justify\">Basics: <\/p>\n<p align=\"justify\">Script logic can be called from two locations from within BPCNW: <\/p>\n<p align=\"justify\">Default Logic \u2013 <\/p>\n<p align=\"justify\">A \u201cdefault logic\u201d file is automatically defined within every BPC application.&nbsp; Upon the creation of new records, such through the action of a BPC input schedule, this default logic is automatically executed.&nbsp; The default logic is executed specifically against all of the newly created records.&nbsp; In other words, the \u201cscope\u201d of default logic initially consists of all new records created\/modified by the input schedule. <\/p>\n<p align=\"justify\">In some cases, the scope of the default logic may need to include additional member values not contained in the original scope.&nbsp; For example, you might enter Quantity on an input schedule, but you may need to calculate TotalCost by finding UnitCost and multiplying that value by the manually input for Quantity.&nbsp; In this scenario, the scope initially defined by the newly created records and need to be expanded to include TotalCost and UnitCost.&nbsp;&nbsp; <\/p>\n<p align=\"justify\">Controlling scope <\/p>\n<p align=\"justify\">There are several key words included in BPC70NW Script Logic that directly control scope: <\/p>\n<p align=\"justify\">*XDIM_MEMBER <\/p>\n<p align=\"justify\">*XDIM_MEMBERSET <br \/>*XDIM_ADDMEMBERSET<\/p>\n<p align=\"justify\">*XDIM_MEMBER {Dimension name} = {Members Set} <\/p>\n<p align=\"justify\">As of BPCNW, SP01 my observations are that this command has the same functionality as *XDIM_MEMBERSET <\/p>\n<p align=\"justify\">*XDIM_MEMBERSET {Dimension name} = {Members Set} <\/p>\n<p align=\"justify\">This command allows the definition of the specific member values to be included in the execution of the subsequent script commands.&nbsp; There are several potential useful formats:  <\/p>\n<p align=\"justify\">Example 1 <\/p>\n<p align=\"justify\">*XDIM_MEMBERSET TIME = 2007.JAN&nbsp;&nbsp; <\/p>\n<p align=\"justify\">This statement restricts the execution of any subsequent logic to only the one time member, 2007.JAN. <\/p>\n<p align=\"justify\">Example 2 <\/p>\n<p align=\"justify\">*XDIM_MEMBERSET TIME = 2007.JAN, 2007.FEB, 2007.MAR&nbsp;&nbsp; <\/p>\n<p align=\"justify\">This statement restricts the execution of any subsequent logic to a predefined selection of time members: 2007.JAN, 2007.FEB, and 2007.MAR <\/p>\n<p align=\"justify\">Example 3 <\/p>\n<p align=\"justify\">*XDIM_MEMBERSET TIME = 2007.JAN to 2007.MAR&nbsp;&nbsp; <\/p>\n<p align=\"justify\">This statement restricts the execution of any subsequent logic to a predefined selection of time members: 2007.JAN, 2007.FEB, and 2007.MAR using the \u201cto\u201d qualifier. <\/p>\n<p align=\"justify\">Example 4 <\/p>\n<p align=\"justify\">*XDIM_MEMBERSET TIME = BAS(2007.TOTAL) <\/p>\n<p align=\"justify\">This statement restricts the execution of any subsequent logic to the twelve base member children associated with parent node 2007.TOTAL.&nbsp; <\/p>\n<p align=\"justify\">Example 5 <\/p>\n<p align=\"justify\">*XDIM_MEMBERSET TIME = DEP(2007.Q3) <\/p>\n<p align=\"justify\">This statement restricts the execution of any subsequent logic to the three member children associated with parent node 2007.Q3.&nbsp; In this case scope would be restricted to 2007.JUL, 2007.AUG, and 2007.SEP.&nbsp; <\/p>\n<p align=\"justify\">Example 6 <\/p>\n<p align=\"justify\">*XDIM_MEMBERSET TIME = ALL(2007.TOTAL) <\/p>\n<p align=\"justify\">This statement restricts the execution of any subsequent logic to all parent as well as base member children associated with the parent node 2007.TOTAL.&nbsp; In this case scope would be restricted to 2007.JAN, 2007.FEB, 2007.MAR, 2007.APR, 2007.MAY, 2007.JUN, 2007.JUL, 2007.AUG, 2007.SEP, 2007.OCT, 2007.NOV, 2007.DEC, as well as including 2007.Q1, 2007.Q2, 2007.Q3, 2007.Q4, and 2007.TOTAL.  <\/p>\n<p align=\"justify\">Example 7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/p>\n<p align=\"justify\">*XDIM_MEMBERSET TIME = %VARIABLE% <\/p>\n<p align=\"justify\">This statement restricts the execution of any subsequent logic to all member included in the variable set \u201c%VARIABLE%.&nbsp; This variable set can be populated using the SELECT statement, to be discussed in more detail in a future blog. <\/p>\n<p align=\"justify\">=================================================================================== <\/p>\n<p align=\"justify\">*XDIM_ADDMEMBERSET {Dimension name} = {Members Set} <\/p>\n<p align=\"justify\">With the keyword XDIM_ADDMEMBERSET, the logic can merge a specific set of members withthe members passed in the region for which the logic should be executed. This instruction issimilar to the instruction *XDIM_MEMBERSET. The difference is that, while XDIM_MEMBERSETredefines the region passed by the user, XDIM_ADDMEMBERSET adds the defined set to thepassed region.&nbsp; <\/p>\n<p align=\"justify\">Example 8 <\/p>\n<p align=\"justify\">*XDIM_MEMBERSET TIME = 2007.JAN <\/p>\n<p align=\"justify\">*XDIM_ADDMEMBERSET TIME = 2006.JAN <\/p>\n<p align=\"justify\">The first line restricts the execution to 2007.JAN.&nbsp; The second line adds to the defined scope, namely 2007.JAN, the additional value 2006.JAN.&nbsp; Scope is now defined as 2007.JAN and 2006.JAN. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>BusinessObjects Planning and Consolidation, version of Netweaver (formally known as Business Planning and Consolidation, version for Netweaver) has the ability to incorporate Script Logic to perform calculations and customize functionality.&nbsp; In this blog series, I will attempt to provide guidance &hellip; <a href=\"https:\/\/www.sapbpc.sapag.co.in\/?p=22\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-22","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.sapbpc.sapag.co.in\/index.php?rest_route=\/wp\/v2\/posts\/22","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sapbpc.sapag.co.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sapbpc.sapag.co.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sapbpc.sapag.co.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sapbpc.sapag.co.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=22"}],"version-history":[{"count":0,"href":"https:\/\/www.sapbpc.sapag.co.in\/index.php?rest_route=\/wp\/v2\/posts\/22\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sapbpc.sapag.co.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sapbpc.sapag.co.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sapbpc.sapag.co.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}