We're sending an OSS customer message on WDr_TEST_EVENTS (ABAP component)

Here's the text of the message we're sending
Although the ABAP WebDynpro component WDR_TEST_EVENTS shows as “Active” in SE80 on our NW2004s system, we get a run time error if we try to run the associated application (see Exhibit A on page 1 of attachment.)
If we try to re-activate the component, we get the error shown in Exhibit B on page 1 of attachment.
We're sending an OSS Customer Message on WDR_TEST_EVENTS (ABAP Component)
If we choose “Web Dynpro Component > Check > Complete Object” from the Menu Bar, we get the compile error shown on pages 2 and 3 of the attachment.
Here is the release info for our NW2004s system.
SAP_ABA         700       0008     SAPKA70008    Cross-Application Component
SAP_BASIS      700       0008     SAPKB70008    SAP Basis Component
PI_BASIS          2005_1_700       0008     SAPKIPYJ78     PI_BASIS 2005_1_700
SAP_BW          700       0008     SAPKW70008   SAP NetWeaver BI 7.0
The "NULL object reference" error we get when running the complete object check is in the constructor method of CL_WDY_MD_VIEW_ELEMENT - line 119:
if sy-uname <> 'ROSENBERGERC'.
   me->ui_element_definition->if_wdy_md_object~get_definition( importing definition = wa_wdy_ui_elem_def ).
else.
    me->ui_element_definition->if_wdy_md_object~get_definition( importing definition = wa_wdy_ui_elem_def ).
endif.
According to Rich H, this component works fine on his sneak preview edition. 
So if someone can send me a copy of the constructor method of CL_WDY_MD_VIEW_ELEMENT from the ABAP sneak preview edition, I'd like to compare it to see what the problem is in our copu.

Sent to your email.  I have included the source from Sneak Preview SP08.
Regards,
Rich Heilman

