/SAPAPO/MSDP_FCST2 Duplicate Selection ID

Hi Experts,
I have created 2000 entries manually in the  /SAPAPO/MSDP_FCST2 table using LSMW method. Entries are loaded successfully and in SDP94 it shows me correct Master profile as per my selection ID from table  /SAPAPO/MSDP_FCST2 .
However when user tries to change Master profile through SDP94 (Interactive planning book) it doesn't overwrite the similar entry in table /SAPAPO/MSDP_FCST2. In fact it generates one more entry in the table and now I can see 2 entries in  /SAPAPO/MSDP_FCST2 and with the same Selection ID. Next time when user run interactive planning book, he sees original Master Profile and not the one he had saved.
Can you please help? I have already set paramters in SU01 (Save assignments of selection for forecast profile)
I want only one entry in /SAPAPO/MSDP_FCST2.

Hi Hemant,
I have not worked on LSMW for this kind of scenario. Let me assume that your LSMW did not have any issue.
Default behavior of system (when you don't maintain any parameter) is that any changes to forecast profile are saved in the original profile itself.
Why did you maintain the user parameters? I assume you maintained /SAPAPO/FCST_GUIDS with X.
If you maintain this user parameter, you are telling the system to create a new entry when user changes the forecast profile. System will create a new GUID for the forecast profile in this case when the forecast profile is changed. So, you would get a new entry when user changes the forecast profile.
Remove the parameter, and then try it again.
It should work.
Thanks - Pawan

Similar Messages

  • Creation of Selections as seen in  transaction /SAPAPO/MSDP_FCST2

    Hi All,
    Could someone remind me how selections are created that can be seen in transaction /SAPAPO/MSDP_FCST2. If you select F4 on the selection field in the Assign Forecst Profile Screen, it will list all of the current slections that are created. I know this is updated when you execute a forcast against a specific cvc, but how can you do a mass update of this... for 10K + cvs?
    I though I would be able to do this in a backround job, but it does not seem to work?
    Thanks,
    Rumi

    Hi
    You can create a selection from respective 10+ CVCs in the planning book.
    These selection will avaiable in the transaction /SAPAPO/MSDP_FCST2. You can select the respective selection and assign the FCST profile which you want for this selection.
    While defining a background job , you can define the master FCST profile which has to be used.
    Also in control parameters, check the flag Always use job profille
    Indicator: Always Use Forecast Profile of the Job
    If you wish this forecast profile to be used always with this selection when the forecast is run, check this box.  You specify the selection in the mass processing job. Otherwise, the system uses the forecast profiles that have already been assigned to any selection contained in the mass processing job. You can  display and change these assignments in the Assign Forecast Profiles transaction (Demand Planning -> Environment -> Assign a Forecast Profile to a Selection).
    Dependencies
    If you set this indicator,  you cannot use the functions that automatically generate and assign forecast profiles, Generate a profile and assign it or Generate new profile on error.
    I hope this will give you to fulfill you requirment. Please let us know if you have any more doubts.
    Thanks
    Amol

  • Duplicate selection not working

    Hi,
    here is a sample of my script :
    tell application "Finder"
    activate
    with timeout of 1000 seconds
    try
    select (every file of the folder DossierArchiveAsura whose name < DateParutionPlusUN and creation date < LaDateFin and creation date > LaDateDebut)
    if selection is not {} then
    duplicate selection to the folder DossierDateParution
    --delete selection
    else
    activate
    display dialog "Aucun fichier à copier." buttons "Ok" default button 1 giving up after 1
    end if
    select (every file of the folder DossierArchiveAsura whose name > "12_32" and creation date < LaDateFin and creation date > LaDateDebut)
    if selection is not {} then
    duplicate selection to the folder DossierDateParution
    --delete selection
    else
    activate
    display dialog "Aucun fichier à copier." buttons "Ok" default button 1 giving up after 1
    end if
    on error
    display dialog "erreur !"
    end try
    end timeout
    end tell
    and the result :
    select every file of folder "Controles asura:Archives_Asura:" whose name > "12_32" and creation date < date "samedi 14 octobre 2006 11:22:11" and creation date > date "vendredi 6 octobre 2006 23:22:09"
    {document file "3661 ACTUA NB.eps" of folder "Archives_Asura" of disk "Controles asura", document file "3661 ACTUA Q.eps" of folder "Archives_Asura" of disk "Controles asura", document file "express-558.eps" of folder "Archives_Asura" of disk "Controles asura", document file "MBA PAGE1" of folder "Archives_Asura" of disk "Controles asura", document file "MBA PAGE5" of folder "Archives_Asura" of disk "Controles asura"}
    get selection
    activate
    display dialog "Aucun fichier à copier." buttons "Ok" default button 1 giving up after 1
    {button returned:"", gave up:true}
    If I run the script later it works !!!!! Or something else is duplicated, like the content of all the volume !!!
    Oh, I forgot to tell that the script is composed of several part of the same code (of course with different source path) if it can help ?
    Thanks a lot for your precious help !
    Regards,
    Didier.

    Hi Didier,
    This doesn't look right:
    name < DateParutionPlusUN
    When you get the name of a file, it returns a string. You probably don't want to do that. If the name is a date string you probably want to coerce it to date first. That's probably why the script is duplicating the whole directory's items. What kind of value is DateParutionPlusUN?
    Also, you don't really need to select the items and then duplicate the selection. You can just do something like this:
    tell app "Finder"
    duplicate (every file of the folder DossierArchiveAsura whose name < DateParutionPlusUN and creation date < LaDateFin and creation date > LaDateDebut) to folder DossierDateParution
    end tell
    If you wanted to delete the selection later, then it might be better to use a list:
    tell app "Finder
    set fileList to (every file of the folder DossierArchiveAsura whose name < DateParutionPlusUN and creation date < LaDateFin and creation date > LaDateDebut)
    duplicate fileList to folder DossierDateParution
    delete fileList
    end tell
    Edited: Also, what form is the file name in? What kind of date? You might be able to coerce DateParutionPlusUN to short date. It's better if in the form yymmdd. For instance:
    "2006/02/01" < "
    would be true.
    gl,

  • EREC: Duplicate selection options on job search screen

    Hello,
    I am getting duplicate selection options for unregistered job search. Functional Area, contract type, country are being displayed two times. I looke dup search templates, but didnt find any duplicate values.
    Help is much appreciated.

    Hi Nicole,
    thank you for pointing me in the right direction. I had more than one search template assigned in the search tempalte groups table. I removed that, which solved the problem.
    Thanks Again

  • [AS][CS5] Duplicate selection to new document

    Hi everyone,
    I'm working on a script that will allow me to make a PDF or printout of a selection in InDesign by duplicating the selection to a new document.
    I'm having difficulty with the portion of the script that duplicates the selection to a new document.
    I'm trying to follow the instructions in the CS5 scripting guide but it's not working.
    Here's my code:
    --make a new document from selection
    tell application "Adobe InDesign CS5"
        set mySelection to selection
        if (count of mySelection) = 0 then
            display dialog "Nothing selected." & return & "Select something and then run the script." buttons {"OK"} cancel button {"OK"}
        end if
        tell document 1
            --make group in order to get width/height of selection
            if (count of mySelection) > 1 then
                set myItem to make group with properties {group items:(mySelection)}
            else
                set myItem to item 1 of selection
            end if
            set theBounds to geometric bounds of myItem
            set theHeight to (item 3 of theBounds) - (item 1 of theBounds)
            set theWidth to (item 4 of theBounds) - (item 2 of theBounds)
            --undo the grouping so selection is unchanged
            undo
        end tell
        --make new document sized to the width/height of the selection
        set myDoc to make new document with properties {document preferences:{page width:theWidth, page height:theHeight}}
        --duplicate selection to new document
        tell mySelection
            set myDupe to duplicate to page 1 of myDoc
        end tell
    end tell
    I get the following error:
    {«class crec» id 201 of «class sprd» id 186 of document id 2 of application \"Adobe InDesign CS5\", «class crec» id 202 of «class sprd» id 186 of document id 2 of application \"Adobe InDesign CS5\", «class crec» id 207 of «class sprd» id 186 of document id 2 of application \"Adobe InDesign CS5\"} doesn’t understand the duplicate message." number -1708 from {«class crec» id 201 of «class sprd» id 186 of document id 2, «class crec» id 202 of «class sprd» id 186 of document id 2, «class crec» id 207 of «class sprd» id 186 of document id 2}
    Thanks!

    Alison, you just have a minor omission… You have not declared your object to dupe… This worked with a little tweek…
    --make a new document from selection
    tell application "Adobe InDesign CS5"
    set mySelection to selection
    if (count of mySelection) = 0 then
    display dialog "Nothing selected." & return & ¬
    "Select something and then run the script." buttons {"OK"} cancel button {"OK"}
    end if
    set openDoc to document 1
    tell openDoc
    --make group in order to get width/height of selection
    if (count of mySelection) > 1 then
    set myItem to make group with properties ¬
    {group itemsmySelection)}
    else
    set myItem to item 1 of selection
    end if
    set theBounds to geometric bounds of myItem
    set theHeight to (item 3 of theBounds) - (item 1 of theBounds)
    set theWidth to (item 4 of theBounds) - (item 2 of theBounds)
    end tell
    --make new document sized to the width/height of the selection
    set myDoc to make new document with properties ¬
    {document preferences:{page width:theWidth, page height:theHeight}}
    --duplicate selection to new document
    tell openDoc
    set myDupe to duplicate myItem to page 1 of myDoc
    --undo the grouping so selection is unchanged
    undo
    end tell
    --re-posistion in new size doc
    tell myDoc
    move myDupe to {0, 0}
    end tell
    end tell
    Sorry I've forgotten where you turn off the Emoticons… dammed : + (

  • Duplicate selection and transform

    duplicate selection and transform is not working in flash professional cs5. transformation point automatically comes to its original point.any help would be appreciated.

    Many Many Thanx relaxatraja.

  • Error while Saving in /SAPAPO/MC77 - Maintain Selection Assignments

    Hi All,
    While saving selection assignments for users in SAP APO Demand Planning through the Transaction code /SAPAPO/MC77
    I am getting an information message whenever I click the save button
    "Inconsistency identified during save
    Message no. /SAPAPO/MA863"
    This error message is only for the planning book belonging to a specific planning area.
    What can be done to resolve this issue?

    Hello,
    There should be duplicated entries in your selections.
    You can set a BP in Form check_single_profile in program /SAPAPO/LMCPSFC2 in the debugger.
    Check parameter lt_tsselorg_ext[].
    For the entries in lt_tsselorg_ext[]. the 'ORDERKEY' field must be continous and no duplicate.
    Please delete the inconsistent ones.
    Best Regards,
    Ada

  • Duplicate selection and transform doesn't work properly in cs6

    hi,
    when i select an object (shape/group/drawing obj/symbol) and rotate it using the duplicate & transform button. After duplicating for 3 times it automaticly changes the scale from 100% to 97%, 96.554 & so on. The scale & skew values atuomatically keeps on changing everytime i click the duplicate & transform button.
    It didn't happened in earlier version.
    Help me if anyone has solution for this problem.
    Thanks

    I Am Also Facing Same Problem....

  • Program: /SAPAPO/CLP_PBEXCHANGE; error: Selection Cannot be Converted

    Hello,
    when running program /SAPAPO/CLP_PBEXCHANGE I am getting the error Selection Cannot be Converted
    Message no. APO_BAPI408 ...
    I assume that this was caused by a SP upgrade of the sending system (APO 50 SP13) ... as before we haven't had any issue in this area.
    Does anybody have any idea ... what might have changed or whether somewhere a parameter is missing.
    Thanks in advance.
    Regards,
    Andi

    REPORT  Z_1480178.
    data : lt_secresid     TYPE  /sapapo/om_resid_tab,
          lt_sec_res      TYPE /sapapo/pt_secres_tab.
    CALL FUNCTION '/SAPAPO/RRP_PT_RES_GET_SECRES'
      EXPORTING
        iv_simid   = '000'
        it_resid   = 'GxAp7t6MCllX00002X5EvG'
      IMPORTING
        et_sec_res = lt_sec_res.
    move-corresponding lt_sec_res to lt_secresid.
    changed the code as follows...
    but still get the error lt_sec_res is not a structure or internal table with header line

  • Prevent duplicate selections

    Hi,
    I have a form with five dropdowns or select lists. I'm trying to prevent users from selecting something that they had already selected via pl/sql. For example:
    Dropdown_1 with values A, B, C, D, E
    Dropdown_2 with values A, B, C, D, E
    Dropdown_3 with values A, B, C, D, E
    Dropdown_4 with values A, B, C, D, E
    Dropdown_5 with values A, B, C, D, E
    If a user selected 'A' in Dropdown_1, they should not be allowed to select 'A' again in any of the other dropdowns and vice versa. Is this possible via sql or pl/sql?
    My hypothetical insert procedures looks something like this:
    CREATE OR REPLACE PROCEDURE PR_INS_DROPDOWN(
        dropdown_1_in                   IN      Tmp_table.dropdown_1%TYPE,
        dropdown_2_in                   IN      Tmp_Table.dropdown_2%TYPE,
        dropdown_3_in                   IN      Tmp_Table.dropdown_3%TYPE,
        dropdown_4_in                   IN      Tmp_Table.dropdown_4%TYPE,
        dropdown_5_in                   IN      Tmp_Table.dropdown_5%TYPE
    IS
    BEGIN
      INSERT INTO Tmp_table (
        dropdown_1,
        dropdown_2,
        dropdown_3,
        dropdown_4,
        dropdown_5 
      VALUES (
        dropdown_1_in,
        dropdown_2_in,
        dropdown_3_in,
        dropdown_4_in,
        dropdown_5_in
    END;

    You can check it this way:
    Create or replace...
    C number(1);
    Begin
    Select count(value) into c from (
       select dropdown_1 value from dual union
       select dropdown_2 value from dual union
       select dropdown_3 value from dual union
       select dropdown_4 value from dual union
       select dropdown_5 value from dual);
      If c < 5 then
        RAISE MY_ERROR ; --or RAISE_APPLICATION_ERROR(-20001,'My error message');
      else
        INSERT...
      end if;
    End;
    /max
    Edited by: Massimo Ruocchio on Nov 13, 2009 11:45 PM
    No Need of using DISTINCT with a UNION

  • Navigation attribute as selection criteria for automatic forecast model

    Hello Experts,
    I have a requirement like this.
    In Transaction /SAPAPO/MSDP_FCST2, I enter a planning area and click execute.
    Then I create a selection (using selection management button). But here I am not able to see the navigational attributes as a selection field.
    Could you please let me know how I could use this as a selection criteria?
    Can I use the method SEL_CHANGE of the BADI /SAPAPO/SDP_FCST5 for implementing this?
    Please suggest.
    Thanks,
    Suresh

    Hi Manimaran,
    Thanks for your reply!
    I hope you could have created a selection using the Create Activity and assign activity to a job. And during this part, for assigning the selection to the job, we could use the selection created in Interactive planning - Tcode /SAPAPO/SDP94.
    The problem is what if the planners are not given authorization for the creating the job or activity. And what if the planners do the model fitting for a product/location and he wants to exclude it from the selection.
    Thanks and Best Regards,
    Suresh

  • Using navigational attributes in selection for a forecast profile

    Hello All,
    I could understand that the forecasting can be done on navigational attributes.
    But when I goto transaction /SAPAPO/MSDP_FCST2, I could not create a selection on navigational attribute.
    Because I could not see the navigational attribute field in the selection screen for selection criteria/profile creation.
    Does anyone have any idea of how to do this?
    Also I saw the method SEL_CHANGE of BADI /SAPAPO/SDP_FCST5. But the documentation is confusing, since it says that using this method, we could delete the navigational attributes from the selection condition. Could any one suggest me how to use this BADI if I cannot create a selection with navigational attribute?
    Thanks,
    Suresh

    Hi Sunitha,
    Thanks a ton for your reply.
    The real problem is the OSS note is confusing.
    OSS Note for this method says "This method can be used to change the selection to be stored in
    in the generated selection table. Navigation attributes can be removed, such as the function of assigning a forecast
    profile to the selection can also be allowed for selections with navigation attribute without a basic characteristic."
    I am really confused what it says.
    If we can't create a navigational attribute for a selection, how could we delete it from a selection?
    Thanks,
    Suresh

  • Forecast profile not selected  by forecast job

    Hi Experts,
    I am wondering why forecast job in background does not select the forecast profile, which I have assigned in interactive planning. It always takes the job profile even though in activity definition the checkbox (Always use job profile) is unchecked!?
    My other question addresses assignment of CVC's to forecast profiles: for a specific CVC is there a way to figure out in which forecast profiles this CVC is included? Checking this in TX /SAPAPO/MSDP_FCST2 is very time consuming.
    Many thanks for your support
    Aban

    MAPE error will be calculated regardless of strategy mainatained in profile. but make sure you have selected MAPE error calc method while creation of forecast profile.
    MAPE( mean aboslute persentage error) is the best method to analyse error even SAP recommended to use this method to get best results.
    regards
    Thennarasu

  • Assignment of forecast porile to selection id

    Hi
    A profile assigned to a selection ID does not u2018sticku2019 ... the selection ID loses the fcst profile once it is called back up again
    Basically when I assign a forecast profile in interactive planning - it is not being saved...
    Regards
    Anitha

    Hi Anitaa,
    Ehsan is correct - Forecast Profile can be assigned to Selection IDs.
    Please try below options -
    Select and Load the required Selection ID in the Planning Book.
    Goto Setting - Forecast Profiles - Select the required Profiles.
    At the bottom from Assignments section, Please make sure "Save assignment of selection for forecast profile"
    or You can use Tcode - /SAPAPO/MSDP_FCST2 - Assign Forecast Profiles to a Selection.
    Then make sure within Activity,  "Always use job profile" option is not selected.
    Hope this should help.
    Thank you
    Satish Waghmare

  • Assign Master forecast profile to selection

    Hi,
    I  got 6 material and two master profile whuch used different strategy say 56 and 11.
    What I want to do is mat1,mat2 and mat3 to profile 1 and other material to profile 2.
    I went to t-code /sapapo/msdp_fcst2 .Then I went to selection management and gave all 3 sku under product and assigned that selection to profile 1.similarly I did for remaining material.
    But when I went to sdp94 and queried my material A system is not picking up the profile assigned.
    When I checked I found that since I enetered all 3 material under one selection system is not picking the profile.If you enter one by one under different selection Id then it will pick the profile.
    Is this the standard functionality or is there any other method avaiilable.
    Thanks and Regards
    Raghavendra Pai

    Hi Raghavendra Pai
    The issue you have is that you assign a profile at an aggregate level (for 3 products) and try to run the forecast at a more detail level.
    By default the system look only for the exact selection.
    However when you assign your selection you can use the flag "All Related Selections" or "also similar selection", which is just after the "display column".
    Then the system should pick up the model in interactive:
    "If you set this indicator, the system uses this profile assignment for all subordinate selections. For example, if the selection is PRODUCT = P1, the profile is also used for PRODUCT =P1, LOCATION = 0001. You can however specify more detailled assignments to other profiles without invalidating the more generic assignment."
    Note also that model 56 is a bit "special".You can use it to create assignment in background.
    /SAPAPO/MC8T - Define Activities for Mass Processing
    Select a profile with 56 + flag the "generate profile and assign it"
    Finally the other solution is to assign profile in interactive: select your product, run the forecast interactively and save: a assignment has been created.
    in addition have a look at the different user parameter: /sapapo/fcst_guids, /sapapo/prfl_notsav, /sapapo/fcst_green, /sapapo/fcst3
    I hope it helps,
    Julien

Maybe you are looking for

  • How do I update GarageBand after upgrading to Yosemite 10.10.1

    I have GarageBand on my MacBook Pro but have recently upgraded to Yosemite OS X 10.10.2. I wanted to use GarageBand but rec'd a message that there is a newer version. I didn't think I should have to pay for an upgrade in the App Store. How do I updat

  • Need help on assessment of security upgrade to ECC .0

    Hi, I am a security guy and am involving in security upgrade from 4.6c to ECC6.0.  I want your suggestions & contribution on preparing the assement of security upgrade.  So can anybody guide me to follow the security strategies <removed_by_moderator>

  • How do i get a software update for iphone 3g from 4.1 to 5.1

    How do I update my iphone 3g from the version 4.1 to 5.1 from my phone?

  • 'Book of Eli' movie - plug-in effect on voice?

    Occasionally I've been hearing lately what sounds like an old ocatvider kind of plug-in effect used on voice-overs in films. Discretely used it makes the voice sound huge and fat, yet still relatively normal. I'm wondering if anyone has come across t

  • Problem with J2sdk instalation

    Hi! I'm a java begginer. (I started 1 hour ago! ) After installing j2sdk, some applets stop working (e.g some applets in java.sun.com ) , i.e they return the message "java.lang.ClassNotFoundException" (something like this). I'm working in NT environm