Quantcast
Channel: SCN : All Content - Business Server Pages (BSP)
Viewing all 296 articles
Browse latest View live

Business Server Page (BSP) error

$
0
0

Hi

 

I am getting an errr in the BSP applicatio n wheni try to run it

the error is

 

Business Server Page (BSP) error

 

What happened?

Calling the BSP page was terminated due to an error.

 

SAP Note

 

The following error text was processed in the system:

Die URL enthält keine vollständige Domainangabe (ss000006 statt ss000006.).

 

Exception Class CX_FQDN

Error Name 

Program CX_FQDN=======================CP

Include CX_FQDN=======================CM002

ABAP Class CX_FQDN

Analyze CHECK

Line 10 

Long text -

 

Can anyone help me to get over this error

 

Thanks

 

Nikhil

 


Hi please help me to resolve this issue

$
0
0

Hi ,

Hi

 

I am getting an error in the BSP application n when i try to run it

the error is

 

Business Server Page (BSP) error

 

What happened?

Calling the BSP page was terminated due to an error.

 

SAP Note

 

The following error text was processed in the systemimage.png

I m getting the above error i am using windows 8.1 i am unable to downgrade my IE 11.0 to  IE 5.5 Please suggest me to solve the issue

How to download uploaded file in BSP application?

BSP and IE8: button event problem

$
0
0

Hi,

 

I am reponsible of a BSP application currently running on IE6. As default browser will soon be upgraded to IE8 in my enterprise, i tried to use it on IE8 and encounter a problem.

 

When clicking on any button on my application page, the button seems to fire an event, as the double submit protection popup is displayed, but then no further process is done, and no request is sent to my application. The mouse cursor is just displaying the loading animation.

 

This problem doesn't occur when the compatibility mode is used, but until now, i wasn't able to force it inside the application code, despite the addition of the meta tag : '<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />'.

 

Can anyone help me?

 

My SAP server is a ECC6 version, release 7.00, with support package 18.

 

Thanks.

 

Nicolas

Issue in BSP application HAP_DOCUMENT.

$
0
0

Hi experts,

 

The error which I am facing in appraisal template is as follows

When I click on any button on appraisal template from ESS portal no action takes place.

the button functionality works fine in back-end via phap_admin t-code.

Kindly let me know how can I resolve this error.

 

we are using BSP application HAP_DOCUMENT.

according to me page fragment 'document_buttons.htm' (Method CONVERT_BUTTON_TO_UI) contains the code for button creation and button handling

the page fragment 'document_buttons.htm' is getting triggered when page is initialized but it is not triggering when button is clicked.

 

 

Additional info that might be useful to resolve the issue:

1) While viewing appraisal template's web layout in t-code PHAP_CATALOG_PA.

     I am facing script error 'Me is undefined' (Error code = 0)

2)  We are currently using IE 8

3)  We recently upgraded ECC system from ECC 6.0 to ECC 6.0 / EHP 6 (ECC 6.6)

4) I checked SICF and corresponding services are active

 

Regards

Ninad Shevade

Issue in BSP Rendering in High Resolution PC's

$
0
0

Hi Colleagues,

 

We have a scenatio where we are displaying the list of links on the left hand side of the page. Each link is seperated by fixed height and width as below.

           <td width="7">
           <TD height="20">

Note that we are using the content design as "design2008"

 

Now the links are rendering fine in most of the cases except in High resolution PC and in normal PC with document mode IE8 standards.

 

CAn you one kindly share your exeperiances in this matter.

 

 

BSP - Text Types (Authorization)

$
0
0

Hello All,

 

I'm naive to BSP.

We want to display some Text ID's (Types or Objects) in Sales orders when accessed in GUI and hide the same when accessed from BSP.

GUI and BSP are different user groups.

Controlling text ids in GUI also effects BSP?

BSP apps: closing BSP page via standalone code

$
0
0

Hello

 

I need some technical advise on how to approach for the below requirement. I already have a BSP application running and for some business purpose we need a ABAP code or another BSP application which can close the user's BSP window . SM12 doesn't help and need some specific routine to close a particular BSP application opened by the user.

 

any suggestions please?


BSP : Calling script on onClientClick - how to get the result event?

$
0
0

Hi All

 

In my application (BSP) there is a new button created which calls a javascript "Script_DS()":

 

      <htmlb:button id            = "RelLockButton"

                     design        = "emphasized"

                     text          = "Unlock shift report"

                     tooltip       = "<%= tool_tip %>"

                     disabled      = "<%= unlock %>"

                     onClick       = "OnInputProcessing"

                     onClientClick = "htmlbevent.cancelSubmit=!Script_DS('<%= shopflr %>')" />

 

