Problem in getting data in SNP Planning Area Data Source

Hi All,
Problem Statement: To fetch data from SNP Planning Area for reporting in SAP BW.
Approach: Followed the standard SAP Help Document. Link:http://help.sap.com/saphelp_scm40/helpdata/en/e0/9088392b385f6be10000000a11402f/content.htm
First Step: To create a DataSource on the Planning Area (Z9ASNP02) and Aggregate(9AMALO).
For that
Go to SAP Easy Access>Click on /SAPAPO/MSDP_ADMIN/ you are on S&DP Administration>Select the planning Area Z9ASNP02 double click on it
You are on Change Planning Area Screen>Go to Extras left click>DP/SNP Data Extraction Tool-->Click on Generate Data Source, Provide the
Data Source Name & Select the Aggregate 9AMALO and click on continue. Data Source is generated.
But now when i go for Test Data Source-->Extractor Checker Screen and then providing the version 000 and then when i click on extraction Button
It gives a Message "0 data records selected".
Thanks in Advance,
rahul

Hi Somnath,
Please correct me if my understanding is wrong; you are saying that, we cannot extract data from order series keyfigures. In that case how many key figures you maintain for time series, performance miight come down for planning area if you maintain huge no of keyfigures.
Is there any way to extract data from Order series Planning area?
Thanks & Regards,
Jagadeesh.

