Promotion planning level change from product to product  category.

Hi
About the promotion planning level, currently we use product level which means we adds individual products and assign money to there.
But we are thinkin of changing this to product category level planning.
Could anyone please teach me some good references or links or how to do it in step by step?
It seems we need to do a lot of work to change the level of planning, but hopefully it might be not too difficult?
If you know the solution, could you point me some directions?
Thanks.

Looking at all that code, I can suggest one way of debugging the issue(Its a bit hard to guess what went in this case,particularly when the problem could be at so many places).
1. Run your PLSQL as an anonymous block and check if the generated XML structure is what you expect.
2. Check Firebug Console (if you have it) if an ajax request is send when the item is changed.
3. Print out the return XML as a string on the screen so that you can make sure it what you wanted(use alert function or append to some page element)
4. Now try your XML parser JS section starting with the obtained XML as a static variable, trying printing out the parsed out values at different stages
5. Setting the page items shouldn't be much of a trouble if everything else worked fine.
Some Observations: If you are on Apex 4.0 wouldn't a Dynamic Action save you all this trouble (Two SetValue processes). Even otherwise you seem to be fetching two id's from the Ondemand process..Can't you just concatenate them with some separator and send that as the result stream(htp.p), handling them in JS would be simple using the split function. If the data is more complex you could return it as a JSON string and parse it with fewer lines of code.
Found a problem with the code :
get.add('PRODUCT_ID',pValue)Do you have a page item by that name(PRODUCT_ID) ? else change it to
get.add('P4_PRODUCT_ID',pValue)and change the following in ur PLSQL process code
PRODUCT_ID = TO_NUMBER (v ('PRODUCT_ID'));to
PRODUCT_ID = TO_NUMBER (v ('P4_PRODUCT_ID'));But as I said earlier, Debugging it step by step might be easier.

