Issue with updating service notification using BAPI_ALM_NOTIF_DATA_ADD

Hi experts,
I would be very grateful if anyone could help me out with this.
I need to update the object code damage code and cause code of the notifications (transaction iw22) through portal. For this I have made a z BAPI and am calling it through portal. Now for my notification type H1 the damage and the object part are mandatory and the cause part is not. Now while trying to update(through portal) any H1 type of notification which already has object part and damage part filled but cause part blank I am getting the error “notification locked by EPUSER”. When I run the same z bapi on R3 giving same data then error doesn’t come and every thing is updated successfully.
Even from portal I am able to update other type of notification where either all damage cause or object part is blank or filled. This particular issue happens only the notifications having only cause part is blank.
The logic that I have used to update the notification where cause part is blank is I have called  first ALM_NOTIF_DATA_MODIFY and have passed the damage code and object code table(notifitem) in its parameter so that damage code and object code can be modified(i haven’t passed the cause code table as passing empty cause code table(Notifcaus)to this bapi throws error) after calling this bapi i have called BAPI_ALM_NOTIF_DATA_ADD and in its parameter i have passed only cause code table(Notifcaus ) (I haven’t passed table having damage code and object code) . So on the successful execution of this two bapis i should get the updated object, damage and cause codes.
There is a sap note 1058895 which talks about the same issue but even after applying that note same problem is coming. We raised and OSS message to sap to but I guess it won’t be of much help.
My observation is that after calling ALM_NOTIF_DATA_MODIFY as I am trying to call ALM_NOTIF_DATA_ADD for same notification so its throwing the lock error but the point is that why then from the R3 side this error is not coming. Are there any FM to enqueue   and dequeue notifications like we have for employee numbers in HR module.
Regards,
Mehul

Hi,
Check out the thread below. It might be of help.
Re: update PM notification through fm/bapi
Also, post it in ABAP->General Form for a quicker response.
Thanks
Nidhi

