Error Idocs automatically transffered to users SAP Inbox

Hi,
I need to configure, such that Idocs with certain error messages will be automatically transffered to the users inbox (SAP inbox) based on the plant in the Idoc.
Understand that to achieve this, will have to maintain the org plan in transaction PPOME. But what are the other  things that need to be done?
Would greatly appreciate step by step instructions to achieve this.
Regards,
Mick

Hi Mick,
Rajeev Kasturi uses almost 10 pages in his book SAP R/3 ALE and EDI TECHNOLOGIES to explain.
You have to do a complete workflow basic config including not only org plan but also org usnits, positions, assignments.
Activate event triggering and linkage
Acticate workflow generally
configure partner profile parameters for receiver of notification
Set ALEAdmin in EDI system table.
God luck!
Regards,
Clemens
P.S.
On HELP.SAP.COM you will find lots of helpful hints searching for keywords IDOC WORKFLOW
Message was edited by:
        Clemens Li

Similar Messages

  • Send Workflow email to User SAP Inbox with a Popup and cproject link

    Hi,
    I am working SAP portfolio and project management workflow.
    Requirement: Trigger workflow when Portfolio Execution Decision Point status changes,
    We have to send two email notifications as part of the requirement;
    First notification should go to user’s (Only one user) SAP Inbox, Containing two links
    Popup link (It will contain list of question which the user has to confirm) if he
    confirms we have to send second  email notification. (Pop-up layout is attached)
    Link for the user to navigate to SAP PPM cProject to upload the documents. (NWBC)
    The second notification should go to Outlook of the users (via group email) with Link for the user to navigate to SAP PPM cProject.
    We can trigger the workflow using event DECISION_POINT_STATUS_CHG in Class CL_RPM_DECISION. My question is how should design the pop-up and incorporate the Pop-up and cproject link in first notification email sent to user SAP Inbox.
    Please let me know if you need more details.
    Thanks & Regards,
    Amit Singh

    We use transaction NWBC to login to netweaver business client. Then from there we navigate to Project management view and double click to select the project. It opens project element --> Collaborations tab. There we select the folder link. (screenshot attached)
    Regarding addition of multiline container element (Table) let's say 'A'; I create multiline container element A in Workflow element list, Populated  element A using a utility class/method assigned to a background task.
    Then, I created a user decision task, inside the task container another multiline container element 'B' with same type and I did binding b/w workflow container element 'A' and task container element 'B'.
    Now, I am passing &B& in the decision task description. If I execute the workflow, The user decision task description is blank.
    Secondly, I did not get any pop-up asking how to display it (all lines with line break).
    PS: My internal table also has only one field.
    Am I doing something wrong here?

  • Some of the error idocs are not falling into Workflow Inbox

    The extract of IDOC list with status 51 from WE02 transaction is not matching with Workflow inbox column "object", some of the idocs which are errored are not showing in the workflow inbox. Here we are in need to get all the errored idocs into the inbox. Please suggest me to proceed further.

    Hi Smita,
    Thanks for your reply.
    I have maintained the suggested role SAP_GRC_SPC_SCHEDULER in backend for an user id and i can able to see a job is getting completed in SM37.
    However, the task in the inbox hasnt come yet.Any idea you may have as to how much time it will take for task to come into inbox.Or is that i need to do any more extra task.
    Please advice.
    Thanks
    Ashok S

  • Error While Opening PDF File in SAP Inbox

    Hello Experts,
    I am facing a weird error in SAP Inbox while opening a PDF files (both created by custom ABAP programs as well as the one attached to a new SAP Inbox message from my desktop & sent to my Inbox as a test).
    The error states that "This file does not have a program associated with it for performing this action. Please install program or, if one is already installed, create an association in the Default Programs control panel.".
    I checked TCode DC30 also & found an appropriate program is already maintained for PDF.
    I couldn't make out more out of this error message. Any inputs in this regard will be highly appreciable.
    Regards,
    Shaurya

    Hi,
      Find out the FM that's generating the actual error through de-bug and analyze the same by looking in OSS and or SDN.
    Regards
    Narasimhan

  • Can we keep Decision workitem in two users SAP inbox after canel action ?

    I have a requirement like "  Decision workitem is going to two SAP Users Inbox , when one user opens the work item and choose the cancel and keep workitem in inbox in that case also its disappering in other user's SAP Inbox"
    is there any way to keep the work item in both users inbox when one person selects CANCEL AND KEEP WORKITEM IN INBOX ?
    Please give me your input.
    Thanks and Regards,
    veerabrahmam

    Rick Bakker wrote:
    Hello,
    >
    > Is this in SBWP or UWL?
    >
    > This seems to be the SAP standard in some scenarios. You could have the workflow test for Reserved and unreserve it but then what happens if it was reserved on purpose.
    >
    > regards
    > Rick Bakker
    > hanabi technology
    Hi Rickk ,
    it is SBWP
    it is intresting to see that case if one of approver reserves it for the purpose of evaluating later.
    the thing is our onsite  consultant asked like  is it possible to keep the decision in the two approvers SAP Inbox  after selecting cancel and keep workitem in the inbox.
    is that possible ?

  • Error occured randomly when connecting user's INBOX with IMAP

    Hi..
    We are using our own developed web mail program using IMAP protocol.
    Not very often but sometimes users faced error they couldn't connect their INBOX.
    So I reconstructed their mailboxes and I could see error message.
    reconstruct -r user/jcheol.kimuser/jcheol.kim/INBOX
    ERROR: Trouble parsing cache record 190 string 1: String goes beyond EOF
    Reconstructing...
    user/jcheol.kim/Drafts
    user/jcheol.kim/MyFolder
    user/jcheol.kim/MyFolder/&rPW7OA-
    user/jcheol.kim/MyFolder/43&rjAhkA-H&0wA-
    user/jcheol.kim/MyFolder/43&rjAhkA-stc
    user/jcheol.kim/MyFolder/SDI IS&0wA-
    user/jcheol.kim/Sent
    user/jcheol.kim/Spam
    user/jcheol.kim/Trash
    After run reconstruct user can see their mail.
    Is there Anyone know what that errors means ?
    Any ideas on how to fix it ?
    mail sever version is..
    > ./imsimta version
    iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)
    libimta.so 5.2 Patch 2 (built 19:30:12, Jul 14 2004)
    SunOS ep_ms11 5.8 Generic_117350-25 sun4u sparc SUNW,Sun-Fire
    Thanks

    The error indicates that the store.idx file does not reflect the true status of the mailbox. Store.idx is a binary file that Messaging Server maintains to improve performance of getting data from the user's inbox.
    The problem you describe can be caused by manual manipulation of the user's mailbox (removing files, adding files, etc), disk errors, and, yes, bugs. 5.2p2 is the latest PUBLICALLY available version of 5.2, but Tech Support has much later versions. I suggest contacting tech support and requesting a current hotfix. I cannot give you that, here.
    Or, you can upgrade to 6.2....

  • Issue: workitem getting forwarded to all users sap inbox

    hiiii sap gurus
    i have created  workflow for PO RELEASE using the sap Standard workflow given,
    my problem is that the workitem is getting forwaded to all users. i have used custom Rule for agent determination and made the task as general task.
    Is this problem because the task is general task. please respond as this porblem is in Prd .
    Thanks ,
    Pradeep

    Hi Pradeep,
    I guess when you are already using a rule to determine the agents then you should not make the task as a General task.
    Change the task agent assignment to general forwarding not allowed. Then assign the rule to the task to determine the agents for the task.
    Now if the correct agents are not determined by the Rule then the workflow would result into error but not go to other users.
    You can check if the rule is working well using the Simulate button in PFAC.
    Also mark the 'Terminate If Rule Resolution Without Result' flag to stop the workflow there is an error occurs.
    Hope this helps¨!
    Regards,
    Saumya

  • SAP Inbox-Idocs

    Hi,
    Couple of questions on Idocs in SAP Inbox.
    1) If the error Idocs are mapped to be automatically transmitted to the users SAP inbox, then if the users reprocess the Idocs successfully using BD87, will the Idoc disappear from the users SAP Inbox?
    2) If on successfull reprocessing the idocs do not automatically disappear (ie if the answer to the above question is no) from the users inbox, then how can they remove them from their SAP inbox?
    Any help would be appreciated.
    Thanks in advance,
    Mick

    Thanks Atish.
    The Idocs have already been mapped to the users SAP Inbox. So the question is that if the users reprocesses the Idocs from BD 87 will they automatically disappear form their SAP Inbox or they have to do something to remove them from their SAP Inbox, after they are successfully reprocessed.
    Regards,
    Mick

  • Whay a user recieved a workintem in his SAP inbox

    Hello,
    I have been asked to find out why a workflow document was in a users SAP inbox. the task that generated the workitem was TS00008046. I am not that knowledgeable in workflow but I am checking the Task in PFTC and I cannot determine how the work item was sent to his inbox. Since this has heppened we have assigned this task to a position so now the people in this position receive these notifications.
    if someone could please lete me know what I can checked to find out this information, it would be a big help
    thanks in advance

    I have done some more checking
    for the task 00008046
    default rule  134
    click on the rule
    category = "agent determination: function to be executed"
    function module = EDI_ROLE_FOR_PROCESSING
    I found the IDOC number and when I check in WE02
    for the error 51 record I see XI_RFCUSER
    I am not sure where to look for XI_RFCUSER

  • SAP Inbox mail not working

    When I am sending mail from my SAP Inbox to other User SAP inbox, mail is not going into other user sap inbox.
    Let say User A is send SAP inbox email to User B sap inbox, User B does not get email in his SAP Inbox even we selected Receipent type "SAP Logon Name". Instead mail is going to email address mentioned in SU01. I removed email address from SU01 even mail is not coming to SAP User Inbox.
    I think this is defualt configuration sap has provided in all SAP system but some how it is not working.
    anybody has any idea.
    Thanks
    Manish Patel

    Dear Manish Patel!
    Please check whether you have activated the mail system group in your system. In this case the received mails will go automatically to user's home mail address, defined in tr. SU01 for user.
    To check the mail system group:
    -Tr. SO16 >> Tab "Mail sy. grp." >> check the checkbox "Send to home Addresses of Users"
    If this is set, please uncheck it (check the checkbox "No Mail System Group") and test the behaviour again.
    Regards
    Gergely

  • Work item stucked on SAP inbox

    Hi Gurus,
    I have a problem on workflow items that are stucked on our approver's SAP inbox even after the PR or PO has already been approved/released. When I check the log, the status is still "In Process". This does not happen always and not for all our PR/PO docs.
    Can you help/guide me on where to look for the root cause so i'll know where to correct.
    Thanks,
    Marianne

    Hi MM,
    how is the PR/PO done for these workitems that are stuck?
    I mean was it sent to users SAP Inbox and he released it from his Inbox, or is it that though he got a workitem in his SAP Inbox, he released it thru ME54N/ME28N.
    Because in the later case, you have to define your WF such that if user directly releases them from the T-codes, it should terminate that WF so that it deletes from users SAP Inbox.
    Hope it helps.
    Aditya

  • SAP Inbox - IDOC Error

    Hello All,
    1. I am  getting mail alert when ever any IDOC failed in ECC system. Is there any solution available to stop this type of messages coming to SAP Inbox? These notification messages are passing to SAP most of users.
    2.  Due to that their Inbox is getting full. And not able to delete all messages at a time. Is there any solution available to delete all messages once?
    Lots of lots of error messags are coming in SAP Inbox for IDOC errror like: Partner profile not defined, IDOC not processed until Final stage, etc.,
    regards,
    Ansar.

    Check the appropriate "Partner Profile" in WE20 and see if any agent is maintained for the
    Post Processing - Permitted Agent.
    Check the inbound and outbound parameters message types as well and seee if any agents are assigned or not...
    try assigning a userid in test system and ensure the message goes to only the user mentioned..
    Regards,
    PR.

  • Error in IDOC message to be sent to user's inbox

    Hi all,
    I am new to abap development. I have a scenario in which SBI invoice is generated using GSVERF std Idoc. If there is any discrepancy b/w the Idoc qty and the SAP qty the Idoc should fail and a message should be sent to the user's inbox.
    Can anyone suggest me how I should proceed.
    1) Where can I add my code for the std Idoc to check the condition
    2)How can I send a message after I doc has failed using workflow.
    Thanks in advance,
    Ranjan

    Hello,
    try to use this FM:
    CALL FUNCTION 'CALL_MESSAGE_SCREEN'
       EXPORTING
         i_msgid          = t100-arbgb
         i_lang           = sy-langu
         i_msgno          = t100-msgnr
         i_msgv1          = sprot_u-var1
         i_msgv2          = sprot_u-var2
         i_msgv3          = sprot_u-var3
         i_msgv4          = sprot_u-var4
         i_line_size      = line_size
         i_lines          = lines
       EXCEPTIONS
         invalid_message1 = 1
         OTHERS           = 2.
    Regards

  • Error when reading a pdf attachment file in sap inbox

    Hi all,
    I have created a RFC which sends mail from an external user to my sap inbox with attachment.
    the problem is with the PDF attachment where when i received the mail in my sap inbox in sbwp, it says that there is an error that it wasnt correctly decode.
    I used the class cl_document_bcs...
    and used the method add_attachment...
    would plz help me out

    this is my code
    FUNCTION ZMAIL_READ.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(SUBJECT) TYPE  SO_OBJ_DES
    *"     VALUE(TEXT) TYPE  STRING
    *"     VALUE(SENDER) TYPE  ADR6-SMTP_ADDR
    *"     VALUE(RECEIVER) TYPE  ADR6-SMTP_ADDR
    *"     VALUE(ATTACHMENTS) TYPE  Z_T_XATTACH OPTIONAL
    *"  EXPORTING
    *"     VALUE(MESSAGE) TYPE  STRING
    DATA: lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
          lo_bcs_send_request TYPE REF TO cl_bcs,
          l_send type ADR6-SMTP_ADDR ,
          l_rec type  ADR6-SMTP_ADDR .
    data: it_text type table of soli,
          wa_text type soli.
    DATA: lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
    DATA: lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
    DATA: lv_recipient_uid TYPE uname,
          lv_recipient_mail TYPE adr6-smtp_addr.
    data: lo_message type ref to cx_send_req_bcs value is initial,
          text_val type string.
    data: it_userlist type table of BAPIUSNAME,
          wa_userlist type BAPIUSNAME.
    data: it_selection_range type table of BAPIUSSRGE,
          wa_selection_range type BAPIUSSRGE.
    data: wa_attachment TYPE ZXATTACH,
          attachment_sub type SO_OBJ_DES.
    DATA: xstr type xstring,
          str TYPE string,
          str1 type string,
          it_str2 type table of soli,
          wa_STR2 TYPE SOLI.
    DATA: LOC_CONV TYPE REF TO CL_ABAP_CONV_IN_CE,
          wa_solix type solix,
          it_solix type table of solix,
          wa_soli type soli,
          it_soli type table of soli.
    data result TYPE boolean.
    data: i_ext(10) type c,
          i_type type soodk-objtp.
    wa_text-line = text.
    append wa_text to it_text.
    CLASS cl_bcs DEFINITION LOAD.
    try.
    lo_send_request = cl_bcs=>create_persistent( ).
    catch cx_send_req_bcs.
    endtry.
    * Message body and subject
    data: lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
    try.
    lo_document = cl_document_bcs=>create_document(
         i_type = 'RAW'
         i_text =  it_text
         i_subject = subject ).
    catch cx_send_req_bcs.
    catch cx_document_bcs.
    catch cx_address_bcs.
    endtry.
    loop at attachments into wa_attachment.
    attachment_sub = wa_attachment-file_name.
    it_str2 = wa_attachment-attach.
    loop at it_str2 into wa_str2.
      str1 = wa_str2-line.
    try.
    CALL FUNCTION 'SSFC_BASE64_DECODE'
      EXPORTING
        B64DATA                        = str1
    *   B64LENG                        =
    *   B_CHECK                        =
      IMPORTING
        BINDATA                        = xstr
    * EXCEPTIONS
    *   SSF_KRN_ERROR                  = 1
    *   SSF_KRN_NOOP                   = 2
    *   SSF_KRN_NOMEMORY               = 3
    *   SSF_KRN_OPINV                  = 4
    *   SSF_KRN_INPUT_DATA_ERROR       = 5
    *   SSF_KRN_INVALID_PAR            = 6
    *   SSF_KRN_INVALID_PARLEN         = 7
    *   OTHERS                         = 8
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    catch cx_sy_dyn_call_illegal_type.
    endtry.
    CALL METHOD CL_ABAP_CONV_IN_CE=>CREATE
          EXPORTING
            INPUT       = xstr
            ENCODING    = 'UTF-8'
    *        REPLACEMENT = '?'
    *        IGNORE_CERR = ABAP_TRUE
          RECEIVING
            CONV        = loc_CONV.
    TRY.
        CALL METHOD LOC_CONV->READ
          IMPORTING
            DATA = STR.
    CATCH CX_SY_CONVERSION_CODEPAGE.
    CATCH CX_SY_CODEPAGE_CONVERTER_INIT.
    CATCH CX_PARAMETER_INVALID_TYPE.
    CATCH CX_PARAMETER_INVALID_RANGE.
    ENDTRY.
    wa_solix-line = xstr.
    append wa_solix to it_solix.
    wa_soli-line = str.
    append wa_soli to it_soli.
    endloop.
    try.
    CALL FUNCTION 'SA_KW_RFC_FILENAME_EXT_GET'
      EXPORTING
       AREA            = 'IWBSOLAR'
        MIMETYPE        = wa_attachment-type
    IMPORTING
       EXTENSION       = i_ext
    catch cx_sy_dyn_call_illegal_type.
    endtry.
    i_type = i_ext.
    if i_ext <> 'pdf'.
    try.
      lo_document->add_attachment(
      EXPORTING
        i_attachment_type = i_type
        i_attachment_subject = attachment_sub
        i_att_content_hex = it_solix ).
           CATCH cx_document_bcs.
    endtry.
    clear wa_solix.
    refresh it_solix.
    else.
    TRY.
      CALL METHOD LO_DOCUMENT->ADD_ATTACHMENT
        EXPORTING
          I_ATTACHMENT_TYPE     = i_type
          I_ATTACHMENT_SUBJECT  = attachment_sub
    *      I_ATTACHMENT_SIZE     =
    *      I_ATTACHMENT_LANGUAGE = SPACE
          I_ATT_CONTENT_TEXT    = it_soli
    *      I_ATT_CONTENT_HEX     =
    *      I_ATTACHMENT_HEADER   =
       CATCH CX_DOCUMENT_BCS .
      ENDTRY.
    ENDIF.
    endloop.
    try.
    lo_send_request->set_document( lo_document ).
    CATCH cx_send_req_bcs.
    endtry.
    wa_selection_range-PARAMETER = 'address'.
    wa_selection_range-field = 'e_mail'.
    wa_selection_range-sign = 'I'.
    wa_selection_range-option = 'EQ'.
    wa_selection_range-low = receiver.
    append wa_selection_range to it_selection_range.
    try.
    CALL FUNCTION 'BAPI_USER_GETLIST'
    * EXPORTING
    *   MAX_ROWS              = 0
    *   WITH_USERNAME         = ' '
    * IMPORTING
    *   ROWS                  =
    TABLES
        SELECTION_RANGE       = it_selection_range
    *   SELECTION_EXP         =
        USERLIST              = it_userlist
    *   RETURN                =
    catch cx_sy_dyn_call_illegal_type.
    endtry.
    read table it_userlist into wa_userlist index 1.
    try.
      lo_sender = cl_cam_address_bcs=>create_internet_address( sender ).
      lo_send_request->set_sender(
         EXPORTING
         i_sender = lo_sender ).
    catch cx_send_req_bcs.
    catch cx_document_bcs.
    catch cx_address_bcs.
      return.
    endtry.
    try.
        lo_recipient = cl_sapuser_bcs=>create( wa_userlist-USERNAME ).
        lo_send_request->add_recipient(
           EXPORTING
             i_recipient = lo_recipient ).
    *         i_express = 'X' ).
      catch cx_send_req_bcs.
      catch cx_document_bcs.
      catch cx_address_bcs.
    endtry.
    try.
    ** Send email
         LO_SEND_REQUEST->SET_SEND_IMMEDIATELY( 'X' ).
         lo_send_request->send( EXPORTING
         i_with_error_screen = ' '
         RECEIVING
         result = result ).
         COMMIT WORK.
    CATCH CX_DOCUMENT_BCS.
    CATCH CX_SEND_REQ_BCS INTO lo_message.
    CATCH CX_ADDRESS_BCS.
    text_val = lo_message->IF_MESSAGE~GET_TEXT( ).
    endtry.
    if result = 'X'.
      message = 'E-Mail sent'.
    else.
      message = 'E-Mail not sent'.
    endif.
    ENDFUNCTION.

  • Workflow in SAP inbox(PRH) Giving Error Massage

    Hi all,
    I need help please ..
    the user has a workflow in SAP inbox(PRH) to Approve request, but unfortunately, whenever he try to open the workflow he  receive error
    please advice..
    Thanks
    Jasmin

    Hi,
    What is the error message?
    Regards,
    Masa

