Mime objects in BSP application

Hi all,
We have a BSP application with mime objects (images). We have assigned a default user to the application node in SICF. But when we test the BSP page in the browser, it  still prompts for the userid/password, for the images.
How to set the user for the mime objects so that it doesn't prompt for any userid/password.
HI,
we noticed that one of the images was refereing to another BSP application , hence was prompting for the password.So we uploaded that image in the same application and now it works fine.
Thanks anyways..
Thanks & Regards,
Ravikiran.C
Message was edited by: Ravikiran C
Message was edited by: Ravikiran C

where are mime objects stored? within your application?
if yes and if you have assigned default user and password in application node it should not be prompting for user id password.
is this prompt only happenning for mimes or for the application.
Regards
Raja

Similar Messages

  • How To Upload a Mime Object into BSP Application??

    Hi all,
    I am new to Developing BSP Applications.
    I have a requirement to design a BSP Page and in the header part of the page, i have to display a JPG file from my local PC.
    To achieve this, I did the following:
    1) Upload/Import  the MIME Object(JPG File) into MIME Repository and into the relevant BSP Application.
    2) After the import, i can see the JPG file that I uploaded in the MIME Repository under my BSP Applciation.
    3) In my BSP Page, I tried to use the uploaded JPG file using the following Source Code, as was explained in the Documentation.
    <IMG SRC="myfile.jpg">
    I did not not do any basic mistakes and went according to documentation in using the above mentioned SRC command to upload the Image from the MIME Repository onto the BSP Page.
    But when I run my BSP Application in TEST mode, the Image never shows up; I tried all different way to get this image on the BSP Page and i could not.
    I am currently on ECC 6 Version. Please guide me.
    Thanks

    all that you have to do is reference the image in your page.
    <htmlb:image id            = "TOG"
                       tooltip       = "tooltip text"
                       src           = "picturename.jpg"/>
    2) After the import, i can see the JPG file that I uploaded in the MIME Repository under my BSP Applciation.
    Can you see this in SE80->applicationname->mime objects folder

  • How to upload image in MIME repository  from bsp application

    Hi,
    I want to upload Image in MIME repository from my BSP Application. I want to access again or reuse uploaded image later in my BSP application. Can you please help me how to do this?
    I already go through http://help.sap.com/saphelp_nw2004s/helpdata/en/eb/8c683c8de8a969e10000000a114084/frameset.htm.
    but this is not helpful in my case. It only uploads in cache (temporary) not in MIME repository.
    Thanks

    Hi Prashant,
    In Layout...
    <%
    data: icon_save   type string.
    icon_save   = cl_bsp_mimes=>sap_icon( id = 'ICON_SYSTEM_SAVE' ).
    %>
    For using image globally...
    If you need to upload an image to MIME Repos Go to transaction se80> MIME Repository>
    sap->bc->bsp->sap->public->bc->bsp->icons ---> right click on icons folder --> import mime objects
    Regards,
    Anubhav

  • Display icon using MIME Objects and BSP Tags on Pop up

    HI all,
    My requirement is to add the warning icon in my pop up along with the text..
    I accomplished this using the warning message
    DATA: lr_msg_service TYPE REF TO cl_bsp_wd_message_service, lr_msg_service ?= view_manager->get_message_service( ). lr_msg_service->add_message( iv_msg_type = 'W' iv_msg_id = '000' iv_msg_number = '007' ).
    But i wish to know the other way to accomplish this using the Mime Objects..
    Can any one pls lemme know how do i achieve this using the Mime Objects + BSP HTML Tag.
    Kindly help !!

    If it doesn't work with a custom theme then the theme makers didn't include that icon in its theme. You can contact the creators of those themes and inform them about that.
    You can re-enable the sliding info bar at the top of the browser.
    You can look at these prefs on the about:config page and reset them via the right-click context menu:<br />
    Info bar at the top: privacy.popups.showBrowserMessage<br />
    Status bar icon: browser.popups.showPopupBlocker<br />

  • BSP_ALL authorization object for BSP Application

    We develop a BSP Application and want to give the correct authorization object in the user roles.
    After looking on help.sap.com We see, we must add the BSP_ALL object and give the name of the application.
    I add the object in the role but it not visible in the role. In the profile I see the object but it's not possible to me to change the value ' '.
    Why can I see this object in the role ? and how can I adapt the value of this object ?

    The class of this Object CRM is not defined on the table TOBCT

  • How to put bsp application mime object path in WAD 7.0?

    hi all.
    I'm already know 'bwmimerep:///sap/bw/mime/Customer' will be changed to /sap/bw/customer/  mime repository path when it's published in WAD7.0.
    but is there any way get mime path custom BSP Application?
    for example If I made test.jpg in 'ZBW' bsp application
    I should use full url   'http://domain:8000/sap/bc/bsp/sap/zbw/test.jpg'  instead of relative url '/sap/bc/bsp/sap/zbw/test.jpg' if I include url in WAD7.0
    is there any idea put relative url in WAD 7.0 certianly I don't want include full url because develop and product server domain is different.
    thanks.

    it looks like bwmimerep:/// prefix is the only one available which points to SAP->BW under mime repository.
    the standard help states (http://help.sap.com/saphelp_ppm400/helpdata/en/44/5001d197c01193e10000000a155369/frameset.htm) to use custom images in WAD
    "You can store your MIME objects anywhere in the MIME Repository under SAP->BW"
    May be we need a mechanism to create bcmimerep, publicmimerep, etc.
    Regards
    Raja

  • Location of mime Objects

    Hello All,
    I've imported JSP file into my BSP Application ( not MVC ) as a MIME Object.
    Now I want to know the location of this object in the MIME Repository.
    So I went to SICF and checked the MIMES across my BSP application.
    But no MIMES Folder is there under my BSP Application.
    Where is my JSP File stored on the Application Server ?
    How to chk where it is stored ?
    How to know the file path of my JSP FIle ?
    Can any one help me out reg. the above ?
    Regards,
    Deepu.K

    if its in the MIME folder of your BSP application, then the path is
    http://abaphost.domain.com:port/sap/bc/bsp/sap/yourbspapp/mimefilename.extension

  • Bsp-application views + packages

    hi folks,
    is it possible to put a bsp-view of an bsp-application into another development package than the bsp-application is?
    or how could this be done....?
    as mimes of an bsp-application can reside in other packages thatn the application does, but what about views????
    kind regards,
    oliver

    I don't think that it will be easy to do that. My initial idea was that you can just call a view which you place in a different namespace using the method create_view( '<application>/<viewname>' ). If this would be possible your third-party vendor would be able to create a table which would allow you to configure which view is called. But like Brian stated in his post this is not possible because the view has to be in the same namespace/application. To prove that take a look at this excerpt from create_view(...).
      l_app_name = if_bsp_page~get_application_name( ).
      l_app_nspace = if_bsp_page~get_application_namespace( ).
      l_current_page = if_bsp_page~get_page_name( ).
      if key is not initial.
        l_page_name = _m_navigation->find_page(
               from_page = l_current_page
               from_application = l_app_name
               from_namespace = l_app_nspace
               key = key ).
      else.
        l_page_name = view_name.
      endif.
      if l_page_name is initial.
        return.
      endif.

  • BSP css & mime objects not found when accessed via iView in the Portal

    Hi
    A locally developed BSP Application has defined it's own CSS and MIME objects.
    This works well when accessed via the Integrated ITS in ECC6.
    However, when we access this the BSP application from an iView in a Portal (NW04S), the css and MIME objects do not appear to be loaded.
    What are we missing?
    Thanks
    Doug

    Hi Doug,
      have you found out the reason for this issue, i encountered the same problem when i access the HCM_LEARNING bsp, would you  please give some addvice if you have any idea?
    thanks,
    billy

  • MIME object download by BSP  with 'Save as' box

    hello ,
      i am trying to download a Excel file which is in MIME objects in my BSP application. From portal i want to download this with 'Save as' box . Currently excel file is opening and i have to save it manually on local drive.
       can u suggest me any solution to open 'Save as ' dialogue box to download the MIME object on my local hard-disk drive by using BSP application.
    Regards

    Hi there,
    I'm getting the same issue with the following code:
    header("Pragma: public");
    header("Expires: 0");
    header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
    header("Cache-Control: private",false);
    header("Content-Type: application/force-download");
    header("Content-Disposition: attachment; filename=\"$newFileName\";");
    header("Content-Transfer-Encoding: binary");
    header("Content-Length: ". filesize($fileName) );
    echo $fileData;
    The only issue seems to be with the filename being set to that of the php script. The contents of the file are correct. Have you had any luck with this issue?
    Cheers,
    Jeremy

  • BSP OTRs and MIME Objects do not appear

    Dear SDN Members:
    I have been facing a very peculiar issue. At first we had problems in our Z* BSP Application with SY-SUBRC values after a
    READ TABLE itab INTO wa WITH KEY field1 = var_field1.
    If there were no matching record(s) in Internal table, the SY-SUBRC value was still '0' (Zero) and not 4 etc..
    Now another problem has cropped up...
    At a point in the program (Layout section), there are some HTML lines and OTRs+MIME objects to be executed.
    The program executes those lines as visible in debugger, but does not display the same on Internet Explorer screen. The OTRs and .gif files do not appear in this case. A small preview of the code is pasted here below:
    We have recently upgraded our Quality/Testing server to CRM 4.0 from CRM 3.0 and are doing Application Testing.
    <td class="body" width="100" style="vertical-align:middle; text-align:center">
    <% if a_fcode_tknra = 'change' and application->c_rolle_user <> 'P' and ls_release-releaseid = '-'. %>
    <input type="image" style="background-color:#EEEEEE" src="/SAP/BC/BSP/SAP/ZSM_TKNRA_PLUS/IMAGES/s_b_chng.gif" name="onInputProcessing(change_au_detail__<%=ls_au_ext-auid%>)"
    alt="<%=otr(ZSM_SAMOS/ZSM_TKN_RA_RA_KE_P05_AENDERN)%>">
       <input type="image" style="background-color:#EEEEEE" src="/SAP/BC/BSP/SAP/ZSM_TKNRA_PLUS/IMAGES/s_b_dele.gif" name="onInputProcessing(delete_au_detail__<%=ls_au_ext-auid%>)"
    alt="<%=otr(zsm_samos/delete)%>" onClick="delete_and_confirm();">
    <% endif. %>
    <% if a_fcode_tknra = 'change' or a_fcode_tknra = 'display'. %>
       <input type="image" style="background-color:#EEEEEE" src="/SAP/BC/BSP/SAP/ZSM_TKNRA_PLUS/IMAGES/s_b_disp.gif" name="onInputProcessing(display_au_detail_<%=ls_au_ext-auid%>)"
    alt="<%=otr(ZSM_SAMOS/ZSM_TKN_RA_RA_KE_P05_ANZEIGEN)%>">
    <% endif. %>
    </td>
    Please help me understand how to go about solving this.
    Regards.
    Vivek.

    Thanks Raja for posting back. The issue is slightly more complex: there are other "src" usages, but they are working fine in other sections of the layout code. The MIME objects have all been stored at right places.
    This BSP Application has been in use since 2-3 years. Only while we posed for CRM 3.xx to 4.xx upgrade, we are facing these issues in Quality Testing.
    We have tried some 2-3 permutations and combinations for this part of code, but nothing works. Do you think the source path changes in different CRM versions? Or do OTRs face some compatibility issues? Do guide me with them.
    The READ table issue is a shocker for us as well!
    Ofcourse the work area is empty, as nothing's there to be read! Now we have placed a double check with "work area NOT INITIAL" to override this problem. In fact this is on SAP OSS as Priority 1 issue but no definite solution has been provided till date, except that they were talking of some Kernel patch (...??).
    Do let me know if you can think of some reason for this abnormal behavior, as right now everything is "out-of-the-box".
    Thanks.
    Vivek.

  • Calling BSP Application from Business Object?

    Hi,
    Can any one tried to call BSP Application from Business Object for showing in the Portal.
    I have the following Scenario:
    1. BSP Page: User will input the Date and Submit to store in the Database. and in this page the Workflow will be truggered and a Work item will be sent to the Next Level User.
    2. When he executes the Work Item it has to trigger the BSP Application and has to show in the Enterprise Portal.
    All this has to happen in the Enterprise Portal.
    If any one knows how to triggere from business object, please let me know.
    Thanks & Regards
    Sumanth

    Hi Vijay,
    Thanks for the information. Its long back i was working on this, but not successful,
    Now the similar requirement i need to develope in R/3.
    I checked the mentioned class in R/3 4.7, This class is not available. I hope this is only in CRM because of PC-UI.
    Any Suggesions how can i achieve this execution of BSP.
    In one of the document i saw the Business Object BUS1006 as an example but i could not locate the way to reutilize the similar way.
    Thanks & Regards
    Sumanth

  • Can we code to import MIME object(Image)  on bsp page

    hi
    can we code to import MIME object(Image)  on bsp page
    i have one bsp webpage like employee page , in which i have option to attach image so , i want that user attach image and image shuld be go in sap mime object.
    thanks

    Hi,
    save the image into ur system.
    Right click on object name->create->MIME object->import.
    Then select hte image which u want to import and save it.
    Then in the layout write code as
    <html>
    <img height="130" src="image.bmp ">
    </html>
    Regards,
    jaya

  • BSP Application object reference

    Hi,
    In My Z BSP application, I have used the standard class CL_BSP_HAP_DOCUMENT_UI application class.
    In one of the button click, a HRHAP00_DOC_BC BADII is implemented. In this BADI, i wanted to get the reference of the BSP applicaiton object. I wanted to know which button of BSP is clicked to bypass some piece of code. In R/3, for the same button SY-UCOMM is filled. when the same is run from portal, this SY-UCOMM is not set. How to get the reference of the BSP object in this case.
    Regards,
    Lekha.

    Hi,
    you´ll have to create your own BADI (definition and implementation) as a Z object. Check first if behind the button that you mention it is possible to implement another BADI. It might be necessary to work also with a Z class instead of CL_BSP_HAP_DOCUMENT_UI. You´ll have no other choice, since you may not modify standard objects.
    Once you have created your interface, BADI definition and BADI implementation, you can add a method for catching the event OnClick. It might be necessary to define an event in the interface behing the new BADI for catching the event and calling the method that will process the information.

  • BW Report execution from BSP application

    Hi,
    I am developing a web interface using BSP. One of the application in that is exposing BW reports in web through BSP. Using "How-To NetWeaver '04", I constructed the URL in the format -
    http://<BW Server>:<Web AS port>/sapbw/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=<Template>
    This URL gives me the output and I am able to call this from my BSP application.
    But while executing this report, I am getting popup to enter user id and password. In actual scenario, user will be logging in using one of the BSP application in R3and from there there will be a link to get this report. All my other application are in R/3 (like sales order / R3 reports) and only this report is from BW. What I did is I created a BSP application in BW and provided the report link there and I called this BW BSP application from R3 BSP application. In SICF for BSP application, I have provided my user id and password.
    Everything works fine except for the popup box. This popup appears even if I try to execute directly in BW server. BSP Webpage in BW is appearing with out any issues(so my SICF for BSP is working fine) and once I click the link to my report, the popup is coming. Kindly suggest how to suppress it.
    Note:  I posted this in Portal Development also
    Thanks,
    Krish

    I solved this by creating an Alias and also by changing the SICF for Mime object under BW. 
    Thanks,
    Krish

Maybe you are looking for

  • Multiple users on 1 Apple ID

    Please bear with me as I am new to all of this! I have moved in with my partner and we both have apple products. I know we can't combine our Apple ID accounts, so will have to lose lots of paid for music and apps, but at the same time we often buy th

  • How to open hyperlinks in a pdf with Adobe Reader 9?

    We publish a digital journal with hyperlinks to various sources. After installation of Adobe Reader version 9 we are not able anymore to open the hyperlinks. Looking to the discussion Fora we also followed the procedure to disable the PDF/A mode of v

  • How can I make a 3 fold leaflet in photoshop?

    Hi I am very new to photoshop but would like to create a professional looking A4 3 fold leaflet (takeaway-leaflet-type). Any idea's how I can create such thing, or any other application I can use? Thanks in advance

  • Problème vidéo

    Bonjour ! Quand je filme avec l'app appareil photo, je n'ai pas de son, même chose pour FaceTime.  Pouvez-vous me guider pour savoir comment régler mon problème.  Je vous remercie !

  • Import doesnt load all the tables

    hi, I take an export of user (abc) and try to import to other user (xyz). Except some tables all goes to the destination schema (xyz). The abc user has all its tables in one tablespace. In target database same tablespace is created and user has the u