Similar Messages

  • Anyone else having issues with location services since the 7.1 update? Ever since I updated i've been seeing the location services on my status bar at all times.

    Anyone else having issues with location services since the 7.1 update? Ever since I updated i’ve been seeing the location services icon on my status bar at all times. I noticed that google was the app that was using it a lot, but after I turned the feature off for google my phone started using the “traffic”, “frequent locations” and “cell network search”. When I turn the feature off for all of those things it’s no longer a problem. So just wondering if anyone else is having this issue or if anyone has a solution?

    The "solution" is probably to increase your knowledge.  You've done good things.  Perhaps this article will educate you a bit more about location services.
    Basically, they can be very useful, but can cause a lot of iPhone use.  A major example is "Remind me to ... when I leave home."
    http://support.apple.com/kb/HT5594

  • Planner group is not updated in service notification using BAPI

    Hi,
    Planner group is not updated in service notification using BAPI BAPI_ALM_ORDER_MAINTAIN.
    I have written the below code, but planner group is not updated in the service notification.
    Please advice which parameters do i need to pass to update planner group in the service notification.
              wa_methods-refnumber      = '000001'.
              wa_methods-objecttype     = 'PARTNER'.
              wa_methods-method         = 'CREATE'.
              wa_methods-objectkey      = wa_subscr1-aufnr.
              APPEND wa_methods TO i_methods.
              wa_methods-refnumber      = '000002'.
              wa_methods-objecttype     = 'HEADER'.
              wa_methods-method         = 'CREATE'.
              wa_methods-objectkey      = wa_subscr1-aufnr.
              APPEND wa_methods TO i_methods.
              wa_methods-refnumber      = '000000'.
              wa_methods-objecttype     = ' '.
              wa_methods-method         = 'SAVE'.
              APPEND wa_methods TO i_methods.
              REFRESH i_partner.
              CLEAR wa_partner.
              wa_partner-orderid        = wa_subscr1-aufnr.
              wa_partner-partn_role     = 'VW'.
              wa_partner-partn_role_old = ''.
              wa_partner-partner        = wa_subscr1-parnr.
              wa_partner-partner_old    = ''.
              APPEND wa_partner TO i_partner.
              REFRESH i_planrgrp.
              CLEAR wa_planrgrp.
              wa_planrgrp-orderid        = wa_subscr1-aufnr.
              wa_planrgrp-plangroup      = wa_subscr1-ingpr.
              APPEND wa_planrgrp TO i_planrgrp.
              REFRESH i_planrgrp_up.
              CLEAR wa_planrgrp_up.
              wa_planrgrp_up-orderid     = wa_subscr1-aufnr.
              wa_planrgrp_up-plangroup   = 'X'.
              APPEND wa_planrgrp_up TO i_planrgrp_up.
    *----Change order details with Technician name
              CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
                TABLES
                  it_methods   = i_methods
                  it_header    = i_planrgrp
                it_header_up = i_planrgrp_up
                  it_partner   = i_partner
                  return       = i_return.
    Thanks & regards,
    Krishna

    Try this way
    CALL FUNCTION 'BAPI_SERVNOT_CREATE'
    EXPORTING
    * EXTERNAL_NUMBER =
    notif_type = 'S3'
    notifheader = ls_notif_h
    * TASK_DETERMINATION = ' '
    * SENDER =
    * ORDERID =
    IMPORTING
    NOTIFHEADER_EXPORT = ls_notif_e
    TABLES
    * NOTITEM =
    * NOTIFCAUS =
    * NOTIFACTV =
    * NOTIFTASK =
    * NOTIFPARTNR =
    * LONGTEXTS =
    * KEY_RELATIONSHIPS =
    return = lt_return
    * IF lt_return IS INITIAL.                                               " <<< Comment this lie
    read table  lt_return into ls_return with key type = 'E'. " << Change
    if sy-subrc ne 0.                                                             " << Change
    COMMIT WORK AND WAIT.
    write: / ls_notif_e-NOTIF_NO.
    ELSE.
    LOOP AT lt_return INTO ls_return.
    WRITE:/ 'errors'.
    * ls_return.
    ENDLOOP.
    endif.

  • Strange issue with rights of account, used by SSIS (Foreach Loop Container does not return file names without Admin rights on server)

    Hello everyone.
    Faced very strange issue with account, which is used to run SSIS package.
    The specific package uses Foreach Loop Container to retrieve file names within the specified folder, and put them into Import file task.
    The package is set up to run under specific service account. This service account is given all permissions (Full control) to the folder where source files reside.
    So the issue is: SSIS package fails to execute this task (Foreach Loop Container and then Import), and shows that no files are found in the directory (although files ARE there).
    Once we're adding the service account into local Administrators group on the SQL Server, it works! Removing - does not work again. We cannot leave the service account as SQL server's admin as it's prohibited by our IT policies, and is just a bad practice.
    Any ideas, please? 
    MCP

    Here's the real log output:
    Date 16.04.2014 12:47:09
    Log Job History (RU-BW: Update)
    Step ID 1
    Server Server
    Job Name RU-BW: Update
    Step Name bw_import_cust_master_data
    Duration 00:00:02
    Sql Severity 0
    Sql Message ID 0
    Operator Emailed
    Operator Net sent
    Operator Paged
    Retries Attempted 0
    Message
    Executed as user: service_account Microsoft (R) SQL Server Execute Package Utility  Version 10.50.4286.0 for 64-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  12:47:09  Error: 2014-04-16 12:47:11.45
        Code: 0xC0202070     Source: bw_import_cust_master_data Connection manager "Input"     Description: The file name property is not valid. The file name is a device or contains invalid characters.  End Error  Error:
    2014-04-16 12:47:11.47     Code: 0xC0202070     Source: bw_import_cust_master_data Connection manager "Input"     Description: The file name property is not valid. The file name is a device or contains invalid characters.  End
    Error  Error: 2014-04-16 12:47:11.48     Code: 0xC0202070     Source: bw_import_cust_master_data Connection manager "Input"     Description: The file name property is not valid. The file name is a device or contains invalid
    characters.  End Error  Error: 2014-04-16 12:47:11.48     Code: 0xC020207E     Source: Import file Flat File Source [1]     Description: The file name is not valid. The file name is a device or contains invalid characters.
     End Error  Error: 2014-04-16 12:47:11.48     Code: 0xC004701A     Source: Import file SSIS.Pipeline     Description: component "Flat File Source" (1) failed the pre-execute phase and returned error code 0xC020207E.
     End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  12:47:09  Finished: 12:47:11  Elapsed:  2.324 seconds.  The package execution failed.  The step failed.
    MCP

  • Problem in customer address while creating service notification using IW51

    Hi Experts,
    I am trying to create a BDC recording for creating Service Notification using transaction IW51. I have done the recording as follows. On the First screen I am entering notification type. Then on the next screen I am entering the Sold to party  and its address by clicking on the icon besides it. After that i enter Functional location, equipment, priority and req end date and save it.  When I am running this recording after transferring it to a progam , somehow the address disappears for the newly created notification. I am not able to figure out the reason. Kindly guide me.
    Thanks,
    Sonal

    I assume you have tried this with update mode = 'A'-all and watched it actually work correctly?  May I ask why the BDC instead of BAPI?  Is it because you're creating a new partner?  If so, are you pressing save on that partner creation?

  • Issues with ODATA service creation

    Hi Gurus,
    I am facing some issues with ODATA service creation. I have an analytic view which I want to consume via SAP UI5.
    As per guides and blogs, I need to create 3 files, namely .xsaccess, .xsapp and .xsodata. I created these three files but at the same time .xsodata and .xsaccess got created at one more place. That place is my package which I checked out while creating the repository. Now when I try to activate my .xsaccess or .xsapp file, I get an error message - "The file name .xsaccess or .xsapp already exists and only 1 file is allowed per package"
    for more info please revert.
    Kindly help.
    Best regards,
    Chandan

    Chandan Sinha wrote:
    Can we add multiple analytic views in one ODATA service?
    Certainly.  You just have multiple entities then. You can even create associations between them. Here is an example that uses a combination of CDS Views, Attribute Views, and Analytic Views:
    service namespace "Wile.services" {
      "Wile.data.models::AN_EPISODES" as "Episodes"
      keys ("EPISODE_ID")
      navigates ("ToACMEItems" as "ACMEItems",
                "ToCoyoteNames" as "CoyoteNames",
                "ToRoadRunnerNames" as "RoadRunnerNames",
                "ToDirectors" as "Directors",
                "ToWriters" as "Writers");
      "Wile.data.models::AT_ACME_ITEMS" as "ACMEItems"
      keys ("EPISODE_ID","ITEM_ID");
      "Wile.data.models::AT_ACME_CATALOG" as "ACMECatalog"
      keys ("ITEM_ID")
      create using "Wile.services:ACMECatalogExits.xsjslib::itemsCreate"
      update using "Wile.services:ACMECatalogExits.xsjslib::itemsUpdate"
      delete using "Wile.services:ACMECatalogExits.xsjslib::itemsDelete";
      "Wile.data::WileECoyote.Episode.CoyoteNamesView" as "CoyoteNames"
      with ("EPISODE_ID","NAME_ID","NAME")
      keys ("EPISODE_ID","NAME_ID");
      "Wile.data::WileECoyote.Episode.RoadRunnerNamesView" as "RoadRunnerNames"
      with ("EPISODE_ID","NAME_ID","NAME")
      keys ("EPISODE_ID","NAME_ID");
      "Wile.data::WileECoyote.Episode.DirectorsView" as "Directors"
      with ("EPISODE_ID","NAME_ID","NAME","URL")
      keys ("EPISODE_ID","NAME_ID");
      "Wile.data::WileECoyote.Episode.WritersView" as "Writers"
      with ("EPISODE_ID","NAME_ID","NAME","URL")
      keys ("EPISODE_ID","NAME_ID");
      association "ToACMEItems" principal "Episodes"("EPISODE_ID")
       multiplicity "1"
       dependent "ACMEItems"("EPISODE_ID") multiplicity "*";
      association "ToCoyoteNames" principal "Episodes"("EPISODE_ID")
       multiplicity "1"
       dependent "CoyoteNames"("EPISODE_ID") multiplicity "*";
      association "ToRoadRunnerNames" principal "Episodes"("EPISODE_ID")
       multiplicity "1"
       dependent "RoadRunnerNames"("EPISODE_ID") multiplicity "*"; 
      association "ToDirectors" principal "Episodes"("EPISODE_ID")
       multiplicity "1"
       dependent "Directors"("EPISODE_ID") multiplicity "*";
      association "ToWriters" principal "Episodes"("EPISODE_ID")
       multiplicity "1"
       dependent "Writers"("EPISODE_ID") multiplicity "*";

  • Issue with Update of Table VARINUM

    Hi,
    I am getting waiting Issues with Update of table VARINUM. Has anybody faced such an issue.
    I have a lot of Jobs which are running in background. I am submitting it through a report. what can be the issue.
    Regards,
    Abhishek jolly

    Thisi is quite old, but not answered properly yet, so there you go:
    SAP generates a new job and temporary variant on report RSDBSPJS, for each HTTP call,which creates database locks on table VARINUM .
    This causes any heavyweight BSP application  to hang and give timeout errors.
    The problem is fixed applying OSS note 1791958, which is not included in any service pack.

  • Issue with Weblogic services in Linux OBIEE 11G

    Hello All,
    I have a OBI 11G set up on a linux OS.I am facing a issue with weblogic service.
    Whenever I am trying to start the Admin server from command line using its .sh , it is starting successfully.
    But whenever I am closing that Linux session or coming out of the Admin server log , this service is getting stopped on its own.
    OBI is working perfectly when that Linux session and Admin server log is intact, but as soon as i close either of them Admin server shut itself down.
    Please any help on this will be appreciated.
    Thanks,
    Bhavnesh

    Hi Bhavnesh.
    Try this way and let me know  the outcome.
    nohup ./startWeblogic.sh -Dweblogic.management.username=Username -Dweblogic.management.password=password & tail -f nohup.out
    Mark if helps,
    Thanks,

  • I am having trouble connecting to my network all of a sudden. It is not an issue with the service/router. I keep getting kicked off and getting a ! in my airport... anyone know what's up with this?

    I am having trouble connecting to my network all of a sudden. I am able to connect to other networks but not my own. It is not an issue with the service/router because other devices connect fine. I keep getting kicked off and getting a ! in my airport. Last time it happended I called apple and the suggested I wipe my HD and reinstall everything. I did and it did not work. One day I turned my laptop on and it connected no problem. Now it has kicked me off again. I tried resetting my IP address but that does not work either! Has anyone had this problem?

    Try this:
    Apple menu / System Preferences / Network.
    Click Location: and select Edit Locations..
    Click + (plus sign), and enter a name for the new location - anything will do.
    Apply this.

  • Any other realtors having issues with updating their Suprakey on their Android?

    Any other realtors having issues with updating their Suprakey on their Android?

    The follow is from clicking on that error number in the article cited at the end of my post:
    Error 3194: Resolve error 3194 by updating to the latest version of iTunes. "This device is not eligible for the requested build" in the updater logs confirms this is the root of the issue. For more Error 3194 steps see: This device is not eligible for the requested build above.
    iOS: Resolving update and restore alert messages

  • Having issue with update Adobe 11.0.06.  Error 1603.

    Having issue with update Adobe 11.0.06.  Error 1603.

    You should have gotten this information with the error: "Shut down Microsoft Office and all web browsers. Then, in Acrobat or Reader, choose Help > Check for Updates. See also Error 1603 | Install | CS3, CS4 products." Also, be sure you log in as the administrator and disable anti-virus.

  • I am having issues with being kicked off the internet intermittently. ATT says its not an issue with their service. Does anyone have an idea?

    I am having issues with being kicked off the internet intermittently. ATT states its not an issue with their service. Any ideas?

    Yes it is NOT your internet service. It is Apples OSX. It seems to be happening to older computers trying to run the newer OSX ( Mavericks and newer). I have a 2009 iMac I bought with Leopard installed, I upgraded to Snow leopard 10.6.8 and my computer was running flawlessly. I upgraded to Mountain Lion and I noticed my computer running slower... kind of annoying having to wait longer for everything (start up, browsers opening up, apps opening up, mail opening up and so on) Mavericks came out for free and I was excited to get out of this issue. Well, everything went from bad to terrible! Fast user switching had a glitch with desktop picture resetting to the wave, mail rules didn't work properly and I kept getting kicked off the internet (Absolutely NOTHING wrong with my internet). No one could figure out what was going on or how to fix it, even senior Apple tech's! After 3-4 months of searching, troubleshooting and waiting for a fix, I looked at my Mac Pro running Tiger 10.4.11 with no issues what so ever... that is when I made an executive decision. GO BACK TO SNOW LEOPARD! Since May 2014 I have been running 10.6.8 on my 2009 iMac and it has been smoking fast with NO issues what so ever, especially since I maxed out my memory for Mavericks. So to sum it up: some people might get lucky with old machines running new operating systems, but for the most part, it seems older processors can't keep up with the new sophisticated operating systems. Mavericks... Yosemite... FREE UPGRADE! But you will pay the price

  • Having issues with update to iOS 8

    Having issues with update to iOS 8, wheel keeps spinning with 9 hrs remaining to complete update. What are my options?
    <Re-Titled By Host>

    I am a windows/mac user... And I was  Linux user for several years...  And so far I have been really happy with apple but this problem is frustrating.
    I don't understand:
    1)Why can't I go back to iOS7 since this was apparently the most stable version for my iPad ?
    2) Why is apple not doing anything about it,  ?
    3) If the problem is that my iPad's can't fully support the features of iOS8, why on earth have they made it available to iPad 2?
    Any way, I will just wait a bit longer and probably start looking in to a Samsung tablet or something....
    Cheers,

  • "Test Error" - "raise the issue with your service ...

    Help!
    I have had performance problems on my broadband for quite a while but not been able to progress. The usual number based test from BT says we should get between 4 and 7 mbps. In reality we struggle to get 2 mbps, frequently lanquishing at 1.5 mbps.
    I have been onto http://speedtester.bt.com/ to get analysis on the line (previously having had problems with our profile) but whenever I try to run a test (over several weeks) I now always get the reply:
    The Performance Tester is currently unable to run a speed test for your broadband connection. Please try again shortly, however if this problem persists, raise the issue with your service provider.
    Following up on this with the Indian call centre was an exercise in futility, they just couldn't understand what I was talking about and just wanted to follow the usual script for speed problems. The last time I tried they said they'd found an error at the exchange which they would fix shortly. The result of the "fix" was that our phone and broadband disappeared for 4 days and resolving this came with the usual threat of charging us £99 is the problem wasn't BTs fault. The fault was fixed without any explanation but subsequently I've been reluctant to follow up the problem through this route.
    I don't know how to go about getting someone to fix the problem without being able to run the speed tests that BT will accept.
    I would greatly appreciate some assistance from this usually very helpful group.
    Thanks,
    Andrew
    Solved!
    Go to Solution.

    John,
    Thank you for answering.
    The details from my ASDL statistics are below. I cannot provide a BT Speedtester result - this is one of the problems I was raising. I have done a quiet line test and there is no noise. I don't have an internal master socket; I have an external grey box from which a number of wires run to various sockets.
    Thanks,
    Andrew
    ADSL Line Status
    Connection Information
    Line state:
    Connected
    Connection time:
    1 days, 16:42:25
    Downstream:
    4.063 Mbps
    Upstream:
    448 Kbps
    ADSL Settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.1 Annex A
    Latency type:
    Interleaved
    Noise margin (Down/Up):
    9.6 dB / 20.0 dB
    Line attenuation (Down/Up):
    44.0 dB / 25.0 dB
    Output power (Down/Up):
    20.1 dBm / 12.4 dBm
    FEC Events (Down/Up):
    4667988 / 202
    CRC Events (Down/Up):
    4713 / 192
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    HEC Events (Down/Up):
    86618 / 162
    Error Seconds (Local/Remote):
    33661 / 5662

  • I have some issue with my bluetooth im using an iphone 5 its just keep on searching bluetooth devices it cannot detect other bluetooth device, any solutions to my problem?

    I have some issue with my bluetooth im using an iphone 5 its just keep on searching bluetooth devices it cannot detect other bluetooth device, any solutions to my problem?

    Hi miffyzoo,
    If you are having bluetooth pairing issues with your iPhone and your Mac, you may find the troubleshooting steps outlined in the following article helpful:
    iOS: Troubleshooting Bluetooth connections
    http://support.apple.com/kb/TS4562
    Regards,
    - Brenden

