Create Notification in PM module

Hi All,
I am trying to create a Notification in PM module.
I am using FM 'ALM_PM_MAINTNOT_CREATE' . I am bit confuse to provide REFOBJECTTYPE
and REFOBJECTKEY field values in NOTIFHEADER and in rest of the input table fields.
what should be the correct values for these fields?
Please share your program code if someone already used this FM in any program.
Regards,
Amit
Edited by: Amit  Singh on Sep 21, 2010 1:06 PM

customize it as u need. Here it is:
data: notifheader like bapi2080_nothdri,
notifheader_export like bapi2080_nothdre,
LONGTEXTS like BAPI2080_NOTFULLTXTI occurs 0 with header line,
RETURN like BAPIRET2 occurs 0 with header line.
clear notifheader.
notifheader-EQUIPMENT = u2018Testu2032.
notifheader-SHORT_TEXT = u2018Test it first'.
notifheader-PRIORITY = u20181u2032.
notifheader-PLANPLANT = u20181000u2032.
notifheader-PLANGROUP = u2018100u2032.
notifheader-REPORTEDBY = u2018USERu2019.
notifheader-NOTIF_DATE = sy-datum.
notifheader-NOTIFTIME = sy-uzeit.
refresh longtexts.
longtexts-OBJTYPE = u2018QMELu2019.
*OBJKEY
longtexts-FORMAT_COL = u2018U1u2032.
longtexts-TEXT_LINE = u2018line 1u2032.
append longtexts.
longtexts-TEXT_LINE = u2018line 2u2032.
append longtexts.
longtexts-TEXT_LINE = u2018line 3u2032.
append longtexts.
CALL FUNCTION u2018ALM_PM_MAINTNOT_CREATEu2019
EXPORTING
EXTERNAL_NUMBER = external_number
notif_type = u2018M1u2032
notifheader = notifheader
IMPORTING
NOTIFHEADER_EXPORT = notifheader_export
TABLES
LONGTEXTS = longtexts
RETURN = return.
if sy-subrc eq 0.
refresh return.
CALL FUNCTION u2018ALM_PM_MAINTNOT_SAVEu2019
EXPORTING
number = notifheader_export-NOTIF_NO
IMPORTING
NOTIFHEADER = notifheader_export
TABLES
RETURN = return.

