Quantcast
Channel: SCN : Popular Discussions - Business Server Pages (BSP)
Viewing all 1497 articles
Browse latest View live

How to find domain name for the host

$
0
0

I have found the hostname but I am not able to find the domain name , how can I do that?? From the forums I was able to understand why the BSP Application was not displaying but unable to execute the same as I was unaware of the domain name.

 

Thanks in advance.

 

Regards,

Narayani


regular expressions?

$
0
0

Hi,

I didn't find anything on regular expressions yet.

Any suggestion on how I can achieve the classical [^a-aA-Z0-9] meaning skip all non (alpha)numeric chars.

 

Eddy

close popup when parent window is closed

$
0
0

Hi everybody,

 

I have written a bsp application with one page.

If the user clicks on a submitt-button a new window is opened by calling the

javascript function window.open.

 

Now I am looking for a way to close the sub-window automatically when the parent window is closed.

 

I have found the attribute "dependent" in the window.close function, but this only

works for netscape and nor internet explorer.

 

Could you help me

 

Best regards & Thanks a lot

 

Alberto

PDF download from BSP application

$
0
0

hi all,

 

With the bellow code i am able to download to PDF from BSP application

Issue is when i click on the download button waiting popup window is not disappearing even after PDF displayed.

 

Please help me to resolve how to stop this waiting popup window.

*

response->delete_header_field( name = 'Cache-Control' ).  "#EC NOTEXT

  response->delete_header_field( name = 'Expires' ).        "#EC NOTEXT

  response->delete_header_field( name = 'Pragma' ).         "#EC NOTEXT

  • Deactivated because of Note 904314 and Kompression in Kernel

  response->set_compression( options = '4' ).

 

  response->set_header_field( name  = 'content-type'

                              value = 'application/pdf' ).

 

  response->set_header_field(

                     name  = 'cache-control'

                     value = 'max-age=0' ).

 

    response->set_header_field(

                       name  = 'content-disposition'

                       value = 'attachment; filename=candidate.pdf' ).

 

  l_pdf_len = XSTRLEN( l_pdf_xstring ).

  response->set_data( data   = l_pdf_xstring

                      length = l_pdf_len ).

 

  navigation->response_complete( ).

*

 

Any help on this is highly appreciated.

 

Thanks,

Ravi

No popup when using cl_bsp_utility=>download

$
0
0

Hi friends,

 

I´m using cl_bsp_utility=>download method from my BSP to download a file. I´ve never used it, but as long as I could see in the forum, it´s suppossed to open a popup to choose the file destination, right?...

 

Well, I´m getting nothing...what could be happening? I´ve tried the same code from different pc´s, to discard antivitrus, or popup blockers, or something like that, and nothing at all. After my pushbutton click, runs all the code without any error, but no popup.

 

I would appreciate very much any kind of help. Here´s my code, just in case...

 

       call function 'SCMS_STRING_TO_XSTRING'            exporting              text     = lv_string              mimetype = 'APPLICATION/MSEXCEL;charset=utf-8'            importing              buffer   = lv_xstring.          concatenate cl_abap_char_utilities=>byte_order_mark_little                      lv_xstring into lv_xstring in byte mode.          call method cl_bsp_utility=>download            exporting              object_s            = lv_xstring              content_type        = 'APPLICATION/MSEXCEL;charset=utf-8'              content_disposition = 'attachment;filename=*.xls'              response            = _m_response              navigation          = navigation.

 

Thanks in advance!

 

SAPLHTTP_RUNTIME for 12 days????

$
0
0

Hi All -

 

We're in the midst of a major course push on our LSO system at the moment, which runs off BSP Application HCM_LEARNING.  When we took a look at the system monitor in SM50, it looks like SAPLHTTP_RUNTIME has been running for nearly 11 days, and we can't figure out why!  Does anybody have any idea why this would happen?  Thanks for your help!

 

Abby

Easy way to copy MIME folders?

$
0
0

System: WebAS 6.20 - SP-Level 43

I want to copy the files in the MIME repository for the HTMLB, XHTMLB and UR libraries/folders.

(as described <a href="http://help.sap.com/saphelp_webas620/helpdata/en/8b/25183a3bef2669e10000000a114084/frameset.htm">here</a>)

 

I can copy multiple files at once by selecting them and then use drag'n'drop - but this doesn't work for folders?

(although it should work according to <a href="http://help.sap.com/saphelp_webas620/helpdata/en/46/bb1844ab4811d4968100a0c94260a5/frameset.htm">this part</a> of the online help).

 

Is this just me not knowing some small clue or doing something wrong?

Or how do/did you copy all necessary files?

 

