IP - Fox Code - Planning Function -How to do a mass upload for filters ?

Hello Guys,
I have a question regarding executing a planning function.
I have a planning function with filters
Profit center
Sales Order no
Line Item No
Fiscal Period/Year
From Indicator
To Indicator
This planning function is ideally used to change few records where the user enter a sales order no and line item no, profit center and all above parameters. It works fine.
But one user has a requirement where he has to do a mass update. I have to do it in batch or mass update for example about 100 line items
Sales Order   Line Item
100                 10
100                 20
200                10
300                30
300                40
plus the profit center , from indicator and to indicator.It will be very tedious for the user to enter the values and it can't work . because it will take more time time to execute the planning function for each sales order and line item.
How to create the filter for above values. I will be getting a excel spreadsheet. I can ask the user to give in the above format like
sales order, line item, profit center, from indicator, to indicator,Fiscalyear/period.
Then I have to upload the excel spreadsheet to create the filter values and then execute the planning function.
We are using the Integrated Planning tool and planning function is in fox code.
Can you guys throw some pointers how to achieve the above solution.Thanks
Senthil

Hello Senthil,
There is a standard functionality of file upload ,which can be used in your scenario.
You can give the hyperlink directly to user either in WAD or excel where in that link user can select the varaible values for profit center ,sales order no etc for upload and at the back of this functionality you will be using the file upload planning function to load the data.
Can check the link below for more details:-
/people/marc.bernard/blog/2007/11/25/how-to-load-a-file-into-sap-netweaver-bi-integrated-planning-part-2
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90cef248-29e0-2910-11bb-df8dece7e22c

