You are on page 1of 4

7/31/2014 SAPTechnical.

COM - ALE - Error handling through workflow


http://www.saptechnical.com/Tutorials/ALE/ErrorHandling/page1.htm 1/4
Search
Home Trai ni ngs Qui z Ti ps Tutori al s Functi onal Cert Q's I ntervi ew Q's Jobs Testi moni al s Adverti se Contact Us
Corporate Trainings
Document Categories:
ABAP
TM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
eCATT
Object Oriented Programming
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAP
TM
Others
What's New?
Inserting data from Internal
Table into the step Send Mail
Display GL Account long text
using enhancement
framework
Differences between
polymorphism in JAVA and
ABAP
Passing multiline parameters
from an ABAP Class event to a
Workflow container
Concept of Re-evaluate agents
for active work items in SAP
Workflow
Dynamic creation of
component usage in ABAP
WebDynpro
Adobe Forms: Display symbols
like copyright and others
Deactivate Hold functionality in
Purchase order (ME21N)
Quiz on OOABAP
Add fields in FBL5N using
BADIs
Tutorial on Wide casting
Defining a Range in Module
Pool Program
Copy fields from one
structure/table into another
structure/table
Side Panel Usage in NWBC
Introduction to SAP Event
Management
Display Statistical Report using
Function Module
Adding Explicit Enhancement
to custom program
Display data dynamically using
Field Symbols
SAP BODS - Beginners guide
Display text vertically (Rotate
text) in Adobe Form
Sending email with multiple
tabs of excel as a single
attachment
Copying Sales Order
attachments to the invoice
Contribute?
ALE - Error handling through workflow
By Abhijit Daptary & Siddharth Samal, Capgemini India
Pre-requisites.
It is assumed that the reader of this article has
some knowledge in SAP workflow BOR objects and
ALE Idoc process like process code, Partner Profile
etc.
Description
Here, we will be discussing in details the Error
handling of an Inbound Idoc through triggering an
event, which in turn will be triggering a workflow
attached to the workflow.
Steps:-
1. Create custom BOR object with the events, Start
and Stop event
2. Create a workflow for the error handling, like generating a notification whenever an error occurred
in the Inbound Idoc.
3. Creation of Function Module and attachment with the Process Code
4. Create the settings for the Inbound Process of the Idoc through the Process Code.
Creation of BOR objects. Go to the transaction SWO1.

Enter a name for the Object type and click CREATE button for creating the custom BOR object.
Enter the details required for creating the BOR objects...

Create the Key fields and events of the BOR object.
For creating the Key fields place the cursor on the Key fields and Click on the Create Button
It's gone. Undo
What was wrong with this ad?
Inappropriate
Repetitive
Irrelevant
Sap Idoc Sap ABAP Sap AG Sap Edi
WebEx
Official Site
webex.com
Meetings: Fast.
Secure. Reliable. Boost
Productivity. Try
WebEx Free!
Gartner BI
Magic
Quadrant
Automated
SAP
Transports
MSC
Industrial
Supply Co.
Game
Development
7/31/2014 SAPTechnical.COM - ALE - Error handling through workflow
http://www.saptechnical.com/Tutorials/ALE/ErrorHandling/page1.htm 2/4
Sample Specs
What's Hot?
Web Dynpro for ABAP Tutorials
Join the Mailing List
Enter name and email address below:
Name:
Email:
Subscribe Unsubscribe
GO

Create events for triggering the workflow and stopping the workflow.
For creating the event place the cursor on the EVENTS and Click the create button like Key fields.
Create two events.
Enter the event name description etc and proceed further to create it.

Similarly create another event for ending the Workflow in the similar manner like that created earlier.

Now, Generate the BOR object through the generate button

Release the EVENTS and subsequently release the BOR object.
Sap AG Sap Edi Sap Fico Sap Jobs
7/31/2014 SAPTechnical.COM - ALE - Error handling through workflow
http://www.saptechnical.com/Tutorials/ALE/ErrorHandling/page1.htm 3/4

After the creation of BOR object
Create a workflow for the generation of notification whenever an error is reached in the Inbound Idoc.
Execute the transaction SWDD.

Click on the CREATE button for creating the workflow for error handling.
Choose the Step type to be inserted for the notification like here we are using Send Mail option for
sending a mail to the user whenever any error occurred.
To continue, click here


Dell Boomi iPaaS
dell.boomi.com/iPaaS-Magic-Quadrant
Dell Boomi is a Gartner MQ
Leader. Get the full iPaaS MQ
report.
7/31/2014 SAPTechnical.COM - ALE - Error handling through workflow
http://www.saptechnical.com/Tutorials/ALE/ErrorHandling/page1.htm 4/4
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
Home Contribute About Us Privacy Terms Of Use Disclaimer Safe Companies: Advertise on SAPTechnical.COM | Post Job Contact Us
2006-2007 SAPTechni cal .COM. Al l ri ghts reserved.
Al l product names are trademarks of thei r respecti ve compani es. SAPTechni cal .COM i s i n no way affi l i ated wi th SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are regi stered trademarks of SAP AG i n Germany and i n several other countri es.
Every effort i s made to ensure content i ntegri ty. Use i nformati on on thi s si te at your own ri sk.
Graphic Design by Round the Bend Wizards

You might also like