Not able to send SMS  " Application server error"

Hi Experts,
I am trying to send sms using one URL . but it is giving application server error. if i seperately copy this url on internet explor it is working fine .
I am getting error in below methos
call method client->receive
exceptions
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3
others = 4.
returning 1  and error message
<html><head><title>Application Server Error</title>##<style type="text/css">##body { font-family: arial, sans-serif;}##</style>##</head>##<BODY text="#172972" link="#808080" vlink="#808080"##alink="#8e236b" bgcolor=white  leftmargin="0" topmargin="0"##mar
below is the code
call function 'SCP_CODEPAGE_FOR_LANGUAGE'
exporting
language = 'L'
importing
codepage = i_codepage
exceptions
no_codepage = 1
others = 2.
data : I_msg type string.
***Repalcing the starnge characters
call function 'SCP_REPLACE_STRANGE_CHARS'
exporting
intext = I_message
in_cp = i_codepage
importing
outtext = I_msg
exceptions invalid_codepage = 1
codepage_mismatch = 2
internal_error = 3
cannot_convert = 4
fields_not_type_c = 5
others = 6.
endif.
gv_sms_number = I_SMS_number.
****Check the recipient Number
replace all occurrences of '+' in gv_sms_number with ' '.
condense gv_sms_number no-gaps.
data: client type ref to if_http_client,
      url type string.
****Build the  URL
url created
****Create the HTTP client
call method cl_http_client=>create_by_url
exporting url = url
importing client = client
exceptions others = 1.
*****Set the Request type to GET******
***Sets the value of the specified header field
client->request->set_header_field( name = '~request_method' value = 'GET' ).
CALL METHOD client->send
    EXCEPTIONS
      http_communication_failure = 1
      http_invalid_state         = 2.
**client->request->set_header_field( name = '~request_method' value = 'GET' ).
"#EC *
****Make the call client->send( ).
****Receive the Response Object
call method client->receive
exceptions
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3
others = 4.
if sy-subrc <> 0.
  call method client->get_last_error
    importing
     code    = gv_subrc
     message = gv_errortext.
endif.

Hi,
Pls see this link... Re: Sending SMS frm SAP