The calling script open a new window "RelConfirmation.htm" using:

 

function Script_DS(args)

{

    var settings = 'dialogHeight: 190px; dialogWidth: 380px; dialogTop: 500px; dialogLeft: 500px; edge: Raised; center: Yes; help: No; resizable: No; status: No; toolbar: No; menubar: No; scroll : no';

    var arg = new Object();

    arg.val = args;

    var return_detail = window.showModalDialog('RelConfirmation.htm',arg, settings);

     if (return_detail != null)

     {

       return true;

     }

     return false;

}

 

The window "RelConfirmation.htm" just has some text displayed and a button "confirm" or "Cancel" button....Since some of the validation in the main page "Main.htm" from where the page RelConfirmation.htm called are dependant on the user selection (either "confirm" or "Cancel" ) there is a need for me to retrieve the user selection back to the main page....can u please advise on how to handle this?

Capture event triggered in Layout area

$
0
0

Hi experts,

 

I am working in SUS BSP application. i dont have DO_HANDLE_EVENT to get the event triggered. i have only tabs - Properties , Layout and Attributes.

 

I have a button save in Layout tab. when ever the save button is clicked i have to raise a popup message. Can anyone guide me how can i capture the event and raise Pop-up.

 

Thanks & Regards

Arun.K.P

Pop - up screen from custom method

$
0
0

Dear  Experts,

 

 

Please guide me how to call a BSP view as Popup from Custom method in a class. I need a small popup just an information to be displayed with ok button.

 

Kindly guide me.

 

Thanks & Regards

Arun.K.P

AJAX Call to BSP -> avoid intermediary "Your request is being processed"

$
0
0

Hello,

 

I'm performing an AJAX call to  a BSP page (using the jQuer load() function).

Unfortunatelty I'm getting a intermediary response which contains the message "Your request is being processed".

 

This is the complete HTML source of this response:

 

<h t m l><h e a d>   <s t y l e type="text/css">.middle  { vertical-align:middle; }</style></h e a d><b o d y    o n l o a d="document.forms[0].submit()">   <form method="post" action="/sap(bD1lbiZjPTAyMA==)/bc/bsp/sap/zzv5_my_orders/selected_orders.htm">      <input type="hidden" name="partner" value="229440">      <input type="hidden" name="shipto" value="ALL">      <input type="hidden" name="arktx" value="*">      <input type="hidden" name="bstnk" value="*">      <input type="hidden" name="inco1" value="ALL">      <input type="hidden" name="ettype" value="A">      <input type="hidden" name="nbdays" value="14">      <input type="hidden" name="status" value="*">      <input type="hidden" name="nblines" value="50">      <input type="hidden" name="langu" value="EN">   </form><table border="0" width="100%" height="100%">   <tr><td align="center" class="middle">Your request is being processed</td></tr></table></body></html>