Similar Messages

  • Planning strategy change from 52 to 20

    dear all,
    my client wants to change the planning strategy from 52 to 20, if we change the strategy what are all implications it will affect,kindly explain what are the things we have to check in PP,QM,MM and FICO modules
    it will be very helpful if it has explained by individual modules
    regards
    thyagarajan
    Message was edited by:
            thyagarajan krishnamurthy

    Changing from 52 to 20
    following effcets
    See that all the PIR's are consumed before switch over.
    Do you have any part of BOM items specific to sales order, if so need to be carefull about the consumption...may have to plan sme stock before switch over as in 20 and 52, the important difference is procurement before and after.
    Usually in 20 VPRS condition type is anabled for costing if the product.
    Mainly need to plan for sub assembly and component well in advance as change will definetely effect the procurement cycle and may end up with shoratge.

  • Planning calender change from 12 months to 13 months.

    Hi Experts,
    Can anybody suggest me how to change the planning from 12 months plan to 13 months plan,the is presently we are running MRP Every month 1st the is once in a month..
    But the requirement is we want to change the plan as below format.
    month 1 :  1st to 29th
    month 2:   30th to 27th
    month 3:   28th to 24th
    month 4:   25th to 22nd
    month 5:   23rd to 19th
    month 6:   20th to 16th
    month 7:   17th to 14th
    month 8:   15th to 11th
    month 9:    12th to 9th
    month 10:  10th to6th
    month 11:  7th to 3rd
    month 12:  4th to 3rd
    month 13:  4th to 31st
    so can anybody suggest what changes can be done?
    Thanks and Regards
    Bhargavi Desai

    Hello,
    You can't create a 13 months year on SAP for your business process, but you have an option to achieve this goal.
    You can use a time-phased MRP with a Planning Cycle with 13 periods in the year.
    But if your requirement is just run the MRP 13 times every year simply create 13 jobs in MDBT.
    Regards,
    Daniel

  • KF defaulting to multiple sources, both defined at more granular planning levels

    Hello Experts,
    I hope this will be an easy one for you Personally, I have been trying to figuring out how to overcome this issue and I must admit that I am short of solution.
    So here is the situation:
    I have two sets of data for my actual sales :
    - First one is loaded at planning level @ Period | Product | National Group | Point of Sales(POS)
    - The other is loaded @ Period | Product | National Group | Ship-To Party
    To get a valid portrait of my actual sales, I must compare these two sets of data at a common planning level (i.e. @ Period | Product | National Group).
    Then, the adjusted result must be "re"disaggregated @ Period | Product | National Group | Point of Sales, the base planning level used to forecast. 
    Based on what I could understand from SAP2 model, I created the following key figures:
    ActualsQtyPOS : Stored at base planning level @PERPRODNATPOS and calculated @PERPRODNAT. Here are the 2 calculation definitions I used:
    ActualsQtyPOS@REQUEST = SUM ("ActualsQtyPOS@ERPRODNATPOS")
    ActualsQtyPOS@PERPRODNAT = SUM ("ActualsQtyPOS@ERPRODNATPOS")
    ActualsQtyShipTo : Stored at base planning level @PERPRODNATSHIPTO and calculated @PERPRODNAT. Defined with this calculation:
    ActualsQtyShipTo@REQUEST = SUM ("ActualsQtyShipTo@PERPRODNATPOS")
    ActualsQtyShipTo@PERPRODNAT = SUM ("ActualsQtyShipTo@PERPRODNATPOS")
    AdjustedActualsQty : Created at base planning level @PERPRODNAT. This KF must be stored and editable. The value must be defaulted to ActualsQtyPOS@PERPRODNAT, unless no data exist (then, default to ActualsQtyShipTo@PERPRODNAT).
    AdjustedActualsQty@REQUEST=SUM ("AdjustedActualsQty@PERPRODNAT")
    AdjustedActualsQty@PERPRODNAT=IF(ISNULL("AdjustedActualsQty@PERPRODNAT"),IF(ISNULL("ActualsQtyPOS@PERPRODNAT"),"ActualsQtyShipTo@PERPRODNAT","ActualsQtyPOS@PERPRODNAT"),"AdjustedActualsQty@PERPRODNAT").
    My issue : I tried several (and I mean several!) configuration possibilities. So far, the best result that I got was to default the good value in AdjustedActualsQty based on the calculation rule above. But my core problem persists: I am not able to edit manually the defaulting value and save the new value in the database.
    Based on my comprehension, the problem would be related to ActualsQtyPOS and ActualsQtyShipTo Key Figures. Both are stored at a more granular planning level, and then calculated @PERPRODNAT level. In addition to storing them at their base planning level, would it be possible to store the aggregated results at a higher level (@PERPRODNAT)? This way, I would be able to use them as stored input in AdjustedActualsQty@PERPRODNAT calculation and duplicate the AdjustedActualsQty KF used in SAP2.
    Any help would be greatly appreciate.
    (I tried to summarize the best I can, don't hesitate if you need more details on some points.)
    Best regards

    Hi Philippe
    you dont  need access to HANA, it is pure config
    Go to Configuration -> Miscellanious --> Manage Planning Operator
    If not existing yet, create a new type by clicking on teh white "sheet" symbole "create new" on the right side.
    In the popup enter the EXACT name COPY (not more than one possible):
    Provide info for "Add Job Procedure" and "Schedule Procedure":
    Add Job Procedure = "SAP_SFND"."sap.sop.sopfnd.catalogue::SOPAPI_OPERATOR_SCHEDULER_JOB_ADD"
    Schedule Procedure = "SAP_SFND"."sap.sop.sopfnd.catalogue::SOPAPI_EXECUTE_SCHEDULER_COPY_JOB"
    Than add you operator lines by clicking on the plus symbol
    with the following parameter:
    DURATION
    PERIOD_OFFSET
    SOURCE_KFID1
    SOURCE_KFID2
    DURATION: e.g. 24 if you want to copy 24 months
    PERIOD_OFFSET: e.g. 0 when you want to copy starting current months, or -1 if you want to start previous months
    SOURCE_KFID1: starting keyfigure FROM which you copy. MUST NOT have any UoM or currency conversion
    TARGET_KFID1: your target keyfigure. UoM or currency conversion in here is allowed
    You could have SOURCE_KFID2 and TARGET_KFID2 as well. And you can have more than just one line.
    Flag the batch and filter mode flags, but not interactive (not supported yet)
    Provide a useful DESCRIPTION as that is seen by the users
    Make sure that not too many users get the authoriozation for it as if you execute that withiout a filter accidentially it does not only change all values, but if you run more than one at a time that migt get to conflicts. Like normal batch jobs: You usually give admins or power users access
    It copies on the very lowest possible level. You cannot tell the system as in APO-DP to copy on an aggregated level. PLus, source and target kf must have the same planning level. So you may copy from a calculated kf that does the calculation on the level of the target kf
    Dont have any docu, sorry. Hope that helps
    Yours
    Irmi

  • What is the significance of having a compound master data in the planning levels?

    In "SAP2" model there is PERPRODCUST as a planning level.
    This planning level has PERIOD, PRODUCT, CUSTOMER and PRODUCT-CUSTOMER master data as part of the planning level.
    Wouldn't PERIOD, PRODUCT, CUSTOMER be sufficient? Why is the compound master data required to be added to this planning level.
    Could someone clarify this for me.
    Thank you.

    I'll attempt:
    It depends on if you want to surface the result/value of the compound master data type on the key figures in your planning level.  If you do then you'll need to include it in the planning level.
    If the question is why would I want a compound master data type, then my attempt at that answer is as follows:
    From my understanding, the idea of a compound key figure is that you are able to derive an attribute or attributes that are related to, in this case, two master data types - all without having to 'store' that attribute on the transactional record.
    Here is a simplistic example:
    Master data on PRODUCT (where PRODID is the key)
    PRODID,PRODDESCR,PRODSIZE
    P1,Widget A,Big
    P2,Widget B,Big
    P3,Widget C,Small
    P4,Widget D,Small
    Master data on CUSTOMER (where CUSTID is the key)
    CUSTID,CUSTDESCR,CUSTREGION
    C1,Store A,West
    C2,Store B,West
    C3,Store C,East
    C4,Store D,East
    Master data on compound MDT PRODUCT-CUSTOMER (where PRODID and CUSTID are the key)
    PRODID,CUSTID,SALESREGION
    P1,C1,BIG_WEST
    P1,C2,BIG_WEST
    P1,C3,BIG_EAST
    P1,C4,BIG_EAST
    P2,C1,BIG_WEST
    P2,C2,BIG_WEST
    P2,C3,BIG_EAST
    P2,C4,BIG_EAST
    P3,C1,SMALL_WEST
    P3,C2,SMALL_WEST
    P3,C3,SMALL_EAST
    P3,C4,SMALL_EAST
    P4,C1,SMALL_WEST
    P4,C2,SMALL_WEST
    P4,C3,SMALL_EAST
    P4,C4,SMALL_EAST
    Finally you have some transactional data for the Key Figure on the planning level (ex: Sales)
    PRODID,CUSTID,SALES
    P1,C1,10
    P3,C4,15
    P4,C3,30
    P1,C3,20
    P2,C2,15
    *Note that you don't need to 'store' the sales region attribute on the record
    Then on your report, you can pick the SALESREGION and get your aggregated values:
    SALESREGION,SALES
    BIG_WEST,25
    BIG_EAST,20
    SMALL_WEST,0
    SMALL_EAST,45

  • How to move the changes from one system to other without using CMS

    Hi
    In our project they are migrating NWDI 6.40 to NWDI 7.0.
    During migration CMS won't be available.
    Could you plesae tell what are the different options are there to move the WebDynpro changes from (NWDS) Development to Quality system and then production system without using CMS server?
    If i will create a development package and import this packgae in Quality package will my new changes also be available in Quality server?
    Thanks & Regards
    Susmita

    Hi Susmita
    I wasn't completely sure, but from your description of your problem, it seemed like you would have access to your DTR during your upgrade. The following solution assumes as much. If this is not the case, you'll need to do things slightly differently, but the solution will still be possible.
    Depending on the scope and size of your changes, it may be practical for your developers to deploy directly from their NetWeaver Developer Studio (or for a designated administrator to install the NWDS and do the same). To do so, from the Development Configurations perspective, create a new NWDS project for each of the DCs you want to deploy. Then right-click the project and choose from one of the deployment options. (Deploy new archive and run will allow you to see if your deployment has taken effect.) When deploying, the target server is the one set up as your J2EE engine in the NWDS properties - you'll consequently have to modify this when the target server for your deployment changes (from QA to production, or vice versa).
    Note that this is only applicable in certain situations, and only as a short term stopgap measure. This sort of practice - developers or administrators deploying haphazardly to servers other than those intended for development - is precisely what the NWDI is designed to prevent (and is one of very few things it's fairly good at doing). For instance, if your QA and production systems are attached as TEST and PROD runtimes systems respectively in your NWDI, a full assembly and subsequent full deployment would usually occur to these servers when deploying with the NWDI. This is a much stronger guarantee of consistency than the build that will be performed within your local NWDS to deploy your changes. (Conversely, the rigidity of the assembly is perhaps the NWDI's greatest design flaw.)
    (Also, Snehal: thanks for the information on the sapmake_util blog. It's not something I've encountered before and looks very useful.)
    James

  • Kernel security level changes on its OWN?

    Hi...
    using OS 10.3.9 on a G4 dual 533mhz with a gig of ram. It is wired into an Airport Extreme that firewalls for a wireless laptop as well, yes it is set encrypted and unauthorized NIC card addresses are excluded in the Airport Administration software...
    I dont have Little Snitch set to run automatically, but it appears as having launched before the last kernel panic. (so says Crashreporter_
    The kernel panic happened between the time this computer was put in user log in window Sleep Mode yesterday and when I woke it up today to log into one of the user accounts (I am the only one to have maintenance/Full Admin. access)
    The typical user log in screen with the names was up, but a kernel panic had overlaid the visual... parts that made me perk up was the last line said it was waiting for debugging to occur... the NIC address of the network card was shown, and the IP number that is set in the Network panel...
    I checked through Onyx into the System log Crashreporter and found the stream of log info during the 'wake up' mode:
    Jan 22 22:28:16 localhost init: kernel security level changed from 0 to 1
    Jan 22 22:28:16 localhost loginwindow[205]: Sent launch request message to DirectoryService mach_init port
    I have never seen a kernel security change in any of the logs in the past... No new user accounts were made, and no new levels of access have been assigned to existing users...
    What does this mean, a level 1 setting of a kernel? Should I Admin Panic along with the kernel?

    Basically, the change means that the kernel is going from insecure to secure mode, which prevents the sappnd and schg flags from being turned off. More information is available on this page.
    (19398)

  • Invoice Plan Status Change

    Friends,
    Here is my requirement...
    When a batch program runs (using RMMR1MIS), based on certain criteria, the Invoice plan status changes from A to C (table : FPLT-FKSAF).
    I would like to start a workflow by tracking the status change, but I do not see any default event or update in any change document....
    Thanks in advance.
    Muthu

    HI,
    Unfortunately I can only confirm that there is missing functionality
    for change management in area of MM invoicing plan. No change documents
    are created in CDHDR and CDPOS tables for any change for invoicing
    plan.
    Best Regards,
    Arminda Jack

  • When OS level changes ??

    hi guys,
    When Operating system level changes from Unix to solaris. What are the places
    in Custom programs/BW has to be considered for change settings.
    for eg : File path or Calling External program or external applications.
    I want listings of places where i have to check for the changes to be adapted to work as same as Unix system.
    Basically i want to know the places where changes will occur in BW  system with respect to SAP R3 4.6C system level.
    Any notes suggestion also welcome. Thanks in advance.
    Suggestion please.
    Thanks.
    Ambi

    Hi Laxmi,
    Please check the below thread. I have given a possible solution in the thread.
    Tcode SLDCHECK error
    Cheers...,
    Raghu

  • Automatic reorder level change when executing it twice

    Hi,
    When I create forecasting view I only fill the forecast model “automatic” and selection procedure “2”, after the first run some additional settings are fill by the system (model selection, optimization level, alpha factor, delta factor)  and if I run forecast again the values (reorder level) change from the first forecast value. Regading to this when executing in mass mode should i do it twice in order to get a more accurate forecast value or should I fulfill more values in forecast view and obtain the same reorder level even if a excute it twice.
    Thanks
    Jorge G

    Dear,,
    Below link will help you to find the solutions.
    http://help.sap.com/saphelp_me52/helpdata/EN/f4/7d257044af11d182b40000e829fbfe/content.htm
    http://help.sap.com/ERP2005_EHP_02/helpdata/EN/f4/7d256344af11d182b40000e829fbfe/content.htm
    http://help.sap.com/saphelp_erp60/helpdata/EN/56/4ff5cd40e211d3b49b006094b9c9be/content.htm
    Regards
    Aamir

  • How to port database changes from development to a production environment

    How do I port database changes from the development to the production environment?
    I am using v8 and have always had to redo everything using the schema manager all over in the production environment. Is there an easy way to generate a script, for example to dump the database changes on the development machine to be executed later on the production machine?

    This should already be a clearly defined change control process. Once a procedure, function, package, trigger, or whatever completes the testing rounds, it should be promoted to production.
    Forgive me if it seems I'm trivializing, but I don't see the problem, just copy the object(s) from your software library (or development) into production using whatever tool works best or has been chosen. If you are doing data copies then you have various options again including good old export/import.

  • How to Transport changes from Dev. to Quality and production

    Hello Friends,
    I've done the below changes in IR
    1.Added idoc in Imported Idocs
    2.Added new Interface Mapping
    3.Added new Message Mapping
    In ID:
    Chagned Receiver Agreement
    Changed Interface Agreement
    Please let me know how i can move the changes to Quality and Production..
    Pls. provide me the steps to create Transport and how to transfer.
    Thanks in advance!!!
    Best Regards
    Prasad

    Hi,
    By using File system or cms you can transport, better to do the configuration steps manually to avoid ther errors.
    We can do some changes to move
    Moving Dev to QA changes
    1.SLD: are there any changes we need to do.
    If you have common SLD, then I doubt if you may need any changes on SLD side.
    The Business systems you had used will be the same you may use in Q-Landscape.
    2.IR: are there any changes we need to do.
    ---> No changes required, you need to export .tpz file from Development box and have to import it in Q-box
    3.ID: do we need to recreate it fully or after importing,just change the Communication channels will
    do.I am confused here.
    You need to reconfigure all communication channels, if SLD changes are OK then business system will
      change automatically and in communication channel just filled in correct IP/password etc.
    ---> Similar to IR, you can transport these objects also. But you may need to do related changes to communication channels, if you will be referring to different Sender systems and Receiver systems.
    Then as mentioned in previous posts you may need to maintain those Business systems in SLD also.
    4.RWB: such as alerts,and if there are any...
    --> The Alerts will not be transported....you need to create it as new setup for every box.
    Check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/09/88f339db9911d2b41a00609419f767/content.htm

  • Promote Endeca Configurations from stgaing to Production

    How to promote the Search Configuration xmls(Rules, keyword Redirects, Thesaurus etc) from staging to production? Emgr_Update doesn't seem to help in 3.1.2 version, one of the documentations says its no longer public.
    Basically we want the similar behaviour as 'get_ws_settings' in Oracle Endeca Commerce, Tools and Frameworks 3.1.2(workbench version, no Experience Manager).
    Please help. Thanks

    Have you looked at the Configuration Migration Utility? That allows you to create a zip file and basically package the workflow definition and move it from content server to content server.

  • Changing from old product to new - what happens?

    I am just wondering I have upgraded my old BT account from the old Unlimited Infinity 2 product to the Totally Unlimited Infinity 2 product (no traffic management)....
    Checking web it says completed...
    Checking my router stats it hasnt disconnected / reconnected....
    Should the router not have disconnected when changing over from the old product to the new?
    Or do I have to reboot the router?
    Or am I still on the old product?
    Solved!
    Go to Solution.

    Its just a change to the Ellacoyas at BT to change your traffic shaping. Try a Glasnost test in peak hours and see if it says your shaped.
    To say thanks for a helpful answer, please click the white star

  • Change over time on production line.

    Hi Experts,
    We have a scenario where we need to schedule the orders also considering the changeover times on a production line from one product to another. Suppose I am producing product A on the line and my next product is B, say the change over time is 10 mins. But suppose if I am changing from product C to product B, then the changeover time is 15 mins. Similarly it is different from one product to other based on what will be produced on the line next.
    Like,
    A---->B is 10mins
    C----->B is 15 mins
    D----->C is 30 mins and so on.
    A big matrix exists for the same.
    Is there any way that I will be able to handle this in standard SAP? Ideas will be much appreciated.
    Regards,
    Sachin

    Hi,
    You need to maintain the Setup Group Key in the routing, and then in capacity levelling table you group orders by this key, and then there's a function to reduce/change setup time for each order and for the group.
    Definition of Setup Group Key - transaction OP43
    Definition of Setup Matrix - transaction OPDA. In here you define the "new" setup times that substitute the "old" setup times, and are setup group dependent.
    In the routing opration detail in CA02 or CA01 choose the setup group key on the "general Data" part.
    For the capacity levelling part, it is too complex to guide you here.
    Regards,
    Mario

Maybe you are looking for

  • Report Layout Can Applied as a default in Background ??

    Dear Friends, I have created an Variant for report layout  S_ALR_87012403 and set as default layout .... Foreground execution picked the defaulted layout but when am trying to execute the same report in back ground report layout is not picked properl

  • Designing a deski report

    Hi All, Need help in designing a deski report I have two variables;month and year.these two are database objects. month has values(1,2,3....12).And year has value 2007. Now i want to change this to a single variable which will give the value as jan,2

  • JDBC Driver 10.1.0.5 to 10.2.0.3 Upgrade Exception: Socket is not connected

    Environment - Oracle TopLink 10g Release 3 (10.1.3.3.0) (Build 070620) Oracle 10g Release 3 (10.1.3) Application Server Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production JDBC Driver: 10.2.0.3 Problem - I am trying a simple

  • Price Control for Traded Goods

    Hi Can you please suggest what shld be the price control for the Traded Finished Goods Which is the better option  S or V Regards Ash

  • Sync HP IPAQ (Mobile Pocket PC - H5550) and Minidisc Walkman to iMac

    Having just moved from PC to MAC, I have a few questions.... I used to sync my IPAQ with PS using Active Sync. iSync doesn't appear to handle the IPAQ - is there a simple/free plug in needed? If full sync is not possible then I would like to at least