IDOC error processing using  WORKFLOW

Hi ,
I tried to post an error IDOC of message type  FIDCC2 using  "INPUTFORGROUND" method of  Idoc object IDOCFIDCC2.I am using foreground from error for processing the idoc from the error status screen. For some Idoc it is going to the application and I can correct data and for some Idoc it just creates a message "Error during application input" . It is not calling the application dialog . Does anyone have answer for this? ,It would be a great help.
Thanks

Hi Siridhar,
Thanks for your reply . The message says application error  ie it is calling application and trying to post.
For some error this calls the application in  foreground and processing. Is there processing status of IDOC that it will not allow to process foreground.
Regards
Radha

Similar Messages

  • IDOC Error handling using workflow for Inbound process.

    I have a custom idoc which I am processing using a custom inbound function module with the help of a custom process code. I have made the config in BD51/bd67/We42/We57and doing the coding in the inbound function module to handle workflow. But i am still unable to get the workflow item in my inbox. I have set my userid in the partner profile as the agent to receieve the workflow.
    Is there any other config that needs to be done vis-a-vis workflow ? like..assignement of some standard task,etc etc ? The message type I am using for the IDoc is zWMMBXY .
    Pls advice..thanks

    Seetha,
    I have this already..
    IDOCPACKET                                                           
    Object type                         IDPKWMMBXY             
    End event                           MASSINPUTFINISHED      
    IDOC                                                          
    Object type                         IDOCWMMBXY             
    Start event                         INPUTERROROCCURRED     
    End event                           INPUTFINISHED          
    Application object                                                                      
    Object type                         BUS2017                           
    Start event

  • IDoc error handling using workflows

    Hi,
    I have a requirement to generate IDocs in the Source system and process them in the target system. The IDoc message type is HRMD_ABA. And I am using standard processes to generate them and post them using PFAL and RBDAPP01 program respectively.
    All this is working fine. But now I need to include error handling in the source and the target systems which would send mails to a User's Outlook mailbox whenever there is an error. I mean to say, we need more functionality than just monitor them through WE05 transaction.
    Can any one tell me how this can be achieved. I have been looking into the program RSEIDOCA which would send workflows to SAP Inbox, but I need to send it to Outlook Inbox.
    And I have heard that there is a workflow process which would help me to do this.
    All your answers would be highly appreciated.
    Thank you in advance,
    Sid.

    Hi,
    First Step:
    You have to maintain the e-mail-address in SU01 for required users.
    Second Step:
    SCOT Configuration
    Third Step:
    Depends on your SAP Version do configuration SWNADMIN
    Or  excuting the report RSWUWFML2 as the background job.
    Thanks and Regards,
    Prabhakar Dharmala

  • OUTBOUND- ERROR HANDLING USING WORKFLOW

    Hi Gurus,
                   Can any one tell me about workflow & how to do error handling using WORKFLOW in OUTBOUND IDOC.Below are the points , Please check it & send me reply.
    1.Value not found for Custom IDoc fields.
    2. Partner Profile not maintained correctly.
    3. Syntax error in IDoc.
    4. IDoc ready for dispatch (ALE Service).
    Regards,
    Chiranjeevi.

    Hi,
    FOr most of your requirements, there is already std. SAP IDOC error Single-step tasks.
    Have a look at WE46 transaction.
    Also, if you go to SWO1 and search with "IDOC*", you will get all the BO's even.
    It's pretty straightfwd. Also, in Partner Profiles, WE20, for each of the IDOC type, there is one "Post.Processing AGent", whom if you set up correctly, will be the person receiving this Errored IDOC mails.
    Hope this helps
    venu

  • Vendor create process using workflow

    hello,
    I have been assigned a project to desgin a process to automatically create a vendor. below is what I think has to be done. can this be reviewed to see if this is the correct approch and if not, suggest a better approach.
    1) the vendor will sign onto our portal and submit their information to have them created as a vendor in our system. this information will be stored in a custom table
    2) the portal process will have a ABAP program that generates the screen for the user to enter thier data. this program will also start a workflow that will send a notification to a person inside our company for them to review the information and decide weather the vendor can be added.
    3) if the person approves the request, the workflow will submit a process to create the vendor, and send a approval email to the vendor
    4) If the person rejects the process, the workflow will send an rejecction email will be sent to the vendor
    I am in charge of creating the workflow and submitting the vendor create process
    thanks in advance for the help

    Hi Anil
    Take a look at the Workflow collateral located on http://otn.oracle.com/products/integration/content.html.
    I'd also suggest looking at the Sample Workflow Processes included with Oracle Workflow.
    There are also some on demand Oracle iLearning courses (ilearning.oracle.com) which should be very useful for you.
    Cheers
    Mark
    Hi,
    Could anyone give me a case study describing how to create a new process using workflow builder? Where are the notifications saved in the database? Where is the process saved? Give me a general flow of events in the creation of, say a document management process wherein all these details are specified. A document containing the whole flow involved in the creation of a process using workflow builder. What all PL/SQL procedures I need to write and all. I have both workflow server and builder installed.
    This would be of immense help.
    Regards
    Anil

  • Outbound Idoc error handling through workflow

    Hi,
    I am trying to set up the workflow for outbound error handling. I found that there is a task TS00007989 which need to set up.
    How this task can be triggered when outbound idoc error occurs in the system?
    Kr,
    Vithalprasad
    Edited by: Vittalprasad on Jun 9, 2010 11:52 AM

    Hi,
          Have a look
    Outbound IDoc Error Handling via Workflow
    Outbound idoc error handling through workflow

  • IDOC Outbound processing using SAP BC

    Hello Experts,
    I am trying to develop a simple IDOC outbound processing scenario using SAP BC. In this an IDOC from SAP ECC server will be sent to an external webserver via SAP BC, for this i have done all the setup i.e Establishing connection between SAP BC & SAP ECC,  ALE settings, creating a new Routing rule, but when i try to run this scenario, i am getting the following error 'IDocMetaDataUnavailableException: (3) IDOC_ERROR_METADATA_UNAVAILABLE' , is there any way to import the IDOC metadata, just like how we do in SAP XI using IDX2. Please Help...
    Thanks & Regards,
    Amit Naik

    Hi Michal,
    Following is the error which i am getting :-
    2009-03-12 21:56:59 IST com.sap.conn.idoc.IDocMetaDataUnavailableException: (3) IDOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type "" is unavailable.
         at com.sap.conn.idoc.rt.DefaultIDocDocument.<init>(DefaultIDocDocument.java:132)
         at com.sap.conn.idoc.jco.JCoIDocDocument.<init>(JCoIDocDocument.java:74)
         at com.sap.conn.idoc.jco.JCoIDocDocument.createIDocDocument(JCoIDocDocument.java:117)
         at com.sap.conn.idoc.jco.JCoIDocRuntime.createIDocDocumentList(JCoIDocRuntime.java:83)
         at com.sap.conn.idoc.jco.DefaultJCoIDocServerWorker$IDocDispatcher.handleRequest(DefaultJCoIDocServerWorker.java:88)
         at com.sap.conn.jco.rt.DefaultServerWorker.dispatchRequest(DefaultServerWorker.java:141)
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(MiddlewareJavaRfc.java:2621)
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.executePlayback(MiddlewareJavaRfc.java:2298)
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.playbackTRfc(MiddlewareJavaRfc.java:2130)
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.handletRfcRequest(MiddlewareJavaRfc.java:2012)
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:1903)
         at com.sap.conn.jco.rt.DefaultServerWorker.dispatch(DefaultServerWorker.java:258)
         at com.sap.conn.jco.rt.DefaultServerWorker.loop(DefaultServerWorker.java:320)
         at com.sap.conn.jco.rt.DefaultServerWorker.run(DefaultServerWorker.java:219)
         at com.wm.util.TimeWrappingProvider$TimeMesuredTask.run(TimeWrappingProvider.java:40)
         at com.wm.pkg.sap.rfc.ListenerThread.run(ListenerThread.java:70)
    Thanks & Regards,
    Amit

  • Steps for ALE/EDI error handling using workflow

    Hi
    I need to handle errors in outbound IDoc generation using workflow. Can you please let me know the steps to be used for this. Step-by-step answer would be appreciated.
    Thanks

    Seetha,
    I have this already..
    IDOCPACKET                                                           
    Object type                         IDPKWMMBXY             
    End event                           MASSINPUTFINISHED      
    IDOC                                                          
    Object type                         IDOCWMMBXY             
    Start event                         INPUTERROROCCURRED     
    End event                           INPUTFINISHED          
    Application object                                                                      
    Object type                         BUS2017                           
    Start event

  • ALE IDOC Inbound processing using IDOC_INPUT_ORDERS

    Hi experts,
    I am stuck up with IDOC inbound processing.
    Can you please let me know about the process in Receiving Purchase Order from the customer system and creating Sales Order in the SAP system? using FM IDOC_INPUT_ORDERS. I have an Idea about WE20, NACE etc.
    Can you please explain me about the process on how to go about it?
    Kind regards,
    Shiva.

    Hi,
    I have moved this thread from [ABAP, General Forum |ABAP Development; to [Data Transfers Forum|ABAP Connectivity;.
    The forum Data Transfer is the place to discuss LSMW, ALE, BDC, Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
    Please, the next time check the most appropriated forum category before posting. Thus you have more chance to have your question answered !
    Best Regards.
    Marcelo Ramos

  • Idoc Error Handling through workflow

    Hi all,
      I want to send the Error Notification for a particular person for whom the task orders is assigned in the organization chart.
    What all the things I need to do.
      I have created the org chart and I have assigned the task to a user under a position.
      I have linked the Idoc error event in Tcode SWETYPV .
      What  all the things I am supposed to do.
    Regards
    Kumar

    Please go to transction WE20, pick the Partner / Idoc that you would like to assign the Org. chart to.
    Then you should configure "post processing :permitted agent" Tab with the Organizational unit.
    Then double click the process code associated with the Idoc Type and click the button next to the Function Module associated with this process code.
    Check  IDoc Tab and see if Stanard Event INPUTERROROCCURRED is present in the field called start event.

  • Can we chnge segment data of IDOC  while processing using EXITS ?

    Hi All,
    We have requirement that we have to do validations while processing of IDOC i.e. using User EXIT.
    i can access the data and can do validations final i can update the tables data coming from user exit , but I'm not able to update the Segment field data.
    here we can directly update the database  , but i'm not able change the IDOC segment values .
    for example
       FOR cond_a IDOC
    THE USER EXIT==>EXIT_SAPLVKOI_002
    FUNCTION EXIT_SAPLVKOI_002.
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(IDOC_CONTROL) LIKE  EDIDC STRUCTURE  EDIDC
    *"             VALUE(INPUT_METHOD) LIKE  BDWFAP_PAR-INPUTMETHD
    *"       TABLES
    *"              IDOC_DATA STRUCTURE  EDIDD
    *"       EXCEPTIONS
    *"              APPLICATION_ERROR
    i can acess the segement values using IDOC_DATA and validations are done .
    but how can i update this segmnent values that must apper in IDOCS again .if we see in we05.
    Regards
    Nandan.

    Hi Nadan ,
    Yes we can change segment data of an Idoc in the Exits.
    Below is the code to change the Idoc segment data .
    Here I took E1EDK04 as example I read the data from E1EDK04 and I change the segment data
    READ TABLE t_idoc_data INTO is_edidd
    WITH KEY segnam = c_segnam_e1edk04. "#EC *
    IF sy-subrc EQ 0.
    MOVE: is_edidd-sdata TO is_e1edk04.
    ENDIF.
    IF l_betrg = c_betrg.
    is_e1edk04-mwskz = C_TAX20.
    is_e1edk04-txjcd = c_txjcd.
    ELSEIF l_betrg = c_betrg1.
    is_e1edk04-mwskz = C_TAX21.
    is_e1edk04-txjcd = wa_ekpo-txjcd.
    ENDIF.
    LOOP AT t_idoc_data
    WHERE docnum = i_idoc_contrl-docnum.
    CASE t_idoc_data-segnam .
    WHEN c_segnam_e1edk04.
    MOVE is_e1edk04 TO is_edidd-sdata.
    MODIFY t_idoc_data FROM is_edidd.
    ENDCASE.
    ENDLOOP.
    Please let me know if u have any Queries .
    Rgds
    Sree m

  • IDoc Error Processing workflow

    Invoices are posted from SRM to ECC as IDocs whose message type is BBPIV. When there is an error in the IDoc input such as invalid IO and GL, invalid company code etc., these IDocs will be moved to status 51.
    When IDoc is moved to status 51, work item need to be sent to approvers saying this IDoc has an error and need to be corrected. For this a workflow task needs to be developed.
    In our system, there are two types of IDoc invoices sent to ECC. One is of type INVOIC01 and another is of type BBPIV01. There already exists a standard task TS00008057 which is activated for the event INPUTERROROCCURREDMM for IDOCINVOIC object type.
    I shouldn't use the same event (INPUTERROROCCURREDMM) and IDoc object type(IDOCINVOIC) for BBPIV01, because responsible agents for both type of invoices are different in our company.
    Please help us in getting this resolved. Also let me know if my approach is wrong towards this problem.
    Thanks,
    Rajesh

    Hi Rajesh,
    Using the same BOR object and event for two different idoc types is not necessarily wrong. There are ways to differentiate the responsible agents based on the idoc type if needed.
    Here is how I would solve this:
    Prerequisite: you need to make sure that event IDOCINVOIC.INPUTERROROCCURREDMM is triggered when your BBPIV01 iDoc is in error. To check that, you can activate the event trace and test your idoc (activate with tx SWELS, display with tx SWEL).
    If the event does not trigger then you need to find out which event is getting triggered (using the event trace as well).
    Now the serious business:
    1. Create a copy of standard task TS00008057 that will be used for when BBPIV01 iDocs are in error.
    2. Link this task to your event IDOCINVOIC.INPUTERROROCCURREDMM in transaction SWETYPV
    3. Check in SWO1 if you have an attribute that gives the idoc type (or anything else which you can use to determine wich workflow should start in each case).
    If not you need to create a subtype of IDOCINVOIC and in the subtype create an attribute that returns the iDoc type. Then you would need to delegate IDOCINVOIC to your subtype.
    4. Create start conditions (tx SWB_COND) in which you check that TS00008057 starts only when idoctype is INVOIC01 and your new task starts only when idoc type is BBPIV01.
    Cheers,
    Patrick

  • IDoc error handling via WorkFlow. What is missing?

    Hi All,
    My problem is when an error occured I don't receive anything in the Workplace.
    I did the following:
    When I created the process code I gave an object type(based on IDOCAPPL) for the function module's IDoc part. For the start event I gave the INPUTERROROCCURED event and for the end event the INPUTFINISHED.
    I created a standard task where the triggering event is the object type->inputerroroccured and the terminating event is object type->inputfinished and the object method is the object type->inputforeground. I use a standard role with a "Z" function module to determine the agent.
    I tested the role with an IDoc number and it worked. It gave me back a position where is my userid is the only id. The concistency check shows me 2 red line: the missing IDoc Packet section (I think it's not needed) and at the Role assignment (I think it's good so I don't understand this). 
    So, Do you have any idea what is wrong?
    Thanks for your help in advance.
    Regards,
    Gyula

    Hi Gyula
    Can you tell how you are actually raising that event .?
    I assume that you have created a process code and attached it to some function module and therein wherever you are getting error(when you want to trigger workflow) you are raising an event for your object type and its event .
    Since i cant check out your code , it guess you can try setting your task as General Task first to just get sure whether the event linkage is active for event or not and your workflow if at all is really getting triggered or not . If these things work fine with out then certainly your role determination function module needs to be checked.
    Kind Regards
    Shovit

  • BBPIV IDoc Error Processing

    Invoices are posted from SRM to ECC as IDocs whose message type is BBPIV. When there is an error in the IDoc input such as invalid IO and GL, invalid company code etc., these IDocs will be moved to status 51.
    When IDoc is moved to status 51, work item need to be sent to approvers saying this IDoc has an error and need to be corrected. For this a workflow task needs to be developed.
    In our system, there are two types of IDoc invoices sent to ECC. One is of type INVOIC01 and another is of type BBPIV01. There already exists a standard task TS00008057 which is activated for the event INPUTERROROCCURREDMM for IDOCINVOIC object type.
    I shouldn't use the same event (INPUTERROROCCURREDMM) and IDoc object type(IDOCINVOIC) for BBPIV01, because responsible agents for both type of invoices are different in our company.
    Please help us in getting this resolved. Also let me know if my approach is wrong towards this problem.
    Thanks,
    Rajesh

    Use Transaction WE42 to identify the process code that is linked to your idoc type.
    After you identify the process code, go to the detail screen and next to the "Identification" field you will see a button (ALE table). Click this button and it will take you to another detailed screen.
    I assume that your Idoc Processing Type is  via Function Module.
    There will be a separate tab or block called "IDoc"
    Choose the correct Object Type and in the fields Start event and end event configure the following values
    INPUTERROROCCURRED INPUTFINISHED respectively.
    You also need to create a agent (intended users to receive the errored Idocs via SAP Inbox) and map this info back in WE20 transaction.

  • IDOC error when using LSMW+XIF to load business partner data

    Hi experts,
        i have configured the LSMW using idoc type 'CRMXIF_PARTNER_SAVE01', but it gives somes errors like below (LSMW_BP456 is the BP no)
    E  Partner LSMW_BP456 (4A01EE5D47261621E10000000A0A0ACB ): the following err
    W Partner data processed with key PartnerGUID 4A01EE5D47261621E10000000A0A0
    W Partner data processed with key PartnerID LSMW_BP456
    E No update is defined for BP role 000000
    E Validation error occurred: Module CRM_BUPA_MAIN_VAL , BDoc type BUPA_MAIN
    E Error status 'A ' calling validation service
    In fact i have loaded product succesfully using this interface, so i am sure the basic setting is done for XIF interface.
    And i found the error messages come when executing below code in fm 'CRMXIF_PARTNER_SAVE' in debug mode. I am not very familiar with BDOC and it seems that the error occured when processing bdoc.
    call MW flow service synchronous (error handled by caller)*
      IF lv_callmode = 'S' OR lv_callmode IS INITIAL.
        CALL METHOD cl_smw_mflow=>validate
    Any advice ? thanks

    Hi,
    I have looked into the issue. If you are trying to create the BP with general role 000000, i think it might not be possible via LSMW.
    The error message is correct, because role 000000 is indeed not relevant for update because if you can see in the customising Tx BUSD, 'FLAG - Do not update' will be active. This is the reason why you are getting the error message of 'No update is defined for the role 000000'.
    When you insert a partner in role "000000 General Business Partner",the error message "BP role cannot be updated" will be returned. This error message is very specific for this issue. You can create BP in different roles apart from the general role.
    Indeed if you try to change the 'Do not update' flag to inactive state and process the LSMW project you will be able to create the BP but it is strictly not recommended.
    This role is a technical role which exists for the creation of BP, and immediately you will fall back to other roles available for the partner.
    So i feel you need to change the role before you create BP with this role via LSMW.
    I hope this helps.
    Regards,
    Venkat

Maybe you are looking for

  • Persisting crashes with brand new iMac late-2013 27-inch (14,2)

    Please help!!! Last week I purchased the latest iMac late-2013 (14,2) 27 inch with everything top range directly from the Apple Online Store. My configuration in a nutshell is the iMac (of course) with wireless keyboard and magic mouse, attached to i

  • Install Leopard on eMac (USB 2.0)

    Hi I would like to install Leopard on my eMac (USB 2.0) but it doesn't read dual layer DVDs so my Leopard disc gets spat back out by the eMac. Is there another method that will allow me to install Leopard on it?

  • When adding music other than what comes with the theme; can you choose a specific section of the music

    I have added a song to replace the Revolution's theme music.  Is ther a way to set a specific section of the song to play instead of the entire song?

  • Erratic font substitutions

    I use the character palette to insert symbols in Keynote. The font I like is Times (good for math). If I insert the right or left arrows, the wrong symbol get inserted. ← is replaced by [ and → is replaced by ∴ It just doesn't make sense. It does it

  • How to get chapter selections to work correctly

    I made a movie and set 8 chapters using iMovie 06. I have 8 chapters (4 long x 2 tall) and when I test them with iDVD 09 preview, all of the buttons work perfectly. I can navigate left and right and up and down. I then burned an image file and then t