Jscript cross scripting with BSP's

Hi BSP consultants,
I have one BSP embedded in another BSP (actually done using the SEM Web Interface Builder which is a front end for building BSP's in SAP SEM).
All I want to do is access the HTML code in the embedded BSP from the parent web page (BSP), but I keep getting a 'permission denied' error.
I understand it to be linked to cross 'iframe' scripting security type error, but both BSP are on the same domain, and all my research indicates that as long as they are on the same domain then you should be able to use javascript to access the HTML code inside the iframe (child BSP).
Parent BSP url:
http://ldndsmsa64.intranet.barcapint.com:1080/sap(bD1lbiZjPTk1MCZkPW1pbiZ3PTU2MjAwMDAr)/bc/bsp/sap/zvalidation/zvalidation.htm?bps-design_messages=X
Child BSP url:
http://ldndsmsa64.intranet.barcapint.com:1080/sap/bc/bsp/sap/z_bps_comments/list.htm?area=ZBA00001&plevel=TEST4&package=COMMENT&view=CONTENT&showtitle=YES&showselection=YES&showproperties=YES
Any pointers would be greatly appreciated.
Thanks,
Rael Bethlehem

Hi Durairaj,
While I wait for my IT team to help me access the internet browser settings to set the 'trusted sites' option(browser security is greyed out for me), I thought maybe you could confirm that my javascript code I am using is correctly going to call the contents of an embedded iframe (embedded BSP)...:
function showcontentofBSP (){
//fetch all the tables and cells inside of the 'iframe'
var table = window.myFrame.document.getElementsByTagName("table");
for (i= 0; i < table.length; i++){
var tableitem = table.item(i);
var cells =tableitem.getElementsByTagName("td");
var tableid = tableitem.id;
alert(tableid);
Thanks,
Rael

Similar Messages

  • Integrating Dynamic Adobe Form with BSP: SAP Objectives setting &Appraisal

    Hi all,
    My users ask me whether wecan use Adobe Form to replace SAP standard BSP appraisal form (generated by HAP_DOCUMENT).
    I konw that it's possible to integrate Adobe Interactive form with BSP.
    But my Adobe form must contain dynamic table, with ability to insert/delete row on the form. This is just like what's there when you can adding objectives by client scripting in SAP OSA.
    Please tell me if the integration of dynamic Adobe form with BSP is possible?
    (We are on ECC 6, EPH2).
    Thank you so much.
    Giang

    Hello,
    have you worked with the following document?
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d0e58022-2a39-2a10-69a8-c1a892e2b3f4&overridelayout=true
    Did you try to develop a demo version of the form to try if it is possible to do what you need to?
    Do you plan to replace "only" the standard non-Adobe form or to develop a whole custom application?
    PRovide more details about the steps you´ve tried and we can solve this out. Regards, Otto

  • My iPod no longer appears as  folder/file in Itunes when connected.  Library, genius, playlists, etc.  are present, but there is no longer cross reference with the iPod itself.  Help!?

    My iPod no longer appears as  folder/file in Itunes when connected.  Library, genius, playlists, etc.  are present, but there is no longer cross reference with the iPod itself.  Help!?

    I just tried it again and this time a different message showed up "The iPod 'name' cannot be synced. The required folder cannot be found." I have no clue what folder it could be talking about.

  • Premiere Pro CS 5.5 can't do a simple cross dissolve with MPE enabled?

    When adding cross dissolves to a project that I'm working on, I've come across an odd problem. I say odd because this should be dirt simple, but Adobe seems to have messed this up. Please advise on any solution or work around, or perhaps simply see if you can recreate the issue so we can get Adobe to fix this.
    Problem:
    Cross dissolves transitions don't seem to work consistently in cs 5.5. Note: I know how transitions work, and I'm not doing something stupid like trying to apply a transition to a cut without actually removing any video between the two clips (assuming the clips came from the same source video.). I'm able to recreate this issue on two different systems with premiere pro cs 5.5 by doing the follwing:
    Create a new project and and sequence with the default settings.
    Enable the Mercury Playback Engine if it isn't already enabled.
    I import the Wildlife.wmv video that comes default with Windows 7 systems.
    Drop it the video into the sequence.
    Ripple delete about a 2 second section of the video. be sure to do this in the first half of the video, and make sure the the video changes the scene during this period so that you will notice the cross dissolve transition when it is applied.
    Apply the default cross dissolve transition to the edit.
    Review the edit. For my test, this edit always seems to work fine.
    This is a screen capture of the working cross dissolve transition.
    Now let me show you what happens when I do a similar edit somewhere in the second half of the video clip.
    As you can see, for the duration of the transition, only the clip to the left is shown. At the end of the transition effect the program out preview jumps to displaying the clip to the right. There is no transition.
    Additional notes:
    This second transition works fine with MPE disabled, but because if of my other problem http://forums.adobe.com/message/3725642 that I have with MPE disable it is not a viable work around.
    Help?
    -Ted

    I too am experiencing this issue.  AVCHD footage, GPU Acceleration, trying to apply a cross dissolve, and instead it randomly seems to see it as a simple cut.  The Cross Dissolve is simply ignored... Adjusting the footage length, removing the CDissolve, re-rendering, etc. have no effect.  For whatever reason, in that specific location on the timeline, a cross dissolve with GPU acceleration is impossible.  Yet, in other sections of the timeline, it is just fine.
    (The Fast Blur trick mentioned above worked (Thank you!) however, when I changed my playback resolution on the screen display, that broke the fix.  Deleting the fast blur, and applying it to the clip on the other side of the cross dissolve, re-enabled the work around)
    I also see an issue when a clip changes in the timeline, (cut from one piece of footage, to another) the video will begin to studder, dropping frames.  Framerate seems to drop to about 2fps.  To get smooth playback back, I have to pause and resume the playback.  Even if this is done very very rapidly, it still fixes the playback issue.  it's just really annoying to have to constantly stop and resume playback everytime a video clip changes in the timeline.
    I have a dedicated hard drive for video, and a dedicated mirrored array for the OS.  the video drive is a 7200rpm SATAII drive, and I'm using AVCHD footage.  I really don't think it's a disk speed issue... particularly as pausing and resuming (even if you do it as fast as you can possibly hit the keys) fixes it.  I'd rather not spend the $ to set up a RAID 10 for video, if I can avoid it and particularly if it's not needed.
    -Jason

  • Which is better approach to manage sharepoint online - PowerShell Script with CSOM or Console Application with CSOM?

    Which is better approach to manage sharepoint online - PowerShell Script with CSOM or Console Application with CSOM?
    change in sharepoint scripts not require compilation but anything else?

    Yes, PowerShell is great, since you can quick change your code without compilation.
    SP admin can write ps scripts without specific tools like Visual Studio.
    With powershell you can use cmdlets,
    which could remove a lot of code, for example restarting a service.
    [custom.development]

  • Not able to integrate the Adobe flex4 with BSP application.

    HI,
    I have created one flex4 application using the BSP(XML).  I am able to run the flex application, data retriving properly and working fine.but when I imported the SWF file into BSP application(MIME Repository) and  if  I run  the application from  the BSP (HTMLfile ).  it's  giving the Error # 2302.
    and at  the same time I have created flex application using  flex builder 3 using BSP then  its working fine again.I am able to execute the application from the BSP also.
    Is it possible to integarte the Flex4 with BSP?
    Thanks and Regards
    Aravind.

    flash 4 is very much compatible.
    can you check in your falsh builder whats set at
    Project->Properties->Flex Build Path->Framework Linkage
    is it merge into code or RSL?
    you should use merged into  code.
    Also when you refer the swf file in your bsp page are you using relative url for the swf  ?

  • ECATT Script with SAPGUI Commando works in consolidation but not in prod.

    Hi experts,
    I created a eCATT script with commando SAPGUI Rec. In our consolidation system it works fine but when I try to let it run in production it is not working. User scripting is enabled (in options and in rz11). I am starting the script, the production system is getting opened but afterwards there happens nothing anymore. Also the scriptingsign in the bottom right corner is not active.
    When I am running a script with TCD Rec, it works fine in production. Is there a difference between settings for scripting for TCD Rec and SAPGUI scripting? Do you have any idea which kind of influences there could be that make this difference between TCD Rec and SAPGUI Rec scripts?
    Best regards and thank you in advance!
    Jan

    Hello,
    Ideally we should not run the ecatts in the production system as this would hamper the system environment or change systems.
    Also check in RZ11 enter sapgui/user_scripting , here the values for the last three parameters are set to TRUE.
    Thanks & Best regards,
    Ajay

  • How to start with BSP

    Hi
    I am Vijay and i'm new to BSP.
    I want to know how to start with BSP and what kind of questions i can expext in interviews on BSP ...!

    Welcome to SDN.
    best place ot start learning BSPs is
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm
    Regards
    Raja

  • Calling an rss script with rs.exe fails to result in a report pdf from VB6 w/ ShellEx.

    Sql 2008 R2
    Calling an rss script with rs.exe fails to result in a report pdf from VB6 w/ ShellEx. 
    If I call rs.exe with the various parameters from the command prompt I  have success(other than rs.exe using the temp folder, which is a different issue).  But when I try to execute the same process from a Visual Basic 6.0 application utilizing
    the ShellEx api call, the report creation and output to PDF format do not occur.   There is no error raised.
    Yes, I wish I could use a newer dev tool but that isn't an option right now. I think this should work.  Can ya'll tell me what I'm doing wrong?
    sArgs = "-i " & Chr(34) & "'C:\Program Files\Dura Supreme\OrderEntry\RunOrdReports.rss'" & Chr(34) & _
    " -s 'http://walnut/reportserver' -v 'DuraOrderNum=" & _
    Chr(34) & sOrdDuraID & Chr(34) & "' -e Exec2005 -t"
    ShellEx Chr(34) & "C:\Program Files\Dura Supreme\OrderEntry\rs.exe" & Chr(34), EShellShowConstants.essSW_SHOWNORMAL, sArgs
    TIA,
    Jim M.

    ShellEx Chr(34) & "C:\Program Files\Dura Supreme\OrderEntry\rs.exe" & ....
    Hello Jim,
    The path for rs.exe includes spaces, you should set it in hyphen, as you already did for file "RunOrdReports.rss" in variable "sArgs2
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Maxl Clear Script with Substitution Variables

    Hi,
    I am new to Maxl and I am trying to write a clear script with Maxl on an ASO Cube. The script should only clear data on a certain version and year that changes every month. I am using the following syntax and it doesn't work.
    alter database ASOSamp.Sample clear data in region '{[&SV_CurrentPeriod]}';
    What is the correct syntax here?
    thanks,

    alter database ASOSamp.Sample clear data in region '{[&Test]}';...with the subvar 'Test' set to Jan...works on my 11.1.2 test system.
    Incidentally, when you say "it doesn't work", do you mean you get a MaxL error, or it doesn't clear the expected region? I was assuming the former, but you don't say.

  • Data exchange Mainscript (SCRIPT) with script block (DAC)

    Is there any way to exchange data beetwen a Mainscript (SCRIPT) with
    user-dialoges and script block (DAC) in this way that the script in
    scriptblock can access to this data?
    Background: I write a DAC-Application with some script-blocks for
    reading and writing data to/from real devices. During the development
    I'd like to simulate all device accesses because I don'd have the
    devices in my office. I write all scripts with a branch for simulation
    an real measurement on startup.
    How can I execute a swich (simulation / mesurement) without changing
    all my scripts all times? Can a script read a variable anyway (Variable
    from Mainscript, Diadem-Uservariable or "Hilfsvariable" like L1)? 
    Can I fill "DeviceParam1V" with content of a variable?
    I could use a input channel connected with a formula-block for it. (The
    formula-block can read a variable.) But this way is uncomfortable an
    don't work for input blocks.
    Martin Bohm
    [email protected]

    Because the DAC Script is executed in its own runtime environment you cannot use the DIAdem variables as in a normal VBS or a SUD.
    Still, there are ways to exchange information.
    First of all by an extra channel as Input (you named it)
    Secondly, there are several variables you can use. Have a look at the Script DAC block. There are two fields called Parameter1 and Parameter2. And each signal you configure has a parameter of its own.
    Prior to starting the scheme, you can use a script to change the value of those parameters:
    Call DACObjOpen("Script-in1")
      VBSSignalParam(1) = "abc"
    Call DACObjClose("Script-in1")
    Is changing the parameter of the first signal that is configured.
    Call DACObjOpen("Script-in1")
      VBSParameter1 = "1st device parameter"
      VBSParameter2 = "2nd device parameter"
    Call DACObjClose("Script-in1")
    is changing the global device parameters.
    On the side of the Script DAC driver VBS you cann use the paramP funtion to access the signal parameter that corresponds to the actual channel (as referenced by ChannelnumberP)
    ' SFD_ReadChannel
    ' Zweck               : Lesen eines Wertes für den Kanal "ChannelNumberP"
    ' ChannelNumberP      | Kanalnummer aus dem Block-Dialog
    ' ParamP              | Vom Anwender definierte Variable aus dem Block-Dialog
    ' DataP               | Variable zur Rückgabe des neuen Kanalwertes. Diese
    '                     | Variable sollte zumindest auf einen gültigen Wert
    '                     | initialisiert werden.
    ' ErrorP              | Variable zur Rückgabe einer Fehlermeldung. Wird diese
    '                     | Variable gesetzt, stoppt DIAdem die Messung
    Sub SFD_ReadChannel( ChannelNumberP, ParamP, DataP, ErrorP )
    End Sub
    To acces the device Parameters, use the init function:
    ' SFD_Init
    ' Zweck               : Diese Prozedur wird während des Messungsstarts aufgerufen
    ' DeviceParam1V       | Erster Parameter, der vom Anwender im DAC-Block
    '                     | eingegeben werden kann
    ' DeviceParam2V       | Zweiter Parameter, der vom Anwender im DAC-Block
    '                     | eingegeben werden kann
    ' ErrorP              | Variable zur Rückgabe einer Fehlermeldung. Wird diese
    '                     | Variable gesetzt, stoppt DIAdem die Messung
    Sub SFD_Init( DeviceParam1V, DeviceParam2V, ErrorP )
    End Sub
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany

  • Execution of Coded UI scripts with least possible test execution time in Windows7 Operating system using Visual Studio Test Agent 2010 without VS2010 installed

    Hi All,
    We are trying to execute coded UI scripts without Visual Studio installed. We are using “Visual Studio Test Agent 2010” for executing coded UI scripts without VS2010 in Windows 7, it is working fine. Also we verified executing the same script with VS2010
    Premium, it works fine as well.
    Here the challenge we are facing is with the Test execution time.
    When we run the coded UI script with IE11-Windows 7 OS-Visual Studio 2010 Premium it takes
    3min 36sec to complete the execution whereas with IE11-Windows 7 OS-Visual Studio Test Agent 2010  it takes
    6min 40sec for the same script to execute (which is almost double the time it takes while executing using VS2010).
    My question is what may be the reason for this difference? and how we can reduce the test execution time when running from Test Agent 2010?
    Kindly let us know what is the best practice to execute the coded UI scripts with least test execution time in Windows 7 Operating system using Visual Studio Test Agent 2010 without VS2010
    installed.
    Looking forward for your positive response.
    Thanks in advance..!!

    Tina-Shi, Thanks for the information.
    As you mentioned, we tried to execute the coded UI test using Mstest.exe in command on VS2010 Premium and checked on the execution
    time, there was a slight difference.
    Please find below execution time.
    Using Mstest.exe in command on VS2010 Premium/Win7 – 3.47 minutes
    Using VS2010 Premium/Win7 – 3.53 minutes
    Using Test Agent/Win7 – 7.3 minutes
    Also, I closed all the other processes in Task manager before starting up the execution.
    Still , I am facing the same Issue. Could you please suggest any other way to reduce the scripting time of coded UI script execution
    through Test agent 2010.
    Looking forward for your earliest response.

  • SQL script with a prompt functionality.

    Hello experts,
    I tried searching this on the net but was unsucessful...
    Bascially I need to update an sql script with a prompt functionality..Basically I would like a user prompt that would enter 'Yes or No' to compile invalid objects using utlrp.
    If Yes, it should compile it
    If No it should exit out...
    Can anyone please help.. Need to do this today.
    Edited by: user568296 on Oct 2, 2009 8:18 AM

    Hi,
    As someone suggested, you're probably better off doing this at the OS level.
    SQL*Plus does not have any good mechanism for conditional branching. One trick you can do in SQL*Plus is to run one script from another by saying <tt>@@filename</tt>. By using a substitution variable (which can be defined based on the results of a query) in place of a literal filename, you can make this dynamic.
    For example, the following script runs either
    recompile.sql or
    goodbye.sql
    based on the answer to a prompt:
    ACCEPT     recompile_now      PROMPT        'Do you want to recompile objects now?  '
    COLUMN     next_script_col        NEW_VAL next_script
    SELECT     CASE     
              WHEN  UPPER ('&recompile_now') LIKE 'Y%'
              THEN  'recompile'
              ELSE  'goodbye'
         END     AS next_script_col
    FROM     dual;
    @@&next_script<tt>@@filename</tt> assumes filename.sql is on the same directory as the calling script. You could also give a full path name using only one @-sign:
    <tt>@pathname</tt>

  • WAD template with BSP Application - how to read selection screen values

    Hello,
    I've created Web template with Web Application Designer (WAD).
    I would like to extend  that page with BSP Application...
    Purpuse of this application is to read some information from tables
    on BW transaction server and display them within Web page.
    Question: How to read selection screen values from a Web template ?
    Thanks for any help,
    Pawel Borowiec

    Hi,
    The selection screen parameters will be on an inputField, so try and get the is of the inputfield generated by doing View source...
    And once you get the inputfield Id, you can read the value in the InputField(InF) by
    using the following code...!
    data : if_value type ref to cl_htmlb_inputfield.
    data : variable type string.
    if_value ?= cl_htmlb_manager=>get_data( request = request
                                                name    = 'inputField'
                                                id      = 'InF_ID_here'
           if if_value->value is not initial.
             variable  = if_value->value.
           endif.
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.

  • IDOC and ALE Configuration with cross application with SD

    Hi Sap Gurus,
    Please send me some document on IDOC and ALE Configuration with cross application with SD.
    Please send me the material on my mail id [email protected]
    Regards
    shekhar

    Dear Shekhar,
    concerning EDI concept in SD: the EDI concept is intended to realize the sales and distribution process completely automatically with the help of electronical documents. These documents are sent from one customer to another, are processed mostly on the background and give a possibility to realize the sales process extremely efficiently.
    If MM-customer would like to purchase the goods then he creates the IDOC of type ORDERS and send it to SD-customer. On the SD-side the IDOC is processed via the function module IDOC_INPUT_ORDERS and creates the sales order. As confirmation the SD-side can send to MM-side the Order-Response IDOC (function IDOC_OUTPUT_ORDERS). The MM-customer can every thime send a change to the existiong order, then on SD side the ORDCHG IDOC will be processed. It can change the order like in VA02. The creation of the invoice can be made via IDOC of message type INVOIC (function IDOC_OUTPUT_INVOIC).
    So, the process can be realized completely automatically between SD and MM partners with the help of IDOCs: ORDERS, ORDCHG, ORDRSP, INVOIC.
    That's all concerning the SD-EDI.
    Additional processes in SD, where EDI are used:
    1) application of delivery schedules to the scheduling agreement: IDOC of type DELINS
    2) creation of a delivery order to the scheduling agreement: IDOC of type DELORD
    3) creation of external agent service delivery to scheduling agreement: IDOC of type EDLNOT
    4) creation of credit advice / credit memo in the frames of self-billing: IDOCs of type GSVERF, SBWAP and for external invoice creation SBINV.
    It is all processes which are realized in the SD module via EDI.
    I hope this info helps.
    Kind regards,
    Akmal Vakhidov
    Development Support SAP, Walldorf/Germany

Maybe you are looking for

  • How to transfer file from one client to another client?

    hello, i have some questions and hope you all can help me..thanks a lot first.. Here are the questions: i) How can i send a file from one client to another client using RMI? ii) Does the client(sender) need to send the file to server, then server sav

  • IMac external monitor video connector, huh?

    Apparently, there are at least FOUR different types of video connectors in use these days. WHICH one is used for External video on the iMac (tiny, rectangular) and is it analogue or digital?

  • Question about CEP Naming Conventions and or Standards

    Hello, CEP is new to the organization that I am working with. I have been asked to draft a few standards around CEP to help promote standardization and proper reuse of CEP artifacts. Can anyone share with me examples of CEP artifacts with a naming co

  • How can you open an aperture image in Adobe Bridge????

    Hi...do you know if its possible to open RAW files form the aperture library Into Adobe Bridge????

  • Mobile Work Clearance Management

    Hi, has anyone in here some experience with the xMAM addon " Mobile Work Clearance Management" and can tell me something about, like how to get it working, and so on? Thank you and regards, Florian