Similar Messages

  • BAPI or FM needed to retrive data from SNP Planning Area

    Hi All,
                 There is a planning area created for SNP ,now I need to retrive key figure values present in this SNP Planning area.Does any know of BAPI or FM which can be used to retrive data from SNP Planning Area?
    Thanks,
    Venu

    Hi Venu,
    A)  Please try this BADI Implementation
        /SAPAPO/EXTRACT_EX             Sample implementation
        /SAPAPO/SDP_EXTRACT             Definition name
        /SAPAPO/IF_EX_SDP_EXTRACT   Interface name
        /SAPAPO/CL_IM_EXTRACT_EX     Class name
    The Uses of this BADI are;
    1) You can interrrupt the data extraction process from the planning area.
    2) You can use the CHANGE_INPUT method to override the input parameters for the extractor (sent from the requesting system).
    3) You can use the CHANGE_OUTPUT method to alter the extracted data, derive the values of certain InfoObjects  , for example.
    4) You can use the CHANGE_SELECTION method to modify the selection table that is used for extracting data using a  BAdI method. This is particularly useful when extracting data from an SNP planning area because you cannot specify a location product in the standard selection.
    B)  You can also try the below function modules
    /SAPAPO/CL_IM_EXTRACT_EX - Load key figures of Demand Planning
    /SAPAPO/CDI_TSDMID_KEYFS_LOAD - Load key figure data from TSDM
    Regards
    R. Senthil Mareeswaran.

  • How to extract data from SNP Planning Area

    Hi All,
    I am trying to extract data from SNP Planning Area. i had created the data source as it is given in help document but when i try to test the data source for the data through extractor checker it gives a message "0 data records selected".
    So please help me out if some body have some document in the regard pl forward it to my mail id [email protected]
    Thanks in Advance.
    Best Regards.
    rahul

    Hi Ganesh,
    In SNP you do not have to go to RSA6 u can create datasource in S&DP Administration>change planning area>Extras-->Data Extraction Tools.
    from there u can do all the settings and can as well test.so there is no use of either RSA6 or RSA3.
    bets regards,
    rahul

  • SNP planning Area Backup

    Hi All,
         Currently i am working on 5.0 SCM.I have one query.
    For Reporting perpose we required to take backup of SNP planning Area,so that i can save SNP planning Area data in Info cube.I would like to see data in Infocube according to Product,Location & Resource wise only. So that i can use this data for reporting perpose.
         Can we create whole data flow process for SNP Planning Area?
         We have lot of Product & resources in APO,so is it feasible to take backup of SNP planning Area?
         I want to take backup of SNP planning area only for reporting perpose,so that i can publish report according to my Product,Location & Resources.
        So kindly suggest proper solution to achive above requirement.
       Thanks in Advance!
    Regards
    Sujay

    Attaching note 428147
    Summary
    Symptom
    When extracting data from an SNP planning area, you must take account of some special features. These are explained in this note.
    Solution
          1. Data can be extracted only for existing SNP aggregates.
          Existing SNP aggregates are:
              o 9AAC (9AACTNAME)
              o 9AACPR (9AACTNAME, 9APPMNAME)
              o 9ALA (9ATRNAME)
              o 9ALO (9ALOCNO)
              o 9ALORE (9ALOCNO, 9ARNAME)
              o 9AMA (9AMATNR)
              o 9AMALA (9AMATNR, 9ATRNAME)
              o 9AMALARE (9AMATNR, 9ARNAME, 9ATRNAME)
              o 9AMALO (9ALOCNO, 9AMATNR)
              o 9AMALORE (9ALOCNO, 9AMATNR, 9ARNAME)
              o 9AMAPR (9AMATNR, 9APPMNAME)
              o 9AMARE (9AMATNR, 9ARNAME)
              o 9APR (9APPMNAME)
              o 9ARE (9ARNAME)
              o 9AREPR (9APPMNAME, 9ARNAME)
               Only the characteristic/characteristic combinations contained in these aggregates may be used in the InfoSource, transfer structure and transfer rules.The simplest way of doing this is by always generating Export-DataSources for SNP planning areas to one of the aggregates and not to the Basis planning object structure '9ASNPBAS'.A typical result of using the Basis planning object structure '9ASNPBAS' without correcting the transfer structure is that, while data is transferred to a RemoteCube, it cannot be extracted in a BasisCube.
    As of APO 3.0 Support Package 17 (or note 443613), only export DataSources for aggregates can be generated in SNP planning areas  they are no longer generated for the Basis planning object structure.
    Furthermore, note that the navigation attributes 9ATTYPE, 9ALOCTO, and 9ALOCFROM up to APO 3.0 Support Package 17 (or note 441653) must be deleted from the transfer structure for the SNP aggregates '9AMALA' (9AMATNR/9ATRNAME) and '9AMALARE' (9AMATNR/9ATRNAME/9ARNAME). These navigation attributes can be used from the specified correction.
    Due to technical restrictions the characteristics '9ATRNAME' and '9ATTYPE' can only be restricted with single values in the selection for the data extraction.The use of intervals and formatting characters (+/*) is not allowed for these characteristics.
          2. For an SNP aggregate, only the key figures assigned to it can be extracted. You can see which key figures are assigned to an aggregate in transaction /SAPAPO/MSDP_ADMIN on the Key figure assignment tab of the relevant planning area. As of APO 3.0 Support Package 17 (or note 439366), only the key figures assigned to this aggregate are taken into account when an export DataSource is being generated for aggregates.
          3. During the definition of queries, the following restrictions apply:
               In the case of queries for the aggregate '9AMALA', certain key figures can only ever be extracted with another key figure.The key figure combinations that can only be extracted together are:
              o (9AFSHIP, 9ADMDDF, 9ADMDDFVMI)
              o (9AFSHIPLP, 9ADMDDFLP)
              o (9AFSHIPVMI, 9ADMDDFVMI)
              o (9APSHIP, 9ADMDDI, 9ADMDDIVMI)
              o (9APSHIPLP, 9ADMDDILP)
              o (9APSHIPVMI, 9ADMDDIVMI)
              o (9ATSHIP, 9ADMDDT, 9ADMDDTVMI)
              o (9ATSHIPVMI, 9ADMDDTVMI)

  • Error /SAPAPO/TSM 041 when loading from InfoCube to SNP planning area

    I am using APO V5.1.
    I have a 'backup' InfoCube with characteristics 9ARNAME and 9AVERSION which I'm loading to an SNP planning area via trans /SAPAPO/TSCUBE. The InfoCube is itself populated from the 9ARE aggregate of the SNP planning area.
    But I get error /SAPAPO/TSM 041when I run the load, suggesting absence of a required characteristic or navigation attribute in the Cube. Do I need 9ALOCNO for instance?
    Can anyone advise me here?...

    Hi,
    I am not very sure about the 9ARE aggregate (haven't used it in backups), but RTSCUBE is used to copy time Series (TS) KF data from cube to planning area (SNP or DP).
    Are you trying to restore some time series data from your backup cube to the planning area? If yes, then do a mapping of characteristic from cube to planning area in RTSCUBE, and also map the TS KF between cube and planning area.
    If your KF is not a time series KF, then you can't copy it from cube to planning area. You could get data to cube for some reporting, otherwise I am not sure what use the backup is for you. For SNP, most of the data would be received from R/3, so there's not much point in having a backup.
    Hope this helps.
    Thanks - Pawan

  • Planning area data not updated in infocube in APO system

    Hi all,
    User is uploading a flat file using addon program to an infocube 1, from this infocube data for  sales forecast KF is getting transferred to a planning area KF using standard program RTS_INPUT_CUBE.  I can see the updated data in Planning book (which refer the same planning area) data views. In planning book the sales forecast data is also getting copyied to second KF 'Arrangement FC' and its correct.
    Now there is a infocube 2 (second) which is getting data directly from this planning area (infocube also contains both KFs). But When i checked this infocube 2 , the updated data is availabe in Sales forecast KF , but arrangement forecast KF is having old data only and user is running query on second KF , so he is getting wrong report.
    Since there is no data flow for this infocube 2, and it is getting data from planning area, I feel its remote infocube.
    I have also found the datasource for this planning area but don't know how to move further to find why data is not updating properly? Please help on this.
    I have information that 2 weeks before data was properly updated, but this time data is not updated,
    system version  is SAP SCM 4.0

    Hi Vivek
    it is advisable to run the background jobs when the planning books are not being accesses by the users to prevent such inconsistencis. Hence i would advise you to run the jobs durng non-working hours. and if you have a global system, then you may restrict to run the jobs based on regional levels.
    in addition, it is also a good practice to run consistency jobs before and after your have completed the background jobs. i hope you are using process chains to execute the sequeuce of jobs. if yes, then you can add consistency check jobs in the process chains.
    some of the consistency check reports are :
    /SAPAPO/OM17 - liveCache Consistency Check
    /SAPAPO/TSCONS - Consistency Check for Time Series Network
    /SAPAPO/CONSCHK - Model Consistency Check
    and so and so forth..
    you can find these conssistency jobs under APO Adiminstration --> Consistency checks in APO.
    let me know if this helps.
    Rgds, Sandeep

  • SNP - Planning Book/Data View not showing up in /SAPAPO/SNP94

    Hi All:
    I created a planning Book out of a custom SNP planning area. While I could see the Planning Book in the list of Planning Book in the /SAPAPO/SDP94 - Interactive Supply Network Planning (all Books)   I could not see the custom planning book in /SAPAPO/SDP94 - Interactive Supply Network Planning (all Books) .  I could ony see the SAP supplied PB there.  Will SDP94 transaction display only the standard SNP Planning book?  How can I make sure that the custom PB is displaed in /SAPAPO/SDP94?
    pl. help
    Thanks
    Ryan

    Hi Narayanan,
    a couple of simple checks..
    can you please check that you have not set a filter critera in the shuffler in planning book/data view?
    you can also check if by mistake only a limited number of users are assigned to this planning book and data view ?
    else you may want to check note : , 327371
    Let me if this helps.
    Rgds, Sandeep

  • How to copy data from one planning area to other planning area

    Hi ,
    I need to copy data from one planning area to other planning area, the MPOS for two planning areas are differant and  here my scenario is one planning area having extra key figures.
    First i need to release forecast data to CIP planning area and then,  i load the data from infocube  to MPS planning area and copy the data from CIP planning area. here both MPS and CIP planning areas having different MPOS .
    Please help me in this. Please give me the stepls i need to follow.
    Thanks in advance.
    Regards,
    Chandu

    Hi,
    You can use the transaction /sapapo/tscopy.
    In this you can configure your source plng area and destination plng area. You also have an option to map your KF. There is no problem if the MPOS are different as long as you are able to map the characteristics between the 2 MPOS.
    Alternatively, you can create an Infocube which shares common ground between the 2 planning areas and extract data from CIP plng area into the infocube and then copy teh data from infocube to MPS plng area using the the transaction /sapapo/tscube.
    Hope this helps.
    Thanks
    Mani Suresh

  • Purchase requisition date in SNP planning book and product view not in sync

    Hello Experts,
    We have an issue with display of purchase requisition date in SNP planning book.
    We are manually entering the PR's for a perticular week from Monday - Sunday(01.09.2014- 07.09.2014), when the last PR is entered on 07.09.2014, it does not appear on the same day in planning book(cell becomes empty) and moves to 06.09.2014, thus quantity on 06.09.2014 is the summation of the quantities present on 06th and 07th.
    The PR dates are appearing correct when we click on display details in planning book and they are correct in product view, MD04 as well.
    Additionally, this is the same date on which daylight saving time comes  into effect.
    Kindly advise if anyone has faced similar situation earlier.
    Many thanks,
    Aditi

    Hi Aditi,
    Check the time zone that you have in your location in ECC and APO.
    Also note it is recommended that you maintain the same system time zone in APO and in ECC. (check tcode STZAC in both systems).
    Different time zones should generate this kind of inconsistencies.
    Kind Regards,
    Mariano

  • Reading data form multi planning area

    Hi Guys,
    I bulit planning function type Exit on the multi planning area. I need to get the data from two planning areas(Underlying infocubes)
    but my exit functions is not reading data from second Infocube(Planning area),  my requirment is i need to get the one Keyfigure value from the second infocube .
    My formula is
      If fistcube-charactric(Marketing spend) = secondcube -charcsterstic ( marketing spend)
         firstcube -keyfigure(CRM cost)  = Firstcube-Keyfigure(CRMCIRC) * Secondcube -keyfigure(marketing spend rate).
    the value for marekting spend rate is not getting populated , but i can see the keyfigure markeig spend in the structure.
    Is there any other way i can get marketing spend keyfigure from the second infocube.
    This part is not getting populated.
    *Handling rate
       ElSEIF <xdata>-s_chas-ZMKTSPED = '0000486250'.
       tmp_z_mksrate = <xdata>-s_kyfs-z_mksrate.
    <xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * tmp_z_mksrate.
    i tried to debug but i couldn't find out anything.
    if anybody has experinced please share your ideas.
    How to get value from second infocbue.
    Here i am adding my code.
    Data: lr_xdata type ref to cl_sem_planarea_attributes.
    FIELD-SYMBOLS:
       <xdata>   TYPE  /1sem/_ys_data_100ZCNA0001,
       <t_xdata> type  Hashed table.
    Data: tmp_zcrm_circ type /BIC/OIZCRM_CIRC,
          tmp_zcrmfacev type /BIC/OIZCRMFACEV,
          tmp_z_mksrate1 type /BIC/OIZ_MKSRATE,
          tmp_ZMKTSPED  type /BIC/OIZMKTSPED.
    **Get an instance of the planning area
    call method cl_sem_planarea_attributes=>get_instance
    EXPORTING
    i_area = i_area
    RECEIVING
    er_instance = lr_xdata.
    **create a table like xth_data
    Data :lt_xdata type ref to data.
    create data lt_xdata type (lr_xdata->typename_th_data).
    assign lt_xdata->* to <t_xdata>.
    clear: <t_xdata>.
    SORT Xth_data.
    Loop at Xth_data assigning <xdata>.
    *Net Estimated Circulation
    IF <xdata>-s_chas-ZMKTSPED = ''.
        tmp_zcrm_circ = <xdata>-s_kyfs-zcrm_circ * ( <xdata>-s_kyfs-zcrmredr ) / 100.
        tmp_zcrmfacev = <xdata>-s_kyfs-zcrmfacev.
    Endif.
    *Redemption
        If  <xdata>-s_chas-ZMKTSPED = '0000486213'.
            <xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * tmp_zcrmfacev.
    *Postage rate
        ElSEIF <xdata>-s_chas-ZMKTSPED = '0000486201'.
               <xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * <xdata>-s_kyfs-z_mksrate.
    *Processing rate
       ElSEIF <xdata>-s_chas-ZMKTSPED = '0000486230'.
               <xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * tmp_zcrmfacev.
    *Handling rate
       ElSEIF <xdata>-s_chas-ZMKTSPED = '0000486250'.
       tmp_z_mksrate = <xdata>-s_kyfs-z_mksrate.
    <xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * tmp_z_mksrate.
    ENDIF.
    collect <xdata> into <t_xdata>.
    ENDLOOP.
    Refresh Xth_data.
    INSERT LINES OF <t_xdata>  INTO TABLE xth_data.
    Endfunction.
    Thanks in advance.
    Best regards
    SG

    Hello SG,
    first you can simplify your code by just defining <t_xdata> TYPE /1sem/_yth_data_100ZCNA0001. (No need for the dynamic type assignment).
    The data of your second InfoCube needs to be a subset of the selection in your planning package. Check that the second area is also selected for example. Use the criteria in LISTCUBE (on the corresponding MultiProvider) to check that the selection works. Execute the planning function with trace. This shows you what data was selected.
    Regards,
    Marc
    SAP CSA - Technology

  • Copy Key figure data between two planning area with different storage bucket profile

    Hi,
    I have a DP planning area ' PA1' with monthly storage bucket profile data view 'PA1M' ( monthly TBF) and I want to copy the data to another planning area 'PA2' whose storage bucket is weekly. This would need me to write a custom program which will split monthly to weekly and then populate 'PA2'.
    However, In 'PA2', I created two data views 'PA2W' (with weekly time bucket profile) and 'PA2M' (with Monthly Time bucket profile). If I am able to copy the data from PA1 (PA1M) to PA2(PA2M), it will automatically splits monthly to weekly in PA2W.
    So my question is if there exists a way I can copy key figure data from PA1M to PA2M? Any BAPI?

    Hi Rakesh,
    You can use COPY/Version Management Function to do this.
    Path: Demand Planning > Environment >Copy/ Version Management
    The system takes into account only those periodicities that are common to both planning areas.
    For example, if the data is saved in months in the source planning area (PA1) but in months and weeks in the target planning area (PA2)
    the system copies to months in the target planning area and then Disaggregates the data to the storage buckets in accordance with the Time-based Disaggregation.
    hope this wil help to understand the basic concept.
    Kapil

  • What's the RFC name for BPS to transfer data from one Plan-Area to another?

    I created a role for BPS planner.This include all authorization except the RFC authorization for transfering data from one plan-area to another.However, even I set the '*' to the RFC name. Am I missing something? Any suggestion is appreciated.
    Best regard,
    Gerald He

    Hi Vlad,
      Thanks for your reply. It's helpful.
      Finally, I found that this error message will be pop-up when the authorization is not right. For example, if you don't have right authorization to access the corrsponding InfoCube which the BPS is based on. Now, I find the root cause and fixed this issue.
    Best regard,
    Gerald

  • Making a field mandatory in additional data tab in sales area data in XD01/XD02

    Hi,
    Making fields in additional data tab in sales area data in XD01/XD02 as mandatory is not achievable through configuration. Also, user exit SAPMF02D was not helpful in achieving this. Kindly help me on this.

    Is this a new field you are creating or an existing field you want to mark as mandatory? My impression from your original post was that it was the second. If so then you don't need to create an implementation of CUSTOMER_ADD_DATA as there must already be one, instead you should be looking for the implementation that manages data for the screen you are interested in. This might be why you don't see your BADI get activated  when you go to  "area data -> extras -> additional data" as it isn't the right implementation.
    If you just want the field to be mandatory when the user goes into the additional data tab I would code this in the screen of the customer exit. If you want this field to be mandatory whether or not they enter other additional data then you should try the method of the badi Nabheet suggested but not in your own implementation.

  • What is Data conversion ? What are data conversion programs ? please give

    What is Data conversion ? What are data conversion programs ? please give me some sample code?

    Hi,
    I think you mean "Data Acquisition"...
    "The Data Acquisition IT process allows you to connect heterogeneous sources (SAP systems, database management systems, files, relational data, multidimensional data) to BI. You can transfer data straight into BI from the source or use SAP NetWeaver XI to transfer data. Furthermore, the process supports direct access to source data, without having to load it into BI."
    http://help.sap.com/saphelp_nw04s/helpdata/en/aa/1fb042e745ca6ae10000000a155106/frameset.htm
    [Data AcquisitionTechniques in SAP NetWeaver BI|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/329fcd87-0c01-0010-4a9c-86f038e11d23]
    Regards
    Andreas

  • Getting data in GATP Planning area on open Sales Orders yet to be PGI'ed

    This is in context of allocation planning.
    I understand there are two internal GATP relevant key figures AEMENGE (allocation) and KCQTY (incoming sales order quantity) which come over from R3. These two key figures are part of any allocation planning design to track consumption of allocation from sales orders.
    We have a requirement to also get information on open sales orders not PGI'ed into GATP planning area. Is there a way to do this without configuring SNP and only core interface ? (Releasing data from SNP to GATP does not work since the levels are different)

    Hi
    Just to correct you. The tcode is LBWQ and not LBQW.
    Well as per your lines that it is not possible for 400 users to manually feed the data after changes .I totally agree.
    To help get the same functionality we have v3 jobs or direct delta which serves the same job for you.
    This is a job that runs at a regular interval as per you set it in the tcode LBWE.
    If the Datasource is Delta Enabled then only these jobs would be available to run for those data sources and if incase the DS is Full then you dont need these jobs at all.
    Thus once you set your DS as Delta. Go to LBWE select the DS you are working upon for delta
    After finding the DS you see two options update mode and update.
    Update mode -you can choose the type of update mode for example direct, queued and so on.. Generally we use Queued Detla
    Update - you have to set here how do you want it to run and from wat date etc.clickin on job control gives you a window where in u can set all the fields as per ur requirement.
    Once after these are done your job would automatically run and collect the changed records to the delta queue and from there you can pull the same using info pack.
    Hope that clarifies your doubt to some extent.
    Edited by: Puneet Chawla on Jan 29, 2010 8:52 AM

Maybe you are looking for