Similar Messages

  • Creating notification (Its urgent Plz help)

    Hi All,
    I am asked to do a development for create notification such that if a person enter the measuring point greater than a specified limit say 60 which according to them is a dangerous point then a notification should be created and it should be triggered to the concerned person that the measuring point is at danger level. How could i achieve this functionality, how should i proceed, the transaction in which they needed this functionality  is IK11.
    What  should i do , how to proceed please help me out as its urgent issue.
    Thanks and Regards,
    Rachit Khanna

    Hi,
    <u>check the following fun modules based on it</u>
    <b>2078 BAPIs for quality notifications</b>
    BAPI_QNOTIFICAT_CREATE Create quality notification
    BAPI_QNOTIFICAT_GETCATALPROFIL Determine Catalog Profile for Quality Notification
    BAPI_QNOTIFICAT_GETKEYFIGURES Determines Existing Quality Notifications
    BAPI_QNOTIFICAT_GETLISTFORCUST Select quality notifications for a customer
    BAPI_QNOTIFICAT_GETMATLISTFCUS Select a Customer Material List for Quality Notifications
    <b>EEWM_SV_NTF IS-U-WM: Service Notifications</b>
    BAPI_ISUSMNOTIF_CREATEMULTIPLE Create service notifications
    BAPI_ISUSMNOTIF_SETCOMPLETED Set Service Notification to Completed
    BAPI_ISUSMNOTIF_USERSTATUSSET Set User Status for Notification
    <b>IWOPM BAPI Functions for PM/CS Notifications</b>
    BAPI_ALM_NOTIF_CHANGEUSRSTAT Change User Status of a PM/CS Notification
    BAPI_ALM_NOTIF_CLOSE Complete PM/CS Notification
    BAPI_ALM_NOTIF_CREATE Create PM/CS Notification
    BAPI_ALM_NOTIF_DATA_ADD PM/CS Notification: Add Data
    BAPI_ALM_NOTIF_DATA_DELETE PM/CS Notification: Delete Data
    BAPI_ALM_NOTIF_DATA_MODIFY PM/CS Notification: Change Data
    BAPI_ALM_NOTIF_GET_DETAIL PM/CS Notification: Read Detail Data
    BAPI_ALM_NOTIF_LIST_EQUI Select PM/CS Notifications by Equipment
    BAPI_ALM_NOTIF_LIST_FUNCLOC Select PM/CS Notifications by Functional Locations
    BAPI_ALM_NOTIF_LIST_PARTNER Select PM/CS Notifications by Partners
    BAPI_ALM_NOTIF_LIST_PLANGROUP Select PM/CS Notifications by Maintenance Planner Group
    BAPI_ALM_NOTIF_LIST_SORTFIELD Select PM/CS Notifications by Sort Field
    BAPI_ALM_NOTIF_POSTPONE Reset PM/CS Notification
    BAPI_ALM_NOTIF_PUTINPROGRESS Release PM/CS Notification
    BAPI_ALM_NOTIF_SAVE Save PM/CS Notification
    BAPI_ALM_NOTIF_TASK_COMPLETE PM/CS Notification: Complete Task
    BAPI_ALM_NOTIF_TASK_RELEASE PM/CS Notification: Release Task
    BAPI_ALM_NOTIF_TASK_SUCCESS PM/CS Notification: Set Task to Successful
    <b>IWWW BAPIs for Eqpt. + Service Notifications</b>
    BAPI_SERVICENOTIFICAT_CREATE Create service notification
    BAPI_SERVICENOTIFICAT_GETLIST Select service notifications according to customer or contact person
    Reward points for useful Answers
    Regards
    Sudheer

  • Preventive Work Order Dates Synchronization with its automatic created  notification

    Dear all,
    Preventive Work Order Dates Synchronization with its automatic created  notification
    My question was initiated from PM module forum, please check above URL if you have time.
    My ultimate problem is that :
         "SMOD" Enhancement  "QQMA0018" needs to receive its origin data of work order when the execution time of IP10 or IP30.
         so that I can decide/calculate desired dates on the notification according to its origin work order date .
    Do I need to use "export/import memory" statements to communicate with origin work order?
    if it's true
    Thanks for your help in advance.

    Dear Pete,
    I just made test data in our DEV server,
    Work orders has been created by "IP30" which was executed today with its maint. plan( date format DD.MM.YYYY ).
    below work order has been created and the basic start date seems derived from plan date.
    below image is showing our 'SPRO' configuration for the PM priority.
    "ZM03" order type is using "ZP" priority type.
    (I don't know why is this work order didn't take the values defined on 'priorities for Each Priority Type' for calculating "basic start" & "basic finish" date, it seemed just copied same date with PlanDate)
    you can see the notification which is created automatically by work order as below.
    "M4" notification type is using "ZP" priority type as well.
    It took the 'required start' date by adding 2 weeks from today(=creation date) as 'priorities for Each Priority Type' has defined and 'required end' date also set to 6 months later from 'required start' date.
    (Am I right?)
    Please let me know, if you need further information.
    Thank you for your help.

  • Argent Help Needed for VL01N(create delivery) and IW51(Create Notification)

    Hello All
         Requirement :
         when create a delivery using VL01N, at the same time, 'Notification creation'(IW51) will automatically being create.
         in short, when i'm creating a delivery and save it at same time 'Notification Creation' will autometically genetare.
         So, i think, change in SAP Standard Program..
         So how to do that or is there any way to do it??
    Thanks All
    Kaushik
    Edited by: The Kaushik on Aug 31, 2011 1:13 PM

    Hello Anjaneya,
    Business requirement is that, we dont want to create notification separately  because of our business sense.
    i have also find out the solution .
    BAPI_ALM_NOTIF_CREATE is the function module, for create notification in background.
    but now question is that,
    where to put this code in transaction VL01N or SAP Standard Program SAPMV50A.
    My Program is like,
    DATA: I_BAPI2080_NOTHDRI TYPE STANDARD TABLE OF BAPI2080_NOTHDRI WITH
    HEADER LINE.
    DATA: I_BAPIRET2 TYPE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE.
    DATA: I_BAPI2080_NOTHDRE TYPE STANDARD TABLE OF BAPI2080_NOTHDRE WITH
    HEADER LINE.
    DATA: I_BAPI2080_NOTFULLTXTI TYPE STANDARD TABLE OF BAPI2080_NOTFULLTXTI
    WITH HEADER LINE.
    I_BAPI2080_NOTHDRI-SERIALNO = 'XXXXXX5885'.    u201Cu can find this is vl01n
    I_BAPI2080_NOTHDRI-MATERIAL = 'XXXXXXXX20111'.  u201Cu can find this is vl01n
    CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'
      EXPORTING
      EXTERNAL_NUMBER          =
        NOTIF_TYPE               = 'S0'
        NOTIFHEADER              = I_BAPI2080_NOTHDRI
      TASK_DETERMINATION       = ' '
      SENDER                   =
      ORDERID                  =
    IMPORTING
        NOTIFHEADER_EXPORT       = I_BAPI2080_NOTHDRE
    TABLES
      NOTITEM                  =
      NOTIFCAUS                =
      NOTIFACTV                =
      NOTIFTASK                =
      NOTIFPARTNR              =
       LONGTEXTS                = I_BAPI2080_NOTFULLTXTI
      KEY_RELATIONSHIPS        =
        RETURN                   = I_BAPIRET2.
    CALL FUNCTION 'BAPI_ALM_NOTIF_SAVE'
      EXPORTING
        NUMBER            = I_BAPI2080_NOTHDRE-NOTIF_NO
    IMPORTING
      NOTIFHEADER       =
    TABLES
      RETURN            =
    u can not geting output here......but if u can run tcode : IW53, U can see that, notification will be created.
    Thanks
    Kaushik

  • Create Notification from Measurement Document IK11 (user-exit IMRC0001)

    Hi Experts,
    I have to create Create Notification from Measurement Document (IK11) using user-exit IMRC0001. I have some doubts regarding this.
    1)  what is the function module to create notification from Measurement Document.
    2)  can u give the table name to see Measurement Document.
    3)  where we can see the measuring reading field names to create Measurement Document.
    Thanks.................
    B Z.

    hi check this....
    table for measurement IMRG
    http://help.sap.com/saphelp_nw04/helpdata/en/af/cb5447461411d189f20000e81ddfac/frameset.htm

  • Suggest BAPI for create notification IW34

    Hi,
    Kindly suggest BAPI for create notification IW34.
    Regards,
    Tanaya

    How to find function module or Bapi for particular transaction in sap?
    If you mean that you need to know what BAPI's a particular tranx uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use. 
    Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this. 
    1. Find out the package of the transaction. 
    Start Va01 go to system --> status. 
    Double click on transaction 
    Package is VA 
    Open this package in SE80 
    Open business engineering-->Business object types 
    Find the BO which sounds the most appropriate 
    I would suggest BUS2032 Sales Order 
    Double click. 
    Open methods. 
    Find the released method with from data or something similar in the name 
    , Createfromdat2 
    Position the cursor in it and click the program button 
    Scroll down to find the bapi used in this method 
    With this way you can also find out programs and FM's 
    2. Start va01 go to system-->status 
    Double click transaction VA01 
    Double click on package 
    Read the application component. (this is SD-SLS Sales) 
    Then open the transaction BAPI 
    Sales and distribution>Sales>sales order 
    createfromdat2 
    Answer: This is  the BAPI for your mentioned   transaction code BAPI_GOODSMVT_CREATE.
    thanks,
    Sankar M

  • How to create webservice from function module

    Hello,
    I'm trying to create webservice from function module from. I choose Utilities/More Utilities/Create Webservice/..From function Module. What data should I enter in section "Enter Package/Request" ?
    When I check "Local object" checkbox I get a message "Test objects cannot be created in foreign namespaces"
    Is there any doc about this procedure (web service creation) with description of all sections ?
    thanks for any reply,
    Lukasz Ferenc

    Hi,
    Which SAP product of wich release of which SP are you using ?
    The procedure is documented in help.sap.com and in blogs and SDN forum messages.
    It means that the use of the SEARCH button should give plenty of answers...
    >When I check "Local object" checkbox I get a message "Test objects cannot be created in foreign >namespaces"
    As usual, begin your choosen name with an "Z".
    Regards,
    Olivier

  • How to create a new function module?

    I was doing the tutorial to create a SAP data widget and the tutorial was using BAPI_FLIGHT_GETLIST to display the data. However, in my system, theres no data in the table SFLIGHT2 and i couldnt populate any data in it.
    So i am trying to create my own function module. Can anyone tell me how should i go about doing it?

    Hi Low Soon ,
    please check the below links for creating a new function module.
    SAP Help :
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/frameset.htm
    Step by Sterp approach to create a Functional Module:
    http://www.****************/Tutorials/ABAP/FunctionModule/page1.htm
    Thanks
    Jaideep Srinivasan

  • How to create the INBOUND Function Module for INBOUND IDOCs

    Hi Friends,
    Can any Suggest me How to proceed to Create an INBOUND Function Module for Processing the INBOUND IDOCS
    which are recieved from XI Server ?
    I am working in SAP-ISU
    Here i will recieve the INBOUND IDOCs for the Meter Reading Orders.
    We have a Standard INBOUND FUNCTION MODULE
    IDOC_INPUT_ISU_MR_UPLOAD
    which Uploads the Meter Reading Results.
    I copied the Same function Module into ZIDOC_INPUT_
    and working on it.
    Can any one suggest me, whether i am going in correct way or not.
    In IDOC_INPUT_ISU_MR_UPLOAD Inbound fun module,
    BAPI_MTRREADDOC_UPLOAD is used to Update or Insert the Meter Reading Results,
    My requirment is to Insert and Update the Meter Reading Orders which are Inbounded from XI.
    Can I Use the Same BAPI
    BAPI_MTRREADDOC_UPLOAD
    to Update the below fields,
    EABL-SERNR
    EABL-ZWNUMMER
    EABLG-ABLESGR
    EABL-V_ZWSTAND
    EABL-N_ZWSTAND
    EABL-ABLHINW
    EABL-ZSKIPC
    EABL-ADAT
    EABL-ATIMTATS
    EABL-ADATTATS
    EABL-ATIM
    EABL-ZMESSAGE
    EABL-ABLESER(Meter reader number)
    Kindly Suggest me,
    Thanks in Advance,
    Ganesh

    Hello Ganesh
    I think you are going completely astray with you z-function module for IDoc processing.
    If you look at TABLES parameter METERREADINGRESULTS (type BAPIEABLU ) of BAPI_MTRREADDOC_UPLOAD you will find many of the requested fields already:
    EABL-SERNR => BAPIEABLU-SERIALNO
    EABL-ZWNUMMER =>REGISTER
    EABLG-ABLESGR
    EABL-V_ZWSTAND
    EABL-N_ZWSTAND
    EABL-ABLHINW
    EABL-ZSKIPC
    EABL-ADAT
    EABL-ATIMTATS => ACTUALMRTIME
    EABL-ADATTATS => ACTUALMRDATE
    EABL-ATIM
    EABL-ZMESSAGE
    EABL-ABLESER(Meter reader number)
    Field EABL-ZMESSAGE appears to be custom field (at least I cannot find it on ECC 6.0). If this field was added using include CI_EABL then you probably can get these values into the BAPI using the EXTENSIONIN parameter.
    Check routine CHECK_UPLOADRECORDS in the BAPI which allows two extension structures:
    - BAPI_TE_EABL
    - BAPI_TE_EOSB
    Not surprisingly BAPI_TE_EABL contains the include CI_EABL.
    Regards
      Uwe

  • How to create a callback function module

    Hi all,
    I am working in a requirement where we need to call a function module at a 'after change' event. So how to create a callback function module and register it with the crmvevent ?_
    I created a sample function module and try to create entries in table crmv_event_cust, but i got an error message saying that the function module name I provided is not in table CRMC_FUNC_ASSIGN. When I try to create entry there, I got a message that function module is not in CRMC_OBJ_FUNC and that table is a standard table with no maintanance options !!
    looks like i am going in wrong way ... can any one please help ??

    Looking at my system all you need to do is create the entry for the callback function in maint view: CRMV_FUNC_ASSIGN.
    Your entry should be as simple as Z-function name Object Function - <same as others in the segment you are assigning>
    IE for the partner it would be CRM_PARTNER as object function, for general order processing CRM_ORDER
    Take care,
    Stephen

  • How to create a Z Function Module

    Hi,
      I am trying to create a Z function module in BI 7.0 that i can use in Transformations.
    SE37> Name of FM.Create..>
    It is prompting me to enter Function Group.
    What is Function Group and How can i create a new function group (Detail Steps please)
    and steps involved in creating a Function Module in BI 7.0
    Thanks in Advance

    Hi,
    Function Group is just like a folder under which we can store n no. of function modules for organizational purpose. If u want any global declarations we will declare at function Group Level.
    It is mandatory to save a function module under one function group. Select Goto menu item, select Function Group, then select, create function group in SE37. Just give the technical name and description and save.
    Hope this helps u..
    Regards
    Ramakrishna Kamurthy

  • How to create a custom function module with the records in SAP R/3?

    Hi All,
    How to create a custom function module with the records in SAP R/3? Using RFC Adapter I have to fetch the custom function module records.
    Regards
    Sara

    Hi
    goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
    Look at the below SAP HELP links, These links will show you the way to create a Function Module
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm

  • How to create select-options in module pool program

    Hi
    i am structed at this point could you please tell me
    how to create select-options in module pool program

    Steps to get SELECT-OPTIONS in module pool programs.
    <li>. Start one dialog program with SAPZ_TEST.
    <li>. Place the below code in the TOP include of the dialog program.
    PROGRAM SAPMZ_TEST.
    TABLES mara.
    SELECTION-SCREEN BEGIN OF SCREEN 2100 AS SUBSCREEN.
    SELECT-OPTIONS: matnr FOR mara-matnr.
    SELECTION-SCREEN END OF SCREEN 2100.
    <li>. Create one screen 2000 .
    <li>. Go to Layout of the screen and Define subscreen area on the screen and Name it as g_subscreen.
    <li>. Place the below code in the Flow logic of the screen.
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN g_subscreen INCLUDING 'SAPMZ_TEST' '2100'.
    PROCESS AFTER INPUT.
      CALL SUBSCREEN g_subscreen.
    <li>. Activate all.
    <li>. Create Transaction code for the dialog program SAPZ_TEST.
    <li>. Execute the transaction code. You will see the select-option like we see on Selection-screen.
    I hope that it gets u clear idea.
    Thanks
    Venkat.O

  • Creating a custom java module for excel to xml conversion.

    Hi Gurus,
    I am creating a custom java module in sap nwds 7.3 for Excel to XML Conversion. But I am getting following error
    Classpath dependency validator message.
    Classpath entry  will not be exported or published. Runtime ClassNotFoundExceptions may result. 
    I imported the Jars from a different PI system and i am using NWDS in local PC with creating a separate folder with all JARs and also imported them using build path option.
    This issue is occuring for all the jars imported.
    I am using following code.
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.AbstractTrace;
    import java.util.HashMap;
    import jxl.Cell;
    import jxl.Workbook;
    public class JavaMappingExcelToXML implements StreamTransformation{
    private Map map = null;
    private AbstractTrace trace = null;
    public void setParameter(Map arg0) {
    map = arg0; // Store reference to the mapping parameters
    if (map == null) {
    this.map = new HashMap();
    public static void main(String args[]) { //FOR EXTERNAL STANDALONE TESTING
    try {
    FileInputStream fin = new FileInputStream ("c:/ashu.xls"); //INPUT FILE (PAYLOAD)
    FileOutputStream fout = new FileOutputStream ("C:/Users/ashutosh.a.upadhyay/My Documents/ashuXML2.xml"); //OUTPUT FILE (PAYLOAD)
    JavaMappingXLStoXML mapping = new JavaMappingXLStoXML ();
    mapping.execute(fin, fout);
    catch (Exception e1) {
    e1.printStackTrace();
    public void execute(InputStream inputstream, OutputStream outputstream) {
    String msgType = "Message Type name will come here";
    String nameSpace = "Namespace Name will come here";
    String xmldata = "";
    try {
    Workbook wb = Workbook.getWorkbook(inputstream);
    xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"+ "<ns0:"+msgType+" "+"xmlns:ns0=\""+nameSpace+"\n">";
    Cell[] cells ;
    Cell[] cellNames ;
    cellNames = wb.getSheet(0).getRow(0);
    for(int j=1;j<wb.getSheet(0).getRows();j++){
    xmldata = xmldata+"\n<Record>\n";
    cells = wb.getSheet(0).getRow(j);
    for(int i=0;i<wb.getSheet(0).getColumns();i++){
    xmldata = xmldata+"\t<"+cellNames[i].getContents()+">"+cells[i].getContents()+"</"+cellNames[i].getContents()+">\n";
    xmldata = xmldata+"</Record>";
    xmldata = xmldata+"\n</ns0:"+msgType+">";
    System.out.print(xmldata);
    xmldata.getBytes();
    wb.close();
    byte by[] = xmldata.getBytes();
    outputstream.write(by);
    inputstream.close();
    outputstream.close();
    System.out.println("\n"+"File processed");
    catch (Exception e) {
    e.printStackTrace();
    Request you to guide how to resolve this issue.
    Thanks  in advance

    Hi Gurus,
    I am creating a custom java module in sap nwds 7.3 for Excel to XML Conversion. But I am getting following error
    Classpath dependency validator message.
    Classpath entry  will not be exported or published. Runtime ClassNotFoundExceptions may result. 
    I imported the Jars from a different PI system and i am using NWDS in local PC with creating a separate folder with all JARs and also imported them using build path option.
    This issue is occuring for all the jars imported.
    I am using following code.
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.AbstractTrace;
    import java.util.HashMap;
    import jxl.Cell;
    import jxl.Workbook;
    public class JavaMappingExcelToXML implements StreamTransformation{
    private Map map = null;
    private AbstractTrace trace = null;
    public void setParameter(Map arg0) {
    map = arg0; // Store reference to the mapping parameters
    if (map == null) {
    this.map = new HashMap();
    public static void main(String args[]) { //FOR EXTERNAL STANDALONE TESTING
    try {
    FileInputStream fin = new FileInputStream ("c:/ashu.xls"); //INPUT FILE (PAYLOAD)
    FileOutputStream fout = new FileOutputStream ("C:/Users/ashutosh.a.upadhyay/My Documents/ashuXML2.xml"); //OUTPUT FILE (PAYLOAD)
    JavaMappingXLStoXML mapping = new JavaMappingXLStoXML ();
    mapping.execute(fin, fout);
    catch (Exception e1) {
    e1.printStackTrace();
    public void execute(InputStream inputstream, OutputStream outputstream) {
    String msgType = "Message Type name will come here";
    String nameSpace = "Namespace Name will come here";
    String xmldata = "";
    try {
    Workbook wb = Workbook.getWorkbook(inputstream);
    xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"+ "<ns0:"+msgType+" "+"xmlns:ns0=\""+nameSpace+"\n">";
    Cell[] cells ;
    Cell[] cellNames ;
    cellNames = wb.getSheet(0).getRow(0);
    for(int j=1;j<wb.getSheet(0).getRows();j++){
    xmldata = xmldata+"\n<Record>\n";
    cells = wb.getSheet(0).getRow(j);
    for(int i=0;i<wb.getSheet(0).getColumns();i++){
    xmldata = xmldata+"\t<"+cellNames[i].getContents()+">"+cells[i].getContents()+"</"+cellNames[i].getContents()+">\n";
    xmldata = xmldata+"</Record>";
    xmldata = xmldata+"\n</ns0:"+msgType+">";
    System.out.print(xmldata);
    xmldata.getBytes();
    wb.close();
    byte by[] = xmldata.getBytes();
    outputstream.write(by);
    inputstream.close();
    outputstream.close();
    System.out.println("\n"+"File processed");
    catch (Exception e) {
    e.printStackTrace();
    Request you to guide how to resolve this issue.
    Thanks  in advance

  • Create Notification Navigation Button not working in Order Objects Tab

    Hi Gurus,
    I am having an issue in Order --> Objects tab. I want to create notification for additional  technical objects for the order. When I enter the technical object details and press enter, a "Create Notification" navigation button gets activated for that line item. But when I press that button, nothing happens. On the other hand if a select multiple line items and then press "Create Notification" button at the bottom of the line items, I am able to create notifications for the selected line items.
    Can someone help me suggest what can be the problem or suggest a Note which might restore the functionality of the "Create Notification" navigation button at the line item level.
    Thanks in advance for the help.
    Best Regards
    Vikas Hali

    Vishal,
    I dont think the Notification Create Button from line item is pretty much dependent on the Customization Settings or any sap note concerning this has not been as yet brought into my notice. In my system, this is working appropriately. The problem with this which i can think of is either an authorization issue or you should raise an oss for this.
    Regards,
    Usman

Maybe you are looking for

  • Version management issue

    I am two issues with Version Management in PR and POs: - New version can only be added onces the PR or PO is release by final authority. Below is the scenario: I have created a PR and have it release by the two approving authorities. Now I want make

  • Can't import .mov or .m4v to movie library

    When I try to share my Quicktime movie with iTunes it appears in music as a  .m4v but not in movies.  Audio plays fine but there is no video. I have tried creating the .m4v via the menu and short cut icon from QT.  I have tried using import to librar

  • Ipad will no longer play any videos on any site. Switch to photon and it plays. These are not flash vids!

    On safari I have a long list of blogs of news that I have viewed daily for years. About to weeks ago. These apparent you tube embeds now say this video cannot be viewed.   Since these sites haven't changed all at once I downloaded photon and they all

  • Exporting to rtf issues

    i have a file that has tons of tables and when i export from indesign to rtf, a return is added at the end of every cell. how can i keep it from doing that?

  • Aligning Image within a frame.

    I am building an A Card using a batch of images. I learned yesterday how to the data merge and that is working well. Now I need to align each image to the bottom of the frame the image is being placed into. I have looked, and searched, but I don't se