(I've added some black in tags in order to avoid SDN proxy problems)

The form contains all parameters I have initialy passed through the AJAX call, is is automaticaly submited in the onload() event.

But It is totaly messing up my AJAX call!

 

This behavious doesn't seem to depend on the content of the BSP page: I'm getting the same result with an empty BSP.

The BSP does not contain <xhtmlb:protectDoubleSubmit>.

 

How can I avoid this intermediary response?

 

Many thanks for your help, experts!

 

Jerome.

How to upload a file from desktop using hard code path in BSP

$
0
0

Hi All

 

In my project (CRM2007) I have to upload a file and have to attach it to an sales order.

I am able to upload a file by giving file path in view. But my requirement is that I have to upload the file from hard coded path.

It means that user will not enter file path in the view.

We have to upload file from hard coded path when some event is triggered.

 

Any response will be highly appreciated and rewarded by points.

 

Best Regards

Bhavishya Mittal

Where is the data in my new added field stored?

$
0
0

Hello,

 

I've added a field to my BSP form in sm_crm. It is called 'Configuration Item' and the technical name is /BTADMINH/EXT./AICRM/CUSTTXT01.(See screenshot)

 

I now want to debug to find out in which table my new field is stored. But I don't know where to start. Can anyone point me in the right direction?

 

Thanks in advance.

 

Cheers,

Tim.

BSP Error help

$
0
0

Hi friends;

I am learning BSP

while trying to execute a BSP page from SAP R3 , I get the below error message in IE browser window.

====================================================

500 SAP Internal Server Error

Error message: Field symbol has not yet been assigned. ( type of termination: RABAX_STATE )

====================================================

 

Your Help is really appreciated,

 

thank you,

Jagrut bharatkumar shukla


Field symbol has not yet been assigned in BSP

$
0
0

When I run a demo about BSP, an error occurred, I can not solve it. Can anyone help me to think about it?

the error syntax is that:

Note

 

The following error text was processed in the system CEC : Field symbol has not yet been assigned.

The error occurred on the application server CTSINTCOSNW4_CEC_00 and in the work process 0 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Form: IF_HTMLB_ELEMENT_DELEGATED~DO_AT_END of program CL_HTMLB_TABLEVIEW============CP

Form: DELEGATED_END of program CL_HTMLB_ELEMENT==============CP

Form: IF_BSP_ELEMENT~DO_AT_END of program CL_HTMLB_TABLEVIEW============CP

Form: ONLAYOUT of program CLO2DBWP8L6LGFORZ5UKCO7PFCDVUCP

Form: %_ONLAYOUT of program CL_O2DBWP8L6LGFORZ5UKCO7PFCDVUCP

Form: DO_REQUEST of program CL_BSP_PAGE===================CP

Form: ON_REQUEST of program CL_BSP_RUNTIME================CP

Form: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_BSP===============CP

Form: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP

Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME

 

Thanks.

Convert BSP output to PDF

$
0
0

Hi All,

     I have a BSP application wherein a Dashboard report is presented. basically it has a selection screen and a tableview which is displayed. There are two buttons to decide whether its a management report or a regular report. Depending upon the buttons the output inthe table changes. This part is working fine. In case of management report i have to color some cells based on a particular condition. There is another button for  ' Export to PDF'. I need to convert the output of the tableview to PDF. I could not find a direct way to do , so I created an ABAP report of similair output called Z01_BSPPRDDASH_SPOOL . when user presses the button, the report output is genereated and sent to spool. The spool is converrted to PDF using the std FM 'CONVERT_ABAPSPOOLJOB_2_PDF'. After this i need to display the pdf. but the code given below is not doing that. I am unable to see any output. Can you pls telle me what is going wrong . Also let me know if my approach is correct. Can there be any other way of converting a tableview to pdf. I need to solve this urgently as my delivery date is nearing for this object.

 

Code :

 

      DATA: ITAB TYPE TLINE,

              WITAB TYPE TABLE OF TLINE,

              OUTPUT TYPE STRING ,

  •              CONTENT TYPE XSTRING,

              WF_SPONO TYPE TSP01-RQIDENT ,

              WF_PARAMS TYPE PRI_PARAMS,

              VALID_FLAG(1) TYPE C ,

              LC_RQ2NAME TYPE TSP01-RQ2NAME ,

              TSP01_WA TYPE TSP01 .

 

      DATA: CACHED_RESPONSE TYPE REF TO IF_HTTP_RESPONSE.

      DATA: RESPONSE TYPE REF TO IF_HTTP_RESPONSE.

      DATA: GUID TYPE GUID_32.

 

      DATA: L_PDF_XSTRING  TYPE XSTRING,

  •        lt_lines       type table of tline,

           LS_LINE        TYPE TLINE,

           DISPLAY_URL TYPE STRING,

           L_PDF_LEN      TYPE I.

 

      DATA: OUTPUT_OPTIONS      TYPE SSFCOMPOP,

            CONTROL_PARAMETERS  TYPE SSFCTRLOP,

            OUTPUT_DATA         TYPE SSFCRESCL,

            DEVTYPE             TYPE RSPOPTYPE.

 

 

*

      CALL FUNCTION 'GET_PRINT_PARAMETERS'

        EXPORTING

          DESTINATION    = 'LOCL'

          IMMEDIATELY    = ' '

          RELEASE        = ' '

          NEW_LIST_ID    = 'X'

          LINE_SIZE      = 255

          LINE_COUNT     = 65

          LAYOUT         = 'X_65_255'

          SAP_COVER_PAGE = 'X'

          RECEIVER       = 'SAP*'

          DEPARTMENT     = ''

          NO_DIALOG      = 'X'

        IMPORTING

          OUT_PARAMETERS = WF_PARAMS

          VALID          = VALID_FLAG.

 

      IF VALID_FLAG = 'X' AND SY-SUBRC = 0.

        SUBMIT Z01_BSPPRDDASH_SPOOL TO SAP-SPOOL WITHOUT SPOOL DYNPRO

                          SPOOL PARAMETERS WF_PARAMS

                           AND RETURN  .

      ENDIF.

 

  • this is to get the spool no. created. Not a real nice

  • way though. if someone knows a better method please do

  • share

 

      CONCATENATE 'SAPMHTTP'

                   SY-UNAME+0(3)

         INTO LC_RQ2NAME SEPARATED BY '_'.

 

      SELECT * FROM TSP01 INTO TSP01_WA WHERE  RQ2NAME = LC_RQ2NAME AND

                                               RQOWNER = SY-UNAME

      ORDER BY RQCRETIME DESCENDING.

        WF_SPONO = TSP01_WA-RQIDENT.

        EXIT.

      ENDSELECT.

      IF SY-SUBRC NE 0.

        CLEAR WF_SPONO.

      ENDIF.

 

      IF NOT  WF_SPONO IS INITIAL.

 

        CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'

          EXPORTING

            SRC_SPOOLID              = WF_SPONO

            NO_DIALOG                = 'X'

          TABLES

            PDF                      = WITAB

          EXCEPTIONS

            ERR_NO_ABAP_SPOOLJOB     = 1

            ERR_NO_SPOOLJOB          = 2

            ERR_NO_PERMISSION        = 3

            ERR_CONV_NOT_POSSIBLE    = 4

            ERR_BAD_DESTDEVICE       = 5

            USER_CANCELLED           = 6

            ERR_SPOOLERROR           = 7

            ERR_TEMSEERROR           = 8

            ERR_BTCJOB_OPEN_FAILED   = 8

            ERR_BTCJOB_SUBMIT_FAILED = 9

            ERR_BTCJOB_CLOSE_FAILED  = 10

            OTHERS                   = 11.

 

      ENDIF.

      IF SY-SUBRC EQ 0.

 

        LOOP AT WITAB INTO ITAB .

          TRANSLATE ITAB USING ' ~'.

          CONCATENATE OUTPUT ITAB INTO OUTPUT IN CHARACTER MODE.

        ENDLOOP.

        TRANSLATE OUTPUT USING '~ ' .

 

        CREATE OBJECT CACHED_RESPONSE TYPE CL_HTTP_RESPONSE EXPORTING

      ADD_C_MSG = 1.

 

        L_PDF_LEN = STRLEN( OUTPUT ).

        CACHED_RESPONSE->SET_CDATA( DATA   = OUTPUT

                            LENGTH = L_PDF_LEN ).

 

     CACHED_RESPONSE->SET_HEADER_FIELD( name  =

if_http_header_fields=>content_type

                                        VALUE = 'application/pdf' ).

 

        CACHED_RESPONSE->SET_STATUS( CODE = 200 REASON = 'OK' ).

        CACHED_RESPONSE->SERVER_CACHE_EXPIRE_REL( EXPIRES_REL = 180 ).

 

        CALL FUNCTION 'GUID_CREATE'

          IMPORTING

            EV_GUID_32 = GUID.

 

        CONCATENATE RUNTIME->APPLICATION_URL '/' GUID '.pdf'

        INTO DISPLAY_URL.

 

        CL_HTTP_SERVER=>SERVER_CACHE_UPLOAD( URL      = DISPLAY_URL

                                           RESPONSE = CACHED_RESPONSE ).

 

      navigation->goto_page( display_url ).

        .

 

        RETURN .

 

Regards,

Sriprabha

Call screen from BSP

$
0
0

I have created a bsp application and I want to call a screen through submit report. I dont know how to do it. Please guide me

BSP Element attributes

$
0
0

Hi Fellas,

 

I´m new in BSP world and I´m having some troubles with the bsp elements.

 

My question is: can I add new attributes to a BSP element?

 

I´m using the tableViewColumn element that does not have a "visible" attribute, to hide a column like the inputField element has.

 

Thx in advance.

Copy Mime Folder in BSP

$
0
0

Hi,

 

I am in need of copying a Mime folder in a BSP application, I donot want to download it to my PC but i need to copy a Mime folder and paste it as a copy within the BSP application

If my mimes in BSP resided in /SAP/BC/BSP/SAP/ZBSP_APPL/IMG1/, i need to copy it to

/SAP/BC/BSP/SAP/ZBSP_APPL/IMG2/,

 

I have seen a report program that does a copy from server to PC or from PC to server (BSP_UPDATE_MIMEREPOS) and i cannot use WebDAV since that would take a lot of time

 

But i am in need of copying from Server to server without getting to Local PC,

 

Can you please suggest me an idea how i can get this done

 

Thanks in advance

Best Regards

Babu

 

Edited by: Babu Ganesh V on Nov 24, 2008 3:06 PM

Viewing all 296 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>