Maybe you are looking for

  • Pictures and text boxes in rtf template

    Hi there, are there any general rules for applying pictures and text boxes to rtf-templates? As far as I have experienced, the text boxes are not shown when generating a report. Is it generally not possible to display text boxes? Are there any work a

  • Calendar on iOS 7

    Is there a way to view an entire day at once on my calendar in iOS 7 without toggling up and down? What about viewing a week at a time without toggling between individual days? The new calendar is SO laborious, I will give up my iphone rather than bu

  • 10.5.8 generating a 2048bit cert for signing is failing

    in server admin i make a new cert, set the bit length to 2048 (default is 1024) and save. upon save the bit length reverts to 1024 and so when i submit it for renewal i get a kickback from godaddy who now requires 2048 bit length keys. how can i do t

  • Syncing Tasks On Outlook 2010 to iPhone 5

    I have tried unsuccessfully to sync All of my Tasks from my laptop (Outlook 2010) to my iPhone 5 which is loaded with the lastest version of iOS7. I have some recurring tasks as well as one time tasks. I have at least a dozen tasks scheduled in Outlo

  • Audio-sync workflow without losing meta-data or project bloat?

    So I love the FCPX keywords and metadata system and media organization but I'm running into a bit of a problem: I don't know how to use it while also using sync-sound. At least, not without duplicating lots of footage and losing metadata. For instanc