Maybe you are looking for

  • CS6 CS5  "operation can not complete because there isn't enough memory (RAM) available"

    Hi, I told the client (rather foolishly it seems) that I could open a DXF in Illustrator CS6.  I get the message shown even though I have 8g of ram any ideas?? It refuses to open in cs5 as well file is 4.2mb thanks G iMac 27" 2.88 i5 OSX 10.6.8 8g ra

  • Query related to withhold tax

    Hi  Freinds, This is mamatha i have a query related to withhold tax .what is diff b/w business place and section code.what is importance of section code. Regards S Mamatha Please, search SDN

  • Cannot fax 1 800 / 888 / toll free numbers from overseas

    Dear HP, I'm writing because using your fax machine from Germany (or Europe in general) for doing work with US firms is almost impossible. Since the US has had many fax numbers move from traditional area codes to 800 or 888 (free numbers) I am often

  • Documents missing

    Hi... I am trying to access 5.1 documentation via the web site and am unable to do so at the present time. I find it very strange how often I find different areas of you web site not working properly. I would think that being a company which markets

  • Desktop Software for Mac : Urgente

    Buenas noches soy un nuevo usuario de este servicio mi telefono bb 8900 presenta un problema con el idioma.. solo acredita idoma ingles. siguiendo algunas recomendaciones baje el Software Desktop for Mac para cambiar el idoma pero ni el tlf ni