Release of Locks for SEM Planning Layouts in EP

Hi,
We are using SEM Web Layouts and they are being displayed through the SAP Enterprise Portal.
To avoid messages when navigating between layouts, we have set the Independant Application Flag to False in the Web Layout Customising, however this is currently resulting in the locks not being release when you navigate away from the BSP within the portal.
How can we get the portal to release the lock when navigating away from layouts.
Thanks
Sakhr

You can only UPDATE after the LOCK is being released, to check if it LOCKED use SELECT * FROM TABLE1 WHERE ..... FOR UPDATE NO WAIT
IF locked you will get the following mesg.
ERROR at line 1:ORA-00054: resource busy and acquire with NOWAIT specified
Thanks

Similar Messages

  • Release the lock for objects in ABAP webdynpro

    Hi All,
    I need to release the lock of certain objects during the application close(When the user closes the browser)
    Can I release the lock of the objects other than the method WDDOEXIT method.  If yes please tell me how?
    The reason being WDDOEXIT is not called during the close.
    Thanks,
    Subash M

    >
    Subash Mohanvel wrote:
    > Hi All,
    > I need to release the lock of certain objects during the application close(When the user closes the browser)
    > Can I release the lock of the objects other than the method WDDOEXIT method.  If yes please tell me how?
    >
    > The reason being WDDOEXIT is not called during the close.
    >
    > Thanks,
    > Subash M
    I think the bigger question is to why WDDOEXIT is not called. What you describe is exactly what WDDOEXIT is designed for.  This is the part of the phase model that is fired when the session times out or the browser closes. This should work for just this purpose.

  • Transport for delete planning layout

    is it possible to create a transport request for deletion. i would have to delete a planning layout i created using FAGLPLC(new g/l planning). i do not use this anymore and would like to delete it from the system and propagate the same to other environment(testing) . could you please let me know if it is possible to do so.

    thanq,
    ur correct that, looks like, ONLY standard lay outrs r transportable. bcoz, when I used my_alv_layout, I did  NOT see the SETTINGS option in MENU, instead there is ?????????????????????????????
    1) So, Is there any alternative for my requirement?
    OR
    2) pls. see my other thread, with title, Can I TRansport a table entry of LTDX, which DELIVERY CLASS is E, ALLOWED?
    Its about the TRANSPORTING the same new entry content from TABLE of LTDX , as its "E" type?
    and
    3) pls. let me know, Wht is the flag to show the alv field as CURRENCY?
    thanq
    Edited by: Srinivas on Mar 18, 2008 2:50 AM

  • Upload the master Excel for BPS plan Layout

    Hi,
    I have made some changes to the Excel as given in below link
    http://help.sap.com/saphelp_nw04/helpdata/en/24/9ffa0b783d11d4b2fd0050dadfb23f/content.htm
    when i am trying to upload the excel where i did some changes but they are not efective in Planning layout.
    Please suggest
    Thanks,
    Joseph M.

    hi,
    i have some sample code(taken from some source)
    DECLARE
    application ole2.obj_type;
    workbooks ole2.obj_type;
    workbook ole2.obj_type;
    args ole2.list_type;
    worksheets OLE2.OBJ_TYPE;
    worksheet OLE2.OBJ_TYPE;
    BEGIN
    application:=ole2.create_obj('Excel.Application');
    ole2.set_property(application, 'Visible', 'True');
    workbooks := OLE2.GET_OBJ_PROPERTY(application, 'workbooks');
    args:=ole2.create_arglist;
    ole2.add_arg(args, 'FILE_NAME');
    workbook:= ole2.invoke_obj(workbooks, 'Open',args);
    ole2.destroy_arglist(args);
    args:=ole2.create_arglist;
    ole2.add_arg(args, 'c:\Pasta1!teste'); --how to pass the arguments
    ole2.invoke(application, 'Run', args);
    ole2.destroy_arglist(args);
    ole2.release_obj(workbook);
    ole2.release_obj(workbooks);
    ole2.release_obj(application);
    END; but i don't know how to pass the arguments(i have to pass the excell cell values(data)as an arguments)
    Suggest me to proceed further..
    Thanks..
    Edited by: user13329002 on Nov 13, 2010 1:16 AM

  • Unable to release transport request for modified Planning book from Dev Sys

    Hi All
    can someone advice on this:
    We have included a new key figure to our existing Planning book, which is already defined in Planning Area. This key figure is just getting shipping data for comparison and is not having any impact on macros also. We inserted key figure and set the attributes as output only and all looks good in Development system. But when we created transportation request and trying to release request it is giving error "Test Call of transport control program (tp) ended with return code 0208" Message no: TK094
    can any one advice on this
    KV

    Hello,
    Please check with Basis team. I think this is not related to planning book that you are trying to export. A look in the message text gives the following:
    Check the following points:
    Feasibility of the transport control program tp
    Parameter settings in the transport profile
    Availability of the transport directory and the subdirectories (cofiles, data, log, sapnames, bin)
    Write authorization for the subdirectories
    Write authorization for the files of the subdirectories cofiles, data, log, sapnames
    Release the request again when the error has been removed.
    Hope this helps.
    Warm regds,
    Ashutosh

  • Planning Layout Challenge

    Hi all,
    Our customer has the following requirement for a planning layout that we are struggling to configure.
    Any ideas or help from your side will be greatly appreciated.
    They use transaction KP06.
    On the Selection screen (General data selection) they want the following:
    Version:
    Fiscal Year:
    Cost Center from:    Cost Center to:     OR Cost Center Group:
    Source Cost element from:          Source Cost Element To:     OR Source Cost Element Group:
    (they want to use multiple coste elements to calculate a single cost elements value according to the formula: Source Cost Elemet 1 * 10% + Source Cost Element 2 * 10% = Target Cost element)
    Target Cost Element:
    For the planning entry screen it should look like this:
    Header - Fixed as per General Data Selection
    Version 0
    Fiscal Year 2011
    Period 1-12
    Cost Center: As per entry screen
    Leading Column: Cost Element
    2nd Column: Target Cost Element
    3nd Column: % Increase (to be enterd)
    4rd Column: % Applied (Fixed and can not be changed)
    I hope this is more or less clear on their requirement.
    One of the consultants did manage to get something close, but the problem is they want to be flexible on the Sending cost elements to be used and not fixed to 1 or more, and also the sending cost elements were placed in the columns, but again the they are fixed as per entries on the selection screen.
    I hope someone can please give me some idea how to achieve this.
    Thank you in advance.
    Louise

    Hi
    I Agree with Eli, KP06 can not be as flexible as this....
    You would need to calculate it outside SAP and upload in KP06.. You can build your Excel sheet with all the relevant formulaes
    Or else, if you have BW, you can build this model there and using RFC you can push these values into KP06... But this will take some time to develop
    Regards
    Ajay M

  • CRM fields not populating in BPS layout for opportunity Planning 0crm_order

    Hello Support,                                                                               
    We are using SAP CRM 5.0 SP09 with BW 7.0 SP 09.                                                                               
    When creating an opportunity in CRM, the product data ( quantity ,
    values) are not appearing in Planning tab( SEM-BPS Layout) .                                                                               
    Kindly let us know what needs to be done to resolve this issue.    
    Thanks and regards,                                                
    Rajiv Jain

    In your CRM system, check your mapping from CRM to BW are correct.
    You can do this in transaction SPRO. Menu path 'SAP Implementation Guide --> Integration with other mySAP components --> SEM --> Change mapping between CRM fields and InfoObjects'. Select planning application 'OPP' and click on 'Mapping table - system entries' on the left.
    In here you should see the mapping from the InfoObject to the CRM field (eg. Infoobject 0CRM_EXPREV uses structure CRM_BW_OPPT_H and field name EXP_REVENUE).
    In order for the value to be passed to planning you must tick the 'Empty' checkbox on.
    Regards,
    Adrian

  • Planning Layout for Activity Rate

    Hi
    My Client is a German Company. Controlling Area currency is EURO, It has operations in India also.
    For India, required to create BDC for Activity rate planning.
    1. Is it necessary to create separate Planning Layout for INR currency?..I did not find any currency in standard layout.
    2. Please explain how it works. whether it takes Cost Center currency or Controlling Area currency?
    Regards
    Pradeep Veer
    Edited by: Pradeep Veer on Feb 9, 2011 7:13 AM

    Hi,
    The standard setting for the leading currency plans the transaction currency for costs and the controlling area currency for prices. This is the Standard design. Please review 100379 & 183556 for further information on this.
    Please pay attention to the following section of note 100379:
    'Note: you can only change these settings in the following  Transactions: KP97 (as of Release 3.1I) and KP98 (as of Release
    4.6), as well as CP97 and CP98 (as of Release 4.6C). However, you  should only carry this out after you have taken Note 183556 into  account.'
    regards
    Waman

  • 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..

  • Table for PRT Equipment  Release or Locked Status

    Hi Friends,
    In Equipment master, PRT data view, Release PRT or Lock PRT  button is there.
    Where i can take this status (Released or Locked )  ?
    Thanks

    Hi,
    If you check u201CIE02u201D for any equipment, Production Resource / Tool (PRT) status is by default in Locked Positionu201D.
    This status controls the usage of PRT in the functional application i.e. planning and production.
    The status allows you to release production resource/tools for different tasks when maintaining master data.
    If it is released can be used in the task list or order.
    Regards
    DSR

  • CO-period lock for planning on company code level

    Hello,
    I would like to ask you for assistence.
    We would like to have the possiblity to lock the CO-periods on company code levels. For actual values, it is possible to arrange this within the validation. However, for plan values the validation is not active.
    I have read about possibility to enhance an user exit for paritcular planning transactions (KP06, KP26 etc.), but I can't find it anymore.
    Does anybody from you have experience with this, eventually is there another option?
    Thanks in advance
    Peter

    I have had a similiar problem and contact to remote consulting from SAP. They offered a modification (10-15 days if I remember correctly) to make CO period lock company code depending.
    If I remember correctly, his name was Valentin (in Germany).
    However: if newGL is active with real-time integration and also plan transfer, I think it should be possible to lock in FI.
    regards
    Bjoern

  • Planning Layout for Activities

    Good morning gurus,
    my need today is the following:
    I have a dummy activity type with a price manually planned on a dummy cost center
    I have quantities to plan on wbs elements
    I have a planne margin valid for one year
    I want to insert in the planning layout this margin (as statistical key figure or i don't know...)
    Eg:
    - Activity tipe PreConfig01 with planned price 10.000,00u20AC on Cost center Offset_Plan
    - Planned quantities are 10 on WbeXX and 20 on WbeYY
    - My yearly planned margin for 2011 is 20%
    - When i use Tcode CJR2 with layout 1-702 i would obtain 120.000,00u20AC and 240.000,00u20AC as result of my planning, instead of 100.000,00u20AC and 200.000,00u20AC that i get now.
    Does anybody know how can i customize the layout using skf or formulas?
    I don't want to hardcode the margin as a formula in the layout; i want to maintain it as master data in order to easily update it every year.
    Thanks in advance,
    Enrico

    Does anydody know something to in matter?

  • Planning Layout for Statistical Key

    Hello. Good Morning.
    Does anybody know how to enter the field Transaction Currency as a variable in a planning layout for Statistical Key?
    Please kindly answer me.
    Thank you very much.
    Best Regards,
    Antonio

    I try again as you said, it's ok. But I don't know why I can't do like before. Could you help me find the reason. Below lists all the data needed.
    Gen. data selection:
    Field Name          | Values
    Fiscal Year            Variable entry
    Period                   Variable entry From To
    Company Code      Variable entry
    Version                  Variable entry
    Statistical Key Fig. Variable entry
    data entry columns:
    Profit Center | Description | Quantity | Unit |
    Thanks in advance.
    Alex
    Edited by: Alexandro Miao on Jun 2, 2008 10:12 PM
    Edited by: Alexandro Miao on Jun 2, 2008 10:13 PM

  • Planning Layout for WBS Elements

    Any one have any idea how to set up the planning layout for WBS ELEMENTS & COST CENTER?
    We are trying to plan for WBS elements and Cost center through CJR2 but I don't have any layout designed for this.
    Any ideas or suggestions?

    I doubt if you can have a single layout for planning both at Cost Centre and WBS level.
    But you can create your own layout by copying the standard planning layout under a different name and then change the copy (T code OPO1)
    We in our project created a layout with WBS Element (PSPGR) and Cost Element (KAGRU) as Characteristic Values with lead column structure 'Characteristic value and name'.
    You then create/assign a Planner Profile>Planning Area>Planning layout using T Code KP34.
    Call/change your planner profile (T code KP04) to above before doing the cost planning in CJR2.
    Regards
    Sreenivas

  • Planning Layout for WBS

    Any one have any idea how to set up the planning layout for WBS ELEMENTS,COST CENTER,?
    We are trying to plan for WBS elements and Cost center through CJR2 but I dont have any layout designed for this.
    Any ideas or suggestions?

    I doubt if you can have a single layout for planning both at Cost Centre and WBS level.
    But you can create your own layout by copying the standard planning layout under a different name and then change the copy (T code OPO1)
    We in our project created a layout with WBS Element (PSPGR) and Cost Element (KAGRU) as Characteristic Values with lead column structure 'Characteristic value and name'.
    You then create/assign a Planner Profile>Planning Area>Planning layout using T Code KP34.
    Call/change your planner profile (T code KP04) to above before doing the cost planning in CJR2.
    Regards
    Sreenivas

Maybe you are looking for