WAV in BSP?

Hello All,
I am relatively new to BSP, but on the help from documents i was able to build an application that meets some of the scenarios addressed by our group. So, the management is interested and they would like to have this project 'go on'. I would like to know the source where i can get some documents on BSP in SDN. I would be glad if you can provide me the details &
can we embed background music(a small wave file) in to BSP page? if so how? and also how to embed an .SWF (Flash)file. Would be great if you can provide me the info....
an inquisitive BSP developer,
- Sravan

First and foremost check out this link:
<a href="/people/brian.mckellar/blog/2004/06/11/bsp-trouble-shooting-getting-help">BSP Trouble Shooting: Getting Help</a>
Second check out the Weblogs from Brian McKellar, there <a href="https://weblogs.sdn.sap.com/pub/u/164">here</a>, and also Thomas Jung over <a href="https://weblogs.sdn.sap.com/pub/u/1918">here</a>.
That will be quite a bit to get your feet wet.
As for the embedding of Flash or other object tpyes in your BSP, well remember your BSP is a webpage.
Example from: <a href="http://www.free2code.net/tutorials/webdev/flash/28/Floating_Flash_Over_Your_Webpage!.php">Free2Code</a>
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<htmlb:content design="design2003">
  <htmlb:page title = " ">
    <htmlb:form>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="800" height="300">
  <param name=movie value="http://www.multidmedia.com/software/flashcandy/fcd.swf">
  <param name=quality value=high>
  <embed src="http://www.multidmedia.com/software/flashcandy/fcd.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="800" height="300">
  </embed>
</object>
    </htmlb:form>
  </htmlb:page>
</htmlb:content>
You can also store the flash in your Application as MIME Object.
Message was edited by: Craig Cmehil

