Integrated Planning - File upload - Locks issue

Hi
When we try to use file upload feature (planing function- how to guide) , it gives us error that says " Data is locked by user .....". We checked and we had one user in the layout so system had lock entry in SM12 transaction.
Is there any way - we can release the locks created by user before we execute the file upload process automatically so that we donot have to go to SM12 to delete it and then trigger upload process?
Is it recommended to delete such locks from SM12 using ABAP code ?
Please help.
Thanks
A

Hi ,
Pls chk this link for complete doc abt Locking in IP.
http://help.sap.com/saphelp_nw70/helpdata/en/44/588168ce8c08fae10000000a422035/content.htm
*pls assign points,if link is useful*
Regards
CSM reddy

Similar Messages

  • BI-Integrated Planning: File Upload

    Hi, I have implemented the "BI-Integrated Planning: File Upload" paper and it seems to work fine.
    Whatever "Version" is in the delimitied file gets loaded just fine. (New Version gets created in master data)  So if version 999 is in the file the new version 999 get created with no master data issues.  But, when I try to load a file with a material that doesn't exist in Master Data, I get errors about the material not existing.  We need to have the upload allow new materials..
    I am wondering if it Is the InfoObject Conversion Routine that causes the error, but if that was the case we wouldn't be able to load new materials in our regular loads.
    Why does the file upload app allow you to create a new version, but not a new material?
    Any ideas?

    I found out that a new characteristic value can be created for characteristics with no Master Data Table.
    I.E. 0VERSION can have a new value
    I.E. 0MATERIAL cannot have a new value
    Answer was found in following thread:
    IP input query: mandatory fields and new master data input

  • File Upload Portlet Issue

    I have a portlet written in .NET that allows a user to upload a file that is saved to a server and some back-end processing is done. I'm running into an issue where I can't upload a file over 80 MB. I have adjusted the setting in .NET to allow the file size for up to 400 MB. But, my Plumtree Portal is running on Tomcat on Windows. Is there another setting in either Tomcat or Plumtree that I need to adjust?
    Thanks, Jamie

    The binary gateway for Plumtree has a limit of 50mb. You can turnoff binary gateway, which you have to do it in 5.01 to fix some problems, or change the MaxPostData registry DWORD. You might even have to increase its timeout settings for files that large. See this article below:
    http://portal.plumtree.com/portal/server.pt/gateway/PTARGS_0_280508_555092_0_0_18/registry_settings_for_plumtree_binary_gateway.htm
    If you have a problem getting to it, just search for "binary gateway" and it should be the first hit.
    Hope this helps!--Jason ParrishFTN Financial

  • Implement IP File Upload to a web template (with queries) - HTML Coding?

    Dear experts,
    we have implemented integrated planning - file upload.
    now we want to create a web template , which should include some queries AND also the file upload in a separat tab in this template.
    following link (file upload) should be included in the web template:
    http:///sap/bc/webdynpro/sap/zrsplf_file_upload?planning_sequence=ZACOMK_01_PS1&sap-client=200&sap-language=DE
    I don´t have any html-knowledge.
    Is there a standard html-coding available, which I could use and implement in a container item?
    many thanks for your help!!
    best regards
    Roland

    Thanks so much, Rick! That post was exactly what I needed -- and now I have another resource to search for next time.
    There is one little caveat, for anyone else who needs to use this. I had to change the line that sets the Content-Type header to use a semicolon instead of a comma. After this change, the resulting HTTP request is identical to the one generated by WebKit for form submission.
    NSString *contentType = [NSString stringWithFormat:@"multipart/form-data; boundary=%@", boundary];

  • *** Question How to load a file into BI-Integrated Planning and use WAD 7.0

    Hi, I created an manual DTP upload to my planning infocube and it works fine.  The transformation rules convert 0CALMONTH into the relevant Calendar and Fiscal characteristics.   So all of my Time Characteristics are fine, both Calendar and Fiscal.
    However, When using the "How to load a file into BI-Integrated Planning and use WAD 7.0" solution, only the Calendar Characteristics are populated and not the Fiscal.   The upload application somehow knows to populate the 0CALMONTH2, 0CALQUART1, 0CALQUARTER, and 0CALYEAR.  
    How can I get the upload to populate my Fiscal Period Characteristics?
    Would it be best to modify the "Upload Application, or can I write a planning function to update the fiscal characteristics, or some other way?
    Thanks!

    My planning data is being uploaded via the SDN Planning File Upload Solution. What I did was end up modifiying the upload class ZCL_RSPLF_FILE_UPLOAD Method EXECUTE.
    I added the following code if anyone is interested.
    *{ INSERT BWDK902323 1
    THIS SECTION OF CODE POPULATES THE FISCAL PERIOD CHARACTERISTICS
    USING THE FISCAL YEAR VARIANT 'NK' AND THE CALENDAR MONTH/YEAR
    FIELD-SYMBOLS <0FISCVARNT> TYPE /BI0/OIFISCVARNT. " Fiscal Year Variant
    FIELD-SYMBOLS <0FISCYEAR> TYPE /BI0/OIFISCYEAR. " Fiscal Year
    FIELD-SYMBOLS <0FISCPER> TYPE /BI0/OIFISCPER. " Fiscal Year/Period
    FIELD-SYMBOLS <0FISCPER3> TYPE /BI0/OIFISCPER3. " Posting Period
    FIELD-SYMBOLS <0CALMONTH> TYPE /BI0/OICALMONTH. " Calendar Month/Year
    ASSIGN COMPONENT '0CALMONTH' OF STRUCTURE <L_S_DATA> TO <0CALMONTH>.
    ASSIGN COMPONENT '0FISCPER' OF STRUCTURE <L_S_DATA> TO <0FISCPER>.
    ASSIGN COMPONENT '0FISCVARNT' OF STRUCTURE <L_S_DATA> TO <0FISCVARNT>.
    ASSIGN COMPONENT '0FISCPER3' OF STRUCTURE <L_S_DATA> TO <0FISCPER3>.
    ASSIGN COMPONENT '0FISCYEAR' OF STRUCTURE <L_S_DATA> TO <0FISCYEAR>.
    <0FISCVARNT> = 'NK'.
    CALL FUNCTION 'FISCPER_FROM_CALMONTH_CALC'
    EXPORTING
    IV_CALMONTH = <0CALMONTH>
    IV_PERIV = <0FISCVARNT>
    IMPORTING
    EV_FISCPER3 = <0FISCPER3>
    EV_FISCPER = <0FISCPER>
    EV_FISCYEAR = <0FISCYEAR>.
    *} INSERT

  • File Upload Pluggable Java Component / Java Bean

    Dear Colleague,
    I integrated the File Upload java bean into one of my Forms 9i forms. I also had it up and running (!!!), but after I rebooted the machine, I no longer receive the File Upload dialog window as I did originally. When I press the button which starts the File Upload, it never displays the window to select a file. My trigger is as follows:
    begin
         /* Initialize the Java Bean */
         FileUploader.init('DOCU_BLOCK.FILE_UPLOADER','LOAD_CALLBACK_TRIGGER');
         /* Make sure the file is compressed on upload */
         FileUploader.setCompressed(true);
         /* Do the load to the c:\rolic\RKMS_documents\ directory on the server */
         FileUploader.UploadFile (:PARAMETER.file_destination);
    /* Error Handling */
    exception
    when FileUploader.FileUploaderEx then
    message (FileUploader.GetError);
    end;
    I have the "uploadclient.jar" file in my folder: C:\oracle9iDS\forms90\java
    I list the "uploadclient.jar" file in the forms config file, formsweb.cfg as follows:
    archive_jini=f90all_jinit.jar, uploadclient.jar, RKMS_images.jar
    and I reference the uploadserver.jar in the default.env file as part of the CLASSPATH as follows:
    CLASSPATH=c:\oracle9iDS\jlib\debugger.jar;c:\oracle9iDS\jlib\ewt3.jar;c:\oracle9iDS\jlib\share.jar;c:\oracle9iDS\jlib\utj90.jar;C:\oracle9iDS\forms90\java\UploadServer.jar
    =========================================================
    - Why did this work before I rebooted and now no longer???
    - Any tips? Ideas?
    =========================================================
    The uploadclient.jar file also successfully loads as shown in the Java Console:
    Oracle JInitiator: Version 1.3.1.9
    Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
    User home directory = C:\Dokumente und Einstellungen\Randy
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: C:\Dokumente und Einstellungen\Randy\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    Loading http://quantum:8888/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://quantum:8888/forms90/java/uploadclient.jar from JAR cache
    Loading http://quantum:8888/forms90/java/RKMS_images.jar from JAR cache
    connectMode=HTTP, native.
    Forms Applet version is : 90290

    HI,
    I'm facing nearly same problem.
    When i press a button in my form to enable client to select image from there local computer, following code executes ( WHEN-BUTTON-PRESSED)
    declare
         exSetup EXCEPTION;
         hButton ITEM := Find_Item('UPLOAD.SELECT');
    begin
    if (:upload.output_dir is null) then
    MsgBox.Show(MsgBox.STOP_ALERT,FileUploader90,'Error: A output directory on the middle tier must be specified');      
    raise exSetup;
    end if;
    FileUploader.UploadFile(:UPLOAD.output_dir);
    /* (:UPLOAD is a control block and output directory is a text field char 1000 having initial property = D:\IMAGE) */
    exception
    When FileUploader.FileUploaderEx then
         MsgBox.Show(MsgBox.STOP_ALERT,FileUploader90,'Error During Upload: '||FileUploader.getError);      
    When exSetup then
    null;
    end;
    There is no compiliation error.
    Runtime error is " Error During Upload: Desitnation directory does not exists or is not writeable ".
    Infact destination directory D:\IMAGE exists and is readable/writable to any one ??
    Any Help possible

  • View temporary data in Web layout during file upload in Integrated Planning

    Hi Experts,
    When using File Upload funcationality, in Integrated Planning,
    I have a requirment, How user can view the data in the web layout?
    After data display user can make changes in the data and on click of Save the updated data is saved in cube.
    If any one has come across this requirment can you please help me out how things can be carried out?
    If "how to implement" document is present can you please provide me the link.
    Thanks and Regards,
    Abhi

    Hi Abhi,
    I assume, you are using WAD for this..
    Please do the following: (Please note the the cube has to be in Plan mode while executing WAD)
    1. Create a input enable query (through query designer) on th eaggregate level (the one you are using for IP). You might need to create filers for the aggregate level. these filters can also be used in the query.
    2. In the WAD, pull this query.
    3. Create a button in WAD and check for the planning functionalities readily available that you can use in WAD. One of the planning functionality is SAVE Data. This will save any data which is entered by the user.
    4. In the same button integrate a Refresh Data command after the SAVE data. This will automatically refresh the query and pull the updated/changed data from the cube.
    This should work. Please write back in case of any clarification.
    Regards, Rishi

  • Locking Issue in Planning DSO in SAP BW 7.3(Integrated Planning)

    Hi Experts,
    We have built Aggregation Level on Direct Update (planning enabled) DSO and used the same in the input ready queries.( Its complete Manual planning - new row addition feature in WAD).
    We have 5 characteristic and one key figure for planning.
    We are facing lock issue while planning the data i.e. when one user is planning, other user cannot plan.
    The lock relevant characteristic is Column A and the same has been added to the Lock Characteristic tab(RSPLSE) of the infoprovider. The input ready query is also restricted with a variable on Column A (manual input single variable- mandatory).
    While the user opens the Planning Layout and plans the data, we can see lock entry in RSPLSE(locks tab) for the Column A selection in the infoprovider, yet if another user is trying to plan for data for some other selection of Column A, a lock entry in RSPLSE is shown with the selection but it errors in thelayout with lock on the infoprovider and cannot plan the data.
    Any inputs will be of great help.
    Regards,
    Priyanka

    Post is closed.
    Refer http://scn.sap.com/thread/3564212 for the solution.
    Regards,
    Priyanka

  • Problem in Load File into BI-Integrated Planning

    <b>Hi Marc,
    When I am running the URL for file upload in BI Integrated Planning, I am getting the below message ( we have created the variable on navigational attribute):</b>
    Note
    The following error text was processed in the system BWD : /BI0/OICOSTCENTER__0SALES_DIST is not a valid attribute type.
    The error occurred on the application server ma1ua231_BWD_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE_INFO~ADD_ATTRIBUTE of program CL_WDR_CONTEXT_NODE_INFO======CP
    Method: WDDOMODIFYVIEW of program /1BCWDY/780RZKQ35587UCX2RCTU==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_MODIFY_VIEW of program /1BCWDY/780RZKQ35587UCX2RCTU==CP
    Method: DO_MODIFY_VIEW of program CL_WDR_DELEGATING_VIEW========CP
    Method: MODIFY_VIEW of program CL_WDR_VIEW===================CP
    Method: DO_MODIFY_VIEW of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: DO_MODIFY_VIEW of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    <b>In System we are getting Short dump as:</b>
    An exception occurred which is explained in detail below.                     
    The exception, which is assigned to class 'CX_WD_CONTEXT', was not caught and therefore caused a runtime error.                                             
    The reason for the exception is:                                              
    /BI0/OICOSTCENTER__0SALES_DIST is not a valid attribute type.                 
    I went through your blog. Just curious to know when can we expect Version 2 of the how-to solution will support a direct upload from Excel without the need to launch a browser.
    Thanks
    Kamlesh Mishra

    Hi Marc,
    Thanks for your support and great help for the problems we are facing in IP. Now we are able to get the browser screen for selecting the file, but we are facing new issue, When we are uploading file, the system is giving dump saying "THE ASSERT CONDITION was violated" in the below source code:
    LOOP AT n_t_charsel INTO l_s_charsel WHERE sign = 'I' AND opt = 'EQ'. 
      ASSIGN COMPONENT l_s_charsel-iobjnm OF STRUCTURE <l_s_data> TO <f>. 
      ASSERT sy-subrc = 0.                                                                               
    IF <f> IS INITIAL.                                                  
        <f> = l_s_charsel-low.                                            
      ENDIF.                                                              
    ENDLOOP.                                                              
    (We are unable to open the Blog, it is showing us "No Authorization" message)
    Thanks,
    Kams

  • Issue in Planning file entry creation for materials

    Hi all,
    There are some materials for which there are no planning file entries inspite of having MRP data and valid MRP type.
    The reason (1) could be that those materials might have been created before MRP was activated for that plant. Another reason (2)is that materials created by certain batch SAP programs do not trigger the creation of a planning file entry automatically, the way a MM01 normally does when you create a material. Otherwise when a material is created with MRP data & valid MRP type, the material will be automatically included in the Planning File.
    Please let me know whether my understanding on the above( reason no.1 & 2) is valid or not. Is there any SAP / OSS document / SAP help related to this information on reason (2) that you can share with us? If you could share any link of any such document, it will be really helpful.
    Thanks a lot,
    Regards
    Brijesh

    Dear,
    Reason could be
    System will maintain the Planning File Entry Automatically once MRP is activated for particular Plant (T.Code OMDU).But if Materials are created Before this activation then you have to do manual entry of those Materials in Planning File using T.Code MD20 or using Background job MDBT.
    If you create the materials or upload materials before activation plant for MRP this may be the cause for this.
    Go to OMDU here is tick mark for plant activation for MRP if you activated after material master creation then system will not create planning file entry for these material.
    In my case every thing was maintained than also no planned order generated? Pls put some more fact on this.
    Before running MRP we used to run MDRE. But in the result spool list there is no content
    Create the variant and run it in Back ground
    For this you need to you need to create the variant for planning file entry and its consistence check in OMDU and execute it to avoid such type of issue.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • Issue with Input Ready Query in Integrated Planning.

    Hello Everyone,
                                I've been working on Integrated Planning for some time now. My company recently started using a new server for this work. I find that I am unable to make the queries "input ready". Though I edited the properties of the key figure to "accept user entered values" and chose the option to "start query in change mode", when I execute the query, I find that it the values for the Key Figure cannot be changed. I tried to search in the OSS for any note(s) regarding this issue, but was unable to come up with a solution. Is the problem related to the server or is there some other configuration that I should take care of? Additionally, I would also like to know if there is any method to debug such a problem. I would appreciate it if someone could help me out in this regard.
    Thanks,
    Jake.

    Hi,
    Please verify the following.
    1. Check if the underlying realtime cube is in "Planning Mode:Loading not allowed" state in rsa1
    2. If you have created an aggregation level, Check if the most detailed information is available at that Aggregation Level(i.e, include characteristics so that the record can be uniquely identified at that aggregation level).Best would be to include all characteristics and create a query first and ensure it works.Then remove unwanted charecteristics one by one, so that you can fix the issue.Best thing to start with is to create the aggregation level on top the real time cube itself.
    3. Check for any characteristic restrictions been defined for the real-time cubes.If so, try removing them temporarily and execute the query
    4.Also check if any data slices has been created on the real time cube. If so, try removing it temporarily and then execute the query.
    5. Set the property for Planning "Start query in Change Mode"- this is for th Query
    6. Set the 'Key Figure' Planning Property to "Can be changed Manually or via Planning Functions" for the appropriate KeyFigures- this is for the key figures
    7. Try removing the currency/unit from row/column. Try restricting them in filters rather than in row/columns.
    8. Check if there are any locks occurring due to filter., i.e if you are using a filter and even if 1 record of this selection locks with another user's selection you lose the input readiness.
    Mostly this should fix the issue. Assign points if this info helps you.
    Thanks,
    Balaji.

  • Locking Issue in Web planning layout

    Hi Experts,
    i have a web based planning layout which allows the user to enter plan data either  manually or flat file.
    For manual entry i gave property for layout as editable.If user choose flat file upload on the samelayout, system gives locking error.
    Please give me some solution..
    I need both options of data ebtry on layout.
    Thanks

    You should definitly seperate the two actions in to two layouts. If the user is on the manual layout the system locks the data in the background so the upload function can not work..

  • CO PA  - Upload planning files

    Hi,
    could anybody tell me which is the file layout (which columns in which order???) for the "upload excel" function in CO-PA integrated planning?
    Trx KE13N ?
    Thks
    Veronica

    Annual Plan for Controlling

  • Sharepoint file locking (10 min wait from new file upload)

    When I upload a new file to sharepoint and try to edit the document, I receive an error that says the the file is currently locked for editing by another user.  My google search told me: "the
    write lock times out after 10 minutes. Users cannot modify the document during the time when the document is locked. To work around this behavior, wait 10 minutes before opening the document again."
    Is there a better more viable option for saving new documents to sharepoint, so I can edit them right away?  Any help is greatly appreciated!
    Thank you,
    Kelvin

    Hi Kelvin,
    As I understand, when you uploaded a new file to SharePoint and tried to edit the file, you received an error” the file is currently locked for editing by another user”.
    How do you try to edit the file? Edit in the Windows Explorer or edit in the Excel or Word? Which file type has encountered the issue?
    Check things below:
    1. Check the details of the error in the ULS log.
    2. Check whether the file has been properly checked in or not. If not, refresh the page and try to check in the file again.
    3. Delete the local copy of the file present in the cache folder of the concerned user account (access to user’s PC required).
    4. Close all the instances of file type opened in the system. E.g. if the file type is excel, then close all the excel files currently opened.
    5. Also kill the file type service using the task manager.
    6. You can install the latest rollup and updates for SharePoint 2013 and the latest update for the Microsoft office. If you have the issue with the excel file, you can install the latest Cumulative Update for Excel.
    There is another solution here is to build a small program to unlock the document/file against SharePoint Content Database. You can refer to the article below:
    http://www.codeproject.com/Articles/251161/Resolve-SharePoint-Document-Locked-for-Editing-Iss
    The article below is about File is locked for editing by ‘domain\username' when editing office document in SharePoint site.
    https://curah.microsoft.com/216560/file-is-locked-for-editing-by-domainusername-when-editing-office-document-in-sharepoint-site
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • BI IP --- Planning function for File Upload

    Hai All,
    In BI IP , When I am trying to load the data (text file) by using Planning function for File Upload. I am getting an error message When I am clicking on Update .
    Error Message : Inconsistent input parameter (parameter: <unknown>, value <unknown>).
    In Text file I am using Tab Separation for each value
    Anyone help me out.
    Thanks,
    Bhima

    Hi Bhima
    Try one of these; it should work:
    1. If you are on SP 14 you would need to upgrade to SP 15. It would work fine
    2. If not, then -
         a] apply note 1070655 - Termination msg CL_RSPLFR_CONTROLLER =>GET_READ_WRITE_PROVIDS
         b] Apply Correction Instruction 566059 [i.e: in Object - CL_RSPLFR_CONTROLLER GET_READ_WRITE_PROVIDS,
    delete the block: l_r_alvl = cl_rspls_alvl=>factory( i_aggrlevel = p_infoprov ).
    and insert block - l_r_alvl = cl_rspls_alvl=>factory( i_aggrlevel = i_infoprov ).
    Goodluck
    Srikanth

Maybe you are looking for

  • IGMP v3 support in Solaris

    Does anybody know the status of igmp v3 in solaris 10? Will it be supported or not? Thanx, Vik

  • Debug Exit_SAPLRRS0_001

    Hello, I want to add next 10 month to my calmonth variable, based on the month entered by user. <b>Variable</b> zc_calmth. ( multiple single values, Ready to input, Mandatory) My code: step I = '2' <b>break-point.</b> do 10 times low = month month =

  • Learning map - XI, ALE, EDI, IDOC

    Hi all! I´m trying studying IDOC but it´s complicated. I found many documents talking about EDI, ALE and XI. I don´t know many things about EDI, ALE and XI. So, my question is: Have i to start studying about this topics (ALE, EDI and XI)?? I think th

  • CS Mars, Cisco Works and Security Manager

    If we wanted to get all three applications, do cisco bundle it into one package? Or does it have to be purchased separately?

  • Doesn't load entire library

    I can't get itunes to load my entire music library. I don't know if there is a size limit, but the music folder that I have selected is just over 200 GB. The total size across the bottom of my itunes screen says 30.7 GB. I have the folder selected by