Another question - why does the design2003 not show up in the MIME repository? When I use design2003, the .css-file referenced is /sap/public/bc/ur/Design2002/themes/sap_tradeshow/ur/ur_ie6.css ...

Anyone to throw light on this for me?

BSP & DMS Document Download

$
0
0

Hi All,

 

I'm developing a BSP which can download a folder with documents present in SAP's DMS, to c:\temp.

At the moment I use the EasyDMS function "Z_EASYDMS_FOLDER_EXPORT".

During development, it worked fine because I was going through the program in debug mode. Therefor, the SAPHTTP can connect with the SAP gui.

But when running "normallly" (not in debug), the program runs in error. It turns out that the SAPHTTP (nor SAPFTP) cannot connect and thus the documents cannot be downloaded.

I also tried to use call functions: CVAPI_DOC_CHECKOUTVIEW, SCMS_HTTP_GET_FILE and HTTP_GET_FILE, but all with no result. I also tried to call SAPFTP & SAPHTTP directly via "SYSTEM_START_REG_SERVER" and via the build of a command and the function "RFC_START_PROGRAM".

Again, with no result. The BSP runs in an error (HTTP 500 internal server error).

 

As this is an urgent development, help would be very much appreciated!!!

 

Regards,

 

Sander


Error:You cannot use an internal table as a work area.

$
0
0

Hi Experts,

I am grring Error(You cannot use an internal table as a work area.) for it2_range

 

 

 

In Type Definition

begin of types_range,     sign(1),     option(2),     low  type kunnr,     high type kunnr,   end of types_range.

types: it_range type STANDARD TABLE OF  types_range WITH DEFAULT KEY INITIAL SIZE 10.

 

In Page Attribute

it1_range TYPE it_range

 

 

OnInputProcessing

data: it2_range like it1_range.

ERROR Is Here -


>>>
select * from kna1 into it_kna1 where kunnr in it2_range.

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

 

BSP activation problems

$
0
0

Hello,

I recently activated a BSP application in the production system and now it doesn't work (it worked before, it activated in the other systems (dev and test) but not in the Production system. I receive the error:

 

What has happened?

The URL call http://..../sap/bc/bsp/sap/zthj_xml/public/p.....xml was terminated because of an error.

  
Note
  • The following error occurred in system SID : Work process restarted; session terminated                              
  • The error occurred on application server BLABLA and in work process. 8
  • The termination type was: TH_RES_FREE
  • The ABAP call stack was:
  

What can I do?

  • If the termination type was RABAX_STATE, you will find more information on the cause of termination in system SID in transaction ST22.
  • If the termination type was ABORT_MESSAGE_STATE, you will find more information on the cause of termination on the application server BLABLA_SID_00in transaction SM21.
  • If the termination type was ERROR_MESSAGE_STATE, you can search for further information in the trace file for the work process 8 in transaction ST11 on the application server BLABLA_SID_00 . You may also need to analyze the trace files of other work processes.
  • If you do not yet have a user ID, contact your system adminmistrator.

Error Code: ICF-IE-http -c: 020 -u: HTTPUSER -l: E -s: SID-i: BLABLA_SID_00 -w: 8 -d: 20130320 -t: 154708 -v: TH_RES_FREE -e: Work process restarted; session terminated                                -X: E61F133CD0231ED2A4AEAD609F3112A3_E61F133CD0231ED2A4AEAD6F230212A3_1 -x: 6B7591E2F904F18E92A3E61F133CD023


HTTP 500 - Internal Server Error

Your SAP Internet Communication Framework Team

 

Anyone experienced this?

 

Best regards

BSP Redirect

$
0
0

We are trying to redirect the BSP page to a URL using the method 'REDIRECT' of the interface 'IF_HTTP_RESPONSE'.

It doesn't seem to work, the syntax used is given below:

 

Response->Redirect ( 'http://myurl' ).

 

Thanks for any help.

regarding BSP error CL_BSP_RUNTIME================CM001

$
0
0

Hi guys,

 

During Solution monitoring in Solution Manager,

Click Operations -> Solution Monitoring  -> System Monitoring

Gives below error Page

-


Error Page

 

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:

BSP Exception: Internal Error in Business Server Page Runtime.

   

Program CL_BSP_RUNTIME================CP

Include CL_BSP_RUNTIME================CM001

Line 196  

   

Error type:

 

Your SAP Business Server Pages Team

-


 

URL Tagged is as follows

http://pw2003.fcc.xxxxxx.com:8000/sap/bc/solman/defaultUser/graphic/solmangraphic.htm?sap-language=E&sapClient=001&_appl=SOLMAN&CMD=GRDI&SLID=000000000100100&ASID=000000000000267&_cacheid=49115BAC58DD0887E10000000A21C81A

 

 