Similar Messages

  • Exporting Tables from BSP to Class Methods

    Afternoon Everybody,
    in true SAP OSS Message style I post this question on it's own thread to enable maximum value from the reward points.
    Question:
    I have a BSP, in an event in my BSP I call a method in my class.
    I have mastered Exporting parameters to the methods from the BSP and Importing parameters back to the BSP from the methods, but now, I need so Export a table to the method and I don't know how to.
    Also, in combination with this, when I create the method I am able to setup the importing parameters, but how can create/define the importing table ?
    If this is not clear I will add more info.
    Thanks for your help,
    Tomas.

    Tomas,
    The key to problem is always to learn a few "nice" things defined in the system. So let me see. The first problem you have is that methods are declared of the form:
    method <parm> <direction> TYPE [REF TO] <t>
    parm = the name of the paramter
    direction = IMPORTING|EXPORTING|CHANGING|RETURNING
    t = type of parm
    However, in this type it is not possible to write that you want "type of table". You can only use predefined types (either internal or indictionary).
    Having said this, most people with extensive ABAP experience before the OO-wave, tend to use character types all the time. However, we nearly always use only type string. And exactly for this type there is a type string_table.
    So the code would be:
    <u>Declaration:</u>
      method lines changing type string_table
    <u>Calling:</u>
      DATA: t TYPE string_table.
      APPEND 'Hello' TO t.
      APPEND 'World' TO t.
      class=>method( CHANGING lines = t ).
    <u>Method Implementation:</u>
      DATA: line LIKE LINE OF lines.
      LOOP AT lines INTO line.
        TRANSLATE line TO UPPER CASE.
        MODIFY lines FROM line. " write back
      ENDLOOP.
    <u>Better Method Implementation (works directly on row):</u>
      FIELD-SYMBOLS: <line> LIKE LINE OF lines.
      LOOP AT lines ASSIGNING <line>.
        TRANSLATE <line> TO UPPER CASE.
      ENDLOOP.
    These two types <b>string</b> and <b>string_table</b> goes a long way. The other two types that I often use are <b>ihttpvnp</b> and <b>Tihttpvnp</b> (table): they are good for name/value pairs of strings.
    Now is the time that you should invest 30 minutes reading each time that you run into a problem. You have the framework, just check up on one aspect each time. (I usually use online help, for example to understand MODIFY for writing this text.)

  • Auditioning wav loops at correct tempo

    Hi Forum
    I have been a Protools user for several years, but because of all the usual annoyances with PT I have decided to join the Logic camp, just today in fact.
    However one feature I am immediately missing is the protools equivalent of "Calculate Elastic Analysis" in the workspace browser. If you are not familiar with PT, this enables you to preview wav loops at the correct tempo for your session.
    In Logic I can navigate to my loops via the browser, but previewing them just plays the original tempo of the loop, not at the tempo of my session. I can of course drag it into the arrange window and fix it, but I miss the immediacy of the PT approach.
    PT has a process called "Manual Indexing" that goes through all of your sample collection and extracts metadata such as tempo to make this process work. Is there perhaps an equivalent in Logic I haven't found yet? Do I have to convert all of my samples to Apple loops perhaps? but how would I do that?
    Hope someone can help.
    DH

    DavidParker wrote:
    Do I have to convert all of my samples to Apple loops perhaps? but how would I do that?
    With the *Apple Loops Utility.*
    http://documentation.apple.com/en/logicpro/usermanual/index.html#chapter=30%26se ction=2%26tasks=true
    and
    http://documentation.apple.com/en/appleloopsutility/usermanual/#chapter=1%26sect ion=0
    Good luck!

  • How can I open a PDF stored in IXOS and then display it in a BSP

    Hello gurus,
    I have created a PDF icon and an onclick action to open a pdf, that displays on every row of an assignment block in the actions column, but I do not know the technical process to determine how to get a PDF from the IXOS system from the line selected. (even if I know it depends on an ID attribute of that assignment block) I want to to call a transaction launcher with the url for the pdf in the IXOS that has an ID that identifies which line in the assignment block the user has clicked the pdf icon for (does that make sense?)
    Therefore, I am assuming the PDF should correspond to the relance ID of the row in the assignment block, but I would like more information as per the business logic involved in able to achieve the desired results for this particular specification. I already confirmed that the XURL or any other attribute in the BOL object does not contain the URL to use for this. I have looked at the class I was told that it may contain the required business logic for determining which PDF in IXOS to fetch for a particular row, and I am currently trying to reverse engineer the logic through looking at other code and using the debugger, but so far I haven'T had much luck.
    Here are some questions I have now for the functional side in the meantime:
    1) Can we fetch the PDF in IXOS for each line of an assignment block?
    2) Which URL should I call with the transaction launcher? a URL link to the PDF on the IXOS system??
    3) Do we have to configure a transaction in the IMG to be launched?
    4) Do we have to create a logical link there that I will make dynamic to call the right PDF for each table line? 
    5) Are there any existing examples of this or a similar functionality/ logic that I could refer to, preferably in CRM 7 WebUI?
    6) Do you have any code to just display a PDF in a new window? Or prompt a download?
    One possible way I thought of would be for me to have a logical link defined in the IMG, that I could call passing it different attributes (eg. some object id, etc) and then return the PDF and display it in the UI in a new browser window by itself. Alternatively, we can just prompt a download. What do you think would be the optimal behaviour here?
    Please do not hesitate to propose any potential solution. Any partial answers/ links to wikis/ other threads, anything would be much appreciated.
    Thank you in advance.
    Best regards,
    Jonathan Laplante

    Hi,
    I partially answered your question in another posting but I feel that you´re in the wrong forum for your problem. This is for BSP development and you talk about CRM.

  • Any ideas on a nice BSP view pretty printer?

    Hi there,
    I am wondering whether somebody already tried to extend the SAP standard pretty printer by an own functionality which fits better for pages with mixed content, containing not only BSP-elements but also HTML-tags.
    The standard pretty printer considers everything as plain text which is not a BSP-element and leaves it unaltered. Only BSP-elements are arranged according to their tree structure.
    This produces ugly results for pages with mixed content.
    1.) Requirement
    A Pretty Printer for HTML-based BSP views should cover the following:
    (a) HTML-Tags and BSP-elements together form the chain. As in following example:
    <z:table table_id="testTab" binding="//test/gt_test" rows="5">
      <z:tableBody position="top">
        <colgroup>
          <col width="4%">
          <col width="96%">
        </colgroup>
      </z:tableBody>
      <z:column name="type" header="<%=zcl_bsp_util=>dtel_text_s('EDI_TTYP')%>"
                listPos="10"/>
      <z:column name="text" listPos="20"></z:column>
    </z:table>
    (b) Certain HTML formatting tags like I, B, etc. should not be added to the stack but be treated inline.
    (c) HTML-attribute names should be converted to lower case, the attribute values should be quoted.
    (d) Like for BSP-elements, there should be a threshold after which the attributes should appear in separate lines. Instead of a certain maximum "number of attributes", this could also be a maximum number of characters per line.
    (e) Scripting Tags (<% ... %>) should start at a new line, if the content contains new-lines.
    (f) Evaluation Scripting (<%= ... %>) should be inline, if they are contained within text nodes (and not within HTML oder BSP element nodes).
    (g) The Pretty Printer should be parametrizable (with parameters like indent-depth,... ).
    2.) Exits?
    Of course, one could always use an external HTML editor and write an add-on for that editor which produces the desired result. Or one could take the view content into the clipboard, paste it into a plain text editor like UltraEdit or TextPad which allows external commands, apply an external, self-written pretty printer to it and then paste the result back into the View. But it would be easier to use the "Pretty Printer" button directly to get the result. Therefore the question arises at which point the standard Pretty Printer Functionality could be modified or extended.
    I didn't find an exit. But the pretty-print itself is doubly-decoupled in the standard which minimizes the number of points where an extension has to be made:
    2.a) First decoupling point: The Fcode handler method pretty_printer_ext( ) in cl_o2_page is calling
    dynamically a method in cl_o2_co2_processor:
    * call pretty printer
      create object pp type ('CL_O2_CO2_PROCESSOR').
      appl_str = me->pagekey-applname.
      page_str = me->pagekey-pagekey.
      try.
          CALL METHOD pp->('PRETTY_PRINT')
            EXPORTING
              indent              = 2
              ATTRIBUTE_NORMALIZE = 'X'
              ATTRIBUTE_THRESHOLD = 2
              BSP_UNFORMATTED     = source
              appl                = appl_str
              page                = page_str
            IMPORTING
              test_ok             = test_ok
              BSP_FORMATTED       = pp_source.
        catch cx_o2_co2_exception into o2ex.
    2.b) Second decoupling point:
    The method pretty_print() of class cl_o2_co2_processor (fancy names, by the way. It seems that many former chemistry students had joined the BSP team ),
    there is a second delegation, to a local class, as follows:
      data pretty type ref to LCL_BSP_PRETTY_PRINT.
      pretty = LCL_BSP_PRETTY_PRINT=>getInstance( processor = me ).
    The real logic for doing the Pretty Print, finally, is performed in this local class.
    3.) Implementation.
    Since, up to my knowledge, there is no HTML parser in the ABAP world,
    the implementation could be based on existing HTML Parsers, like the Perl module Parser::HTML, or the Java package http://htmlparser.sourceforge.net/ . The pretty printer could then be called as external OS command.
    Are there any ideas out there? Or is there somebody who already worked in this direction?
    Regards,
    Rüdiger

    For those who are interested. I found out that the Dave Ragget's classic "HTML Tidy" (see <a href="http://tidy.sourceforge.net/">http://tidy.sourceforge.net/</a> )  is available in ABAP! There is a class CL_HTMLTIDY (at least here in my SAP_BASIS 700 system) which wraps calls of HTML Tidy by kernel modules.
    The class is undocumented, but there are 2 OSS notes of this year for it, so it might well be that it is alive.
    HTML Tidy can surely not directly be used for Pretty Printing BSP views, but for designing test cases or for doing things like HTML parsing, it might be a helpful tool.

  • Error in using PERFORM in eventhandler in a BSP Application.

    Hi All,
    Can we use Subroutines in BSP applications?
    If yes then please help me with syntax .
    Best Regards,
    Anubhav.
    Edited by: Anubhav Jain on Dec 20, 2007 10:52 PM

    You can call subroutine with below Synatx:
    DATA: progname(20) TYPE C VALUE 'YTESTINCLUDE' .
    PERFORM your_perform_name IN PROGRAM (progname) IF FOUND.
    "where your_perform_name is the form within the include program YTESTINCLUDE[/code]
    Raja T
    Edited by: Raja Thangamani on Dec 20, 2007 4:58 PM

  • Problem with index of numbers in BSP Front end

    Hello All,
    I am facing the below problem. Request your help.
    Scenario: When I am trying to add the projects in the Front end , I am facing the problem with the index of numbering of the projects.
    Example: If I am adding 6 projects ( at the max only 4 on each page i-e there are 2 pages ), then the index is wrongly numbered and the arrow (for direction of the pages) are wrongly displayed. The direction of the arrow is pointed to the next page rather pointing to the previous page and the index of numbering of the pages is wrong.
    Request you to please suggest if this is any code fault in the table maintainance activity in the backend (BSP).

    Hi Irina,
    If you mean the number range is skipping 10 numbers in between runs then its because of the buffering in the number range.
    To avoid the buffer influencing the number range, pass
    'X' to the function module parameter: IGNORE_BUFFER.
    This should resolve the problem.
    Cheers,
    Aditya

  • BSP Error while selecting "campaign elements" in spanish --- crm 2007

    Hi experts,
    I´m trying to look for a solution for a problem with an error that occours while selecting in WEB UI --marketing --- campaign elements , in spanish language.
    Error Business Server Page (BSP)
    <thtmlb:textView>: (design) The Attribute Value is not a Value from: STANDARD/HEADER1/HEADER2/LABEL/VALUE/ITALIC/BOLD
    In english it works perfect.

    Which field is? Has translate value content to spanish for this field?.
    In SAP CRM UI, press F2 and tell me which is the field

  • Badi/exit/Workflow called during  execution of the BSP "SRMSUS_SELFREG"

    Hi all,
    We are running on SRM 5.0.(SP06) Strategic sourcing scenario.We are using enterprise Portal as the front end.My query is that at the end of Supplier  registration process,when the Supplier admin creates the USER ID's for the Suppliers(through BSP SRMSUS_SELFREG),is there any way by which we can create the enterprise Portal users for those suppliers at the same time(Automation) ?My BASIS person told me that the automation is possible when the EP system is connected only to 1 backend but in our landscape we are having several systems connected to EP.
    Other alternative would be to send a mail to the EP administrator stating that the Vendors User ID's have been created in SRM and the EP ID's need to be created.
    For this ,i didnt get any BADi/exit which gets triggered during this USER ID creation process wherein i can write my logic for sending the mail to the EP admin.
    There are some Std workflows (e.g. WS10000209)for USER creation but these dont seem to be useful in this scenario.
    So the only method left is to modify the Std BSP which  we dont want.Has anybody worked on this kind of scenario?
    Any suggestions are welcome and will be rewarded as well.
    BR,
    Disha.

    Hi
    I am still searching.. but no BADI/Exit is called in this case..
    <u>Meanwhile, i found few SAP OSS notes, which you can go through -></u>
    Note 1031896 Delimiting of Supplier Reg URL due to Special characters
    Note  1031070 Supplier cannot be registered
    Note  996030 Need to relogin to srmsus_selfreg service when using aliases
    Note 1032573 FormofAddr field mandatory in userselfreg.htm page
    Note 1003820 Supplier cannot be registered
    Note 889451 Not Possible to register in Supplier self-registration
    Note  807511 Error message after self registration of supplier admin user
    Note 784883 Irrelevant warning message stops self registration
    Do let me know.
    Regards
    - Atul

  • Xcelsius Dashboard on SAP R/3 Table using BSP and XML Mapping

    Hi Experts,
    I have developed a simple dashboard on small data set (10 records) that I am fetching from a R/3 Table into BSP and generating XML from there and consuming it in Xcelsius (SAP R/3 + BSP + XML Mapping).
    Now I want to fetch data based on Variables values that should be passed from the dashboard at the runtime and should display the data  accordingly. Any help on how it can be achieved?
    Thanks..!!
    Sharad

    Hi,
    You could try doing this by using XML data connection. You would have to make use of Enable load to get the data from XML and Enable send to send data back to XML from dashboard.
    This would require you to write a script.
    Thanks,
    Amit

  • Can not see wave form in arrange window  logic 9 Please help

    I have been using Logic for 3 months now...mostly just importing old wave files from past protools sessions.  Everything was working fine until I created a new session to record audio.  I record the audio at a nice level...I hit playback...I can hear it fine but I can't see the wave forms.  I can see it in the sample editor.  I've searched around and found the same problem in the past on some forums......they say to trash preferences...  I went to my mac drive...library...preferences  and nothing  I have no files labeled  com.apple.logic.pro  now I'm lost....the funny thing is... when I zoom in horizontal ...the wave form shows but it makes the track way too large.  Any help would be great.  Thanks

    In Logic:  Preferences/Audio
    What is the "Recording Delay" parameter set to?
    It should be zero, default is zero. If it's set to a positive or negative Logic will often not show the wavforms. If that's it, it's one of the long standing bugs in Logic.

  • Unable to capture the Idle time for BSP page

    Hi Experts,
    I want to capture the Idle time of my BSP page. If that is 5 mins then i have to display the pop up displaying the remaining time.
    Please let me know how to capture the IDLE TIME. not the time after the page is loaded.
    Any suggestion will be helpful.
    Aready checked in SDN but unable to get the solution so posting it.
    Thanks in advance.
    Sravanthi.V

    hi,
    After capturing the idle time iam giving the warning popup to user before 5mins of expiry.Now my requirement is if the user clicks on OK button of popup the page should get refresh. i.e.Idle time should of system should break and we have to get one more hour for expiry.
    Thanks in advance,
    Sravanthi.V

  • Field value on BSP Page

    Hi,
          I have a requirement to show previous entered values in an input  field on BSP Page. for example suppose I enter value '0998' in an input field say 'XYZ'  and then I close or refresh the browser. again i open the page in browser and click the input field then system should suggest me the previous entered value i.e. '0998'.   does anyone have idea how we can do it?
    Regards
    Amit kumar
    Edited by: amitku1201 on Jan 8, 2010 12:19 PM

    Hi Amit,
    I saw your code..
    <htmlb:form id="Form1" method="POST" autoComplete = "TRUE">
    <bsp:findAndReplace find = "ON" replace = "ON">
    In the link I provided
    <bsp findAndReplace find = "off" replace = "on">
    I dont see the closing tag
    </bsp:findAndReplace>
    anywhere in your code.
    The tag should be not used immediately after the FORM tag instaed it is used just before the tag for particular element.
    Like in your case if you want to used it for the inputfield i_case , it should be done as
    <bsp findAndReplace find = "off" replace = "on">
    <htmlb:inputField id="i_case" value="<%=i_case%>" type="string" maxlength="12" width="100"/>
    </bsp:findAndReplace>
    The inputfield tag will be used between find and replace tags.
    I hope this will help you solve the issue.
    Regards,
    Anubhav

  • Assign a value from dropdownlist to input field value on BSP page

    Hi,
    I'm new to SAP and ABAP. We have a CRM project in which I have to maintain BSP pages.
    Now, coming to my problem: I have a input field with
    value = "//BTAdminH/HeaderInfo"
    This field is normally maintainable. The required function is now to set this field as not maintainable/readonly. Then, the value should be set automatically to an value, which will be selected from a dropdownListBox. After saving, the value HeaderInfo should have the same value like the selected value from the dropdownListBox.
    How can I now set the field as readonly (this should be the easier part) and
    how can I set the value for the HeaderInfo to the value of the selected value from the dropdownListBox?
    If I set it directly like this
    value = "//BTActivity/Priority"
    it is shown on the BSP page correclty, but it is not saved as HeaderInfo.
    Please help me.
    Enja

    Hello Gokul,
    test was only for test purposes! I am using as a separator the plus sign!
    But this is not the problem!
    In debugging, the local variable has the concatenated value! So, this is working!
    oncatenate ls_ddlb1-value ls_ddlb2-value ls_ddlb3-value into lv_headerinfo SEPARATED BY ' + '.
    But when I assign the value of my set_headerinfo to the local variable, then it is returning only the separator sign!!!
    if BTAdminH->GET_HEADERINFO( 'HEADERINFO' ) is initial.
        BTAdminH->SET_HEADERINFO( attribute_path = 'HEADERINFO' value = lv_headerinfo ).
      endif.
    If I declare the local variable as one of the dropdown values, then it is getting populated also for set_headerinfo
    lv_headerinfo  =ls_ddlb1-value.
    So, the assigning is also working! But it is not working, when the local variable equals more than one value! I hope that I could explained it in the right way for you!!!!
    So. why is the value for set_headerinfo not the same as the one for the local variable! The local variable has the correct value after the concatination.
    Regards
    Enja

  • Unable to add wav audio clips to Audio1 timeline

    I am mystified as to why Encore is not letting me place specific .wav files into the Audio 1 timeline. Encore will let me put the files into the Audio 2 timeline, just not Audio 1. The wav files that cannot be placed in the Audio1 timeline have been rendered as together as dual audio/video streams. Other files that have been rendered as combined audio/video streams do allow the audio to go into Audio 1?Then, of course, I can only hear the audio from timeline 1 once I've rendered. Is there some obvious reason why these wavs will go into Audio 2 but not audio 1? Or is there a way to render out so that both Audio 1 and Audio 2 are both audible? Right now, it seems to be an either/or situation where I can hear audio1 or audio2, but not both.
    I'm stumped and would appreciate any help.
    Thanks!
    Truman

    Hi Jeff,
    Thanks once again with your help with the Audio Effect - Fill Right/Left, worked perfectly.
    Just wondering weather I might be able to ask you another question about Adobe Premiere Pro V7. I'm in the final stages of finishing my cousins husbands funeral video which I'm putting together for her and the two kids. I'm trying to put Digital Hotcakes Film FX 9 over some overlay I'm inserting. I'm reading the manual on how to do this and it aint doing what it is supposed to do. When I put my video on the Video 1 timeline, and the effect on the Video 2 timeline directly above, and then into Video Effect - Keying - Screen Key - drag & drop onto effect in video 2, thereatically I should have my vision play with the effect. All that happens is the effect plays without my vision. Is there something I'm not doing right? I've played around for hours with this and found the Luma Key works ok for some effects, but placing my vision in a 3D projector animation using the screen key doesn't work as the manual says. Do you have any suggestions?????
    Cheers
    Grant

Maybe you are looking for