Similar Messages

  • I recently buyed totally unlocked sprint iphone which was legally contract free and i am using that phone in india but i am not able to send sms .everything is working fine except sending sms. i have tried everything plz help me !!

    i recently buyed totally unlocked sprint iphone which was legally contract free and i am using that phone in india but i am not able to send sms .everything is working fine except sending sms. i have tried everything plz help me !! i have tried everything i.e. reset iphone /hard reset/network setting reset /sms service no i have also changed but i am still not able to send sms.. please help me as i am really worried .. thank you !!

    I had the same problem.  Kept getting message of waiting for activation or check network connections.  I also tried every solution out there and nothing worked.  This did though:  I download the newest version of itunes (through Internet Explorer - Google Chrome wouldn't work).  It pulled in my entire library thank goodness and then I plugged my iphone 4s into the computer.  I let itunes find it, did a complete backup in icloud, then did a restore.  Entire process took a couple of hours, but I now have imessage and facetime back.  I was about ready to give up on Apple and go get a different phone ~

  • Outlook Calendar invite - Not able to send from exchange server.

    Hi,
       I am not able to send outlook calendar invite from exchange server. But if i installed outlook on my local machine/server it works fine. Below code the i used to build calendar invite for your reference.
      public static void sendOutlookInvitationViaICSFile1(EAppointmentMail objApptEmail)
                try
                    log.Info("Invite Started");
                    Microsoft.Office.Interop.Outlook.Application apptApp = new Microsoft.Office.Interop.Outlook.Application();
                    Microsoft.Office.Interop.Outlook.AppointmentItem agendaMeeting = apptApp.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olAppointmentItem);
                    DateTime venueDate = Convert.ToDateTime(objApptEmail.VenueDate);
                    string formatedVenueDate = venueDate.Year.ToString() + "/" + venueDate.Month.ToString() + "/" + venueDate.Day.ToString();
                    DateTime from = Convert.ToDateTime(formatedVenueDate + " " + objApptEmail.FromTime);
                    DateTime to = Convert.ToDateTime(formatedVenueDate + " " + objApptEmail.ToTime);
                    System.Net.Mime.ContentType typeHTML = new System.Net.Mime.ContentType("text/html");
                    //Create the Body in HTML format
                    string strBodyText = "Type:Single Meeting\r\nOrganizer: {0}\r\nStart Time:{1}\r\nEnd Time:{2}\r\nTime Zone:{3}\r\nLocation: {4}\r\n\r\n\r\n\r\n{5}";
                    strBodyText = string.Format(strBodyText, objApptEmail.Email, from.ToLongDateString() + " " + from.ToLongTimeString(),
                                        to + " " + to, System.TimeZone.CurrentTimeZone.StandardName,
                                        objApptEmail.Location, objApptEmail.Body);
                    if (agendaMeeting != null)
                        Console.WriteLine("started");
                        agendaMeeting.MeetingStatus =
                            Microsoft.Office.Interop.Outlook.OlMeetingStatus.olMeeting;
                        agendaMeeting.Location = objApptEmail.Location;
                        agendaMeeting.Subject = objApptEmail.Subject;
                        agendaMeeting.Body = strBodyText;
                        agendaMeeting.Start = from;
                        agendaMeeting.End = to;
                        Microsoft.Office.Interop.Outlook.Recipient recipient = agendaMeeting.Recipients.Add(objApptEmail.Email);
                        recipient.Type = (int)Microsoft.Office.Interop.Outlook.OlMeetingRecipientType.olRequired;
                        ((Microsoft.Office.Interop.Outlook._AppointmentItem)agendaMeeting).Send();
                        log.Info("Invite Successfully End");
                        Console.WriteLine("End");
                catch (Exception ex)
                    log.Info("Error: " + ex.Message.ToString());
                    Console.WriteLine("Error: " + ex.Message.ToString());
    In exchange server/ not outlook installed server, i am getting below error.
    "Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))"
    Help me to send calendar invite without installing outlook on the specified server. Please do the needful.

    Hi
    It is probably that the stuff you doing is for outlook and because outlook is not installed it cannot find the classes.
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Nokia N95 not able to send sms.

    My nokia N95 is unable to send sms messages. The screen is saying "general memory is full, close some applications and try again". Have deleted all messages from inbox, outbox, photos, etc. But is still not able to send. I am able to recieve sms and calls. Don't understand where to find 'general memory'??? Can anyone help me please?? It has been like this for a week. Thanks

    Check in File Manager where your phone thinks memory is being taken up (Options>Memory details) - this will tell you if you have large amounts of memory taken up by thing which can be moved to memory card (such as photos, videos, music files etc.)
    If this is not the case, make a backup of your personal stuff (contacts, messages etc.) using PC Suite, leaving out anything that you don't need and also leaving out settings; then reformat your phone with the code *#7370# - the phone will ask you for confirm, then enter the lock code (12345 if you haven't changed it from standard) then shut down and restart - you should be able to send again after this. You can then restore your personal datat to the phone.

  • I am not able to send sms to certain contacts from my iphone5

    hi
    iam not able to send message to certain contacts from my iphone5

    Hi sri_sr,
    If you are unable to send SMS messages to certain contacts, we may need to check a few things:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    If you still can't send or receive SMS or MMS messages
    - See the iPhone Troubleshooting Assistant.
    - Verify that every phone number in your contacts list includes an area code.
    - When sending to existing contacts, ensure that your contacts include the full phone number, and not just the information needed to dial locally.
    - If you have recently ported your number from another carrier, please contact your current carrier to verify that the porting process has completed successfully.
    Thanks,
    Matt M.

  • 3G Setting - not able to send SMS text messages

    I have a £GS iphone. Can anyone explain why my SMS messages fail to send if the 3G setting is enabled but it will send when 3G is disabled. It makes no difference whether I have a strong 3G signal or none at all.

    I suggest contacting your carrier. I don't believe this is an iPhone problem since you are able to send SMS when connected via EDGE or when 3G network access is off. Although technically data, SMS is exchanged over the same network as calls - not via the carrier's data or internet network.

  • I am not able to send SMS through mac

    I have an iPhone six and is already upgraded to latest version . I am able to call through my mac but not been able to activate SMS service . Tried to do setting though iPhone forward SMS but i don't find any code popping up on my mac . Same problem on iPad and iMac
    Dr Abhay Patil

    Hello drabhay.p,
    Welcome to the Apple Support Communities! Let’s see if we can figure out what is going wrong so that we can get these great new features working. I’d like to start off by checking to see that you are signed in with the same Apple ID on all of the device (for iMessage). For more information, check out the following resources:
    Connect your iPhone, iPad, iPod touch, and Mac using Continuity - Apple Support
    http://support.apple.com/en-us/HT6337
    Get help using Continuity with iOS 8 and OS X Yosemite - Apple Support
    http://support.apple.com/en-us/TS5458
    Cheers,
    Matt M.

  • Not able to sync in Application Server... getting java error

    Hi Everybody,
    I am trying to sync my applicaton but getting sync 9025 error. Can anybody please give me urgent result. I am also providing user error trace file.
    Sync session exception stack trace:
    java.sql.SQLException: ORA-00942: table or view does not exist
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:242)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:554)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1478)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:677)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2378)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2667)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:458)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:388)
         at oracle.lite.sync.Subscription.execPrepDirect(Unknown Source)
         at oracle.lite.sync.HeliosSession.sendPayload(Unknown Source)
         at oracle.lite.sync.HeliosSession.sendSubData(Unknown Source)
         at oracle.lite.sync.HeliosSession.downloadSubs(Unknown Source)
         at oracle.lite.sync.HeliosSession.startSession(Unknown Source)
         at oracle.lite.sync.resume.Client$1.run(Unknown Source)
         at oracle.lite.sync.resume.ThreadPool$PoolTask.run(Unknown Source)
    Thanks,
    Nirms

    From the error message, the table/view does not exist. Log into oracle database, and see if the table referred to in your code (file DBError.java) exists in the database.

  • Not able to send SMS after IOS 7.1.1 update

    I updated to 7.1.1 last nite and today noticed that my SMS messages are not being received. I have tried all of the following with no success at all:
    Activated iMessage successfully
    Send as SMS activated
    Send & receive: only my phone number (I live in Greece so the number shown starts with +30) is ticked, email is NOT ticked
    Deactivated iMessage
    Reset network settings
    I do receive SMS messages from my husband's Samsung but my messages sent to his phone and others show on my phone as sent but they are not received. We have no carrier issues; this problem only started after the IOS update.
    Appreciate any suggestions! Thank you.

    iMessages or SMS which are different, or both?
    SMS/MMS are exchanged via a carrier's cellular network only. If an SMS or MMS is successfully sent, what happens to the message after that has nothing to do with the cell phone that successfully sent the message.

  • I am not able to send mails through Yahoo APP.It gives me an error msg :"the sender address has ben rejected by the server ".I tried adding username and password in the SMTP server settings,But those optiopns are greyed out.

    I am not able to send mails through Yahoo APP. It gives me an error msg :"the sender address has ben rejected by the server ".
    I tried adding username and password in the SMTP server settings,But those optiopns are greyed out.
    So, i am not able to enter anything in fields under SMTP server settings

    You probably have changing settings disabled in Restrictions.

  • HT1277 all of a sudden I am not able to send out mail. I have checked and rechecked my account information including incoming and outgoing server info.

    all of a sudden I am not able to send out mail. I have checked and rechecked my account information including incoming and outgoing server info. Does anyone know what the problem might be? Thanks

    If you're having trouble sending mail, then either the SMTP (outbound) mail server settings — the server, the port, the user, the password, and whether SSL is in use or (unlikely) not — are incorrect, or the mail server is offline or has been reconfigured. 
    The SMTP (outbound) settings are in Preferences, but are buried rather deeply.  Select Preferences > Accounts > select the account > switch the outgoing mail server (SMTP) to Edit SMTP Server List... and then select the SMTP server from the list, and verify that the settings are correct with your ISP, and that your username and password are correct.
    The required settings vary by your particular mail ISP; you'll have to check with the ISP for the server and login details.
    To test settings, select Window > Connection Doctor > then (when the tests fail) show the details, and (if you can't sort out what happened) sanitize the settings and post the output here.
    Caveat: do not repeat password tests with the mail server, as various mail providers can be configured to assume these are a password brute-force attack, and lock out repeated login attempts.
    Caveat: never, ever, ever, ever, ever, ever, ever not-at-all enter a password when Mail pops up a dialog box with the "OMG YOUR PASSWORD IS WRONG!!!!!!!!!!! PLEASE ENSURE YOU CANNOT LOG IN AGAIN!!!!!" dialog box.  (I'm paraphrasing that error dialog box slightly.)  The correct answer to that Mail.app password dialog box is almost always "cancel" button.  Passwords stored in Keychain generally don't get lost or corrupted, and trying random passwords as that dialog box encourages just gets you locked out of various servers, and...

  • Not able to send any SMS

    Hi All,
     I am not able to send any SMS  from my blackberry device from past one day. I have checked all possible things including my network, the message settings etc. I am able to choose contacts and type messages but when I am trying to send it it gets hanged , the track pad doesnot send it...even if  I try clicking the green tab for options to choose,it doesnot wrk...as a result I have to press back, once i press back i see the typed message highlighted in green in my message box and if i click on it it goes away.The sent outbox doesnot show that the message is sent also when i enquire with the recipient they inform that message is not delivered. Could anybody advice why this can happen? also is this due to some virus? If so can the scan and restore back my curve with difault settings....reuqest you all to please please reply back soonnnnnnnnnnnnnn.......My curve model is 8520, carrier VODAFONE and OS v5.0..
    Thanks ,
    Prasun
    Solved!
    Go to Solution.

    You need to turn off the media sync in the Desktop Software, so that it does not occur immediately and only when you click to initiate it.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Error in installing applications-Not able to install any applications

    Hello, 
    I bought Blackberry Z3 on just 3 days back, 
    I am not able to install any Applications. (Example: Wikipedia, News, WhatsApp.. etc)
    After download complete it is always showing " Error in installing application"
    If i Check inside Myworld -? Active downloads,it is showing " utf8' codec can't decode bytes.
    Please let me know how to resolve this problem. 
    Thanks,
    Yogesh S

    I had the same problem what you had.
    It would throw errors like, "Unable to decode...." or "Error installing the application"
    I was neither able to download any applications from Blackberyy World nor sideload any android apps.
    I use AirTel network.
    Try removing the SIM card and install the application using Wi-Fi.
    It worked for me smoothly when I did the above.

  • I am not able to open iCloud from pc, error is "problem with the server". what should I do?

    I am not able to open iCloud from pc, error is "problem with the server". what should I do?

    Go to Settings>General>Restrictions>Accounts (near the bottom) and set this to Allow Changes.  You will then be able to access Settings>iCloud again.

  • 9.3.1- Not able to see more than 1 errors in application.log file

    Hi,
    In 9.3.1. version, I am not able to see more than 1 errors in application.log file during dataload without rules files.
    If anybody has faced this solution, pls let me know the cause.
    Thanks
    jazz

    Hey Jazz,
    in the first row add a rule file with no load file change the path to what you want. then insert a new row add your load file here. it should have the path from the previous row in the error file. Then delete the first row and run. I had to do this for a level zero load and was the only thing I could figure out so far

Maybe you are looking for