Current situation.

Not sure whether Domain FQDN problem. I did not get any Shortdumps too.

Have Checked SICF, HTTP Services, Profile paramter ICM/HOSTNAMEFULL

 

How to troubleshoot this error and find the problem. how to check my domain is working fine.

 

Appreciate the response.

 

Jaichan

Service cannot be reached . error code 403 the reason forbiddn

$
0
0

Hi,

 

I am getting the following error

 

Service cannot be reached

 

What has happened?

URL http://ss000006:8002/sap/bc/bsp/sap/zbw_req_monitor/initial.do call was terminated because the corresponding service is not available.

 

Note

 

The termination occurred in system BWD with error code 403 and for the reason Forbidden.

The selected virtual host was 0 .

 

 

CAN anyone help me with this error

 

Thanks

 

Nikhil

BSP Parameters from URL

$
0
0

Hi

 

I have a simple BSP Page , which is calling a function module, which requires four parameters.

I want to send those parameters from URL.

 

My question is how to send those parameters and set them to the input variables for the function module.

 

I am newbie to BSP and any help is greatly appreciated.

 

Thanks

Rajesh


Checking Password State with SUSR_USER_PASSWORD_STATUS_GET

$
0
0

Hi @ all!

 

since automatic check for th status of password is not supported for bsp (as far as I know) - I tried to force the users to change their passwords if it is initial or invalid.

 

Unfortunately the function 'SUSR_USER_PASSWORD_STATUS_GET' always returns -2 (Password cannot be changed in general) for internet or service user while for dialog user it works?

 

Is there any way to handle passwords validity for internet or service user?

BSP call : type of termination: RABAX_STATE

$
0
0

Hi friends;

        I am learning BSP (kindly excuse my ignorance);

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

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

<b>500 SAP Internal Server Error</b>

Error message: An exception that could not be caught occurred.

( type of termination: RABAX_STATE )

 

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

 

Your Help is really appreciated,

Aby Jacob

-


 

Passing table data from one BSP page to another

$
0
0

Hello, can anyone explain to me or give me an example of how to pass internal table data from one BSP page to another.  I can do this easily with a single field by setting the Page Attribute to Automatic and using the following command: "navigation->set_parameter( 'fieldx' )."  At this point "fieldx" is available to the next page as long as I have "fieldx" defined as Page Attribute on that page.  But I cannot seem to find a way to do this with a internal table.

CX_SY_MESSAGE_IN_PLUGIN_MODE

$
0
0

Hello experts,

I am writing some application for win CE devices in .net. It should communicate with SAP through BSP (I have no rights to configure wdsl). There is one page in BSP Application, with the parameter XML. In the event OnRequest I call FM L_TO_CONFIRM. From time to time it raises exception CX_SY_MESSAGE_IN_PLUGIN_MODE. I catch this exception in the try catch block to figure out what's wrong. I then pass some response outside the try endtry block to the parameter XML, but then after exiting the method of the OnRequest event it runs empty method if_abap_runtime~get_runtime by kernel module ab_kmGetRuntimeHR and the parameter XML is send to the device empty. I'd like to send the error message back.

 

 

Please help.

 

Thanks in advance.

 

The code is something like that:

 

try.
 call function 'L_TO_CONFIRM'  exporting i_lgnum = lgnum                  i_tanum = tanum                  i_qname = uname  tables      t_ltap_conf = tltap  exceptions ....
.

catch cx_sy_message_in_plugin_mode into oref.
  clear message.  select single text from t100   into (message)  where sprsl = sy-langu      and arbgb = oref->msgid      and msgnr = oref->msgno.

if sy-subrc <> 0.  message = 'Unknown error'.
endif.

endtry.

if not message is initial.
  concatenate '<resp><state code="err" num="500">' message '</state>' body '</resp>' into xml.  exit.
endif.

if sy-subrc <> 0.

.......

 

The layout is:

<%@page language="abap"%>

<?xml version="1.0"?>

<%=xml%>

Event handling in bsp with jquery

$
0
0

Dear experts,

 

I am new to BSP and now i am designing a  jquery mobile using BSP . I have created some pages with flow logic . from view1 i am calling view 2. in view 2 i have a button on click of that button i am sending some data to view 3 along with navigation and i written logic to navigate from view2 to view3. in view 3 i have a button. but in this process if i click on that button that event is not going to view3 flow  logic event handlet part. if i execute the single view 3 then i am able to enter into view 3 event handling. Can any one help in this? i have set status of each page to state less,unchanges,statefull. i tried with all these combinations. can anyone help me in this ?

Thanks in andvance,

Rajesh.J

Viewing all 1497 articles
Browse latest View live


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