Similar Messages

  • How to check a pdf uploaded for press in a website automatically ??

    how to check a pdf uploaded for press in a website automatically ??
    i am making a new website for a printer.. his client upload pdf online directly in his website, we want that in the case that the pdf is not
    as the printer need it for printing , the site automaticly after checking the pdf profile uploaded open a window and write what is wrong with this pdf
    and if possible fix what he can fix automaticly as pitstop software is doing offline.
    PLEASE YOUR HELP
    thank you in advance

    Acrobat isn't available with a server license. You might like to look into PitStop Server.

  • How create a replice "Mass Change for Quotation" from the "Mass..for order"

    Hello everybody,
    How create a replica "Mass Change for Quotation" UI object from the standard "Mass change for Sales Ordesr" UI object...
    Way: SAP CRM==>Select a business role "SPL-Service part Management" ==> Sales ==> "Mass Change Sales Orders"
    It needs a replica with the title "Mass Change for Quotation" .
    Could you pleas help?
    Mit freundlichen Gruessen / Kind regards,
    Pavel Biarozkin

    Hi Howard Brown,
    Thanks for your suggestions about Windows user experience. Actually, we are glad to hear more feedback
     about Windows operating system so that we can improve Windows to make it be more easier to
     use.
    As a suggestion for your current situation, you can use Windows Charm Bar to search Apps, it is also easy to use.
    Alex Zhao
    TechNet Community Support

  • How to make a mass change for incoterms of a scheduling agreement at item level.

    Hi SAP Guru,
    There are many wrongly assigned incoterms in the scheduling agreement at item level by a user exit which was implemented recently in production. May i know if there is any way that we can revert those changes back to the original incoterms via mass change? I've tried to search over the internet and it seems like there is no posting about this issue before. Please help urgently. Thanks in advance.
    Regards,
    Shawn

    You can use the following sample to develop your usecase.
    Here, we would show menu items only for the nodes at level 3.
    You can also download the entire sample based on POJO at
    http://adfsampleapplications.googlecode.com/svn/trunk/TreeSampleApplication.zip
    The code is self explanatory.
    Let know, if you have any specific questions.
    <af:form id="f1">
    <af:treeTable value="#{bindings.continents.treeModel}" var="node"
    selectionListener="#{bindings.continents.treeModel.makeCurrent}"
    rowSelection="single" id="tt1" columnStretching="last">
    <f:facet name="nodeStamp">
    <af:column id="c1">
    <af:outputText value="#{node}" id="ot2"/>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp">
    <af:outputText value="#{node}" id="ot1"/>
    </f:facet>
    *<f:facet name="contextMenu">*
    *<af:popup id="p1" contentDelivery="lazyUncached">*
    *<af:setPropertyListener from="#{bindings.continents.treeModel.depth}"*
    *to="#{pageFlowScope.CurrentDepth}"*
    *type="popupFetch"/>*
    *<af:menu text="menu 1" id="m2">*
    *<af:commandMenuItem text="View Districts" id="cmi1"*
    *visible="#{pageFlowScope.CurrentDepth == 2 ? true : false}"/>*
    *<af:commandMenuItem text="View Attractions" id="cmi2"*
    *visible="#{pageFlowScope.CurrentDepth == 2 ? true : false}"/>*
    *</af:menu>*
    *</af:popup>*
    *</f:facet>*
    </af:treeTable>
    </af:form>
    Thanks,
    Navaneeth

  • How to link the variable entry with the planning function execution

    Hi All,
    I am new to IP , we have a requirement where the user enters the value 2008 for a variable year. Then we are supposed to copy the same combinations for the next four years against which the user will be able to input the key figure values. But i have only 2008 data in the cube, so i need to generate new records for the same characteristic combinations as present for 2008 for the next four years. I am planning to use a copy function for this but how can i trigger this planning function once the user enters the value for the year variable. I want the planning function to get executed once the user clicks OK after the variable entry. Request your valuable inputs on the same.

    Hi Tilak,
    for this u have an option of executing the planning sequence when the web template loads ie. after the variable screen.
    open the WAD.
    go to the properties of Web Template web item. Under the section standard action of the webtemplate, we have a n option to include planning functions under action before rendering.
    If u include your planning sequence in this this will get executed every time the layout loads.
    guess this is usefull to u.
    Regards.
    Shafi.

  • Error when execute a planning function on selected line

    Hello together, 
    we are using SAP BusinessObjects Analysis 1.4 SP9 (1.4.9.3241, Office 2013) and SAP BW 7.3 SP 11 (SAPKW73011).
    When executing a planning function on an selected line in the crosstab, the following error appears:
    The VBA Coding used is from HowTo Execute a Planning Function on Selected Lines in an Analysis for Office Workbook.
    The Code worked fine with an older version of SAP BO Analysis and Excel 2007.
    Going to debugging:
    As you can see in the screenshot, the selected line (Dimension "0PRODUCT") is selected correctly.
    The settings for the planning function are the following:
    Thank you in advance for any advice.
    Best regards
    Alex

    Hello together, 
    we are using SAP BusinessObjects Analysis 1.4 SP9 (1.4.9.3241, Office 2013) and SAP BW 7.3 SP 11 (SAPKW73011).
    When executing a planning function on an selected line in the crosstab, the following error appears:
    The VBA Coding used is from HowTo Execute a Planning Function on Selected Lines in an Analysis for Office Workbook.
    The Code worked fine with an older version of SAP BO Analysis and Excel 2007.
    Going to debugging:
    As you can see in the screenshot, the selected line (Dimension "0PRODUCT") is selected correctly.
    The settings for the planning function are the following:
    Thank you in advance for any advice.
    Best regards
    Alex

  • Planning function type Exits.

    Hi,
      Could you guys tell me about Planning Function Type Exits. It will be helpful, if you guys send some Documents to [email protected]
    Thanks,
    meiy.

    Hi,
    Here is the step by step procedure for that.
    I assume that you have already created a planning level and Planning package.
    1.Double click on planning level
    2.From Context menu of planning Function(2nd panel which lying below the Planng area/level panel)-->create planning function
    3.Enter Tech name and description for planning function
    4.Expand 'all functions' tab -->double click on 'Exit function'
    5.Here you have to provide Function module for initialization(if necessary), and Function module where you have to write the logic, and 'Fields to be changed' and 'parameter name and data element for the same'.
    6.Now create a Parameter group from context menu of Planning function and Provide necessary values as per your requirements.
    Hope this helps

  • How can i change fpga clock for whole code

    Hi i'm new at labview and using 8.6 demo(real time and fpga modules).
    i developed some codes for practise and want to change clock freq to 200MHz from 40M for all codes.
    i mean how can i use derived clock for all my vi.
    LabVIEW 2009, Windows 7
    Solved!
    Go to Solution.

    PAR done!
    ERROR:Xflow - Program par returned error code 31. Aborting flow execution...
    when i use 200mhz as fpga clock i'm getting this error after compilation.
    is there a way to use fpga other then 40mhz. and i dont want to use timed loops because i am using
    loops inside loop.
    LabVIEW 2009, Windows 7

  • How can I change the images for af:statusIndicator?

    The default icons (busy and not busy) have a deep blue background which is different from our chosen background color for the application.
    As per the ADF documentation for Web development Section 16.6:
    "... you can use skins to change the actual image files used in the component."
    Is there any code example on how to change the image file for af:statusIndicator?

    Hi,
    You can check [this post|http://forums.oracle.com/forums/thread.jspa?threadID=615673] for some samples.
    -Arun

  • How to mass upload shipment condition records

    Hi buddy,
    TK11 - shipment condition records
    how can you mass upload  shipment condition records, anyother bapi available for the mass upload for TK11.
    thanks
    pauldharma

    Hi ,
    To creae the Target Group for that BPs . You need to make a selection with their common Attribute value .
    For Example :
    You have a requirement to Target the Indian Customers then you create a Target Group like this .
    Attribute values :
    BP Role : Customer
    Country : India
    Select Attribute List : GL-ORG Master and Relationship Data
    Attributes : BP Role : Filter value 'Customer '
                      Country : Filter value 'India '.
    Select : AND Across All Attribute as logical selection .
    Press Cntrl Key and select both the Attribute Values and drag to the staging area then you get the Customers in India .
    This way you find out the Common Attribute values to the BPs you need to Target and create a Target Group and Use the TG for the report .
    Hope this helps .
    Regards ,
    Nagaraju D.

  • How to call standard planning function in FOX code

    Hi,
    I want to call std. Distribution by reference planning function in FOX formula. Through CALL FUNCTION std planning functions can not be used.
    My requirement is that because I need to execute this distribution function thousands of times with different variable values so I am planning to pass the values for these variables through FOREACH loop.
    Any help is appreciated.
    regards
    Amit Jain

    Hi Amit,
    unfortunately calling a planning function inside a planning function is not possible. And calling a planning sequence from a planning sequence is not supported as well.
    I think is is better if go for a more complex FOX or an exit-function if the planning function needs to be executed online.
    Another way some customers are using to met similar requirements is writing a z-program which determines the variable values in a loop (e.g. by reading a z-table). Inside the loop they set the variables (in the variable container) and when this is done execute a planning sequence for the current variable setting. The whole thing could be executed e.g. in a process chain.
    Hope this helps ...
    Regards Matthias Nutt
    SAP Consulting Switzerland

  • How to Write a FOX Formula in Intergrated Planning Functions?

    HI BI-IP Experts,
    I have just written a FOX formula to call an ABAP Function Module which will execute a Process CHain to run.
    Here is what I wrong in the FOX formula in the Planning Function ZPF_FOX_CALL_PC.
    Call Function Z_CALL_PROC_CHAIN
    = * 1.
    I had to add in this line otherwise the system do not allow me to save the FOX.
    In the Function Module Z_CALL_PROC_CHAIN, it contains the following codes:
        SUBMIT rsprocess
               WITH type    = 'CHAIN'
               WITH variant = 'Process chain name'
               AND RETURN.
    Next I created a workbook with a button that executes this Planning Function ZPF_FOX_CALL_PC.
    The button contains 3 lines:
    CMD => Execute Planning Function
    Planning Function Name => ZPF_FOX_CALL_PC
    CMD => SAVE_AREA.
    After I clicked on the button, my excel seems to be running and I waited for very long but nothing happens.
    And it seems to be running and running and won't stop.
    Is it because the program is running in a loop because I missed out some codes in the FOX?
    Thanks,
    Shunhui.

    hi,
    Since you have not given any condition, the fox formula is being executed for all the number of records...thats why you are seeing the loop.
    example if you have 10 records in your BPS template, the formula is getting executed 10 times for each
    you need to select the field for condition which will make 1 entry, so the function module gets executed just once..
    or.. in the function module when you trigger the process chain, make an entry in a database table... when the 2nd row starts, it will check the table... if the entry exists, it will skip the scheduling of process chain... so on..
    In the process chain.. at the end, delete the entry from the database..
    so your code in the function module should be like this ... assume you have 10 records..
    select * from table zlock  where process chain name = pc name  
    (this is to check if the process chain is already running, if yes skip, if no trigger the process chain)
    if sy-subrc eq = 0.
    exit
    else.
    DATA: number           TYPE tbtcjob-jobcount,
          name             TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    (this will trigger the process chain in background)
    IF sy-subrc = 0.
      SUBMIT rsprocess
      WITH type = 'CHAIN'
      WITH variant = 'PC name'
      VIA JOB name NUMBER number
                        AND RETURN.
    (after the process chain started, make an entry in the lock table.. so it will not be executed again)
    insert entry in table zlock
    ENDif.
    endif.
    I understand this is complex, but I think its one solution I can think of.

  • How to implement this planning function using Fox formula

    Hello,
    I am new to Fox.
    I want to implement this complex logic in a planning function
    i have A (Kf X from infoprovider Z_A), B (Kf Y from infoprovider Z_B) & moreover there is one more condition,
    If current FISCPER > variable value of FISCPER
    KF Z = KF Z1 (from Cube C1)
    Else KF Z = KF Z2 (from Cube C2).
    for a particular calender week,
    X =   ( Y * Z ) / (summation of (Y * Z)  for each week of the whole year)
    I know it is complex.
    but i have to implement this in a planning function.
    The aggreagtion level is built on a multiprovider having A, B , C1 & C2.
    Can someone help me out with the FOX formula for this? or is there any better way to do this.
    Thanks john

    Hi Gerardo,
    Thanks for that.
    I have tried something similiar to it
    DATA CHA_CALWEEK TYPE 0CALWEEK.
    DATA CHA_COMP_CODE TYPE 0COMP_CODE.
    DATA CHA_FISCPER TYPE 0FISCPER.
    DATA VAR_PERIOD  TYPE 0FISCPER.
    DATA SUM_YEAR TYPE F.
    DATA TEMP_D TYPE F.
    DATA SUM_WEEK TYPE F.
    CURRENCY IS LOCAL CURRENCY. FOR DATA SELECTION TO BE RIGHT, NECESSARY TO DERIVE FROM CC.
    DATA UN_LOC_CURRCY TYPE 0LOC_CURRCY.
    UN_LOC_CURRCY = VARV(Z_U_I100).
    CHA_COMP_CODE = VARV(Z_U_I100).
    To Calculate the D
    VAR_PERIOD = VARV(Z_U_I010).
    SUM_YEAR = 0.
    TEMP_D =0.
    IF CHA_FISCPER > VAR_PERIOD.
    TEMP_D = {ZSA_BUD2X,CHA_COMP_CODE,CHA_FISCPER,YBUDG_01X,CHA_CALWEEK}.
    FOREACH CHA_CALWEEK.
    SUM_YEAR = SUM_YEAR + TEMP_D * {ZCREENTSV,CHA_COMP_CODE,CHA_FISCPER,ZIP_RREF1} .
    ENDFOR.
    ELSE.
    TEMP_D = ({ZSAEXCUSV,CHA_COMP_CODE,CHA_FISCPER,YRT_C02X} - {ZCREENTSV,CHA_COMP_CODE,CHA_FISCPER,YRT_C02X}).
    FOREACH CHA_CALWEEK.
    SUM_YEAR = SUM_YEAR + TEMP_D * {ZIP_INDEX,CHA_COMP_CODE,CHA_FISCPER,ZIP_RREF1}) .
    ENDFOR.
    ENDIF.
    But i am getting a syntax error
    Formula error: } expected
      Syntax error in row 21, column 20
    i have marke line21 in bold. above.
    I feel it is correct, still wonder why i am getting this error.
    can you pls help ?

  • How to save the difference values in cube after planning functions.

    Hi,
    Now  i am facing small problem but it is tricky..
    in BPS reading the actual value and modifying the actual value in my plan layout and storing the plan values in my transactional cube.before saving the data i am checking the difference between actual and plan value and that difference value i am saving into my cube.here i am using two planing function one is distributing the actual value into my weeks(using fox code i done)after distributing now i am using second planning function to calculate the difference values.but in my layout alwyas i have to show distribute values only.not difference values but in cube i have to save difference values how can i manage this situation.
    Thanks...

    Hi,
    Now  i am facing small problem but it is tricky..
    in BPS reading the actual value and modifying the actual value in my plan layout and storing the plan values in my transactional cube.before saving the data i am checking the difference between actual and plan value and that difference value i am saving into my cube.here i am using two planing function one is distributing the actual value into my weeks(using fox code i done)after distributing now i am using second planning function to calculate the difference values.but in my layout alwyas i have to show distribute values only.not difference values but in cube i have to save difference values how can i manage this situation.
    Thanks...

  • How can I get/set the vaule of a varibale in the planning function

    Hi All,
    in the fox I can get the value of a variable using VAR(), but How can I get/set it in a normal planning function?
    any proposal would be very appreciated.

    Hi,
    Call following functions 
    1. To get the current value of a planning variable call funtion
    API_SEMBPS_VARIABLE_GETDETAIL by passing Area and variable name
    2. To set the value of a variable call function
    API_SEMBPS_VARIABLE_SET  and pass planning area name and variable name.
    Award the points if thsi solves your purpose.
    Regards,
    Deepti

Maybe you are looking for