Intergration betwees WDA and AIF doesen't works as expected

Hi guys,
i need your help about integration between AIF (Adobe interactive form) and WDA (Web Dynpro Abap).
I've created an adobe interactive form. It contains an image (embedded) and a simply button (type webdynpro native).
Technical details :
Form type : ZCI
Button type : Webdynpro native
Form kind : interactive
In the click event of the pushbuttn i put this simply js code (the language is Javascript and run as "Server+Client"):
field.rawvalue = 123456;
Then i inserted the "webdynpro script" by menu entry.
In the second step i've created the WDA with a view that contains the interactive form component (type "native", binding to my form) and a simply button outside the Adobe component. I put the enabled proprierty as "active".
If i run the WDA application and try to click the button of the AIF,  no "ONSUBMIT" method is triggered (the button is graphically pressed but nothing happens). Also If i push the button outside the adobe form in the wda, the browser starts an endless loop that i cannot stop.
If i disable the "enable" proprierty of the AIF i don't have an endless loop when i press the button outside the wda, but the interactive parts of the AIF doesen't works (and no WDA methods are rised).
Someone of you ever had this kind of problem?
Could be a problem of systems patches? What should i look?
Any help or suggestion will appreciated very much.
Andrea

Other informations.
The pushbutton inside the AIF, populate a textfield called IMCODE with the script code posted in the post before. If i press that button, that field is populated correctly (but no ONSUBMIT method of the WDA is raised). If then i press the pushbutton of the WDA, the ONSUBMIT method is called but the context of the WDA is not updated with the value of the field IMCODE. Seems that the framework doesen't communicate between WDA and AIF.
Another problem: if i press the pushbutton in the WDA before pressed the one in the AIF, the browser starts and endless loop: seems that pressing the AIF pushbutton is a must to make the WDA pushbuttons works.
Please, ask if the question is not clear. 
Tank You
Andrea

