Current Position:Home > Failed IDOC not creating a Workitem

Failed IDOC not creating a Workitem

Update:11-30Source: network consolidation
Advertisement
Hello Experts,
First of its kind scenario I came across.
I have developed a custom inbound IDOC.
This is processed via a custom Function Module.
When some checks fail in the FM, I update the IDOC Status as failed.
I update RETURN_VARIABLES and WORKFLOW_RESULT = '99999' and then EXIT.
The partner profile is configured for inbound message type (custom).
And for the Process code, I have configured the Function Module to the processing FM,
and
Object type    = IDOCAPLL
Start event     = INPUTERROROCCURRED
End event      = INPUTFINISHED
However, when I test the IDOC in WE19 with erronous data, I see the error status in WE02, however
it does not trigger a failed Worklist Item (under  Business Place Workflows)
Any suggestions/solutions experts?
Thanks in advance

The Best Answer

Advertisement
Hi,
Have you tried running a trace with transactions SWELS and SWEL?
Kind regards,
Johan Wigert
  • Failed IDOC not creating a Workitem Update:11-30

    Hello Experts, First of its kind scenario I came across. I have developed a custom inbound IDOC. This is processed via a custom Function Module. When some checks fail in the FM, I update the IDOC Status as failed. I update RETURN_VARIABLES and WORKFL

  • Suggestions for Routing Failed IDOCS Update:11-30

    We are developing an order processing system that receives an order message from a trading partner and creates and ORDERS05 IDOC.  When we hand the IDOC to the SAP business system it might go right into the system as a valid order or might fail for a

  • How to process inbound failed IDOCS Update:11-30

    Hi Guys, Actually in outbound idocs are created with one comapny code, but in inbound idocs are failed with  company code is not availabe i.e, menas outbound company code is not availabe in inbound side. inbound is production system not allowing our

  • Reprocess failed Idoc: new Idoc number? Update:11-30

    Hi, I have a failed Idoc no 4711 with status 51. Now I want to reprocess the same Idoc because the Idoc content was correct opnly a customizing entry (country) was missing. Question: Will the system generate a new Idoc which will have status 53 after

  • Message with IDOC number, created by LSMW, missing in job log in SM37 Update:10-11

    Hi gurus, We have a temporary interface which uses LSMW to create IDOCs and update in SAP. It's used for materials, BOMs and document info records. In LSMW we have defined standard message types MATMAS_BAPI, BOMMAT and DOCUMENT_LOAD for the IDOCs. Al

  • IDOC not created in R/3 Update:10-11

    Hi, I am sending IDOC from XI to R/3 using IDOC Adapter. When I send around 2000 documents(2000 idoc are created in R/3)it works fine and I can see Idoc created in WE02. But When I send more then 6000 documents,IDOCS are not created in R/3.But I can

  • Problem with EJB and JMS - Failed to obtain/create connection Update:10-11

    hello ejb and jms programmers, My problem is my topic MDB keep on retrieving the same message when there is a database connection failure. Maybe somebody could help me how to prevent to retrieve the same data? Given: - I purposedly turn off the point

  • Failed to obtain/create connection from connection pool after redeploy Update:10-11

    I have a web application (.war) that uses a jdbc connection pool. The application works fine, however after I redeploy it using the administration console I get "Failed to obtain/create connection from connection pool [ Datavision_Pool ]. Reason : nu

  • Trigger an Event in PI when IDOC is created Update:10-11

    Hi Expert , I  am working on a inbound scenario where multiple IDOC is created from one XML file .  When the IDOC is getting posted in ECC then its taking time to get processed . IDOC is getting processed by a batch job RBDAPPO1 and it is scheduled a

  • BAPI or IDOC to create the Delivery in R/3 for the SaleOrder created in CRM Update:10-11

    Dear All, When ever I create a sales order and save the sales order in the crm system, an outbound delivery is created in the R/3 system. I have added some new fields in the tables LIKP and LIPS.(related to delivery) Now I have to populate data into