SAP inbox Search issue

We went live with ECC 6.0 from 4.7. a week ago. The SAP inbox used to work fine in 4.7. In ECC 6.0, The users are having trouble searching the workitems in SAP inbox. When user clicks on binocular icon, and enters the search term , even though the workitem exists in the users inbox, the search result is giving " no hits found' message.
Did anyone come across such issues ????
Edited by: NK_ABAPER on May 26, 2010 4:21 PM

Search for some OSS notes.
Note 1149144 - SWF_WORKPLACE:Composite SAP Note Business Workflow Workplace
Thanks
Arghadip

Similar Messages

  • IC Agent Inbox Search Issue : -

    Hi All,
    I have some clarification regarding the IC Agent Inbox search.
    We have a situation were mails have been assigned under particular agents name.
    When he/she tries to search for the mails in "inbox search" by applying criteria like Transaction type , Categorization schema,assigned to - "my group"
    and enter search it is not pulling all the records what is expected.
    Can you guys please tell me what might be the problem here any code change or customizing changes required to set this right ?
    Please give a suggestion ASAP possible as it very urgent issue needs to resolved.
    Thank you so much for listening.
    Regards,
    SAPIENT

    Hello,
    If I were you, I would debug the query involved in work item search, and see the conditions used to retrieve the work items, and see why some are note retrieved.
    In the past, we also had some strange behaviour regarding agent inbox, so I would also check OSS notes, under application area CRM-IC-UNI.
    The DB tables involved are, if I am not mistaken, SWWWIHEAD (header info) and SWWUSERWI (assignement of workitem to users).
    By checking those 2 aspects, you might find out what is the issue in your system.
    Hope this helps.
    Best regards,
    Sylvain AGUETTAZ

  • Small issue in sending mail to sap-inbox via classes

    Hi All,
    I am working in sending SAP mail to sap-inbox via classes..
    Which i am able to work out..But got some minor struck off where when i am sending the mail from sap-report
    it is sucesfully reaching the user ....
    Issue is In the sap-inbox mail it is not only showing the
    Created: Sender user name
    it is also showing the Changed :Sender name only
    How to restrict the changed  should not display ...
    Waiting for your response....
    *Creates persistent send request
      TRY.
          L_SEND_REQUEST = CL_BCS=>CREATE_PERSISTENT( ).
    * Creating Document
          L_DOCUMENT_SAS = CL_DOCUMENT_BCS=>CREATE_DOCUMENT(
                                        I_TYPE  = 'HTM'
                                        I_TEXT  = I_CONTENT[]
                                        I_SUBJECT = 'Automated HRIS (SAP) Report' ).
    *PERFORM PREPARE_ATTACHMENT.
    * Adding Attachment
          CALL METHOD L_DOCUMENT_SAS->ADD_ATTACHMENT
            EXPORTING
              I_ATTACHMENT_TYPE    = C_EXT
    *          I_ATTACHMENT_SIZE    = L_SIZE
              I_ATTACHMENT_SUBJECT = 'Hr Details r.xls'
              I_ATT_CONTENT_HEX    = L_XML_TABLE.  "i_attach.
    *          I_ATT_CONTENT_TEXT   = l_XML_TABLE.
    Sas
    Edited by: saslove sap on Oct 22, 2009 7:05 AM
    Edited by: saslove sap on Oct 22, 2009 7:07 AM

    contd...
    * document to send request
          CALL METHOD L_SEND_REQUEST->SET_DOCUMENT( L_DOCUMENT_SAS ).
          DATA:LR_SENDER TYPE REF TO IF_SENDER_BCS,
               LR_SEND TYPE REF TO CL_BCS.
    * Preparing the sender object
    *      LR_SENDER = CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS( sy-uname ).
          DATA: L1_UNAME TYPE SY-UNAME.
          L1_UNAME = SY-UNAME.
          LR_SENDER = CL_SAPUSER_BCS=>CREATE( L1_UNAME ).
    * Setting the sender
          CALL METHOD L_SEND_REQUEST->SET_SENDER
            EXPORTING
              I_SENDER = LR_SENDER.
    * E-Mail
          LOOP AT P_EADDR.
            TRANSLATE P_EADDR-LOW TO UPPER CASE.
            L_RECIPIENT = CL_SAPUSER_BCS=>( P_EADDR-LOW ).
            CALL METHOD L_SEND_REQUEST->ADD_RECIPIENT
              EXPORTING
                I_RECIPIENT  = L_RECIPIENT
                I_EXPRESS    = 'X'
                I_COPY       = ' '
                I_BLIND_COPY = ' '
                I_NO_FORWARD = ' '.
            IF SY-SUBRC EQ 0.
              WRITE:/'** SUCCESS:  Email Sent to', P_EADDR-LOW COLOR COL_NORMAL.
            ELSE.
              WRITE:/'** ERROR: Failed to send Email to',P_EADDR-LOW COLOR COL_NEGATIVE .
            ENDIF.
          ENDLOOP.
    *Trigger E-Mail immediately
          L_SEND_REQUEST->SET_SEND_IMMEDIATELY( ' ' ).
          CALL METHOD L_SEND_REQUEST->SEND( ).
          COMMIT WORK.
        CATCH CX_DOCUMENT_BCS INTO L_BCS_EXCEPTION.
        CATCH CX_SEND_REQ_BCS INTO L_SEND_EXCEPTION.
        CATCH CX_ADDRESS_BCS  INTO L_ADDR_EXCEPTION.
      ENDTRY.
    Edited by: saslove sap on Oct 22, 2009 9:02 AM

  • Issue in sending mail to SAP Inbox from Workflow

    Hi All,
    I need to send the mail to the creator of the document about the user decision. If i am executing the workflow through the event ( ouput type) , the workflow processing in SWIA is complete but the mail is not sent in the SAP Inbox. But If i try to manually execute the workflow, mail is sent to the SAP Inbox.
    I've used WF_INITIAITOR in the Expression. I need to send the mail not to the approver but to the creator of the workflow.
    Thanks,
    Neha

    Hi,
    the event is also triggered from my Id but in that case I do not recieve any e-mail. None of the users recieve the e-mail in the SAP Inbox for the mail step after the decision.
    In workflow Log the last step shows the details as
    name of the manager and the workflow background for mail sent step as shown below
    Sumit Vij     Background work item created     10.01.2012     12:08:43     
    Sumit Vij     Execution started automatically     10.01.2012     12:08:43     
    Workflow Hintergrund     Work item processing complete     10.01.2012     12:08:44     
    Thanks

  • SAP Inbox Issue

    Hi,
    In the SAP inbox, I am not able to view the Work Items when I click on the "Workflow" folder. However, under the "Workflow" folder when I click the corresponding folder under 'Grouped according to task', I am able to view the corresponding Work Item details. Is there any settings that need to be done? Kindly help. Many thanks.

    Hi Arghadip,
    I shall check. Thanks.
    Hi Sue,
    It was previosly working. Four test systems underwent Unicode Conversion. It is working fine in 2 systems but not working on 2 systems. The SAP Release is 640. Thanks.

  • Inbox Search - status for service request not updated

    Hi,
    In inbox search, the status change for a service request does not reflect until the user log offs or opens the service request in edit mode. PFB the steps followed. (Two users are monitoring the service request but is being processed only by one)
    Web UI window 1(User 1): I open the inbox search result page. Service requests are displayed with the status field
    Web UI window 2(User 2): In a separate window, the service request is approved by changing the status of the service request to Approved.
    Web UI window 1(User 1): In the inbox result screen, i click on search for the same search criteria, but still the old status of the service request(updated in window 2) is displayed.
    Observation:
    1. If I open the service request, the service request still has the old status. If i click on edit, the new status is displayed. If i click on Back button (without clicking on edit), the new status is refelected for the service request in the inbox result page now.
    2. If I log off and again open the inbox result, the new status of the service request is reflected.
    3. The status of the service request is updated in the database immediately user 2 changes the status.
    There is no enhancement done for the inbox search. The behavior is for standard inbox result.
    Please provide any pointers to resolve this issue.
    Regards,
    Radhika
    Edited by: Radhika Chuttani on Jan 5, 2011 7:13 AM

    Radhika,
    This is standard behavior in the SAP inbox. The reason is that SAP buffers search results in the Inbox in order to improve performance. So even though you hit "search" again, SAP does not update the search results because this search has already been executed in this session. Clicking "End" or logging off refreshes the buffer.
    SAP released a note to update the "Responsible Employee" in the Inbox without requiring the user to log off. You can see their explanation and the solution here:
    https://service.sap.com/sap/support/notes/1465966
    If you want to enable inbox refresh every time a search is executed, you will probably have to do custom coding. My guess is that you may be able to leverage the CRM_IC_INBOX_BADI. Let me know if this much info is enough or if you want further details on how to technically achieve this.
    Rahul

  • Attachment in portal not getting displayed in SAP Inbox

    Hi All.
    While creating travel expense requests from Enterprise Portal, travelers create few attachments and then save the travel expense reports.
    A workflow then gets triggered and these travel expense reports reach SAP Inboxes of the checkers [in the finance department].
    The issue here is that these checkers do not have access to enterprise portal and they expect to see the attachments [that the traveler has created via the portal] via corresponding work items in their SAP Inboxes u2013 which currently is not happening!
    I checked the trip transaction that got created [in the backend / in SAP] and found the u2018attachment listu2019 menu option in GOS being disabled [may be because there is not even one attachment that has come to the backend!]
    What needs to be done so that the attachments can even be viewed from the backend / from SAP Inbox? Please suggest!
    Br,
    Hari

    Hi,
      You may have to check with the stylesheet, Check if the iVIews are using portal stylesheets from portal theme. If you want to use WD style sheets, The parameter for the web dynpro to use special theme "sap.useWebDynproStyleSheet" should be "true" (configuration adapter->webdynpro->sap.com->tcwddispwda) in visual admin. If you want to set this option for particular iViews only, then from the WD iView properties, set 'Supply Portal stylesheet' property to 'No'.
    Regards,
    Harini S

  • New Field in Inbox Search

    Hi,
    I want to add one new field to inbox search i.e. 'Created By' , the purpose of this field is to search the service order on the basis of created by. could anyone please help me in solving this issue?
    do we need to enhance the class CL_CRM_AUI_QUERY_SERVICE and GET_1O_QUERY_RESULT?
    Regards,
    Kamesh Bathla

    Hi,
    Can you please tell me what I need to do in the method mentioned by you?
    Regards,
    Amit

  • Custom field in SAP Inbox

    Hi Experts,
    I have a requirement of adding a custom field in SAP Inbox.
    Ex: If an Invoice Wrok flow is triggered..the Invoice number number will be generated and it will be shown in the Title column.
          Now I have a requiremnt of adding a two Custom field as 'Supplier Name' and 'Document number'.
    1. Is it possible to add the custom field in SAP Inbox?? if Yes can you guys let me know the procedure?? Also if I add a custom field Can that be controlled for specific work flow?
    2. Also I have seen the field Dynamic Columns in in the layout, Can I use that filed to populated the Supplier name and document number?? is Yes how to proceed further?? ( Does the efforts vary for Standard workflow and Custom Work flow??
    Your <removed by moderator> response is higly appriciated.
    Cheers,
    Sriram.
    Edited by: Thomas Zloch on Jul 4, 2011 4:18 PM

    Hi Krishna,
    To solve your issue, you need to know the linkage between the WF and event.
    You can go to t-code SWE2 to find the event linkage between Workflow & Business Object event.
    You can also open t-code PFTC, select the task type as Worflow Template and give the TASK / WF number without prefix WS, then go to EVENT tab to know the event.
    Regards
    Saumya

  • Help needed in Inbox search for Custom attribute

    Hi,
    We have  a requirement where in we are having a custom attribute on Service request to store the ECC Order number.
    We have enhanced the Inbox search to retreive all the service requests havig the ECC order number. 
    Here we are encountering a problem. i just created a new crm service request and entered order number 1234. and now when i search for the same in Inbox search giving the criteria order number as 1234. I get no results found. But when i extend the max list to 2000, then i see the service request appearing in the result list. not sure about the algorithm that is designed for inbox search.
    Any pointers on how to resolve this issue would be of great help.
    Thanks,
    Udaya

    Hi,
    I do not have the time to research this completely, but I had a short look into the class you posted.
    In the GET_DYNAMIC_QUERY_RESULT there is a call to CL_CRM_QCOD_HELPER->PREPROCESS( )
    A little bit lower there are blocks marked by comments for the single searches that are handled by this class. I had a look into the campaign_serach() method. There if you scroll a little bit down (around line 123) they set all search parameters to SIGN = 'I' OPTION = 'EQ'. This is done several times below as well.
    Set a breakpoint in the proprocess() method and check which of the blocks is called and how they handle your search criteria.
    Hope it helps.
    cheers Carsten

  • How can I get SAP INBOX emails in to PORTAL UWL?

    Hi One & All,
    In the process of leave request we have two level approval. we configured two level approval and it is working fine. We also put send email when any action taken by approving manager.
    For example If first level manager approves the leave then a mail notification has to be sent to employee who applied for that leave. the notification is like "First level manager approves your leave and it is sent for second level approval".
    That message is cumming in SAP INBOX but it is not cumming in to UWL. How can I get this, help me in this.
    Thanks & regards,
    Ksanj.

    If you had followed the substitution method then check the following:
    - Transaction Code RMPS_SET_SUBSTITUTE updates/inserts values into table HRUS_D2 which drives substitution
    - Substitution Profile used for Absences or check with "ALL" profile.
    - In view structure of HRUS_D2
    Active substitute will receive tasks right away
    Passive substitute on Universal Worklist need to specify View tasks on behalf of the manager
    Hope this helps you resolve the issue.

  • Sending ALV output to the SAP Inbox.

    Hi
    I'm using  SAP report <b>sendlist_bcs</b> for sending report output to the SAP inbox but attachment is not getting delivered.
    Can anybody help to resolve the issue...
    My report is:
    *& Report  ZTTEST_SAGAR
    REPORT  ZTTEST_SAGAR.
    *& Report  SENDLIST_BCS
    *& Sample report from note 190669 for sending lists via SAPconnect
    *& using the BCS interface
    *&  Note:
    *&  1. Set a commit work statement after the sending
    *&  2. Give binary data of type x not type c to send module, i.e.
    *&     use structure solix instead of soli and give it to tables
    *&     parameter contents_hex instead of contents_bin
    *&     Do this by filling contents_hex directly from the module
    *&     table_compress. In case of reading the data from spool, convert
    *&     to solix using so_solitab_to_solixtab
    *&  3. Don't calculate document size. It is done internally
    *report sendlist_bcs no standard page heading message-id so.
    selection-screen begin of block mode with frame title text-001.
    parameters: submit radiobutton group mode default 'X'.
    parameters: write  radiobutton group mode .
    parameters: spool  radiobutton group mode.
    selection-screen end of block mode.
    global data
    data g_list_content type solix_tab.
    data g_text_content type soli_tab.
    data sysid(10) TYPE C.
    *---- start-of-selection -
    start-of-selection.
      perform create_text_content changing g_text_content.
      perform create_list_content changing g_list_content.
      perform send using g_text_content
                         g_list_content.
    a commit work has to be set somewhere after the sending!
      commit work.
    Form routines                                                        *
    *&      Form  create_list_content
    form create_list_content changing list_content type solix_tab.
    1st possibility - use "submit <report> exporting list to memory"
      if submit = 'X'.
        perform use_submit changing list_content.
      endif.
    2nd possibility - create a new list within this report.
      if write = 'X'.
        perform write_a_list changing list_content.
      endif.
    3rd possibility - get list from spool
      if spool = 'X'.
        perform get_list_from_spool changing list_content.
      endif.
    endform.                                         "create_list_content
    *&      Form  create_text_content
    form create_text_content changing text_content type soli_tab.
      append 'This is the first line'  to text_content.         "#EC NOTEXT
      append 'This is the second line' to text_content.         "#EC NOTEXT
    convert the content from RAW to TXT
      call function 'SO_RAW_TO_RTF'
        tables
          objcont_old = text_content
          objcont_new = text_content
        exceptions
          others      = 0.
    endform.                                         "create_text_content
    *&      Form  SEND
    form send using text_content type soli_tab
                    list_content type solix_tab.
      data  send_request       type ref to cl_bcs.
      data  text               type bcsy_text.
      data  document           type ref to cl_document_bcs.
      data  recipient          type ref to if_recipient_bcs.
      data  bcs_exception      type ref to cx_bcs.
      data  sent_to_all        type os_boolean.
      try.
        create the send request
          send_request = cl_bcs=>create_persistent( ).
        create the document with attachments
        main document
          append 'Hi,' to text.
          append 'attached you will find the list.' to text.
          document = cl_document_bcs=>create_document(
                                    i_type    = 'RAW'
                                    i_text    = text
                                    i_subject = 'ABAPlist' ).
        add text attachment to document
          document->add_attachment( i_attachment_type    = 'TXT'
                                    i_attachment_subject = text-002
                                    i_att_content_text   = text_content ).
        add list attachment to document
          document->add_attachment( i_attachment_type    = 'ALI'
                                    i_attachment_subject = text-003
                                    i_att_content_hex    = list_content ).
        add document to send request
          send_request->set_document( document ).
          sysid = sy-sysid.
          data : uname type ad_uname.
          uname = 'USTZZSKAZI'.
        create recipient and add to send request
          recipient = cl_cam_address_bcs=>CREATE_RML_ADDRESS( i_syst     = sysid
                                                              i_client   = sy-mandt
                                                              i_username = uname ).
          send_request->add_recipient( i_recipient = recipient ).
        send
          sent_to_all = send_request->send( i_with_error_screen = 'X' ).
          if sent_to_all = 'X'.
           message s022.
          endif.
        catch cx_bcs into bcs_exception.
         message e865 with bcs_exception->error_type.
      endtry.
    endform.                    "send
    *&      Form  USE_SUBMIT
    form use_submit changing contents_hex type solix_tab.
      data listobject type table of abaplist.
    get the list object by calling the list in another report
    F1 on submit gives more information
      submit balvsd03 exporting list to memory and return.
    import the list from memory and store it in table listobject
      call function 'LIST_FROM_MEMORY'
        tables
          listobject = listobject
        exceptions
          not_found  = 1
          others     = 2.
      if sy-subrc <> 0.
       message e105 with 'LIST_FROM_MEMORY'.
      endif.
    free memory
      call function 'LIST_FREE_MEMORY'
        tables
          listobject = listobject
        exceptions
          others     = 1.
      if sy-subrc <> 0.
       message e105 with 'LIST_FREE_MEMORY'.
      endif.
    it's always necessary to compress the table.
    SAPconnect will decompress it
      call function 'TABLE_COMPRESS'                            "#EC *
        tables
          in             = listobject
          out            = contents_hex
        exceptions
          compress_error = 1
          others         = 2.
      if sy-subrc <> 0.
       message e105 with 'TABLE_COMPRESS'.
      endif.
    endform.                               " USE_SUBMIT
    *&      Form  WRITE_A_LIST
    form write_a_list changing contents_hex type solix_tab.
      data listobject type table of abaplist.
      perform write_list.
    Save the list and store table listobject
      call function 'SAVE_LIST'
        exporting
          list_index         = sy-lsind
        tables
          listobject         = listobject
        exceptions
          list_index_invalid = 1.
      if sy-subrc = 1.
       message e105 with 'SAVE_LIST'.
      endif.
    It's always necessary to compress the table
    SAPconnect will decompress it
      call function 'TABLE_COMPRESS'                            "#EC *
        tables
          in             = listobject
          out            = contents_hex
        exceptions
          compress_error = 1
          others         = 2.
      if sy-subrc <> 0.
       message e105 with 'TABLE_COMPRESS'.
      endif.
    endform.                               " WRITE_A_LIST
    *&      Form  GET_LIST_FROM_SPOOL
    form get_list_from_spool changing contents_hex type solix_tab.
      data spool_number     type rspoid.
      data contents_bin     type soli_tab.
      data print_parameters type pri_params.
      data valid            type c.
    write a list into spool
      call function 'GET_PRINT_PARAMETERS'
        importing
          out_parameters         = print_parameters
          valid                  = valid
        exceptions
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          others                 = 4.
      if sy-subrc <> 0.
       message e105 with 'GET_PRINT_PARAMETERS'.
      elseif valid is initial.
        return.
      endif.
      new-page print on parameters print_parameters no dialog.
      perform write_list.
      new-page print off.
      spool_number = sy-spono.
    you can also send OTF documents from spool with this function
    module. The importing parameter real_type gives you the doc type
    that you have to give to the send interface. The parameter is not
    used here
      call function 'RSPO_RETURN_SPOOLJOB'
        exporting
          rqident              = spool_number
        tables
          buffer               = contents_bin
        exceptions
          no_such_job          = 1
          job_contains_no_data = 2
          selection_empty      = 3
          no_permission        = 4
          can_not_access       = 5
          read_error           = 6
          type_no_match        = 7
          others               = 8.
      if sy-subrc <> 0.
       message e105 with 'RSPO_RETURN_SPOOLJOB'.
      endif.
    convert to hex table
      call function 'SO_SOLITAB_TO_SOLIXTAB'
        exporting
          ip_solitab  = contents_bin
        importing
          ep_solixtab = contents_hex.
    endform.                               " GET_LIST_FROM_SPOOL
    *&      Form  WRITE_LIST
    form write_list.
      data lt_scarr type table of scarr.
      data carr type scarr.
      select * from scarr into table lt_scarr.
      format color = 1.
      uline at /1(46).
      write: / sy-vline,
             'CARRID',   10 sy-vline,
             'CARRNAME', 35 sy-vline,
             'CURRCODE', 46 sy-vline.
      format color = 2.
      uline at /1(46).
      loop at lt_scarr into carr.
        write: / sy-vline,
               carr-carrid,   10 sy-vline,
               carr-carrname, 35 sy-vline,
               carr-currcode, 46 sy-vline.
      endloop.
      uline at /1(46).
      new-line.
    endform.                               " WRITE_LIST
    Thanks,
    sagar

    hi Sagar
    'SO_NEW_DOCUMENT_ATT_SEND_API1' function module for that.
    Example::::
    Data Declaration
    data pdf like tline occurs 0.
    data : objbin  like solisti1   occurs 0 with header line.
    Data: docdata    like sodocchgi1,
          objpack    like sopcklsti1 occurs  1 with header line,
          objhead    like solisti1   occurs  1 with header line,
          objtxt     like solisti1   occurs 10 with header line,
           objbin     like solisti1   occurs 10 with header line,
          objhex     like solix      occurs 10 with header line,
          reclist    type table of SOMLRECI1   with header line.
    Data: listobject like abaplist   occurs  1 with header line.
    data : objhex2 like objhex occurs 0 with header line.
    Data: tab_lines  type i,
          doc_size   type i,
          att_type   like SOODK-OBJTP.
    data: ls_drao like drao occurs 0,
         i_data like drao-orblk occurs 0,
          ls_doc_file like dms_doc_file,
          ls_draw like draw.
    data: begin of i_data occurs 0,
          orbkl like drao-orbkl,
           orblk like drao-orblk,
          end of i_data.
    data: w_data like i_data,
         w_data2 type drao-orbkl,
          wa_drao type drao.
    DATA: t_error(1) type c.
    DATA: t_return like BAPIRET2.
    *ls_draw-mandt = '200'.
    ls_draw-dokar = 'GPO'.
    ls_draw-doknr = 'Z10'.
    ls_draw-dokvr = '00'.
    ls_draw-doktl = '000'.
    ls_draw-dttrg = 'SAP-SYSTEM'.
    ls_draw-dAPPL = 'DOC'.
    ls_doc_file-fileno = '1'.
    ls_doc_file-dttrg = 'SAP-SYSTEM'.
    *Debug the cv03n transaction to see how the FMs are used
    CALL FUNCTION 'CV120_DOC_CHECKOUT_TO_TABLE'
      EXPORTING
      PS_COUT_DEF       =
        ps_doc_file       =   ls_doc_file
        ps_draw           =   LS_DRAW
      tables
      PT_DRAZ           =
        ptx_content       =    ls_drao
      PTX_DRAOZ         =
    EXCEPTIONS
       ERROR             = 1
       OTHERS            = 2
    IF sy-subrc <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop at ls_drao into wa_drao.
      move:  wa_drao-orblk to w_data-orblk.
      append w_data to i_data.
    endloop.
    OBJPACK-HEAD_START = 1.
    DESCRIBE TABLE i_data LINES TAB_LINES.
    CALL FUNCTION 'ZOUTPUT_X_TABLESIZE_CHG'
    EXPORTING
      IV_APPEND          = ' '
       IV_BYTE_MODE       = 'X'
      IV_STRING          =
      IV_XSTRING         =
    IMPORTING
      EV_SIZE            =
      EV_LINES           =
      EV_STRING          =
      EV_XSTRING         =
    TABLES
       IT_DATA            = i_data
       ET_DATA            = objhex
    EXCEPTIONS
       NOENTRIES          = 1
       OTHERS             = 2
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop at objhex.
      move-corresponding objhex to objhex2.
      append objhex2.
    endloop.
    docdata-obj_name  = 'TEST_ALI'.
    docdata-obj_descr = 'Test including ALI/HTML Attachment'.
      Main Text
    objtxt = 'Test Document.'.
    append objtxt.
    objtxt = 'You will find an ALI/HTML attachment '.
    append objtxt.
    objtxt = 'Have a nice day.'.
    append objtxt.
      Write Packing List (Main)
    describe table objtxt lines tab_lines.
    read     table objtxt index tab_lines.
    docdata-doc_size = ( tab_lines - 1 ) * 255 + strlen( objtxt ).
    clear objpack-transf_bin.
    objpack-head_start = 1.
    objpack-head_num   = 0.
    objpack-body_start = 1.
    objpack-body_num   = tab_lines.
    objpack-doc_type   = 'TXT'.
    append objpack.
    Create Message Attachment
      Write Packing List (Attachment)
    att_type = 'PDF'.
    describe table objhex lines tab_lines.
    read     table objhex index tab_lines.
    objpack-doc_size = ( tab_lines ) * 255 ."+ strlen( i_data ).
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num   = 0.
    objpack-body_start = 1.
    objpack-body_num   = tab_lines.
    objpack-doc_type   = att_type.
    objpack-obj_name   = 'ATTACHMENT1'.
    objpack-obj_descr  = 'Attached Document1'.
    append objpack.
    Second attachment
    loop at objhex.
      move-corresponding objhex to objhex2.
      append objhex2.
    endloop.
    *att_type = 'DOC'.
    *describe table objhex lines tab_lines.
    *read     table objhex index tab_lines.
    *objpack-doc_size = ( tab_lines ) * 255 ."+ strlen( i_data ).
    *objpack-transf_bin = 'X'.
    *objpack-head_start = 1.
    *objpack-head_num   = 0.
    *objpack-body_start = 1.
    *objpack-body_num   = tab_lines.
    *objpack-doc_type   = att_type.
    *objpack-obj_name   = 'ATTACHMENT2'.
    *objpack-obj_descr  = 'Attached Document2'.
    *append objpack.
    Third attachment
    *loop at objhex.
    move-corresponding objhex to objhex2.
    append objhex2.
    *endloop.
    *att_type = 'PDF'.
    *describe table objhex lines tab_lines.
    *read     table objhex index tab_lines.
    *objpack-doc_size = ( tab_lines ) * 255 ."+ strlen( i_data ).
    *objpack-transf_bin = 'X'.
    *objpack-head_start = 1.
    *objpack-head_num   = 0.
    *objpack-body_start = 1.
    *objpack-body_num   = tab_lines.
    *objpack-doc_type   = att_type.
    *objpack-obj_name   = 'ATTACHMENT3'.
    *objpack-obj_descr  = 'Attached Document3'.
    *append objpack.
    Create receiver list
    data: reclist1 type sadrfd .
    reclist1-rec_fax = '650-467-2890'.
    reclist1-REC_STATE = 'US'.
    append reclist1.
    *read table reclist1 index 1.
    move reclist1(30) to reclist-receiver(30).
    move reclist1346(3) to reclist-receiver346(3).
    *reclist-receiver = reclist1."'US16503457900'.
    *move reclist1-rec_fax to reclist-receiver.
    *reclist-receiver = 'US16502796630'.  "'+1 (16502796999)'.
    reclist-REC_type = 'F'.
    *reclist-country = 'US'.
    *reclist-COM_TYPE = 'TELFAX'.
    *reclist-fax = 'US1650-279-6630'.
    append reclist.
    *reclist-receiver = sy-uname.                "<-- change internal user
    *reclist-rec_type = 'B'.
    *append reclist.
    Send Message
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        document_data                     = docdata
         PUT_IN_OUTBOX                     = 'X'
         COMMIT_WORK                       = 'X'     "used from rel.6.10
      IMPORTING
        SENT_TO_ALL                        =
        NEW_OBJECT_ID                     =
      tables
        packing_list                      = objpack
        OBJECT_HEADER                     = objhead
        CONTENTS_BIN                      = objbin
        CONTENTS_TXT                      = objtxt
         CONTENTS_HEX                      = objhex
        OBJECT_PARA                        =
        OBJECT_PARB                        =
        receivers                         = reclist
       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
    IF sy-subrc <> 0.
      message ID 'SO' TYPE 'S' NUMBER '023'
              with docdata-obj_name.
    ENDIF.
    **Please reward suitable points***
    With Regards
    Navin Khedikar

  • Delete button not enabled on Inbox Search List

    We are using CRM 2007 sp4.  In one of our Web Interaction Centers we want to allow certain end users the ability to delete certain transactions from the inbox search list.  At present when an item in the result list on the inbox [Component ICCMP_INBOX (Inbox Items)] the delete button is not enabled whilst the Edit, Display and Interact are all enabled.  how do we enable the delete button.
    Thanks in advance

    Hey corrines,
    Here is an article for you that will help you troubleshoot this issue with your keyboard:
    One or more keys on the keyboard do not respond
    http://support.apple.com/kb/TS1381
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Problem to send a mail of notify to SAP Inbox instead Outlook Inbox

    Hi all,
    I have a customer that it's already done an upgrade to SAP_HR 4.7 and SAP_BASIS 6.20.
    I haven't modify the old Workflow and I use the standard task to send the mail of notify in order to leave request.
    I'm using the method SENDTASKDESCRIPTION of object SELFITEM with type address U and the mail address (external).
    But the mails aren't sending to Outlook, they are sending to SAP Inbox.
    So the employee see the mail into the ESS portal instead to see the mail in Outlook.
    Could you suggest me if the problem is in the task of workflow, or in SCOT or in mail server, please?
    Are there a new functionality in SAP in order to search the user linked with the mail address?
    Thanks in advance for any suggestion.
    Best Regards
    Luca Moschioni

    Hi Luca, i have the same problem, did you found any solution to this?
    thanks you.

  • Vendor Search Issue in XK03

    Hi Gurus,
    We have few vendors created in RU (Russian Language ) language . When we try to search the vendor by name in XK03, system is unable to search the vendor. Is there any language installation required to resolve this issue.
    Please advise.

    source: SAP International Address Versions:
    Searching for Address Versions
    No search help is delivered for address versions in the SAP standard. You therefore have to create your own search help for this and add it to the relevant SAP standard search help.
    To do this, proceed as follows:
    Creating a Search Help
    1. Go to transaction SE11. The ABAP Dictionary: Initial Screen is displayed.
    2. Select the Database Table checkbox, enter ADRC in the adjacent field and choose Display.
    3. Find the names of the fields you require in the Short Text column and make a note of their actual field names. The fields normally required are the client, address number, customer/vendor/bank number, and nation.
    4. Repeat steps 2 and 3 for the specific application table to be used, such as KNA1.
    5. Go back to the ABAP Dictionary: Initial Screen and select the View checkbox. Enter a name for your search help in the adjacent field and choose Create.
    6. In the subsequent dialog box, select the Database View checkbox and choose Copy. The Dictionary: Maintain View screen is displayed.
    7. Under Tables on the Tables/Join Conditions tab page, enter the names of the tables used above.
    8. In the Join Conditions frame, enter a field name from the first table and its corresponding name from the second table used, for each field required.
    9. Enter a short text for your search help and choose Save.
    10. In the subsequent dialog box, enter the required development class and choose Save.
    Adding a Search Help to an SAP Standard Search Help
    11. Go back to the ABAP Dictionary: Initial Screen and select the Search Help checkbox. In the adjacent field, enter the name of the relevant collective search help delivered by SAP in which your search help to be included, for example DEBI2. The Dictionary: Display Search Help screen is displayed.
    12. Choose the Included Search Helps tab page and enter the name of the search help you created above in the Search Help column and the corresponding short text. Choose Save.
    Result
    Your own defined search help is included in the list of standard SAP search helps and you can now use it to search for an address version.

Maybe you are looking for

  • Using two computers with one IPhone

    I have two offices, and two office computers. I'd like to sync all the Outlook data on each computer with my IPhone. Also, is there any way to have the music list in ITunes in one computer sync through the IPhone to the second computer?

  • How to automatically capitalize i in pages 5.0?

    Hi I just updated my MacBook to Mavericks and I found the lastest verion of Pages won't allow me to automatically capitalize "i". Same thing happens to the first word of a sentence, I used to be able to do that. If anyone knows how to solve this, I w

  • Early Health Check - missing data

    Hi folks, My Early Health Check reports are generated with a couple of data missed. For example, SQL expensives don't appear and also the CPU Graphics. Do you guys know what it could be? tks a lot Re

  • How to know which CS4 serial number is installed on my computer ?

    Hi, Our company has several CS4 software packages installed on several Windows computers. Some have been purchased from a store, others have been downloaded from the Adobe webstore. Now I'd like to upgrade to CS6 on one of the computers; for this, I

  • How to change order of network ports - unix command in Apple Remote Desktop

    I am trying to do a report of 130 machines and I want the IP addresses included in the report. When I do the report a bunch of them are missing because the only selection is "Primary Network IP" but on many of the machines the order of the network co