Similar Messages

  • Read Key and Write Key not working as expected with paths on RT

    The configuration file VIs Read Key (Path) and Write Key (Path) don't seem to work as expected (at least not as I was expecting them to) on an RT target.
    When working on my WinXP PC with these two VIs, paths are translated to what looks like is supposed to be a device-independent format before being written to disk. The path C:\dir\file.txt becomes /C/dir/file.txt when writing and vice versa when reading. On my RT target, however, that same path is written to disk as C:\dir\file.txt, unchanged from the native format.
    The translaton of a native path to and from the device-independent format appears to be the responsibility of Specific Path to Common Path and Common Path to Specific Path. These both use the App.TargetOS property to determine the operating system. In the case structure for these two VIs, however, there is no case for PharLap or RTX. (My RT hardware is runnng PharLap; I don't know enough about RTX to comment.) This means that the results of String to Path or Path to String are used without translating between the device-independent format to the native path format.
    This isn't a problem if you create a configuration file on one machine and use it on that same machine. I noticed this only when tranferring a config file from my PC to the RT target, where the target would not open the file paths it loaded from the configuration file.
    This occurs on 7.1.1 and 8.0.  I don't have 8.20 to see if happens there, too.

    In LV 8.2, this was fixed.
    The problem is App.TargetOS returns "Pharlap" on RT systems, and "Pharlap" is handled by the default case ("invalid OS target") in LV 8.0.  In LV 8.2 the default case is "Windows 95/NT", however.  The reason you could write and read an .ini file on RT in LV 8.0 and earlier is because these two VIs (listed below) were both running the default case of "invalid OS target".
    vi.lib\Utility\config.llb\Common Path to Specific Path.vi
    vi.lib\Utility\config.llb\Specific Path to Common Path.vi
    As you saw, this fails when you perform one operation in Pharlap but the other in Windows.  You can fix this by modifying the two VIs listed above.  Just go to the case structure and make "Windows 95/NT" the default case.

  • Command-delete, command-left and command-right not working as expected

    On a Mac (in my case OS X 10.6.8) when entering text into a text-field or text-box 'command-delete' in any other application deletes everything between the cursor and the beginning of the current line. I'm using Firefox 10.0.1 and this does not work.
    Also, in certain rich text editors such as Gmail's compose mail text-box 'command-left' and 'command-right' which would usually jump to the respective beginning or end of the current line doesn't seem to work.

    Try:
    Create Table ImportLog
    ( recid int,
    grouploadid int,
    groupid int,
    tablename varchar(128),
    note varchar(500)
    Insert Into ImportLog
    Values
    (1,216,1,'tableb','noteb'),
    (2,217,1,'tablea','notea'),
    (3,217,2,'tableb','noteb'),
    (4,217,1,'tablea','notea'),
    (5,230,1,'tableb','noteb'),
    (6,244,1,'tablea','notea'),
    (7,244,2,'tableb','noteb'),
    (8,244,3,'tablec','notec'),
    (9,217,3,'tabled','noted')
    select r1.RecID, r1.GroupLoadID, r1.groupid, r1.tablename, r1.note,
    r2.RecID, r2.GroupLoadID, r2.groupid, r2.tablename, r2.note
    from ImportLog r1
    full join
    (select RecID, GroupLoadID, groupid, tablename, note
    from ImportLog
    where GroupLoadID = '217'
    ) r2
    on r1.TableName = r2.TableName and r1.Note = r2.Note and r1.Groupid = r2.Groupid
    where r1.GroupLoadID = '244'
    order by 1
    GO
    DROP Table ImportLog
    GO
    RecID GroupLoadID groupid tablename note RecID GroupLoadID groupid tablename note
    6 244 1 tablea notea 2 217 1 tablea notea
    6 244 1 tablea notea 4 217 1 tablea notea
    7 244 2 tableb noteb 3 217 2 tableb noteb
    8 244 3 tablec notec NULL NULL NULL NULL NULL
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • WP8.1 MDM Restrictions - Voice record and safe search not working as expected

    Hi
    I'm having some issues with the new restrictions - 
    Voice recording
    After setting Experience/AllowVoiceRecording to 0, voice recording no longer works as expected in the Nokia recorder app, however you can still voice record from other apps such as One note.  Is this expected or should this restriction be applied at
    OS level?
    Safe search level
    Setting Search/SafeSearchPermissions to 0 or 1 causes the UI in settings > search for the level to be greyed out and states that it is disabled - but it does not show the correct level set.  It seems this restriction is not working or the values
    I am using are incorrect.
    Thanks
    Scott

    Hi Scott,
    I was checking the documentation and it seems vague. However, I have a few thoughts...
    Are you running this as PolicyManager/My/<Area>/<policy name> or PolicyManager/Device/<Area>/<policy name>? In Windows Phone 8.1, the PolicyManager configuration service provider is new. "My" path handles the policy configuration
    request coming from the server and "Device" is a read only path to reflect the plicy values that are enforced at the device.
    I would check to insure that you've set it up in the correct area. To troubleshoot, you could also try setting it up in either the opposite area and/or both areas.
    I hope this helps!
    David

  • Google Maps and Skyhook - doesn't work as expected; it works better!

    Hello all and thanks for taking the time to read this. 
    I was under the impression that when you pressed the Locate button in the Google Maps application that the iPod took the MAC address of the WiFi Router it was connected to and then polled Skyhook's database to get the Lat and Long of that router. After this the Maps application would also download appropriate map images to display underneath. This is all well and good however today I noticed that without connecting to any router Maps was able to track my position as I walked down a residential road with only encrypted home WiFi connections available - none of which could actually provide me with an Internet connection. Whilst I can see that the iPod could obtain the MAC address of these routers as I walked past I'm at a loss as to explain how it managed to turn this into the Lat and Long which was being displayed as a blue circle. I know I hadn't connected on a free WiFi connection as the Map images didn't update.
    Does anyone have any explaination?
    VMT
    mrtotes

    Thanks for all the replies. 
    I went to watch mrs totes play a Netball match on Saturday, somewhere I've never taken the +iPod touch+ before. It could see two encrypted networks and pretty accurately determined my position. As you can see only a certain amount of cached map image data was available. The fact that it still found my position spoiled my only theory that the iPod might cache a local MAC/Lat/Long table.
    Here are some images to illustrate:
    I guess you are suggesting that it downloads and caches a table of a certain radius when you determine your location and have an Internet connection. Interesting. I'm driving to 40 miles to Bristol tomorrow once I get they I'll see if I can determine my position.
    cheers
    mrtotes
    P.S. They won 31-16 and mrstotes was 'man' of the match.

  • CR Viewer tool bar images are missing; Export and Print are not working

    Hi There
    I used Crystal report 10.5(VS 2008 base crytal report -- CRRedist2008_x86.msi), i developed ASP.net application using VB.net  program(i used .net 3.5). One of the pages in the application is having crystal report viewer, which is calling a crystal report to populate the result. The report is working as expected on development machine (Win Vista). Hence, I moved the application onto Server (Windows Server Web; 32Bit OS and IIS). I installed the CRRedist2008_x86.msi, which added the "aspnet_client" under default website. As my site is a made as an application under default webiste. I tried...
    a) By copying the aspnet_client folder into the website folder
    b) By adding a virtual directory called "aspnet_client" under my website pointing it into the folder under "default website"
    None of the trials are working for me.
    When I click on Print or Export buttons (although their images are missing), I get the error sigh on bottom left (status bar) of the browser and the popping up the same giving me below error details
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; HPNTDF; InfoPath.3; MS-RTC LM 8; .NET4.0C)
    Timestamp: Tue, 2 Nov 2010 15:11:12 UTC
    Message: Object doesn't support this action
    Line: 41
    Char: 1
    Code: 0
    URI: http://65.123.xxx.x:37188/xyzweb/(S(uhgxkx45iwlrbancwzfunp55))/reportpage.aspx
    Any help in resolving this issue would be greatly appreciated.
    Thank You,
    Edited by: skbo007 on Nov 2, 2010 4:11 PM

    Hello All.
    I am excited to let you know that the issue is being resolved.
    Here is steps that lead me to resolution and solution..
    I installed Fiddler2 and looked into every the debugging details of the transaction while running the report.
    Learned that the crystal report is using the aspnet_client foler under "Default website" NOT under the crrent website.
    Hence I tried to access the image via http path from local machine
    http://myserver/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/export.gif.
    (Notice, "mysite" folder is been removed)
    I was expecting to see the gif on my browsers' body. It gave me an error.
    Investigated further more on the error and found that the "Managed Pipe Line" of the respective application pool is to be changed to "Classic" instead of "Integrated"
    changed it .. Boom...
    Tool bar is showing up with proper images and as well the "Export" and "Print" functions are working as expected..
    Hope this helps to those in the same situation.
    Again.. this is one of many many solutions on this issues.
    Thank You
    Edited by: skbo007 on Nov 3, 2010 9:42 PM

  • Illustrator extension - Drag and drop is not working on mac

    During testing my extension on Mac,I noticed that drag and drop doesn't work as expected. Therefore I have created a new simple extension with two lists.
    <s:List id="lst1" label="name" dragEnabled="true">
         <tree>
              <name>a</name>
              <name>b</name>
              <name>c</name>
         </tree>
    </s:List>
    <s:List id="lst2" dropEnabled="true" dragMoveEnabled="true"> </s:List>
    This will allow lst1 items to be dragged and drop in lst2.
    This sample works fine on Windows and on Mac as AIR app  but not working as extension on Illustrator( Not able to drag and drop between list on mac).
    Any help or workaround would be appreciated.

    Thanks for quick reply and help. I am able to drag multiple files but this is giving problem in case of filename with spaces like "abc def.png". Can you please put some thoughts on this.
    DataFlavor uriListFlavor = new DataFlavor("text/uri-list;class=java.lang.String");
                   Reader in = (Reader)t.getTransferData(DataFlavor.plainTextFlavor);
                   BufferedReader br = new BufferedReader(in);
                   String uriStr;
                   while ((uriStr = br.readLine()) != null)
                       URL url = new URL(uriStr);
                       String category = GalleryUtils.contentsPanel.getCurrentCategoryPath();
                       GalleryUtils.generateILPFromFile(new File(url.getFile()), category);
                   }Thanks
    Kanni

  • I just got my iphone and everything seems to work until i try to call someone. They cant hear me. When i face time the mic works and the speaker works for the voice memo but it doesnt work when i call out. i tried resetting should i try restoring?

    i just got my iphone 4 and it seems to work well expect when i call out. the other party cant hear me at all...if i face time the mic works and if i use the voice memo it works as well. idk what to do. i reset the phone should i try restoring it again?

    I've got the same issue. It just stopped working today. Kinda upset

  • DB Adapter polling as singleton process is not working as expected

    Am using poller DB adapater to control the transaction per seconds to the downstream system and i want this poller process as singleton (One instance should be in running state at a time).
    As suggested in oracle documents , below is the parameters configured in composite.xml file.
    <service name="polling_Mange_Alert_Events"
      ui:wsdlLocation="polling_Mange_Alert_Events.wsdl">
    <interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/db/Application1/int_app_manageAlerts/polling_Mange_Alert_Events#wsdl.interface(polling_Mange_Alert_Events_ptt)"/>
      <binding.jca config="polling_Mange_Alert_Events_db.jca">
      <property name="singleton">true</property>
      </binding.jca>
      <property name="jca.retry.count" type="xs:int" many="false" override="may">2147483647</property>
      <property name="jca.retry.interval" type="xs:int" many="false"
      override="may">1</property>
      <property name="jca.retry.backoff" type="xs:int" many="false"
      override="may">2</property>
      <property name="jca.retry.maxInterval" type="xs:string" many="false"
      override="may">120</property>
      </service>
    Below is the JCA file parameters configured :
    <adapter-config name="polling_Mange_Alert_Events" adapter="Database Adapter" wsdlLocation="polling_Mange_Alert_Events.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/DB/vff-int-fus" UIConnectionName="PT_APPINFRA" adapterRef=""/>
      <endpoint-activation portType="polling_Mange_Alert_Events_ptt" operation="receive">
        <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
          <property name="DescriptorName" value="polling_Mange_Alert_Events.ManageAlertEvents"/>
          <property name="QueryName" value="polling_Mange_Alert_EventsSelect"/>
          <property name="MappingsMetaDataURL" value="polling_Mange_Alert_Events-or-mappings.xml"/>
          <property name="PollingStrategy" value="LogicalDeletePollingStrategy"/>
          <property name="MarkReadColumn" value="TRANSACTION_STATUS"/>
          <property name="MarkReadValue" value="Processing"/>
          <property name="PollingInterval" value="10"/>
          <property name="MaxRaiseSize" value="5"/>
          <property name="MaxTransactionSize" value="5"/>
          <property name="NumberOfThreads" value="1"/>
          <property name="ReturnSingleResultSet" value="false"/>
          <property name="MarkUnreadValue" value="Pending"/>
        </activation-spec>
      </endpoint-activation>
    </adapter-config>
    This poller process is running on clustered environment (2 soa nodes) and it is not working as expected as singleton process.
    Please advise to solve this issue ?

    Hi,
    1.Set Singleton property outside   <binding.jca> like this:
    <binding.jca config="polling_Mange_Alert_Events_db.jca"/>
      <property name="singleton">true</property>
      <property name="jca.retry.count" type="xs:int" many="false" override="may">2147483647</property>
      <property name="jca.retry.interval" type="xs:int" many="false"
    2.Also you can try setting these values in jca file:
    <property name="RowsPerPollingInterval" value="100"/>
    <property name="MaxTransactionSize" value="100"/>
    3. try to increase the polling interval time.
    Regards,
    Anshul

  • HT201363 Dear Reader  I have forgotten the answers to my security-questions. So it says that i will get an e-mail to reset my questions, but i have not gotten an e-mail? So i tried it again (after a month) and it still doesen't work. I really need to know

    Dear Reader
    I have forgotten the answers to my security-questions. So it says that i will get an e-mail to reset my questions, but i have not gotten an e-mail?
    So i tried it again (after a month) and it still doesen't work. I really need to know what's wrong :/
    Thank You for helping me

    Alternatives for Help Resetting Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Customer Service: Contacting Apple for support in your
              country and ask to speak to Account Security.
    How to Manage your Apple ID: Manage My Apple ID

  • I just downlouded the latest version of the Muse CC and it doesn't work well, it freezes all the time, in particular with the tools. Example the selection tool doesen't wor at all.

    I just downlouded the latest version of the Muse CC and it doesn't work well, it freezes all the time, in particular with the tools. Example the selection tool doesn't wor at all. Is there any solution for this problem?

    Hi!
    I restarted the computer, but the same issue happens again. When I move my mouse over some object or tool, it doesn’t come active at all (only some of the tools works) When I try to change “site properties”, I can’t choose tablet or phone mode or even I can’t select the checkboxes, only thing what I can do is change the numbers (high and width) . After all the main problem is that I can’t select some of the items or functions by mouse, but only by the keyboard.

  • BAPI Error message in WDA using AIF

    Friends,
    I am working on Custom WDA using AIF to create Purchase Requisitions.
    I am calling the BAPIs  -  'BAPI_REQUISITION_CREATE' and 'BAPI_TRANSACTION_COMMIT' using CALL FUNCTION.
    I passed the item values to zitab and called the function module.
    Here is the code:
    CALL FUNCTION 'BAPI_REQUISITION_CREATE'
    EXPORTING
    SKIP_ITEMS_WITH_ERROR                = 'X'
    AUTOMATIC_SOURCE                     = 'X'
    IMPORTING
    NUMBER                               = number
    TABLES
       REQUISITION_ITEMS                    = zitab
      REQUISITION_ACCOUNT_ASSIGNMENT       =
      REQUISITION_ITEM_TEXT                =
      REQUISITION_LIMITS                   =
      REQUISITION_CONTRACT_LIMITS          =
      REQUISITION_SERVICES                 =
      REQUISITION_SRV_ACCASS_VALUES        =
      RETURN                               = zbapireturn
      REQUISITION_SERVICES_TEXT            =
      REQUISITION_ADDRDELIVERY             =
      EXTENSIONIN                          =
    I am getting the following error messages from BAPI_REQUISITION_CREATE:
    1. Message type - E
    Code - W5069
    Message - Please also pass on a unit of measure for the quantity
    2. Message type - E
    Code - W5002
    Message - No items exist (not possible to save)
    Here are the relevant details:
    System - SAP ECC 6.0 EhP4
    Adobe Livecycle Designer version  - 8.1.2.4246.1.597341
    ADS version - 802.20100318013254.656549
    I found this link that is relevant to the second error, thought the solution is not provided:
    Error : No items Exists (Not Possible to save)
    I would appreciate any hints or thoughts on how to get these errors rectified.
    Regards,
    Arun.

    Thanks Kris for your reply.
    I was able to rectify the 2 errors.
    I need to update 5 custom fields in the CI_EBANDB include in the EBAN table. I am using the EXTENSIONIN parameter.
    Here is my code:
    data: wa_bapiextn type bapiparex,
          zbapiextn type table of bapiparex.
      wa_bapiextn-structure = 'CI_EBANDB'.
      wa_bapiextn-VALUEPART1 = 'A'.
      wa_bapiextn-VALUEPART2 = 'B'.
      wa_bapiextn-VALUEPART3 = 'C'.
      wa_bapiextn-VALUEPART4 = 'D'.
      append zstruct to zitab.
      append wa_bapiextn to zbapiextn.
    CALL FUNCTION 'BAPI_REQUISITION_CREATE'
    * EXPORTING
    *  SKIP_ITEMS_WITH_ERROR                = 'X'
    *  AUTOMATIC_SOURCE                     = 'X'
      IMPORTING
        NUMBER                               = number
        TABLES
          REQUISITION_ITEMS                    = zitab
    *   REQUISITION_ACCOUNT_ASSIGNMENT       =
    *   REQUISITION_ITEM_TEXT                =
    *   REQUISITION_LIMITS                   =
    *   REQUISITION_CONTRACT_LIMITS          =
    *   REQUISITION_SERVICES                 =
    *   REQUISITION_SRV_ACCASS_VALUES        =
         RETURN                               = zbapireturn
    *   REQUISITION_SERVICES_TEXT            =
    *   REQUISITION_ADDRDELIVERY             =
        EXTENSIONIN                          = zbapiextn
    The custom fields are not getting updated. I would greatly appreciate any hints on how to get these custom fields updated.
    Regards,
    Arun.

  • Suspend to ram doesen't work

    Hi. I would like to ask for your advice. I have problem with suspend to ram. In order to have nvidia drivers i had to install newest kernel, 3.12.xx. I found that suspend to ram doesen't work. I put my computer in sleep mode by typing
    sudo systemctl suspend
    , everything works, computer goes in sleep mode but after resume from it, after wake up i have only black screen with unblinking cursor on the left upper corner of screen. I can't kill x, can't do anything in tty, only hard reset.
    I removed nvidia drivers in order to check older kernel, and found that with nouveau drivers kernel 3.9 works, i can suspend and resume. I did another thing. I installed clean Arch, updated it with pacman -Syu, and installed nvidia drivers - the same problem with resuming from suspend. So on fresh and updated system i removed nvidia again, installed old kernel with nouveau - suspend works with resume.
    Could somebody help me? Maybe you can point me to a solution? I would like to have nvidia drivers installed and working suspend with resume from suspend to ram.
    I checked pm-suspend.log:
    http://pastebin.archlinux.fr/478611
    I don't see anything wrong here. I asked on polish site about kernel 3.12, and with Ubuntu they said it works. Why on Arch only kernel 3.9 works with resuming from suspend to ram and olny when there are no nvidia drivers (because they need new kernel, i could even use old but i'm not so exprienced to compile kernel myself, won't do that, and with downgrade script from AUR i didn't found nvidia driver for older kernels. There are old kernel, even 3.0.xx but only nvidia drivers from 325 that they need 3.12 kernel).
    My spec is AMD X4 955, NVIDIA GTX260, 4GB ram. Arch is x32, kernel 3.12.5.1 (other don't work with resume too, only 3.9 with nouveau).
    Last edited by firekage (2013-12-22 12:33:45)

    I will try it, but i don't think that this "fix" will really help me - i installed newest driver, installed binary driver from nvidia website on kernel 3.9.8.1 and resuming from suspend to ram works. With newer kernel it just doesen't so if this would be a nvidia MSI problem than i would have it also on kernel 3.9.8.1 where i installed newest drivers ( i installed binary because i don't know which package from aur would work with this kernel, and on aur thare are only drivers from 325, no older).
    Edit - just as i said. Doesen't work. It is not related to nvidia because it happens on nouveau. It is kernel fault.
    Last edited by firekage (2013-12-25 02:25:34)

  • WiFi doesen't work on my new Satellite L850-13Q

    I just bought an Satellite L850-13Q and my WiFi doesen't work. Win 7 64bit and I installed the Atheros driver for this system but it tell There are no aviable connection, but my old computer find a lots of them.
    I turn it on with the FN+F12 keys, and the orange led is light. What can I do?

    Hi
    Did you mean the right indicator?
    There are three LEDs in the front of the notebook.
    The last one (the first from right) is an WLan indicator.
    If this is ON, then the WLan should be enabled.
    The notebooks WLan supports the 802.11 b, g and n standard.
    Is your WLan router configured for b/g or n?
    I think you should additionally try to configure the WLan again.
    Go to control panel -> Network & Sharing center
    On the left choose Manager wireless networks
    Now press Add and configure the new WLan.
    Ensure that you typed right SSID (wlan name), encryption and encryption password

  • After updating my 5s to ios 8.0.2 , my touchscreen doesen't work

    After updating my 5s to ios 8.0.2 , my touchscreen doesen't work when i have an incoming call , and i deny it by pushing the power button twice. When i try to use the phone the screen is not working at all , altough touch id sensor w/ home button work , and power buttton works. I must unlock via touchid , lock the phone, and then it will work again.

    Hi Corcio92,
    If you are having a reproduceable issue with your iPhone's touchscreen such as you describe - that is it stops functioning only after a particular sequence of steps, you may want to try some things to troubleshoot.
    First I would suggest updating your iPhone's operating system to version 8.1. For directions see this article -
    Update the iOS software on your iPhone, iPad, and iPod touch
    If the issue is still present, you may want to restore the iPhone as a new device -
    iOS: How to back up your data and set up your device as a new device
    Thanks for using Apple Support Communities.
    Best,
    Brett L  

Maybe you are looking for