Creation of notification via BAPI

Hi Guys,
I'm working in ECC 6.0 version. i have found a BAPI 'BAPI_ALM_NOTIF_CREATE' to create a notification. When i'm creating the notification through IW21 by passing notification type and functional location, i'm able to create a notification
But when i'm passing the same parameters to the BAPi,  its neither returning any error record nor the notification is getting created.
Has anyone worked on the creation of notification via BAPI
Thanks in advance

Thanks martin and ravi.
i have got the solution. Just thought of sharing with you guys.
After calling the BAPI passing the parameters notification type and functional location, a field NOTIF_NO will be returned which you have to pass to the BAPI 'BAPI_SERVNOT_SAVE
thats it
Thanks a lot

Similar Messages

  • How to give all input parameter in creation of po via bapi

    sir plez tell clear process of create po via bapi, i have done upto "BAPI_PO_CREATIVE1, then what to do, plez stepwise explain
    thank Q

    Dear Baskhar,
    After BAPI_PO_CREATE1, you have to run BAPI_TRANSACTION_COMMIT to post
    the data.
    For example, from SE37:
    You can goto menubar: Function Module
    Test-> Test sequence,
    Fill in BAPI_PO_CREATE1 then follow by BAPI_TRANSACTION_COMMIT .
    Best Regards,
    Ian Wong

  • Creating Quality Notification via BAPI

    I am attempting to create a quality notification using BAPI_QUALNOT_CREATE but am running into an issue.  I need the ability to link the inspection lot number to the quality notification but I do not see a field for inspection lot in any of the BAPI segments.  When i record results using defect codes in SAP, the quality notification that is created has the inspection lot linked to it (in the reference object tab).  As there another field within the BAPI that i can use to pass the inspection lot number??
    Thanks in advance...

    Brock,
    Thanks for the response.  I have attempted to use the FM you suggested but still am not having much luck.  After I feed the required data to the FM, I am prompted with the error message u201CNo quality notification type maintained for inspection lot type.u201D  However in SPRO, under Quality Management -> Quality Inspection -> Inspection Lot Creation -> Maintain Inspection Types, the notification type is defined for each of the inspection types I am using.  Is there any additional configuration I may be missing?  Thanks againu2026
    Harm

  • Handling unit creation in existing shipment via BAPI or IDOC

    Dear all,
    Dose any one tried and succeed packing deliveries items in an existing shipment in the shipment level via BAPI or IDOC.
    I tried to use IDOC massage type SHPADV. The problem was that it's creates a new shipment with the same deliveries and pack their items, although I entered the existing shipment number.
    With regards to "BAPI_SHIPMENT_CHANGE", it is seems like this BAPI is not an option. It is update the shipment in any shipment field but not creating HU in shipment level.
    Dose there any solution via those options or there is any other solution.
    Thanks in advance,
    Itai

    I tried simulating this LSMW (message type-  PREQCR1, Baisc type -PREQCR101) and it is working fine. I used creation indicator = R in item segment - E1BPMEREQITEM and have not updated value for this field in Header. So try without any value for CREATE_IND in HEADER and just pass R in item.
    yogesh

  • Create Support Message via BAPI with additional partners

    Hi all,
    i need to create a support message (slfn) via  bapi / function module. The basic creation is no problem with BAPI_NOTIFICATION_CREATE.
    But i need to set additional partner(functions) like "approved by" in the support message. With this bapi i can only set the processor and creator of the message.
    How can i add additional partners via BAPI call?
    Any help would be much appreciated.
    Daniel

    Hi Daniel,
    i do not think there is a standard functionality for this.
    you can use function module CRM_DNO_UPDATE_PARTNER to set partner functions to a message. You will have to build your own RFC enabled function module around this, though.
    Then you can use it to add your partners after the message was created.
    Regards,
    Christoph

  • 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.

  • Creation of notification from warranty claim (wty tcode)

    Dear all ,
    i have the requirement , where in notification (say service notification) to be created from warranty claim document i.e.., created in wty transaction code.
    i captured all the data in warranty claim like equipment , customer , sales area , material and also entered relevant notification type i.e.,S3 , but still when i click on Create notification icon in the waranty claim document, system is  unable to create notification with out any error or warning messages .
    in the actions i assigned T205 (which is used to create quality or service notification) and i checked and saved the document , but still system is not generating the notification.
    whether i missed any configuration or any thing to do at the time of creating the warranty claim .... please suggest.
    awaiting for your quick response.

    [Duplicate thread|creation of notification from warranty claim (wty tcode);
    This one being locked

  • Problem in sales order change via BAPI

    We are in AFS system and we try to reduce a quantity in sales order via BAPI.
    We recive back an error 8w 280. We are not able to find wich is and where is a problem.
    Does anyone have experince on that problem/error message
    Thanks in advance
    Andrea

    Hi Andrea,
    Since BAPI invloves more programming stuff, I adivce you to post this thread in the ABAP forums also.
    Regards,
    Senthilkumar SD

  • Error during the creation of notification

    Dear All,
    We are facing the error when we are carrying out the transaction EG90
    for collective creation of notification for device replacement say out of 1000 equipments 998 notifications  were created automatically but for rest two device locations the follwing error comes "internal error during determination of pm plant for device with equipment number  xyz
    error message EG621 .
    I have cheked the master data of the  equipments all maintended properly
    can you give me some idea what coulld be the problem .
    Regards
    chan

    There are quite a few OSS Messages for TCode EG90.
    See if any of them are suitable.
    PeteA

  • Creation of Notification with new customer address

    Hi,
       We have a problem with the creation of notification when it is a new customer. If there are many users who are creating new notifications at the same time, sometimes the address of the new customer is not created in the ADRC table. So the notification address is empty and we lost all the information of the customer. We thing that the problem is in relation with the number range (May be a lock).
    I would like to know if somebody has experienced that kind of problem.
    Regards,
    Daniel Cantin

    Rogério Reis,
    Couple of items that you may have to cover here...
    There isn't a reference between Notification Item and Order operation. You will have to maintain some cross reference on the Order side (Maybe using the Field key enhancement) or on the Notification item using existing fields or some custom functionality.
    You cant transfer a Notification item from one notification to another.You have to use some user status on the item to indicate the same and close the item.
    You could copy and define your own Action Box follow up notification FM to copy and create a new notification. (Setting of status on Notification item will have to be done prior to this).
    Regards
    Narasimhan

  • Automatic creation of Notification using T-code IK11

    Hi Gurus,
      i got stuck in a requirement, where they want Automatic creation of notification using T-code IK11.
    I am using EXIT IMRC0001.
        Please guide me that with what logic i should go.
    Thanks
    Regards
    VICKY
    Moderator Message: Vague Question. Expecting others to do your work for you => Thread Locked.
    Edited by: kishan P on May 12, 2011 12:35 PM

    In the role give Authorization object P_ORIGIN for Infotype 0, 1 and 2. with Authorization level as R (read)
    This will resolve your issue then no need to give sap_all authorization
    Good Luck
    - Ashish

  • I used to be able to double click the home button to choose to receive notifications via iPhone speaker instead of the Bluetooth. With ios7, that's gone as well as any obvious way to do it.  I don't wear my Bluetooth on my ear every minute of the day!!!!

    I used to be able to choose to receive notifications via iPhone speaker in ios6 by double clicking the home button.  Ios7 took that away and I cannot see how to do it at all.  I don't have my Bluetooth in my ear constantly!!!

    If you are getting Siri when you double tap, then your home button must be sticking. Siri comes up when you hold the home button. Try tapping quickly twice. When that happens, the multi-tasking list comes up and you will see the app icon and then a thumbnail, or reduced size view of the app above it. You put your finger on that thumbnail and swipe upwards with your finger.
    For that issue, you might want to do a reset of the phone. Hold the sleep/wake and home buttons together until you see the Apple logo and then release. The phone will reboot. This will not affect your data.
    To be honest, your novel is a little difficult to read, and I think you put too much information in there, and a lot of it is unnecessary. Be to the point and just add information necessary to understand the issue.

  • Document and PS Project - create a link via BAPI?

    Hi everybody,
    follow problem: I have a document and a project. How can I create a link between both via BAPI?
    Means: create a real exsitens document in a project with ...
    FB's. What is to do?
    Thanks for help.
    Regards Thomas

    Hi,
    one sol. might be ta <b>OAOH</b> with BUS-object 2001
    another <b>OAOR</b>. pls search the corresponding fm's in that transactions
    Andreas

  • Sending SMS notification via business workflow

    Hello Experts,
    I want to send SMS notification fron business object BUS2078
    via worflow please help me out process in ABAP program.

    Hi,
    Please Check this Blog,
    /people/ronen.fox/blog/2007/12/06/sending-sms-notification-via-business-workflow
    Thanks.

  • Block the creation of vendors via the "extend vendor" function

    Is it possible to block the creation of vendors via the "extend vendor" function?  Currently, a number of vendors have been created in this way and are 'shared' across different markets.  This has created a control risk on master data, so I am investigating if it is possible to restrict the process.
    Please suggest
    Thanks
    Mani

    Hi:
               Initially your requirement was just to detain user from creating vendor using reference vendor as given in XK01 under reference (Vendor number and co code & Purchasing organization). Through SHD0 you were able to suppress these three fields ( if i am right? correct me here). If its Ok then system has stopped you from creating vendor using reference of another already created vendor. As far main vendor number and co code and purchasing org fields are concerned that appears on the top of XK01 please note that Vendor number field is only used when you use external number range for this vendor account group ( check number range assigned to the vendor account group in OBAS and then check it in XKN1 if is set as external or internal number range). If you have activated internal number range then nothing needs to be given in Vendor number field and system will generate vendor number internally and this can be suppressed otherwise if you are using external number range the system will create vendor as given by you in Vendor in main screen of XK01. Hence it depends on the process you are using in your company for vendor master data creation.
    Regards

Maybe you are looking for