Similar Messages

  • Fetch value from custom container in WD Abap component

    Hi all,
    I am using a web service to call a RFC function module into my web dynpro component.When I create a new service then a new custom controller will created and in this controller a method is created for FM.
    Now my query is, when I run the WD application, FM will retun a table at my end and I want to use it at view level.
    I declared a global table in Component controller attribute and want to fill that table when I execute service. when I use wd_this-><Table name> (at custom controller level, in method for FM) then it shows me that this table is not exist.
    Please suggest how to fetch table's value.
    Thanks
    Sanket sethi

    solved.

  • Raising Customer Messages with SAP OSS on BCS issues

    Hi guys,
    I'd be keen to know everyone's opinion on raising customer messages with SAP OSS, in particular on BCS.
    Often I find that my colleagues are hesitant to raise a note with SAP because they think it either takes too long or they don't get a satisfactory answer.
    Whereas as soon as I see something fishy, that I cannot explain I will check my logic once more, check on SDN, check existing OSS notes, then raise a Customer Message immediately (while I continue to investigate/test).
    This is partly due to my experience that half the time I feel like a guinea pig in BCS, perhaps because BCS is not as widespread as other modules and i may be the first to try something so may be first to experience the problem.
    The first line response (often from Shanghai) usually tries to send the message straight back but I find with a little persistence, clear (and irrefutable) documentation , you soon get through to the experts in Germany (or is it Czech Rep?) who actually understand the issue.
    The client has paid a lot of money for the service through their SAP licensing and maintenance fees, so I have no qualms about 'reporting a product error' when I see one.
    Also, I find a lot of BCS documentation is out of date, not updated as new releases/EHPs come out, eg I recently relied on the contents of OSS note 936590, which was wrong for BCS 604. So I raised a customer message and requested that they update it, which has now been done - this is too late for me but might help someone else.
    Raising a Customer Message with OSS is not an excuse to avoid doing your job, but where there is a genuine error in BCS, I encourage others to raise OSS notes and persis with them until a satisfatcory response is received.

    Concur with TheScotsman.
    The situation is almost the same: the 1st line support (India) very often beat back the costomer message without going deep into the problem. However, if we persist and provide additional details (or when the message was made very professionally and bypassed the 1st line) the message was rerouted to consultants from Czeck Rep.). In this case the progress was significant. Since the client do not provide access to the system, in a couple of times we made a remote session: the support guy gave directions what to do in the system and where to look for some details. The problems were solved in a half an hour.

  • Use solution manager to create customer message and apply oss notes

    Hello All,
    Is it possible to use SAP Solution Manager to create/ open Customer Messages and for the application of OSS notes in satellite systems via solution manager?
    Currently, our Solution Manager system is bieng used for Central System Monitoring!
    Please let me your your expert thoughts!
    Thanks,
    Antarpreet

    Hi,
    By using Service Desk scenario of Solution Manager you can convert an issue to an OSS message and follow it up.
    Refer the  [Link|http://help.sap.com/saphelp_smehp1/helpdata/en/b3/64c33af662c514e10000000a114084/frameset.htm]
    Snote application is also integrated with this Service Desk, you can apply SAP notes to any satellite systems.

  • Tcode to send custom data using custom message type in ALE

    I have ceated custom message type and i want to send data to say system B.I wanted to know Tcode to send custom data using custom message type in ALE.
      for example:
    material data...message type = matmas....tcode = BD10.
    like this.
      i hope you have got my question.
    plz guide me?
       regards
         mallikarjun mangalore

    Hi,
    Sending data through ALE is not a single-step process. Take a look at http://www.sapgenie.com/ale/. The paper at http://www.sapgenie.com/sapgenie/docs/ale_whitepaper.doc is a wonderful resource for the ALE process.
    Regards

  • Can the front LCD Display Panel be use to send custom messages?

    Hi all
    Can the front LCD Display Panel on Rack mount servers like the P1-1000 or the MS-9218 be used to send custom messages?
    Thanks
    Carlos

    You better ask MSI that directly, as I doubt anybody in here can answer that question.

  • Need to Generate PDF file and send it to customer through email-ALV report

    HI All,
       I am having data in Internal table.
    can we create PDF file with out having spool-request number.
    My requirement is whenever user clicks on execute button the output is generated in PDF format automatically and then send it to customer through email.
    I found few programs in SDN for generation PDF. But problem is everyone passing the spool request to the function module.
    spool request will be generated whenever we click on print button.
    Am I correct?.
    Is there any other way to create spool request automatically. If so we can pass the this spool number to the function module.
    Regards,
    vinod.

    hi
    For sending a mail, this code will help you.
    Pls reward if help.
    FORM send_mail_2 USING msgid msgno msgv1.
    mailuser oder Gruppe like sy-uname default 'Ruckerk'.
    DATA: express_hold_time LIKE sovaltime.
    DATA: text LIKE sotxtinfo.
    DATA: receiver LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
    MESSAGE ZF100 (FTP an UDB fehlgeschlagen)
    text-msgid = msgid.
    text-msgno = msgno.
    text-msgv1 = msgv1.
    text-msgv2 = ' '.
    text-msgv3 = ' '.
    text-msgv4 = ' '.
    express_hold_time
    express_hold_time-days = 01.
    express_hold_time-h_min_sec = 240000.
    receiver
    receiver-receiver = mreceivr.
    Gruppe von Empfängern
    receiver-rec_type = 'C'.
    und Expressmeldung ausgeben
    receiver-express = 'X'.
    APPEND receiver.
    CALL FUNCTION 'MESSAGE_SEND_AS_MAIL'
    EXPORTING
    msgid = text-msgid
    msgno = text-msgno
    msgv1 = text-msgv1
    msgv2 = text-msgv2
    msgv3 = text-msgv3
    TABLES
    receivers = receiver.
    IF sy-subrc <> 0.
    WRITE:/ 'hat nicht geklappt', 'SY-SUBRC =', sy-subrc.
    ENDIF.
    PERFORM print_error_report.
    Fehlermeldung zum Abbrechen des Report's ausgeben.
    MESSAGE e398 WITH 'Jobabbruch' msgv1.
    ENDFORM. " SEND_MAIL_2
    Another Program:
    *& Report ZSENDEMAIL *
    *& Example of sending external email via SAPCONNECT *
    REPORT zsendemail .
    PARAMETERS: psubject(40) type c default 'Hello',
    p_email(40) type c default '[email protected]' .
    data: it_packing_list like sopcklsti1 occurs 0 with header line,
    it_contents like solisti1 occurs 0 with header line,
    it_receivers like somlreci1 occurs 0 with header line,
    it_attachment like solisti1 occurs 0 with header line,
    gd_cnt type i,
    gd_sent_all(1) type c,
    gd_doc_data like sodocchgi1,
    gd_error type sy-subrc.
    data: it_message type standard table of SOLISTI1 initial size 0
    with header line.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Perform populate_message_table.
    *Send email message, although is not sent from SAP until mail send
    *program has been executed(rsconn01)
    PERFORM send_email_message.
    *Instructs mail send program for SAPCONNECT to send email(rsconn01)
    perform initiate_mail_execute_program.
    *& Form POPULATE_MESSAGE_TABLE
    Adds text to email text table
    form populate_message_table.
    Append 'Email line 1' to it_message.
    Append 'Email line 2' to it_message.
    Append 'Email line 3' to it_message.
    Append 'Email line 4' to it_message.
    endform. " POPULATE_MESSAGE_TABLE
    *& Form SEND_EMAIL_MESSAGE
    Send email message
    form send_email_message.
    Fill the document data.
    gd_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
    gd_doc_data-obj_langu = sy-langu.
    gd_doc_data-obj_name = 'SAPRPT'.
    gd_doc_data-obj_descr = psubject.
    gd_doc_data-sensitivty = 'F'.
    Describe the body of the message
    clear it_packing_list.
    refresh it_packing_list.
    it_packing_list-transf_bin = space.
    it_packing_list-head_start = 1.
    it_packing_list-head_num = 0.
    it_packing_list-body_start = 1.
    describe table it_message lines it_packing_list-body_num.
    it_packing_list-doc_type = 'RAW'.
    append it_packing_list.
    Add the recipients email address
    clear it_receivers.
    refresh it_receivers.
    it_receivers-receiver = p_email.
    it_receivers-rec_type = 'U'.
    it_receivers-com_type = 'INT'.
    it_receivers-notif_del = 'X'.
    it_receivers-notif_ndel = 'X'.
    append it_receivers.
    Call the FM to post the message to SAPMAIL
    call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    exporting
    document_data = gd_doc_data
    put_in_outbox = 'X'
    importing
    sent_to_all = gd_sent_all
    tables
    packing_list = it_packing_list
    contents_txt = it_message
    receivers = it_receivers
    exceptions
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    others = 8.
    Store function module return code
    gd_error = sy-subrc.
    Get it_receivers return code
    loop at it_receivers.
    endloop.
    endform. " SEND_EMAIL_MESSAGE
    *& Form INITIATE_MAIL_EXECUTE_PROGRAM
    Instructs mail send program for SAPCONNECT to send email.
    form initiate_mail_execute_program.
    wait up to 2 seconds.
    if gd_error eq 0.
    submit rsconn01 with mode = 'INT'
    with output = 'X'
    and return.
    endif.
    endform. " INITIATE_MAIL_EXECUTE_PROGRAM

  • How to Send Emails for failed messages without using Alert

    Hi Experts,
    In our project, we need to trigger Emails for the failed messages in SXMB_MONI / Adapter Engine without using Alert Framewrok.
    Please let me know the below :
    1. Is this really possible to avoid Alert?
    2. If possible, then can we accomplish this by creating any PI Scenario? Please provide me some knowledge.
    3. Can we do it by writing any ABAP Code? If ABAP report can make it, then please provide me the code/ tables which will be needed. If any Blog/ Wiki is there, then please let me know the URLs. 
    Thanks,
    Nabendu.

    Hi Nabendu,
       If your customer asks for mails with specific text for message failure, tell that it is not possible. Because Message will go through several engines like Adapter Engine, Integration Engine, BPE. You can not generate mails for the message failures in all these areas with out standard alert mechanism. These are pure technical alerts which only PI people can understand, not business alerts.
    Example: assume your sender channel is unable to connect FTP Server, in this case you can not generate even though you will develop adapter module to generate alerts.
                            So for message validation only you can send mails not for message failures.
    thanks,
    madhu

  • ** JDBC Sender Adapter support custom module ...?

    Hi friends,
    Does JDBC Sender Adapter support custom module ? If it is how it wil work ?
    Kind Regards,
    Jeg P.

    Hi Kulwinder,
    We want to separte the records (1:n) returned by JDBC sender adapter XML. ie. Split/Parse the records in XML and then send to BPM (one by one) instead of whole message . For that purpose, we want to write an adapter module.
    Is this possible ?
    Kind Regards,
    Jeg P.

  • Can we send a tcp/ip message from a specific port to the client

    Hi All,
    Iam currently trying to send a tcp/ip message to a remote machine on a specific destination port. For each tcp/ip message that iam sending iam able to figure out that the source port varies each time. So I wanted to know if it is possible to maintain a source
    port for sending a tcp/ip message just like a destination Port. You can see my code below for reference:
     TcpClient client = new TcpClient();          
                client.Connect("xxx.xxx.xx.xx", 2024);
                NetworkStream clientStream = client.GetStream();
                ulong refno = GetSessionID();
                DateTime dt = DateTime.Now;
                string str = dt.Year.ToString() + "-" + dt.Month.ToString() + "-" + dt.Day.ToString() + " " + dt.Hour.ToString() + ":" + dt.Minute.ToString() +
    ":00";
                ASCIIEncoding encoder = new ASCIIEncoding();
                string Input2 = "<STX>Inquire<US>REF=203.163.253.55<US>RQN=" + refno.ToString() + "<US>DTE=" + str + "<US>ACI=5274<US>ACE=C<US>ACS=A<ETX>";
                string Input3 = "<STX>Inquire<US>REF=203.163.253.55<US>RQN=" + refno.ToString() + "<US>DTE=" + str + "<US>ACI=5274<US>ACE=C<US>ACS=A<ETX><CHECKSUM>";
                int length = Input2.Length;
                string hexValue = Input2.Length.ToString("X");
                string hexValue2 = length.ToString("X");
             //   string Input = "\x02 Inquire\x1F REF=203.163.253.55\x1F RQN=" + refno.ToString() + "\x1F DTE=" + str + "\x1F ACI=5274\x1F ACE=C\x1F ACS=A\x1F \x3 \\x" + hexValue2;
                string Input = "02Inquire1FREF=203.163.253.551FRQN=" + refno.ToString() + "1FDTE=" + str + "1FACI=52741FACE=C1FACS=A1F3" + hexValue2;
                byte[] buffer = encoder.GetBytes(Input);
                clientStream.Write(buffer, 0, buffer.Length);
                clientStream.Flush();
    ram

    Hi ram,
    The TcpClient class has a constructor that receives an IPEndPoint instance, this is the local EndPoint.
    The IPEndPoint consists of two parts, the IP address and the port to use. you can specify the local port with this parameter.
    IPAddress ipAddress = Dns.GetHostEntry (Dns.GetHostName ()).AddressList[0];
    int port=9999;
    IPEndPoint ipLocalEndPoint = new IPEndPoint(ipAddress, port);
    TcpClient tcpClientA = new TcpClient (ipLocalEndPoint);
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • IDOC :: how to send data from Custom Infotype in SAP HR to third party

    Hi,
    I have created one custom Infotype by number 9020. How to send data from this infotype to third party system and also change pointers need to trigger for this infotype.
    Please help me in doing it.
    I am using one Custom Message type ZTALENT and Custom Idoc Type ZTALENT.
                                                                                    ZTALENT                        Talent Management                                                                               
    5  E1PLOGI                        Header for an HR Object (Master Data or Organizational Data)                                                                               
    5  E1PITYP                        HR: Transported Infotypes and Subtypes for an Object                                                                               
    ZPUSER                         User base Data File                                          
                    ZPERSON                        Personal Information File Segment                            
                    ZPOST                          Position File                                                
                    ZOPE                           Overall Performance                                          
                    ZPWORK                         Outside Work Experience                                      
                    ZPEDUC                         Education Details of Employee                                
                    E1P0000                        HR: HR Master Record Infotype 0000 (Actions)                 
                    E1P0001                        HR: HR Master Record Infotype 0001 (Org. Assignment)         
                    E1P0002                        HR: HR Master Record Infotype 0002 (Personal Data)           
                    E1P0016                        HR Master Record: Infotype 0016 (Contract Elements)          
                    E1P0022                        HR Master Record: Infotype 0022 (Education)                  
                    E1P0023                        HR Master Record: Infotype 0023 (Other/Previous Employers)   
                    E1P0041                        HR Master Record: Infotype 0041 (Date Specifications)        
                    E1P0105                        HR: HR Master Record Infotype 0105 (Communications)       
                   ZE1P9020
                    ZPLANG                         Language Details                                             
                    ZACTION                        Actions Changes            
    Regards,
    Krishna

    Hello Shankar,
             Technically TEMSE files are read by calling the following 3 function modules in sequence,
                  1) RSTS_OPEN_RLC or RP_TS_OPEN: open the temse object
                  2) RSTS_READ : read the object
                  3) RSTS_CLOSE: close the object
    Regards,
    Rajesh

  • Problem to create change pointer for custom message type - Idoc creation

    Hi,
    We want to create IDOC and send it out when the data of "planning calendar" changes. So we are trying to generate change pointers whenever entries in Table T439I (Planniing calendar) data change.
    We created a message type, activated change pointers generally and maintained change relevant fields for message type (not sure if this step is done correctly). But not getting any change pointer in table BDCP2 when I create a new planning calendar in MD25.
    Can anybody help / guide?

    Thanks once again,
    I had linked idoc type and message type in we82. Now after i activate the change pointers. I try to generate the IDOC type using BD21. It gives me the error message :<b> "Message type ZP2PPROJ_MSG cannot be sent with change pointers"</b>
    whereas in my segments i am using all the master data only (i.e. PRPS, PROJ,PRHI). Please throw some light on this.
    Also please clarify, do i need to make an entry of this custome message type in the partner profile ?
    Rgds
    kewal.

  • [NIO] custom messages from the netwerk

    Hi you all,
    Yes this is another NIO question :)
    Ok I have the following situation, I've got a NIO server which reads custom messages from the netwerk. These messages consists of an interger and then a variable byte array.
    int -> length of the message
    byte array -> data of message (could be anything)
    On my local network it works fine because I don't have to worry about my read() not reading all the bytes the client send. So I can just use the ByteBuffer.getInt() to read the int and create a buffer for the byte array etc.
    But... on the intenet there is no garentee all the bytes are read. So if only the first 3 bytes of the whole message are in my read buffer and I call the getInt() I'll get an exception.
    How would you fix this? The only garentee is that I will always have 1 byte (except when a connection is closed or other error)
    I could create of small bytebuffer of 4 bytes and wait till it's full and then read the int, but what if I also have a length that can consist out of like 5 or 6 bytes... and I don't know by forehand if it's 4 or 5 or 6... or just 2...
    Any idear would be welcome... or even code if you have the time...
    Grtz
    David

    Use ByteBuffer[] { lengthField, dataField } as a structure for messages. Set the size of the length field statically as part of the protocol. Set dataField's limit to 0. Do readsinto this structure (there is an appropriate read method for an array of ByteBuffers) until there lengthField.remaining() == 0. At this point, read the int/long/whatever from lengthField and set dataField's limit to that. Then do the reads necessary until dataField.remaining() == 0. At this point, you'll have your whole message.
    The reason that I say "do reads" is that on any particular read you may only get one byte's worth of data. Therefore you have to hold this partially completed message in some variable, or as an attachment to the SelectionKey which was selected. As the Channel continually gets selected for OP_READ, you can do the above steps, and if there's not enough left in the channel, you just leave the message partially completed for the next OP_READ. Once it's complete, you do what you need to with it, and replace the attachment or variable with an empty ByteBuffer[] of the above format.
    --Dan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Unable to find the customer message.

    Hi Gurus,
    I m facing a problem where I can create the customer message through steps.
    Help-->Create Support Message and then enter the message in the same.I had configured the Service Desk Management System in the ECC6 System.I can view the calls or the messages in the Solution Manager (locally).But I had configured the Q.A. System for generating the customer message.When I create the message it shows as message created successfully but I cant view the message list in Solution Manager.
    Request you please guide me for the solution .
    Eagerly waiting for the  positive response.
    Regards,
    Amit

    Hi Milind,
    you can only change a message if the message is at status 'customer action', but if I understand you corretly you have sended the message to SAP and you want to change now something.
    This is possible but you cannot do it by your own. For doing this please call the customer center of SAP, the colleagues at the hotline their can make the change and assist you by finding the message. Which number you have to dial is listed in SAP service marketplace
    service.sap.com
    -> choose SAP Support Center Addresses
    or check SAP note 16481.
    Hope this help.
    Regards,
    Sabine

  • Custom Message Service  adapter

    Hi,
    anybody knows where can I find some serious documentation
    about how to create custom message service adapters?
    I tried the sample from the lcds dev guide, it works fine,
    but i need to use subscription handling, but not found it anywhere
    how to realize one...
    Can anybody point me where can i find one, or how to do this?
    I already override the handlesSubscriptions(), and manage()
    methods. The manage() is being called, but dont know what to do
    there...
    Thanx

    I needed the custom adapter to send 3 messages to 3subscribed
    users. The message contains each users name...
    The adapter code is something like this(not like a pro but
    working)
    private Vector messages = new Vector();
    public Object invoke(Message message)
    MessageService msgService =
    (MessageService)getDestination().getService();
    String header = message.getHeader("msgType").toString();
    if (header.equals("playerData")) {
    i = i + 1;
    Integer j = new Integer(i);
    //NEEDED ONLY IN CLUSTERED ENVIRONMENT
    //msgService.sendPushMessageFromPeer(message, true);
    messages.add(message);
    if (i == 3) {
    i = 0;
    msgService.pushMessageToClients((Message)messages.get(0),
    true);
    msgService.pushMessageToClients((Message)messages.get(1),
    true);
    msgService.pushMessageToClients((Message)messages.get(2),
    true);
    messages.clear();
    return message;
    } else {
    return null;
    } else {
    msgService.pushMessageToClients(message, true);
    return message;
    When the adapter received all the usernames from the
    playerData-headered messages, it sends back to all clients. So now
    each client knows who is playing with.
    cheers

Maybe you are looking for

  • SQL Server analysis service command does not retry in agent job

    Hello, I'm working on SQL Server 2008 R2 version. I have scheduled a SQL server agent job to process analysis service cube using an analysis service command. Sometimes this job fails due to network load. So I set this job to retry 2 times after 10 mi

  • Change page orientation? CS5.1

    Because having page orientation under Document Setup made too much sense, Adobe, apparently, moved it. I have a page in Landscape. I want to change it to Portrait. Does anyone know how to do this basic thing? Thank you!

  • Can I connect with more than one iTunes acct

    Can I connect with more than one iTunes acct

  • XMLP on Tomcat 5.5 Login Error

    Hello everybody, I performed a manual installation of XMLP 5.6.2 on tomcat 5.5.17 today. I followed the oracle guide: http://www.oracle.com/technology/software/products/publishing/install.html When I to login (login page gets displayed o.k.) with adm

  • Silly color

    Im trying to compile this class but it dont like my use of Color can anyone explain to me why this dosent work class DancingRect { // instance variables: int locx, locy; // (locx,locy) are coordinates of upper // left corner of rectangle int width, h