0% found this document useful (0 votes)
87 views222 pages

Creating An IDoc File On SAP Application Server - 4

This document is a step-by-step guide to Application Link Enabling (ALE) and Intermediate Documents (IDOCs) in SAP. It covers the processes of outbound and inbound EDI, the structure of IDOCs, and the necessary configurations such as creating RFC connections and logical systems. Additionally, it provides detailed instructions for setting up IDOC processing between different SAP clients.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views222 pages

Creating An IDoc File On SAP Application Server - 4

This document is a step-by-step guide to Application Link Enabling (ALE) and Intermediate Documents (IDOCs) in SAP. It covers the processes of outbound and inbound EDI, the structure of IDOCs, and the necessary configurations such as creating RFC connections and logical systems. Additionally, it provides detailed instructions for setting up IDOC processing between different SAP clients.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 222

7/1/2019 SAPTechnical.

COM - Step-by-step guide to ALE and IDOCs

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite Step-by-step guide to ALE and IDOCs


Trainings By Shankar Reddy Chamala, ITChamps Software

Introduction to EDI and ALE:


Document Categories:
EDI (Electronic Document interchange) - EDI is the electronic exchange of business
documents between the computer systems of business partners, using a standard
ABAPTM
format over a communication network.
Adobe Forms
ABAP-HR
EDI is also called paperless exchange.
ALE & IDocs
ALV
Sap Tutorial Sap Fico Program Sap
BAPI Advantages:
BASIS
BSP Reduced Data entry errors
Business Objects Reduced processing time
Business Workflow Availability of data in electronic form
CRM NEW Reduced paperwork
LSMW Reduced Cost
SAP Script/Smart Forms Reduced inventories and better planning
BI/BW Standard means of communications
eXchange Infrastructure (XI) Better business process
Enterprise Portals (EP)
eCATT
EDI has two process
Object Oriented Programming
1. Outbound process
SAP Query
Userexits/BADIs
2. Inbound process
WebDynpro for Java/ABAPTM
Others Outbound Process:
1.Application document is created.
2. IDOC is generated
What's New? 3.Idoc is transferred from SAP to Operating system layer
4.Idoc is converted into EDI standards
5.Edi document is transmitted to the business partner
ABAP Test Cockpit HOT 6.The Edi Subsystem report status to SAP
SAP ABAP Pragmas
Understanding SE32 (ABAP Text Inbound Process:
Element Maintenance)
Creating an IDoc File on SAP
1.EDI transmission received
Application Server 2.EDI document is converted into an IDOC
Understanding “Advance with 3.IDOC is transferred to the SAP layer
dialog” option of SAP Workflow 4.The application document is created
SAP Workflow Scenario: 5.The application document can be viewed.
Maintenance Notification
Approval
IDOC:
Enhancements to a standard
class IDOC is a container that can be used to exchange data between any two
Working with Floating Field in processes.
Adobe Forms
Inserting data from Internal Table Each IDOC is assigned a unique number for tracking and future reference.
into the step “Send Mail”
Display GL Account long text IDOC consists of several segments, and segments contain several fields.
using enhancement framework
Differences between IDOC contains the following three types of records...
polymorphism in JAVA and 1. One Control Record.
ABAP
Passing multiline parameters
2. One or many Data Record
from an ABAP Class event to a 3. One or many Status record.
Workflow container
Concept of Re-evaluate agents In IDOCs the following terms are to be known.
for active work items in SAP PORT:
Workflow Port is used in the outbound process to determine the name of the EDI subsystem
Dynamic creation of component program, the directory path where the IDOC file will be created at the operating
usage in ABAP WebDynpro
Adobe Forms: Display symbols
system level, the IDOC file names and the RFC destinations.
like copyright and others
Deactivate Hold functionality in RFC Destination:
Purchase order (ME21N) Used to define the characteristics of communication links to a remote system on
Quiz on OOABAP which a functions needs to be executed.
Add fields in FBL5N using BADIs
Tutorial on Wide casting Partner Profile:
Defining a Range in Module Pool Partner profile specified the various components used in an outbound process
Program
Copy fields from one
(Partner number, IDOC type, message type, Port, Process code), the mode in
structure/table into another which it communicates with the subsystem (batch or immediate) and the person to
structure/table be notified in case of errors.
Side Panel Usage in NWBC
Message Control
Used in pricing, account determination, material determination, and output
Contribute? determination. The message control component enables you to encapsulate
business rules with out having to write ABAP programs.

Sample Specs TO Process IDOCS the following TCODES will be used.

Program Sap Sap System Edi Sap


What's Hot?
On both sides:
Web Dynpro for ABAP Tutorials
Logical System Names SALE
Setup RFC destinations SM59
Join the Mailing List Port Destinations WE21

Enter name and email address below: In Source system:


Name:
Segment Creation WE31

saptechnical.com/Tutorials/ALE/Guide/Index.htm 1/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs
Email: Basic IDOC Type Creation WE30

Message Type Creation WE81


Subscribe Unsubscribe
GO Assign Message Type To Basic IDOC Type WE82

Distribution Model BD64

Writing Report Program SE38


Partner Profile WE20
Message control NACE

Check IDOCs WE02, WE05

In Destination System:

Creating FM SE37

Assign FM to Logical Message WE57

Define I/P method for Inbound FM BD51

Create Process Code WE42

Generate Partner Profile BD64

IDOC processing in the same instance of R/3 Clients.

For example two clients in the same R/3 instance.

Client 900.

Client 800.

To transfer the data between two clients the table structures and their data types
should be match.

In this example, Client 900 is Source system, and Client 800 is destination system.

In Client 900 I have created a customized table and inserted some records.

In Client 800 I have created only table.

Common Steps in Both Clients:

Creating the Logical System Names and Assigning to Clients:

Go to TCODE SALE.

IMG path IDoc Interface / Application Link Enabling (ALE) -> Basic Settings ->
Logical Systems -> Define Logical System

Click on Display / Change Button

Click on New Entries

saptechnical.com/Tutorials/ALE/Guide/Index.htm 2/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Specify the Logical System name and description.

Note: Logical System Naming convention is <SID>CLNT<NNN>

Click on Save and Back buttons

Now you will come back to the IMG path screen. Click on Assign Logical System to
client.

Click on Display / Change Button

Click on New Entries

saptechnical.com/Tutorials/ALE/Guide/Index.htm 3/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Click on Save and Back.

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Guide/Index.htm 4/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Step-by-step guide to ALE and IDOCs
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Creating the RFC Connection Names:
SAP Query
Userexits/BADIs
Go to TCODE SALE. Direct TCODE SM59
WebDynpro for Java/ABAPTM
Others
IMG Path IDoc Interface / Application Link Enabling (ALE) -> Communication -> Create
RFC Connections

Sap Tutorial Program Sap Idoc Sap


What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP Text
Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval Click on Create button.
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 Specify all the details in RFC connection screen
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

Contribute?
Click on Logon Security tab and specify the details.
Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:

saptechnical.com/Tutorials/ALE/Guide/Page2.htm 1/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs
Name:

Email:

Subscribe Unsubscribe
GO

Click on the Special options tab and specify the details which you want.

Now click on Test Connection button

It show the connection log in next screen

Click on Back

Click on Remote Logon Button

Guide Sap Process Sap Sap Workflow

Depends upon your settings the destination client will open. If you check the Current user
option under Logon/ Security tab, then it will show the screen directly without asking the
user name and password details.

saptechnical.com/Tutorials/ALE/Guide/Page2.htm 2/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Creating RFC ports:

Go to TCODE WE21

Select the Transactional RFC in left side tree and click on Create button

In dialog box you can select either Generate port name or own port name. If you select
Generate Port name system will generate automatically. Here I selected Own port name.
Click on continue.

Specify the description and RFC destination name.

Click on Save.

saptechnical.com/Tutorials/ALE/Guide/Page2.htm 3/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Repeat the same above process in other client. By using opposite client instead of 900
specify 800.

In Client 900 steps:

Creating table structure:

ð Go to TCODE SE11.

ð Specify table name as ZSTUDENTS.

ð In Delivery and Maintenance tab set attributes as “Display Maintenance Allowed”

ð The table fields are.

ð Insert some records in table.

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Guide/Page2.htm 4/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Step-by-step guide to ALE and IDOCs
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Creating the RFC Connection Names:
SAP Query
Userexits/BADIs
Go to TCODE SALE. Direct TCODE SM59
WebDynpro for Java/ABAPTM
Others
IMG Path IDoc Interface / Application Link Enabling (ALE) -> Communication -> Create
RFC Connections

Sap Tutorial Program Sap Idoc Sap


What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP Text
Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval Click on Create button.
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 Specify all the details in RFC connection screen
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

Contribute?
Click on Logon Security tab and specify the details.
Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:

saptechnical.com/Tutorials/ALE/Guide/Page2.htm 1/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs
Name:

Email:

Subscribe Unsubscribe
GO

Click on the Special options tab and specify the details which you want.

Now click on Test Connection button

It show the connection log in next screen

Click on Back

Click on Remote Logon Button

Guide Sap Process Sap Sap Workflow

Depends upon your settings the destination client will open. If you check the Current user
option under Logon/ Security tab, then it will show the screen directly without asking the
user name and password details.

saptechnical.com/Tutorials/ALE/Guide/Page2.htm 2/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Creating RFC ports:

Go to TCODE WE21

Select the Transactional RFC in left side tree and click on Create button

In dialog box you can select either Generate port name or own port name. If you select
Generate Port name system will generate automatically. Here I selected Own port name.
Click on continue.

Specify the description and RFC destination name.

Click on Save.

saptechnical.com/Tutorials/ALE/Guide/Page2.htm 3/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

ABAP Data ABAP Netweaver ABAP Objects

Repeat the same above process in other client. By using opposite client instead of 900
specify 800.

In Client 900 steps:

Creating table structure:

ð Go to TCODE SE11.

ð Specify table name as ZSTUDENTS.

ð In Delivery and Maintenance tab set attributes as “Display Maintenance Allowed”

ð The table fields are.

ð Insert some records in table.

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Guide/Page2.htm 4/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Step-by-step guide to ALE and IDOCs
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Creating IDOC Segments:
SAP Query
Userexits/BADIs
Go to TCODE WE31.
WebDynpro for Java/ABAPTM
Others
Specify a name and Click on Create Button.

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP Text
Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
Inserting data from Internal Table
into the step “Send Mail” Here specify all the ZSTUDENTS table fields and their types as shown below.
Display GL Account long text
using enhancement framework VBA Code Sap Tutorial Program Sap
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

Contribute? Click on SAVE button, then it will show dialog box with user name, press
continue.
Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

saptechnical.com/Tutorials/ALE/Guide/Page3.htm 1/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs
Email:

Subscribe Unsubscribe
GO

Specify your package name and click on save.

Specify your request and press “Continue”.

Click on Back button, and then you will see the created segment.

Creating Basic IDOC Type:

Bi Sap Guide Sap Oracle Sap

Go to TCODE WE30

Specify a name to your IDOC and click on create button.

saptechnical.com/Tutorials/ALE/Guide/Page3.htm 2/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs
In next dialog box select create new option and specify the description of IDOC
and click on continue.

Click on Create segment in the screen.

In dialog box specify the segment name which you created and check
mandatory check box.

Click on SAVE and BACK button.

Go to menu EDIT ->Click Set Release

In next dialog box, click on Yes.

ABAP Sap ABAP Data ABAP Netweaver

saptechnical.com/Tutorials/ALE/Guide/Page3.htm 3/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs
Creating Message Type:

Go to TCODE WE81.

Click on Display / Change button.

Click on New Entries button.

Specify a message type name and Description and click on SAVE button.

Click on Back and Save

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Guide/Page3.htm 4/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Step-by-step guide to ALE and IDOCs
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Assign Message Type to Basic IDOC Type:
SAP Query
Userexits/BADIs
Go to TCODE WE82
WebDynpro for Java/ABAPTM
Others
Click on Display / Change Button

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP Text
Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
Inserting data from Internal
Table into the step “Send Mail” Click on New Entries, Specify the Message Type and Basic IDOC Type and Release
Display GL Account long text version. Click on Save.
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 Click on Back.

Note:
Contribute? ð Here the Release version you can find in this way

Creating Model View and Distributing and Generating Partner profile:


Sample Specs
Go to TCODE BD64

What's Hot? Click on Display/ Change button

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:

saptechnical.com/Tutorials/ALE/Guide/Page4.htm 1/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs
Name:

Email:

Subscribe Unsubscribe
GO

Click on Edit menu -> Model View -> Create

Specify description of model view and technical name in dialog box and press
continue.

Select your model view and click on Edit menu -> Add Message type

In dialog box specify the sender, receiver, message type and click on continue.

saptechnical.com/Tutorials/ALE/Guide/Page4.htm 2/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Now your Model View looks like

Click on Environment Menu -> Generate Partner profile

It will show the following screen, click on execute.

It will show the partner profile log in next screen.

saptechnical.com/Tutorials/ALE/Guide/Page4.htm 3/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Click on Back button 2 times, it will take back to Distribution Model screen.

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Guide/Page4.htm 4/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Step-by-step guide to ALE and IDOCs
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Click on Edit Menu -> Model View -> Distribute.
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
Inserting data from Internal
Table into the step “Send Mail”
Display GL Account long text
using enhancement framework In displayed dialog box select the partner system and click continue
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

Contribute?

Sample Specs Then it will show the Log of Model View Distribution.

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Click on Back button.
Name:
To check partner profile Go to TCODE WE20
Email:
In displayed screen select the partner system in left side tree under Partner Type LS.

saptechnical.com/Tutorials/ALE/Guide/Page5.htm 1/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs
Subscribe Unsubscribe
GO

Write a Report Program in SE38 to create IDOC control records and transfer it to
destination partner system.

The following is the program to generate the IDOC control records and process it.
*&---------------------------------------------------------------------*
*& Report ZSHAN_IDOC_STUD
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

REPORT ZSHAN_IDOC_STUD.
TABLES: ZSTUDENTS.

DATA : S_CTRL_REC LIKE EDIDC, "Idoc Control Record


S_ZSHSTUSEG LIKE ZSHSTUSEG. "CUSTOMER Header Data
DATA : T_ZSTUDENTS LIKE ZSTUDENTS OCCURS 0 WITH HEADER LINE.
DATA : T_EDIDD LIKE EDIDD OCCURS 0 WITH HEADER LINE. "Data Records
DATA : T_COMM_IDOC LIKE EDIDC OCCURS 0 WITH HEADER LINE. "Generated Communication IDOc

CONSTANTS :C_ZSHSTUSEG LIKE EDIDD-SEGNAM VALUE 'ZSHSTUSEG'.


CONSTANTS: C_IDOCTP LIKE EDIDC-IDOCTP VALUE 'ZSHSTUDIDOCS'.

*** Selection Screen


SELECT-OPTIONS : S_STUID FOR ZSTUDENTS-ZSTUID OBLIGATORY.

PARAMETERS : C_MESTYP LIKE EDIDC-MESTYP DEFAULT 'ZSHSTUDMT', "Message Type


C_RCVPRT LIKE EDIDC-RCVPRT DEFAULT 'LS', "Partner type of receiver
C_LOGSYS LIKE EDIDC-RCVPRN DEFAULT 'IT3CLNT800',
C_RCVPOR LIKE EDIDC-RCVPOR DEFAULT 'PORTSH800',
C_SNDPRN LIKE EDIDC-SNDPRN DEFAULT 'IT3CLNT900',
C_SNDPRT LIKE EDIDC-SNDPRT DEFAULT 'LS'. "Destination System
***START-OF-SELECTION
START-OF-SELECTION.
PERFORM GENERATE_DATA_RECORDS.
PERFORM GENERATE_CONTROL_RECORD.
PERFORM SEND_IDOC.

*&---------------------------------------------------------------------*
*& Form GENERATE_DATA_RECORDS
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
FORM GENERATE_DATA_RECORDS .

SELECT * FROM ZSTUDENTS


INTO TABLE T_ZSTUDENTS
WHERE ZSTUID IN S_STUID.

IF SY-SUBRC NE 0.
MESSAGE E398(00) WITH 'No Students Found'.
ENDIF.

PERFORM ARRANGE_DATA_RECORDS.

ENDFORM. " GENERATE_DATA_RECORDS


*&---------------------------------------------------------------------*
*& Form GENERATE_CONTROL_RECORD
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
FORM GENERATE_CONTROL_RECORD .

S_CTRL_REC-RCVPOR = C_RCVPOR. "Receiver Port


S_CTRL_REC-MESTYP = C_MESTYP. "Message type
S_CTRL_REC-IDOCTP = C_IDOCTP. "Basic IDOC type
S_CTRL_REC-RCVPRT = C_RCVPRT. "Partner type of receiver
S_CTRL_REC-RCVPRN = C_LOGSYS. "Partner number of receiver
S_CTRL_REC-SNDPRT = C_SNDPRT. "Sender Partner type
S_CTRL_REC-SNDPRN = C_SNDPRN. "Sender Partner Number

ENDFORM. " GENERATE_CONTROL_RECORD


*&---------------------------------------------------------------------*
*& Form SEND_IDOC
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text

saptechnical.com/Tutorials/ALE/Guide/Page5.htm 2/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs
*----------------------------------------------------------------------*
FORM SEND_IDOC .
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
MASTER_IDOC_CONTROL = S_CTRL_REC
* OBJ_TYPE = ''
* CHNUM = ''
TABLES
COMMUNICATION_IDOC_CONTROL = T_COMM_IDOC
MASTER_IDOC_DATA = T_EDIDD
EXCEPTIONS
ERROR_IN_IDOC_CONTROL = 1
ERROR_WRITING_IDOC_STATUS = 2
ERROR_IN_IDOC_DATA = 3
SENDING_LOGICAL_SYSTEM_UNKNOWN = 4
OTHERS = 5
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
COMMIT WORK.
LOOP AT T_COMM_IDOC.
WRITE:/ 'IDoc Generated - ', T_COMM_IDOC-DOCNUM.
ENDLOOP.

ENDIF.

ENDFORM. " SEND_IDOC

*&---------------------------------------------------------------------*
*& Form ARRANGE_DATA_RECORDS
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
FORM ARRANGE_DATA_RECORDS .
DATA: W_INDEX1 LIKE SY-TABIX,
W_INDEX2 LIKE SY-TABIX.

SORT T_ZSTUDENTS BY ZSTUID.

LOOP AT T_ZSTUDENTS.
S_ZSHSTUSEG-ZSTUID = T_ZSTUDENTS-ZSTUID.
S_ZSHSTUSEG-ZSNAME = T_ZSTUDENTS-ZSNAME.

T_EDIDD-SEGNAM = C_ZSHSTUSEG.
T_EDIDD-SDATA = S_ZSHSTUSEG.

APPEND T_EDIDD.
CLEAR T_EDIDD.
ENDLOOP.

ENDFORM. " ARRANGE_DATA_RECORDS

Now execute the program, and specify the range of records to transfer

Go to TCODE WE02 to check the generated IDOC control records.

Click on Execute

saptechnical.com/Tutorials/ALE/Guide/Page5.htm 3/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Guide/Page5.htm 4/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Step-by-step guide to ALE and IDOCs
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
In Client 800 Steps:
SAP Query
Userexits/BADIs
Function Module Creation:
WebDynpro for Java/ABAPTM
Others
Create a Function Module to update the table from the IDOC segments

Go to SE37
What's New? Specify a name and click on create.

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP Text
Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in In dialog box specify function group and description, and click on save.
Adobe Forms
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 Specify the Import parameters in Import tab
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

Contribute?

Sample Specs
Specify the Export parameters in Export tab

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

saptechnical.com/Tutorials/ALE/Guide/Page6.htm 1/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs
Email:

Subscribe Unsubscribe
GO

Specify the Table parameters in Tables tab

Specify the Exceptions in Exception tab

Click on Source code Tab.

Write the following code in Source code tab.


FUNCTION ZSHAN_IDOC_ZSHSTUDMT.
*"--------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(INPUT_METHOD) LIKE BDWFAP_PAR-INPUTMETHD
*" REFERENCE(MASS_PROCESSING) LIKE BDWFAP_PAR-MASS_PROC
*" EXPORTING
*" REFERENCE(WORKFLOW_RESULT) LIKE BDWF_PARAM-RESULT
*" REFERENCE(APPLICATION_VARIABLE) LIKE BDWF_PARAM-APPL_VAR
*" REFERENCE(IN_UPDATE_TASK) LIKE BDWFAP_PAR-UPDATETASK
*" REFERENCE(CALL_TRANSACTION_DONE) LIKE BDWFAP_PAR-CALLTRANS
*" TABLES
*" IDOC_CONTRL STRUCTURE EDIDC
*" IDOC_DATA STRUCTURE EDIDD
*" IDOC_STATUS STRUCTURE BDIDOCSTAT
*" RETURN_VARIABLES STRUCTURE BDWFRETVAR
*" SERIALIZATION_INFO STRUCTURE BDI_SER
*" EXCEPTIONS
*" WRONG_FUNCTION_CALLED
*"--------------------------------------------------------------------

* Include File containing ALE constants


INCLUDE MBDCONWF.

TABLES : ZSTUDENTS.

DATA : W_ZSHSTUSEG LIKE ZSHSTUSEG.


DATA : T_ZSTUDENTS LIKE ZSTUDENTS OCCURS 0 WITH HEADER LINE.

WORKFLOW_RESULT = C_WF_RESULT_OK.

saptechnical.com/Tutorials/ALE/Guide/Page6.htm 2/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs
LOOP AT IDOC_CONTRL.
IF IDOC_CONTRL-MESTYP NE 'ZSHSTUDMT'.
RAISE WRONG_FUNCTION_CALLED.
ENDIF.
* Before reading a new entry, clear application buffer
LOOP AT IDOC_DATA WHERE DOCNUM EQ IDOC_CONTRL-DOCNUM.
W_ZSHSTUSEG = IDOC_DATA-SDATA.
MOVE-CORRESPONDING W_ZSHSTUSEG TO T_ZSTUDENTS.
INSERT INTO ZSTUDENTS VALUES T_ZSTUDENTS.
ENDLOOP.

UPDATE ZSTUDENTS FROM T_ZSTUDENTS.

IF SY-SUBRC EQ 0.
IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.
IDOC_STATUS-STATUS = '53'.
IDOC_STATUS-MSGTY = 'I'.
IDOC_STATUS-MSGID = 'YM'.
IDOC_STATUS-MSGNO = '004'.
IDOC_STATUS-MSGV1 = T_ZSTUDENTS-ZSTUID.
APPEND IDOC_STATUS.
CLEAR IDOC_STATUS.
ELSE.
IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.
IDOC_STATUS-STATUS = '51'.
IDOC_STATUS-MSGTY = 'E'.
IDOC_STATUS-MSGID = 'YM'.
IDOC_STATUS-MSGNO = '005'.
IDOC_STATUS-MSGV1 = T_ZSTUDENTS-ZSTUID.
APPEND IDOC_STATUS.
CLEAR IDOC_STATUS.
WORKFLOW_RESULT = C_WF_RESULT_ERROR.
RETURN_VARIABLES-WF_PARAM = 'Error_Idocs'.
RETURN_VARIABLES-DOC_NUMBER = IDOC_CONTRL-DOCNUM.
APPEND RETURN_VARIABLES.
CLEAR RETURN_VARIABLES.
ENDIF.
ENDLOOP.

ENDFUNCTION.

Click on Save and Activate.

Assign FM to Logical Message:

Go to TCODE WE57

Click on Display / Change button.

Click on New Entries Button

Specify created FM name, Function Type, Basic Type (IDOC), Message Type,
and Direction and click on SAVE button.

saptechnical.com/Tutorials/ALE/Guide/Page6.htm 3/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Click on Back button.

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Guide/Page6.htm 4/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Step-by-step guide to ALE and IDOCs
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Define Input Method for Inbound Function Module:
SAP Query
Userexits/BADIs
Go to TCODE BD51
WebDynpro for Java/ABAPTM
Others
Click on Display / Change button

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP Text
Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
Inserting data from Internal Table
into the step “Send Mail”
Display GL Account long text
Click on New Entries
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
Specify FM name and Input Types as 2. And Click on Save and Back buttons.

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

saptechnical.com/Tutorials/ALE/Guide/Page7.htm 1/3
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs
Email: Creating Process Code:

Go to TCODE WE42
Subscribe Unsubscribe
GO Click on Display / Change Button

Click on New Entries button

Specify a process code name, Description and select the options processing
with ALE services, Processing by Function Module.

Click on save button

In next screen select the FM name and click on SAVE button and Click on BACK
button.

It will take to you previous screen. Double Click on Logical Message in left side
tree.

saptechnical.com/Tutorials/ALE/Guide/Page7.htm 2/3
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Click on Display / Change button

Click on New Entries button

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Guide/Page7.htm 3/3
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Step-by-step guide to ALE and IDOCs
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Specify the Message Type and Click on Save button
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP Text
Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval Click on Back button
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 Generating the Partner Profile:
Tutorial on Wide casting
Defining a Range in Module Pool Go to TCODE BD64.
Program
Copy fields from one
structure/table into another
Select the Model View which you distributed in client 900.
structure/table
Side Panel Usage in NWBC

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:

saptechnical.com/Tutorials/ALE/Guide/Page8.htm 1/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs
Name:

Email:

Subscribe Unsubscribe
GO

Click on Environment Menu -> Generate Partner Profile

It will show the next screen, in that click on Execute button

It will show the Partner Profile details

To check the partner profile details. Go to TCODE WE20. Select the partner system
name.

saptechnical.com/Tutorials/ALE/Guide/Page8.htm 2/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Transferring the IDOC control records from Client 900 to 800:

In source system, go to TCODE SE38. (In client 900)

Execute the Report program which you created.

Check in Destination System: (Here client 800)

Go to TCODE WE02

Check in ZSTUDENTS table in SE11.

saptechnical.com/Tutorials/ALE/Guide/Page8.htm 3/4
7/1/2019 SAPTechnical.COM - Step-by-step guide to ALE and IDOCs

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Guide/Page8.htm 4/4
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite ALE-IDOC Scenario using Custom IDOC


Trainings By Sachin Dabhade

Aim: Transfer the data from one system to another using user customized IDOC.
Document Categories:
Sender System:
ABAPTM Server: 172.25.8.185
Adobe Forms
ABAP-HR Client: 200
ALE & IDocs
ALV Data from Z table: zsach1
BAPI
BASIS ReceiverSystem:
BSP
Business Objects Server: 172.25.9.198
Business Workflow
CRM NEW Client: 800
LSMW
SAP Script/Smart Forms Data from Z table: zsach1
BI/BW
eXchange Infrastructure (XI) Data is fetched from Z table on the sender
Enterprise Portals (EP) system and inserted it in the Z table of
eCATT Receiver system using ALE/IDOC.
Object Oriented Programming
SAP Query
Userexits/BADIs Settings on the Sender End
WebDynpro for Java/ABAPTM
Others Table Creation T – Code SE11. The table contains data that is to be sent to Receiver.

What's New? ALE Configuration

T-Code – SALE
ABAP Test Cockpit HOT
SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 Defining Logical System
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 Sap Tutorial ABAP Netweaver ABAP Objects
Defining a Range in Module
Pool Program
Copy fields from one
200 is our sender
structure/table into another
structure/table 800 is our receiver
Side Panel Usage in NWBC
Assigning Client to Logical System

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page1.htm 1/3
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC
Subscribe Unsubscribe
GO

200 is our sender

800 is our receiver

Defining Target System for RFC Calls (Tcode – SM59)

Click on R/3 Connections and then Create TAB

Step 1

ABAP Netweaver Advance Java App Create How

Step 2

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page1.htm 2/3
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC

Save and test the connection.

Defining Port

The sender system is connected to the receiver system through this Port.

Continued...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page1.htm 3/3
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
ALE-IDOC Scenario using Custom IDOC
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming Defining Partner Profiles
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 The partner for client 200(Sender) is the client 800 (Receiver)
from an ABAP Class event to a
Workflow container
Concept of Re-evaluate agents
Since this is a sender we have to define only Outbound Parameters in this case.
for active work items in SAP
Workflow Here you can see the Message type is Z message type.
Dynamic creation of component
usage in ABAP WebDynpro 2. Maintaining Distribution Model ( TCode BD64 )
Adobe Forms: Display symbols
like copyright and others Sap Tutorial Idoc Sap Bi Sap
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page2.htm 1/3
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC
Subscribe Unsubscribe Create new Distribution Model
GO

Add Message Type

Sap Using Sap Workflow Edi Sap

Now Distribute this Model View

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page2.htm 2/3
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC

Distribute it from Edit à Model View à Distribute

Continued...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page2.htm 3/3
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite ALE-IDOC Scenario using Custom IDOC


Trainings ...Previous

Document Categories: Defining the Z Segment type

ABAPTM Tcode – WE31


Adobe Forms
ABAP-HR Sap Tutorial Code Sap ABAP Data
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/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP Defining the Basic Type
Application Server
Understanding “Advance with
dialog” option of SAP Workflow T Code WE30
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 Click on New
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page3.htm 1/3
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC
Subscribe Unsubscribe This will take you to next screen as follows
GO

Here you have connected the basic type to the segment type.

Enter again and this will take you to screen as follows

ABAP Netweaver ABAP Oops ABAP Sap

This shows the relation between the basic and the segment types.

Next you need to make the entry of the segment in the system table.

Tcode : WE81

Next is the following entry which is required.

Here you are specifying the message type and the basic type and the release version.

This is all about the configuration you need to do on the sender side.

Now on the sender side you also need a program that will fetch the required data, couple it
in the IDOC format and post it.

Here is a small piece of code that could be useful.

*&---------------------------------------------------------------------*
*& Report ZSACH_CUST_IDOC *
*& *
*&---------------------------------------------------------------------*
*& *
*& *
*&---------------------------------------------------------------------*

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page3.htm 2/3
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC
report zsach_cust_idoc .
parameters : p_logsys like tbdlst-logsys.

data : gen_segment like edidd-segnam value 'ZSACH'.


data : control_dat like edidc,
gen_data like z1hdr .

tables :zsach1.
data: begin of inttab occurs 0,
lname type z1hdr-lname,
fname type z1hdr-fname,
end of inttab.
data :
int_edidd like edidd occurs 0 with header line,
int_edidc like edidc occurs 0 with header line.
select * from zsach1 into corresponding fields of table inttab.

if sy-subrc ne 0.
message 'no data' type 'I'.
exit.
endif.
control_dat-mestyp = 'ZSACH'.
control_dat-idoctp = 'ZSACH'.
control_dat-rcvprt = 'LS'.
control_dat-rcvprn = p_logsys.

loop at inttab.
gen_data-lname = inttab-lname.
gen_data-fname = inttab-fname.
* GEN_DATA-SSN = INTTAB-SSN.
* GEN_DATA-DOB = INTTAB-DOB.
int_edidd-segnam = gen_segment.
int_edidd-sdata = gen_data.
append int_edidd.
endloop.
call function 'MASTER_IDOC_DISTRIBUTE'
exporting
master_idoc_control = control_dat
* OBJ_TYPE = ''
* CHNUM = ''
tables
communication_idoc_control = int_edidc
master_idoc_data = int_edidd
exceptions
error_in_idoc_control =1
error_writing_idoc_status =2
error_in_idoc_data =3
sending_logical_system_unknown =4
others =5
.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno.
else.
loop at int_edidc.
write :/ 'IDOC GENERATED',int_edidc-docnum.
endloop.
commit work.
endif.

Continued...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page3.htm 3/3
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
ALE-IDOC Scenario using Custom IDOC
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Settings on the receiver side.
SAP Query
Userexits/BADIs
The ALE configuration is same as we did it on the sender side. Please refer to earlier pages.
WebDynpro for Java/ABAPTM
Others
The receiver specific differences are mentioned below.

T-Code – SALE
What's New?
200 is our sender
ABAP Test Cockpit HOT
SAP ABAP Pragmas
800 is our receiver
Understanding SE32 (ABAP
Text Element Maintenance)
Steps
Creating an IDoc File on SAP
Application Server
Understanding “Advance with Defining Logical System (Same as sender)
dialog” option of SAP Workflow
SAP Workflow Scenario: Assigning Client to Logical System (Same as sender)
Maintenance Notification
Approval Defining Target System for RFC Calls (Tcode – SM59) (Same as sender)
Enhancements to a standard
class
Working with Floating Field in Defining Port(Same as sender)
Adobe Forms
Inserting data from Internal
Table into the step “Send Mail”
Defining Partner Profiles – Here we are accepting the data from Sender system. Hence we need
Display GL Account long text to configure it as Inbound.
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page4.htm 1/4
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC
Subscribe Unsubscribe
GO

Click on the sign above to go to next screen.

Here the message type is to be created again as it was created on the sender side.

The following steps are repeated, as done on the sender side, on the receiver end

Tcode WE30

Tcode WE31

Tcode WE82

Tcode WE81

Here on the receiver end, we need to specify a process code at the time of defining the partner
profile.

Process code is something that has the logic defined about what to be done after receiving the
IDOC.

In our case, on receipt of the IDOC, we are updating the Z Table. i.e Inserting the data from the
IDOC into the Z Table.

Creating a Process Code

Tcode – WE42

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page4.htm 2/4
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC

The logic associated is coded in the Function Module which is specified in the Identification
Field above.

Also the processing type is selected as Processing by Function Module as above.

The function Module is specified in the following screen.

To have your function Module in the above drop down list, the entry is to be made using the following
transaction

TCode – BD51

Once the entry is done here, the function module appears in the drop down list in the previous
stage.

Continued...

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page4.htm 3/4
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page4.htm 4/4
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
ALE-IDOC Scenario using Custom IDOC
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Also it is important to make the following entry
SAP Query
Userexits/BADIs
Tcode WE57
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms Function Module will look something as below:
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page5.htm 1/3
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC
Subscribe Unsubscribe
GO

Source Code
function z_idoc_input_sach .
*"----------------------------------------------------------------------
*"*"Local interface:
*" IMPORTING
*" VALUE(INPUT_METHOD) LIKE BDWFAP_PAR-INPUTMETHD
*" VALUE(MASS_PROCESSING) LIKE BDWFAP_PAR-MASS_PROC
*" VALUE(NO_APPLICATION_LOG) LIKE SY-DATAR OPTIONAL
*" VALUE(MASSSAVEINFOS) LIKE MASSSAVINF STRUCTURE MASSSAVINF
*" OPTIONAL
*" EXPORTING
*" VALUE(WORKFLOW_RESULT) LIKE BDWF_PARAM-RESULT
*" VALUE(APPLICATION_VARIABLE) LIKE BDWF_PARAM-APPL_VAR
*" VALUE(IN_UPDATE_TASK) LIKE BDWFAP_PAR-UPDATETASK
*" VALUE(CALL_TRANSACTION_DONE) LIKE BDWFAP_PAR-CALLTRANS
*" TABLES
*" IDOC_CONTRL STRUCTURE EDIDC
*" IDOC_DATA STRUCTURE EDIDD
*" IDOC_STATUS STRUCTURE BDIDOCSTAT
*" RETURN_VARIABLES STRUCTURE BDWFRETVAR
*" SERIALIZATION_INFO STRUCTURE BDI_SER
*" EXCEPTIONS
*" WRONG_FUNCTION_CALLED
*"----------------------------------------------------------------------

include mbdconwf.
data : it_emp_data like zsach1 occurs 0 with header line.
data : gen_data like zsach1 .
workflow_result = c_wf_result_ok.
data : counter type int4.

select count( * ) from zsach1 into counter.


counter = counter + 1.
loop at idoc_contrl.

if idoc_contrl-mestyp ne 'ZSACH'.
raise wrong_function_called.
endif.
clear gen_data.
refresh it_emp_data.
loop at idoc_data where docnum eq idoc_contrl-docnum.

if idoc_data-segnam = 'ZSACH'.
gen_data = idoc_data-sdata.
it_emp_data-mandt = counter.
it_emp_data-lname = gen_data-lname.
it_emp_data-fname = gen_data-fname.

counter = counter + 1.
append it_emp_data.
else.
message 'ERROR' type 'I'.
endif.

endloop.
endloop.
insert zsach1 from table it_emp_data.
*****
call function 'EDI_DOCUMENT_OPEN_FOR_EDIT'
exporting
document_number = idoc_data-docnum
importing
idoc_control = idoc_contrl
tables
idoc_data = idoc_data
exceptions
document_foreign_lock =1
document_not_exist =2
document_not_open =3
status_is_unable_for_changing = 4
others = 5.

call function 'EDI_CHANGE_DATA_SEGMENTS'


tables
idoc_changed_data_range = idoc_data
exceptions
idoc_not_open =1
data_record_not_exist = 2
others = 3.
data t_itab_edids40 like edi_ds40 occurs 0 with header line.

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page5.htm 2/3
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC
clear t_itab_edids40.
t_itab_edids40-docnum = idoc_data-docnum.
t_itab_edids40-status = '51'.
t_itab_edids40-repid = sy-repid.
t_itab_edids40-tabnam = 'EDI_DS'.
t_itab_edids40-mandt = sy-mandt.
t_itab_edids40-stamqu = 'SAP'.
t_itab_edids40-stamid = 'B1'.
t_itab_edids40-stamno = '999'.
t_itab_edids40-stapa1 = 'Sold to changed to '.
*t_itab_edids40-stapa2 = t_new_kunnr.
t_itab_edids40-logdat = sy-datum.
t_itab_edids40-logtim = sy-uzeit.
append t_itab_edids40.
call function 'EDI_DOCUMENT_CLOSE_EDIT'
exporting
document_number = idoc_data-docnum
do_commit = 'X'
do_update = 'X'
write_all_status = 'X'
tables
status_records = t_itab_edids40
exceptions
idoc_not_open = 1
db_error =2
others = 3.
endfunction.

Continued...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page5.htm 3/3
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
ALE-IDOC Scenario using Custom IDOC
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Running the Application
SAP Query
Userexits/BADIs
Sender system
WebDynpro for Java/ABAPTM
Others
Execute the program we created earlier

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
Inserting data from Internal
Table into the step “Send Mail”
Display GL Account long text Checking the IDOC
using enhancement framework
Differences between
polymorphism in JAVA and T Code WE02
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

Contribute?

Sample Specs

What's Hot?
Checking the data on the Receiver end
Web Dynpro for ABAP Tutorials
Tcode: WE02
Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page6.htm 1/2
7/1/2019 SAPTechnical.COM - ALE-IDOC Scenario using Custom IDOC
Subscribe Unsubscribe
GO

The IDOC has arrived here

Checking the Data

Double click on the IDOC

Checking the Database

This way, the data has come to the receiver end successfully.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/DataDistributeCustomIDOC/page6.htm 2/2
7/1/2019 SAPTechnical.COM - Distribute Master Data (Outbound)

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Distributing Master Data (Outbound)
eXchange Infrastructure (XI)
Enterprise Portals (EP)
By Sarang Kahu
eCATT
Object Oriented Programming
Master data can be distributed in two ways. In both case the IDOC receives data
SAP Query for only one master data object.
Userexits/BADIs
WebDynpro for Java/ABAPTM 1. Master data object sent directly
Others
This process sends the entire data of the master objects.

This is done by triggering a report program starting with RBDSEXXX where XXX
What's New? is the first three characters of the message type. Example for message type
MATMAS the program is RBDSRMAT. For DEBMAS the program is RBDSEDEB
ABAP Test Cockpit HOT and so on.
SAP ABAP Pragmas
Understanding SE32 (ABAP Text Inside the report programs a function module is called which is responsible for
Element Maintenance) generating and dispatching the IDOC for the master data. The naming
Creating an IDoc File on SAP convention for the function module is MASTERIDOC_CREATE_REQ__XXXXX
Application Server where XXXXX is the name of the message type.
Understanding “Advance with
dialog” option of SAP Workflow
The function module executes the change pointers and generates IDOC in the
SAP Workflow Scenario:
Maintenance Notification following manner
Approval
Enhancements to a standard Creates IDOC for each master data objects where the first field of each
class segment MSGFN is ‘005’.
Working with Floating Field in Pass the IDOC to the ALE layer by calling the function module MASTER
Adobe Forms IDOC_DISTRIBUTE.
Inserting data from Internal Table
into the step “Send Mail”
Executes COMMIT WORK and calls DEQUEUE_ALL Function module
Display GL Account long text
using enhancement framework
Differences between
2. Master data is distributed using SMD tool (Shared master data tool)
polymorphism in JAVA and
ABAP The SMD tools logs changes to a master data using changed pointers. Changed
Passing multiline parameters document should be written whenever the master data is changed or created or
from an ABAP Class event to a deleted. Only changed data is written to the IDOC, send to the ALE layer and
Workflow container dispatched to the other system.
Concept of Re-evaluate agents
for active work items in SAP
Workflow For example when a modification is recorded in customer information (VD02
Dynamic creation of component transaction), an entry is saved in BDCPS or BDCP2 table, it depends on the
usage in ABAP WebDynpro customizing. At the entry creation, the PROCESS field is empty. As soon as the
Adobe Forms: Display symbols change pointer has been processed, the field is filled with the value X.
like copyright and others
Deactivate Hold functionality in Steps for distributing Master data using SMD tool.
Purchase order (ME21N)
Quiz on OOABAP
Add fields in FBL5N using BADIs Ø Define change relevant field for the message type
Tutorial on Wide casting
Defining a Range in Module Pool Transaction BD52
Program
Copy fields from one
structure/table into another
structure/table
Side Panel Usage in NWBC

Contribute?

Sample Specs For master data to be distributed to other systems change document fields are
defined in transaction BD52 so that change pointers are written. This creates
entry in table TBD62.
What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

saptechnical.com/Tutorials/ALE/MasterDataDistribute/page1.htm 1/3
7/1/2019 SAPTechnical.COM - Distribute Master Data (Outbound)
Email:

Subscribe Unsubscribe
GO

Ø Activate change pointers for message type.

Transaction BD50

The message type for which master data is to be downloaded has to be


activated if change pointers are to be written. This create a entry in table TBDA2

Ø Activate change pointers - generally.

Transaction BD61.

This activates master data distribution using change pointers

Define function module to evaluate change pointers

Transaction BD60

This create entry in table TBDME

saptechnical.com/Tutorials/ALE/MasterDataDistribute/page1.htm 2/3
7/1/2019 SAPTechnical.COM - Distribute Master Data (Outbound)

Continued...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MasterDataDistribute/page1.htm 3/3
7/1/2019 SAPTechnical.COM - Distribute Master Data (Outbound)

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Distributing Master Data (Outbound)
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
A function module needs to be defined for each message type. This function module generates and dispatches the
SAP Query IDOC for the master data. The naming convention for the function module is
Userexits/BADIs MASTERIDOC_CREATE_SMD_XXXXX where XXXXX is the name of the message type.
WebDynpro for Java/ABAPTM
Others The function module executes the change pointers and generates IDOC in the following manner

Read all the changed pointers from change pointer table BDCP that has not been processed for the message type
What's New? using function module CHANGE_POINTERS_READ.

For each record retrieved from table BDCP populate IDOC segments. For each segment the first field
ABAP Test Cockpit HOT MSGFN is filled in the following manner
SAP ABAP Pragmas
Understanding SE32 (ABAP 009 – For any new master data
Text Element Maintenance)
Creating an IDoc File on SAP 004 – For any change in master data
Application Server
Understanding “Advance with 003 – For any deletion in the master data
dialog” option of SAP Workflow
SAP Workflow Scenario: 018 – If there was no change to the particular segment but the segment have to be included because
Maintenance Notification
Approval hierarchy subordinate segments have to be dispatched
Enhancements to a standard
class · Pass the IDOC to the ALE layer by calling the function module MASTER IDOC_DISTRIBUTE
Working with Floating Field in
Adobe Forms · For the master data that are processed set the change pointer status to ‘Processed’ in table BDCP by
Inserting data from Internal calling function module CHANGE_POINTER_STATUS_WRITE.
Table into the step “Send Mail”
Display GL Account long text
using enhancement framework Ø Adding message type to partner profile
Differences between
polymorphism in JAVA and
ABAP Transaction BD64
Passing multiline parameters
from an ABAP Class event to a Add message type for the master data to the distribution model and from menu path ‘Environment’ generate
Workflow container partner profile.
Concept of Re-evaluate agents
for active work items in SAP
Workflow Ø Create IDOC from change pointers
Dynamic creation of component
usage in ABAP WebDynpro Transaction BD21 - Program RBDMIDOC.
Adobe Forms: Display symbols
like copyright and others
SAP includes a scheduled program, RBDMIDOC that runs periodically to check the change pointers for a particular
Deactivate Hold functionality in
Purchase order (ME21N) message type. RBDMIDOC references the correct IDOC program for any given type via TBDME, which is maintained
Quiz on OOABAP through transaction BD60.
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 In the production system, it is obvious that the users will not launch the BD21 transaction by themselves. A periodic
job will be scheduled to execute the RBDMIDOC program, which is actually run by BD21 transaction, with a variant
containing the right message type.
Contribute?
Population custom field for extended IDOC.
Sample Specs For any modification or population of custom fields in extended IDOC through this program RBDMIDOC or
RDBSEXXX a user exit is available in function module MASTERIDOC_CREATE_XXXXX where XXXXX is the
What's Hot? message type.

Function module MASTERIDOC_CREATE_XXXXX is called from the function module


Web Dynpro for ABAP Tutorials MASTERIDOC_CREATE_REQ_XXXXX for program RBDSEXXX or MASTERIDOC_CREATE_SMD_XXXXX for
program RBDMIDOC as defined in transaction BD60.
Join the Mailing List
For e.g for message type MATMAS for material download
Enter name and email address below:
Function Module: MASTERIDOC_CREATE_MATMAS
Name:
USER EXIT: EXIT_SAPLMV01_002
Email:
ENHANCEMENT: MGV00001

saptechnical.com/Tutorials/ALE/MasterDataDistribute/page2.htm 1/2
7/1/2019 SAPTechnical.COM - Distribute Master Data (Outbound)
Subscribe Unsubscribe Extended IDOC Field: IDOC_CIMTYPE
GO
Set Change Document Flag on for custom fields

Transaction SE11

If change pointers are to be written for custom fields then the change document flag at the
domain level should be activated for that field. Then maintain an entry for this field in transaction BD52. Changes to
custom fields will be only picked if the change document for such fields is maintained in table BDCP.

Reference Links:

1. http://help.sap.com/saphelp_45b/helpdata/en/78/2178da51ce11d189570000e829fbbd/content.htm

2. http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm

3. https://www.sdn.sap.com/irj/sdn/thread?threadID=133101

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MasterDataDistribute/page2.htm 2/2
7/1/2019 SAPTechnical.COM - Creation of Custom IDOC Type

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Creation of Custom IDOC Type
Trainings
By Sarang Kahu
Document Categories:
1.Business Case
ABAPTM
SAP R/3 systems send out data through IDoc (Intermediate Document), which in internally has
Adobe Forms
ABAP-HR
segments and fields containing the data. But sometimes, these fields are not sufficient for a specific
ALE & IDocs end-to-end business scenario as far as data transfer is concerned. So in such scenario, either few
ALV fields are to be added or subtracted, or completely new structure- IDoc needs to be created. This are
BAPI called as Custom – IDOC Types. Following blog gives out step-by-step approach for creation of the
BASIS same.
BSP
Business Objects
Business Workflow 2.Development of IDOC types
CRM NEW
LSMW
SAP Script/Smart Forms 2.1 Creation of Segment Types
BI/BW
eXchange Infrastructure (XI) Run T-code ‘WE31’ to create segment type, which has fields to contain the data and are added to the
Enterprise Portals (EP) segment type in the same transaction. The data stored contained into the segment mesh is finally
eCATT
stored in EDISEGMENT table.
Object Oriented Programming
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with Add your custom fields as per business scenario.
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 To make it available to other transactions, release the segment created.
Add fields in FBL5N using
BADIs Go to Edit -> Set Release
Tutorial on Wide casting
Defining a Range in Module
Pool Program 2.2 Creation of IDoc type
Copy fields from one
structure/table into another
structure/table Run T-code ‘WE30’ to create custom IDoc type. Enter the name of custom IDoc you want to create
Side Panel Usage in NWBC and click on red box for creation.

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/CustomIDOC/Create.htm 1/2
7/1/2019 SAPTechnical.COM - Creation of Custom IDOC Type
Subscribe Unsubscribe Now, it takes you to following screen. Here you can add description for your IDoc type. Also you can
GO specify name of existing IDoc for Copy or Successor mode.

Now, you can maintain attributes of the custom IDoc, which consists of attaching segment type
created above to the IDoc type. Also specifying the details of frequency of these segments getting
filled i.e. Maximum and Minimum number. Fill the necessary details and release this IDoc type as
well.

2.3 Creation of logical message types

Run T-code ‘WE81’ to create the logical message types. Go to Edit mode and click New Entry to go
to following screen.

Save the entered data.

2.4 Linking Message type and IDoc type.

Run T-Code ‘WE82’. Now we have to link these created IDoc types and Message types. Enter the
message type name, Basic IDoc type (ZCUST_IDC) and release type to be linked. In the data
transfer through ALE, these message types represent the IDOC structure.

Extension field above will be used as per the Extended IDoc type scenario i.e. in case of addition of
few more fields into the existing IDoc type.

Hence, now our Creation of Custom IDoc is ready to use in ALE scenarios.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/CustomIDOC/Create.htm 2/2
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
ALE step by step Configuration for Message type
eXchange Infrastructure (XI) MATMAS
Enterprise Portals (EP)
eCATT By N.K.Chaitanya
Object Oriented Programming
SAP Query In this scenario, I explained the process for ALE configuration for MATMAS
Userexits/BADIs (Material Master Data).
WebDynpro for Java/ABAPTM
Others Go to Tcode SALE .Select Define Logical Systems.

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP Text
Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 Created two systems. One for Sender and One for Receiver.
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:

saptechnical.com/Tutorials/ALE/MATMAS/Index.htm 1/3
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS
Name:

Email:

Subscribe Unsubscribe
GO

Now In SALE, select Assign Logical Systems to Client. You will get the below
screen.

Assign the system ECC001 to Client 001.

Assign the system ECC002 to Client 002.

saptechnical.com/Tutorials/ALE/MATMAS/Index.htm 2/3
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS

To continue, click here

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MATMAS/Index.htm 3/3
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
ALE step by step Configuration for Message type MATMAS
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Now create RFC connections for two systems. In SALE you can select Create RFC Connections
SAP Query or you can directly go to Tcode SM59.
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
Inserting data from Internal
Table into the step “Send Mail”
Display GL Account long text
using enhancement framework Select ABAP Connections and then click on Create.
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 Enter the details. In target Host Enter the IP Address of your SAP SYSTEM.
Copy fields from one
structure/table into another
structure/table
Side Panel Usage in NWBC

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/MATMAS/Page2.htm 1/3
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS
Subscribe Unsubscribe In Logon & Security Tab Enter the Login details of the Receiver system (002 clients).
GO

Now Click on Connection Test. If you get the below it means the connection to the system is
successful. If the Connection fails then you will get error message.

Now In Receiver system (client 002) Create RFC to Client 001.

saptechnical.com/Tutorials/ALE/MATMAS/Page2.htm 2/3
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MATMAS/Page2.htm 3/3
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
ALE step by step Configuration for Message type MATMAS
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Now go to transaction SALE (client 001) ,go to Maintain Distribution Model and Distribute Views
SAP Query or else you can directly go to Transaction BD64.
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
Inserting data from Internal
Table into the step “Send Mail”
Display GL Account long text
using enhancement framework
Differences between
polymorphism in JAVA and Go to change mode and then click on Create Model View.
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 Now after clicking on Create Model View Button You will get the below screen. Enter short text
Deactivate Hold functionality in and any name in technical Name.
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name: The below Model view is created.

Email:

saptechnical.com/Tutorials/ALE/MATMAS/Page3.htm 1/3
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS
Subscribe Unsubscribe Now select the model view like above and then select Add message tpe. You will get the below
GO screen. Enter the Sender and Receiver and the Message type you want. Here we are sending
MATMAS data from ECC01 to ECC02.

Now when you expand the Model View You will get the below view.

Now again select the Model view and click on Generate Partner Profiles.

In Model View Enter the Model view name which you created and then in Partner system enter
the receiver system name (ECC02).

When you click on execute you will get the below screen. The port A000000017 will be created.

Now without creating the model view in receiver system you can distribute the model view so that
it will be sent to receiver system.

saptechnical.com/Tutorials/ALE/MATMAS/Page3.htm 2/3
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS

Select the Receiver system, here ECC002.Click on Enter.

You will get the below screen.

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MATMAS/Page3.htm 3/3
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
ALE step by step Configuration for Message type MATMAS
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Now In Client 002 check the model view in BD64.You can see it in Client 002 without creating it
SAP Query as we have distributed it.
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in Now click on the Generate Partner profile which is there in the menu shown above. You will get
Adobe Forms the below screen. Enter the Model view name and Partner System.
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

Contribute? When you click on execute you will get the below screen.

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/MATMAS/Page4.htm 1/4
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS
Subscribe Unsubscribe
GO

In Client 001 go to Tcode WE20. You need to configure the message type MATMAS in Partner
profile. In Outbound system (Sender system) we need to select the Inbound system (Receiver
system) and then in Outbound parameters we should configure MATMAS message type.

Now In Client 002 (Inbound system – Receiver system) after going to WE20 select the outbound
system and then in Inbound parameters configure MATMAS message type.

saptechnical.com/Tutorials/ALE/MATMAS/Page4.htm 2/4
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS

Now create a material for testing in Client 001 using Tcode MM01.

saptechnical.com/Tutorials/ALE/MATMAS/Page4.htm 3/4
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MATMAS/Page4.htm 4/4
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
ALE step by step Configuration for Message type MATMAS
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Check the material created by using the tcode MM03.
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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

Contribute?

Sample Specs Now In Client 002 check whether the material created is available or not by using the tcode
MM03.

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


The material is not there. Now in Client 001 execute the Tcode BD10.Ente the material no
created, Message type and the receiver system name. Now click on execute.
Name:

Email:

saptechnical.com/Tutorials/ALE/MATMAS/Page5.htm 1/3
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS
Subscribe Unsubscribe
GO

You will
get the following screens.

Click on Enter after getting below screen.

Now In Client 002 check whether the material is available or not by using the Tcode MM03.

saptechnical.com/Tutorials/ALE/MATMAS/Page5.htm 2/3
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS

So the material is distributed from client 001 to Client 002 using ALE.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MATMAS/Page5.htm 3/3
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
ALE step by step Configuration for Message type MATMAS
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Check the material created by using the tcode MM03.
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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

Contribute?

Sample Specs Now In Client 002 check whether the material created is available or not by using the tcode
MM03.

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


The material is not there. Now in Client 001 execute the Tcode BD10.Ente the material no
created, Message type and the receiver system name. Now click on execute.
Name:

Email:

saptechnical.com/Tutorials/ALE/MATMAS/Page5.htm 1/3
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS
Subscribe Unsubscribe
GO

You will
get the following screens.

Click on Enter after getting below screen.

Now In Client 002 check whether the material is available or not by using the Tcode MM03.

saptechnical.com/Tutorials/ALE/MATMAS/Page5.htm 2/3
7/1/2019 SAPTechnical.COM - ALE step by Step Configuration for Message type MATMAS

So the material is distributed from client 001 to Client 002 using ALE.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MATMAS/Page5.htm 3/3
7/1/2019 SAPTechnical.COM - IDOC Mass Upload tool

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms IDOC Mass Upload tool
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
By Infosys Technologies Ltd (Manish Gupta, Vivek Gupta, Devakumar Karthikeyan)
eCATT
Object Oriented Programming
INTRODUCTION
SAP Query
Userexits/BADIs
As we know that SAP provides its users the facility to edit the data in the IDOC segments, but only one segment of an
WebDynpro for Java/ABAPTM IDOC at a time.
Others
Moreover, the user can not edit multiple occurrences of the same segment at the same time.
This tool provides the user the flexibility to edit multiple IDOC’s of the same Message type at one go and save the
What's New? IDOC’s at the same time.

The tool takes the IDOC number(s) and IDOC message type as input from the user and displays all the errors in that
ABAP Test Cockpit HOT IDOC (s)on the screen.
SAP ABAP Pragmas
Understanding SE32 (ABAP The user can select the IDOC(s), and after following a series of simple steps he can edit the data in the IDOC
Text Element Maintenance) segments.
Creating an IDoc File on SAP
Application Server Moreover, the tool also displays the user the original and the edited values on the same screen so that he can see
Understanding “Advance with what values he edited.
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
PROGRAMS
Approval
Enhancements to a standard Create the following programs:
class
Working with Floating Field in Main Program
Adobe Forms YRTRR6N_MASS_TOP - Include program for the data declaration
Inserting data from Internal YRTRR6N_MASS_SEL_SCREEN - Include program for the selection screen.
Table into the step “Send Mail” YRTRR6N_MASS_FORM - Include program for the subroutines
Display GL Account long text
using enhancement framework
Create a transaction code YRTR_IDOC_UPD for the main program created above.
Differences between
polymorphism in JAVA and
ABAP HOW TO USE THE TOOL
Passing multiline parameters
from an ABAP Class event to a
Workflow container
1. The below selection screen appears when the user executes the transaction ‘Y_IDOC_UPD’.
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 2. Provide input on the selection screen i.e. document number (IDOC) that needs to be edited and the message
Side Panel Usage in NWBC
type and click on EXECUTE .
Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/IDOCTool/Index.htm 1/2
7/1/2019 SAPTechnical.COM - IDOC Mass Upload tool
Subscribe Unsubscribe 3. All the segments that contain errors are displayed on the screen as shown below.
GO

4. Select the IDOC’s that need to be edited by selecting the check box in front of each IDOC.

5. If you want to select all the entries together, click on the SELECT ALL button.
The below screen appears.

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/IDOCTool/Index.htm 2/2
7/1/2019 SAPTechnical.COM - IDOC Mass Upload tool

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms IDOC Mass Upload tool
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
SAP Query
6. After selecting the relevant check boxes, click on the MASS UPLOAD button.
Userexits/BADIs
WebDynpro for Java/ABAPTM a. If the UPDATE button is clicked, a pop up comes stating the user that he has clicked on the wrong button.
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow b. If none of the above screens appears then the below screen appears.
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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

7. Edit the values you want to change on the above screen and click on the UPDATE button.
Contribute? The below pop up appears.

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List


8. Click on YES or hit enter on the keyboard.
Enter name and email address below:
The below screen appears displaying the original and edited values.
Name:

Email:

saptechnical.com/Tutorials/ALE/IDOCTool/Page2.htm 1/2
7/1/2019 SAPTechnical.COM - IDOC Mass Upload tool
Subscribe Unsubscribe
GO

9. The FIND AND REPLACE button allows you to find a particular value and replace it with a suitable value. When this butto
the below screen appears.

10. Enter the values in the above screen and click on the REPLACE button. The old values will be replaced
ones.

11. Now click on the UPDATE button. The below screen appears displaying the original and edited values.

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/IDOCTool/Page2.htm 2/2
7/1/2019 SAPTechnical.COM - IDOC Mass Upload tool

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms IDOC Mass Upload tool
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Additional Details like screen, message class and text elements used:
SAP Query
Userexits/BADIs
1. Screens: There are 2 screens created apart from selection screen i.e. 1100 and 1101 and their details are
WebDynpro for Java/ABAPTM as in the screen shot below:
Others
Screen # 1100: Screen attributes:

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 Element List:
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/IDOCTool/Page3.htm 1/4
7/1/2019 SAPTechnical.COM - IDOC Mass Upload tool
Subscribe Unsubscribe Screen Layout:
GO

Screen # 1101 Screen Attributes:

Screen Layout:

TEXT ELEMENTS & Selection Texts:

saptechnical.com/Tutorials/ALE/IDOCTool/Page3.htm 2/4
7/1/2019 SAPTechnical.COM - IDOC Mass Upload tool

PF statuses used in the program:

1. Status_1100:

2. Z_MASS_UPLOAD:

3. Z_OUTPUT:

saptechnical.com/Tutorials/ALE/IDOCTool/Page3.htm 3/4
7/1/2019 SAPTechnical.COM - IDOC Mass Upload tool

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/IDOCTool/Page3.htm 4/4
7/1/2019 SAPTechnical.COM - Conversion Rule in ALE/IDOC Scenario (R/3 To R/3)

Custom Search Se

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Conversion Rule in ALE/IDOC Scenario (R/3 To R/3)
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
By Jitendra Nath Sethi, HCL AXON
eCATT
Object Oriented Programming
Scenario: R/3 To R/3 ALE Communication ->when multiple systems involved in sending the messages to each other for
SAP Query their business transactions through IDOC.
Userexits/BADIs
WebDynpro for Java/ABAPTM If both the systems have different configurations then we need to convert the entity like Unit of measure/Text id/delivery
Others block etc. For example the system ‘A’ has the Unit of measure (BT –Bottle) but in the system ‘B’ it is (BO-Bottle). So while
sending an IDOC (Outbound) we need to convert the field value from BT to BO.

What's New? Solution: This can be achieving through User Exit or conversion Rule.

Conversion Rule: This is the standard functionality provided by the SAP & it is easy to deal with the conversion of the field
ABAP Test Cockpit HOT value in the segment of the IDOC.
SAP ABAP Pragmas
Understanding SE32 (ABAP There are three steps to achieve these conversions.
Text Element Maintenance)
Creating an IDoc File on SAP Step 1 -> Maintain Conversion Rules
Application Server
Understanding “Advance with a) Go to transaction code BD62
dialog” option of SAP Workflow
SAP Workflow Scenario: b) Click on the change button
Maintenance Notification
Approval
c) Enter the name of conversion rule, description and IDOC segment name.
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 Steps 2 -> Create Conversion Rule
Dynamic creation of component
usage in ABAP WebDynpro a) Go to Transaction code BD55
Adobe Forms: Display symbols
like copyright and others b) Click on the New Entries
Deactivate Hold functionality in
Purchase order (ME21N) c) Enter type/Sender/Receiver/Conversion Rule etc.
Quiz on OOABAP
Add fields in FBL5N using d) Save
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

Contribute?

Sample Specs

What's Hot?
Steps 3 ->ALE/IDOC Segment
Web Dynpro for ABAP Tutorials a) Go to Transaction code BD79

b) Enter the conversion rule which we have created in the transaction code BD62
Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/Conversion/Index.htm 1/3
7/1/2019 SAPTechnical.COM - Conversion Rule in ALE/IDOC Scenario (R/3 To R/3)
Subscribe Unsubscribe
GO

c) Click on the change mode

d) Copy & paste the receiver field to the sender field.

e) Double click on the field whose value need to be converted in this case it is : MENEE & PMENE

f) Select Convert Sender field & Copy Sender field radio button as shown in the screenshots.

g) Click on the conditions button & input the value in the table as shown in the below screen shots.

saptechnical.com/Tutorials/ALE/Conversion/Index.htm 2/3
7/1/2019 SAPTechnical.COM - Conversion Rule in ALE/IDOC Scenario (R/3 To R/3)

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Conversion/Index.htm 3/3
7/1/2019 SAPTechnical.COM - Conversion Rule in ALE/IDOC Scenario (R/3 To R/3)

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Conversion Rule in ALE/IDOC Scenario (R/3 To R/3)
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Test Result:
SAP Query
Userexits/BADIs
Before applying conversion rule:
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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)
After applying Conversion Rule:
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/Conversion/Page2.htm 1/2
7/1/2019 SAPTechnical.COM - Conversion Rule in ALE/IDOC Scenario (R/3 To R/3)
Subscribe Unsubscribe
GO

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Conversion/Page2.htm 2/2
7/1/2019 SAPTechnical.COM - Configuring Message Control and understanding how Message Control works

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Configuring Message Control and understanding how Message Control
BI/BW
eXchange Infrastructure (XI) works
Enterprise Portals (EP)
eCATT By Krunal Raichura, Accenture Services Pvt. Ltd
Object Oriented Programming
SAP Query Most SD and MM process use Message Control. The concept of Message control is to generate and manage
Userexits/BADIs outputs from an application and control their timing and medium of exchange.
WebDynpro for Java/ABAPTM
Others Below are the details for configuring the message control and understanding how message control works.

Configuring Message control:


What's New?
Message Control Components:
ABAP Test Cockpit HOT Communication Structure:
SAP ABAP Pragmas
Understanding SE32 (ABAP The communication structure passes application information to the Message control. The communication
Text Element Maintenance)
structure for output determination uses the naming convention as KOMxByy, where x can be K (header
Creating an IDoc File on SAP
Application Server structure) or P (Item structure), and yy is two character application ID.
Understanding “Advance with
dialog” option of SAP Workflow The two character application ID can be found from the NACE transaction depending on the application.
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 The Procedure
structure/table
Side Panel Usage in NWBC
A Procedure defines a set of possible outputs for an application. A procedure is assigned a six character
name. Several procedures can be defined for an application but only one can be configured as active.
Contribute? A list of procedure can be seen in NACE transaction for the required application.

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/MessageControl/Index.htm 1/3
7/1/2019 SAPTechnical.COM - Configuring Message Control and understanding how Message Control works
Subscribe Unsubscribe
GO

A procedure has three main attributes:

- A List of output types – set of outputs that are possible for an application

- A Requirement field

- A manual flag

Set of Outputs those are possible for applications are listed in the output types.

Manual Flag is set if the output has to be selected by the user manually instead of selecting automatically.

For Sales, Procedures can be assigned to Sales document type using V/43 transaction.

Preconditions are captured in Requirements. These conditions are written in VOFM transaction.

Click here to continue...

saptechnical.com/Tutorials/ALE/MessageControl/Index.htm 2/3
7/1/2019 SAPTechnical.COM - Configuring Message Control and understanding how Message Control works
Please send us your feedback/suggestions at [email protected]

Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MessageControl/Index.htm 3/3
7/1/2019 SAPTechnical.COM - Configuring Message Control and understanding how Message Control works

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Configuring Message Control and understanding how Message
BI/BW
eXchange Infrastructure (XI) Control works
Enterprise Portals (EP)
eCATT ...Previous
Object Oriented Programming
SAP Query We can write the conditions for the Requirement selected from the above list by creating routine which
Userexits/BADIs will start from 900.
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 code can be written in the routine for checking the condition.
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
Output Type:

Contribute? An Output type defines the characteristics and attributes of the output itself.

Output type can also be selected from the NACE transaction.


Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/MessageControl/Page2.htm 1/3
7/1/2019 SAPTechnical.COM - Configuring Message Control and understanding how Message Control works
Subscribe Unsubscribe
GO

Access sequence is the set of business rules for proposing an output type.

If the flag Access to condition is set then the medium and timing are determined from the condition
records using access sequence.

If the flag is not set then the medium and timing data is taken from the customer master.

CannotBeChanged determines whether the output can be edited.

Multiple issuing determines whether multiple outputs are permitted.

Access Sequence:

Access sequence defines a sequence in which the business rules are checked for proposing an output
type. A business rule is checked by comparing the values passed in the application data with the
values defined in the condition records of the condition table. If a match occurs the business rule is
considered satisfied. After a business rule is satisfied the output values from the condition records are
used for the output type.

The exclusive or inclusive strategy specifies whether the system should exit after the first match of the
business rule against the condition record or should continue to process other business rule in the
access sequence.

The reason for an inclusive strategy is to have an output type proposed multiple times. However, one
of the attributes (partner function, partner number or language) must be different. The system does not
allow two output types to have identical values.

Condition Tables:

The condition table specifies the key field for a business rule. You use this key to access the condition
records for output values such as output medium, partner function, partner number, output language
and output time for the message.

If the standard condition tables supplied in the system do not meet your requirements, you can create
new condition tables.

Condition Records:

saptechnical.com/Tutorials/ALE/MessageControl/Page2.htm 2/3
7/1/2019 SAPTechnical.COM - Configuring Message Control and understanding how Message Control works
Condition records are inserted in the condition tables. Condition records contain the actual business
data against which the business rules are checked to propose an output. They are considered master
data maintained by customer.

You can create condition records for the each application in NACE transaction by clicking the condition
record button for the required application.

You will have to select the business rule for which condition record is to be maintained.

Specify the values for the key fields and maintain the output medium, output timing, partner number
and partner function for each record and save the entries.

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MessageControl/Page2.htm 3/3
7/1/2019 SAPTechnical.COM - Configuring Message Control and understanding how Message Control works

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Configuring Message Control and understanding how Message Control
BI/BW
eXchange Infrastructure (XI) works
Enterprise Portals (EP)
eCATT ...Previous
Object Oriented Programming
SAP Query Understanding How Message Control works:
Userexits/BADIs
WebDynpro for Java/ABAPTM Message Control is a three step process:
Others
1. Output proposal
2. Output editing
What's New? 3. Output processing

Output Proposal
ABAP Test Cockpit HOT
SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 When an
BADIs application is created or changed, after saving the application data the communication structure is filled and is
Tutorial on Wide casting passed to the Message control along with the application id and procedure.
Defining a Range in Module
Pool Program
The various outputs defined in the procedure are processed one at a time. The output marked as manual will
Copy fields from one
structure/table into another be processed manually by the user.
structure/table
Side Panel Usage in NWBC The requirement, if specified for an output type is executed to check if the output meets the requirement. If the
requirements are met then further checking continues.

Contribute? If the conditions are not met then the next output type will be processed from the list.

The short listed output types are checked for the access condition flag. If the flag is not set then the output
Sample Specs medium and timing are determined from the customer master data.

If the access condition flag is set then the processing continues for determining the output medium and timing.
For these output types the access sequence associated is access for various business rules and determines
What's Hot? which of the business rule is satisfied. The values from the communication structure are checked with the
values maintained in the condition tables.
Web Dynpro for ABAP Tutorials
Output Editing:
Join the Mailing List After the output proposal process is completed, the list of proposed outputs displays on the output control
screen of an application as shown below.
Enter name and email address below:
Name:

Email:

saptechnical.com/Tutorials/ALE/MessageControl/Page3.htm 1/3
7/1/2019 SAPTechnical.COM - Configuring Message Control and understanding how Message Control works
Subscribe Unsubscribe
GO

To reach he output control screen we can got for Extras ->Output->Edit for sales order or by Goto->Messages
for Purchase order.

The initial status of these outputs will be 0 (Not Processed) which is displayed as yellow light.

The processed outputs will be displayed as green light.

For EDI, the partner number in the proposed output is validated against the partner profile entry.

The flow chart below explains the Output proposal procedure.

Output Processing:

After the final selection of the output is done and the application document is saved, entries are created in the
NAST table with application ID, Application document number, output type, output medium, output timing and
Status code.

If the output is not processed the Status code will have values as 0 (Not processed).

The entries in the NAST table are processed by RSNAST00 program. If the entries whose timing is set to
immediately, the program will immediately process those entries. For other entries you will have to schedule
the program RSNAST00.

The RSNAST00 program check the TNAPR table for each entries from NAST table and processes the
program associated with the output medium in the TNAPR table.

For EDI a Standard routine EDI_PROCESSING exist in RSNASTED program.

The EDI_PROCESSING routine reads the Message control record in the partner profile and determines the
process code.

The process code will be having a Function module which will be having the standard interface for its input
and output parameters. The function module will read the application document data and will format the data
into the idoc format.

The idoc data and the control record from the function modules received through the output parameters will be
used by the EDI_PROCESSING program to convert it into physical Idoc.

The complete Outbound process with Message control is as shown below:

saptechnical.com/Tutorials/ALE/MessageControl/Page3.htm 2/3
7/1/2019 SAPTechnical.COM - Configuring Message Control and understanding how Message Control works

The setting of the Output mode field in the partner profile is read to determine the timing for dispatching the
idoc.

If the mode is set to ‘Transfer Idoc immed.’ then the idoc is immediately passed to the operating system and if
the mode is set to ‘Collect Idoc’ then the Idoc is not immediately passed to the operating system until the
RSEOUT00 program is executed explicitly.

If the flag for ‘Start subsystem’ is set then the subsystem program name is read from port definition and the
subsystem program is started.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MessageControl/Page3.htm 3/3
7/1/2019 SAPTechnical.COM - Serialization of IDOC Message type

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Serialization of IDOC Message type
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
By Vijayendra Krishnamurthy Rao, Hewlett-Packard
eCATT
Object Oriented Programming
Serialization for Sending and Receiving Data
SAP Query
Userexits/BADIs
With serialized message distribution, IDocs are created, sent and posted in a specific order. This prevents
WebDynpro for Java/ABAPTM errors occurring when inbound IDocs are processed. Interdependent messages can be distributed serially
Others in different ways, as described in the following sections.

Serialization Using Message Types


What's New? Serialization Using Business Objects

ABAP Test Cockpit HOT In this Tutorial we will learn Serialization using IDOC Message types and the details steps involved.
SAP ABAP Pragmas
Understanding SE32 (ABAP Serialization Using Message Types
Text Element Maintenance)
Creating an IDoc File on SAP When master data is distributed, interdependent objects are often distributed together (for example,
Application Server purchasing info record is distributed with vendor and material). With serialized message distribution IDocs
Understanding “Advance with are created, dispatched and posted in a specific order. The interdependency of objects is at message
dialog” option of SAP Workflow type level and this avoids errors occurring during inbound processing of IDocs. Serialization groups in
SAP Workflow Scenario:
Maintenance Notification
which the messages to be used and the posting order is specified, are used to distribute interdependent
Approval messages serially.
Enhancements to a standard
class Example
Working with Floating Field in
Adobe Forms If you distribute materials and the material classes, they must be distributed together. You cannot process
Inserting data from Internal classification data in the receiver system, if this system does not also have the data of the material to be
Table into the step “Send Mail” classified. For this reason materials should be included with the associated classifications in a
Display GL Account long text serialization group. To use serialized distribution you must carry out the following steps in Customizing:
using enhancement framework
Differences between
polymorphism in JAVA and Steps to be followed: -
ABAP
Passing multiline parameters Define Serialization Groups
from an ABAP Class event to a
Workflow container Assign Message Types to the Serialization Group
Concept of Re-evaluate agents
for active work items in SAP In addition to the message types used, the dispatch of the message type SERDAT must be modeled in
Workflow
the distribution model.
Dynamic creation of component
usage in ABAP WebDynpro
STEP 1 à Define Serialization Groups
Adobe Forms: Display symbols
like copyright and others
Deactivate Hold functionality in In this section you create serialization groups and assign message types and the processing order to
Purchase order (ME21N) each group. Both the sender and the receiver of the serialization group must know the assignments. This
Quiz on OOABAP means this step needs to be carried out in both the receiving system and the sending system.
Add fields in FBL5N using
BADIs Serialization groups are required to distribute interdependent objects together so that they are processed
Tutorial on Wide casting in the correct order.
Defining a Range in Module
Pool Program Example
Copy fields from one
structure/table into another
structure/table
The message types MATMAS (material master) and CLFMAS (classification) are assigned to a
Side Panel Usage in NWBC serialization group for dispatching materials and their accompanying classifications. The message type
MATMAS is assigned the suffix 1 and the message type CLFMAS the suffix 2, so that the materials are
processed first and then the classifications.
Contribute? Create serialization group: Goto IMG à Modelling and Implementing Business Proccess àMaster
Data Distribution à Serialization for sending and Receiving data à Serialization using Message
Sample Specs types and click on DEFINE SERIALIZATION GROUPS

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/Serialization/page1.htm 1/4
7/1/2019 SAPTechnical.COM - Serialization of IDOC Message type
Subscribe Unsubscribe
GO

On the next screen Choose 'New entries' in the view 'Serialization groups' to add a new entry, In our case we
will just modify one of the existing groups provided by SAP.

We will modify the existing group GRP_MATMAS – Material Master Complete. So select the group from
the list and Place the cursor on a serialization group and choose 'Assign message types to serialization
group'.

saptechnical.com/Tutorials/ALE/Serialization/page1.htm 2/4
7/1/2019 SAPTechnical.COM - Serialization of IDOC Message type
Click on the Change/Display button and Select 'New entries'. In our case we will add one more message
type in this group. The message type to be added is CLSMAS. After adding the new entry we need to
adjust the sequence of serialization if required.

Enter the message types used and add a sequence number for each one.

Save your entries.

Further notes

The message types in a serialization group are processed in ascending order of the sequence number
added. You can also leave spaces between the individual numbers. (For example: 1,2,4,10,20).

If the serialization group is to be dispatched later a setting must be made so that the outbound IDocs are
collected and inbound processing is carried out in the background for all message types. This is set under
Partner Profiles -> Generate Partner Profiles. You can also make these settings in the SAP Menu for each
partner profile and message type (choose ALE -> ALE Administration -> Services -> Runtime Settings ->
Partner Profiles).

Step 2 à Maintain Distribution Model

Maintain the Distribution model as per the requirement and add the additional message type SERDAT as
shown in the screen shot below.

saptechnical.com/Tutorials/ALE/Serialization/page1.htm 3/4
7/1/2019 SAPTechnical.COM - Serialization of IDOC Message type

Note: The distribution model needs to have all the message types that will be distributed between
systems. It however need not have all the message types defined in the Serialization groups.

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Serialization/page1.htm 4/4
7/1/2019 SAPTechnical.COM - Serialization of IDOC Message type

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Serialization of IDOC Message type
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Select the option from the menu to generate the partner profile
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 On the next screen select EXECUTE
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:
Once you execute the system will generate the partner profiles in the sending system and update the
partner profiles with the associated messages

saptechnical.com/Tutorials/ALE/Serialization/page2.htm 1/4
7/1/2019 SAPTechnical.COM - Serialization of IDOC Message type
Subscribe Unsubscribe
GO

You can cross check the details by going into WE20 and checking the partner profile.

As seen from the above by automatically generating the partner profile the system creates the required
entries.

Select all the message types and ensure that the option TRANSFER IDOC IMMEDIATELY is selected.
PLEASE NOTE THIS OPTION MUST BE SET ONLY IN THE OUTBOUND PARMETERS OR IN THE
SENDING SYSTEM.

saptechnical.com/Tutorials/ALE/Serialization/page2.htm 2/4
7/1/2019 SAPTechnical.COM - Serialization of IDOC Message type

Similarly maintain for all the other messages in the partner profile and once done save your entries.

Next distribute the model created in the sending system to the receiving system. To do this select the
menu option as shown below.

saptechnical.com/Tutorials/ALE/Serialization/page2.htm 3/4
7/1/2019 SAPTechnical.COM - Serialization of IDOC Message type

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Serialization/page2.htm 4/4
7/1/2019 SAPTechnical.COM - Serialization of IDOC Message type

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Serialization of IDOC Message type
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Step 3 à Define Inbound Processing
SAP Query
Userexits/BADIs
In this section you can make the settings for processing inbound message types for a serialization group.
WebDynpro for Java/ABAPTM These settings are made in the receiving system.
Others
You can specify the size of the IDoc packet forwarded to the application, whether the packet is transferred
in parallel and what server group is used.
What's New? Example

ABAP Test Cockpit HOT For a serialization group containing materials and associated classifications you can specify how the
SAP ABAP Pragmas message types MATMAS (material) and CLFMAS (classification) are processed.
Understanding SE32 (ABAP
Text Element Maintenance) For the message SERDAT processing in the inbound partner profiles should be set to 'immediate
Creating an IDoc File on SAP processing'.
Application Server
Understanding “Advance with From the SALE transaction select Define inbound processing as shown in the image below
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/Serialization/page3.htm 1/6
7/1/2019 SAPTechnical.COM - Serialization of IDOC Message type
Subscribe Unsubscribe
GO

On the next screen click on NEW ENTRIES button and add the details as shown below

Under the groups column mention the Serialization group name created in the first step. Under the
Message Type define the messages assigned to the Serialization group. Under the sending system
column enter the sending systems. If the data is sent to more than one system then all these steps have
to repeated for all the individual receiving systems. Under the Object column enter the number of objects
per process. In our case we will use 1 per process.

For Example: Number of objects (e.g. materials, vendors, customers) assigned to an available process.

Under the Indicator: Parallel processing yes/no set the indicator as per your requirement. Generally it is
set to YES.

If the indicator is set then the inbound processing of the application uses one free dialog process for each
IDoc packet on the application server ('asynchronous RFC' is used for this). This means that the packets
can be processed in parallel. If several IDoc packets have been selected, then the IDoc processing will
occupy all the dialog processes on the application server.

If the indicator is not set then the IDocs will not be processed in parallel. This means that each packet will
passed to the application in turn. Only one work process will be used for this action on the application
server.

Under the RFC server group define the server which will be used by the transaction in parallel processing.

saptechnical.com/Tutorials/ALE/Serialization/page3.htm 2/6
7/1/2019 SAPTechnical.COM - Serialization of IDOC Message type

You can check the server group from the transaction RZ12.

Once done save your entries.

Step 4 à Enable Change pointers in the system globally using BD61 transaction and also for all the
message types using the BD50 transaction.

Change pointer has to be activated to enable data distribution through Change documents.

SETTINGS IN THE RECEIVING SYSTEM

Once you have completed the above steps in the sending system login to the receiving system and do the
following steps.

Step 1à Maintain the serialization group as done in the above steps in the receiving system as well.

Step 2 à Go to to the distribution model and select the model that was distributed from the sending
system. And from the menu generate the partner profile in the receiving system. This step will create the
partner profiles in the receiving system.

saptechnical.com/Tutorials/ALE/Serialization/page3.htm 3/6
7/1/2019 SAPTechnical.COM - Serialization of IDOC Message type
Step 3 à Change the partner profile settings for all the message types EXCEPT the SERDAT message
type to TRIGGER BY BACKGROUND PROGRAM

As shown below

BUT DO NOT CHANGE THE SETTINGS FOR THE SERDAT message type.

saptechnical.com/Tutorials/ALE/Serialization/page3.htm 4/6
7/1/2019 SAPTechnical.COM - Serialization of IDOC Message type

SERDAT will have the option TRIGGER IMMEDIATELY.

Once these settings are done both the systems are now ready for distributing data in a serialized order.

To dispatch a serialization group two steps are required:

è The IDocs belonging to a serialization group are created

è These IDocs are then dispatched

These two activities are scheduled as a periodic job in the sending system.

Creating IDocs

The report RBDSER01 creates the IDocs for a serialization group. The serialization group to be created is
specified as a parameter in this report. The report selects all the master data change pointers assigned to
this serialization group. The IDocs are then created from the change pointers.

Dispatching IDocs

After the IDocs have been created the report RBDSER02 dispatches the IDocs belonging to a
serialization group. The name of the serialization group to be sent is specified as a parameter in this
report. You can also specify the receiving systems and in the time period that IDocs can be
created/changed.

The report also schedules the report RBDSER03 which checks whether all the IDocs have been
successfully sent to the receiving system. If they have, a control message of message type SERDAT is
sent to the receiving system and posts the serialization group there. To do this specify in the parameters
of report RBDSER02 the time that should be scheduled after sending report RBDSER03.

You also have the option to always dispatch the control message. This means dispatch it even if all the
IDocs have not been passed to the receiving system. This means that IDocs arriving in the receiving
system can be processed even if some IDocs are still being transferred. However, serialization difficulties
may occur.

Further notes

You can schedule reports RBDSER01 and RBDSER02 after each other in the same job (choose SAP
Menu -> Tools -> ALE -> ALE Administration -> Services -> Periodic Processing -> Outbox -> Serialized
Distribution Using Message Types - SM36).

The report RBDSER03 can be scheduled as an independent job. In this case you should not enter the
date and time.

The processing of inbound IDocs of a serialzation group can be directly started by the Report
RBDSER04.

saptechnical.com/Tutorials/ALE/Serialization/page3.htm 5/6
7/1/2019 SAPTechnical.COM - Serialization of IDOC Message type
Please send us your feedback/suggestions at [email protected]

Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Serialization/page3.htm 6/6
7/1/2019 SAPTechnical.COM - ALE - Error handling through workflow

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite ALE - Error handling through workflow


Trainings By Abhijit Daptary & Siddharth Samal, Capgemini India

Pre-requisites.
Document Categories:
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.
ABAPTM
Adobe Forms
Description
ABAP-HR
ALE & IDocs Here, we will be discussing in details the Error handling of an Inbound Idoc through triggering an
ALV
event, which in turn will be triggering a workflow attached to the workflow.
BAPI
BASIS
Steps:-
BSP
Business Objects
1. Create custom BOR object with the events, Start and Stop event
Business Workflow
2. Create a workflow for the error handling, like generating a notification whenever an error
CRM NEW
LSMW
occurred in the Inbound Idoc.
SAP Script/Smart Forms 3. Creation of Function Module and attachment with the Process Code
BI/BW 4. Create the settings for the Inbound Process of the Idoc through the Process Code.
eXchange Infrastructure (XI)
Enterprise Portals (EP) Creation of BOR objects. Go to the transaction SWO1.
eCATT
Object Oriented Programming
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT Enter a name for the Object type and click ‘CREATE’ button for creating the custom BOR object.
SAP ABAP Pragmas
Understanding SE32 (ABAP Sap Tutorial Sap Idoc Sap Workflow
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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
Enter the details required for creating the BOR objects...
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

Contribute?
Create the Key fields and events of the BOR object.
Sample Specs For creating the Key fields place the cursor on the Key fields and Click on the Create Button

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/ErrorHandling/page1.htm 1/3
7/1/2019 SAPTechnical.COM - ALE - Error handling through workflow
Subscribe Unsubscribe Create events for triggering the workflow and stopping the workflow.
GO
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

Data Workflow Enterprise Sap LSMW Sap

Release the EVENTS and subsequently release the BOR object.

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.

saptechnical.com/Tutorials/ALE/ErrorHandling/page1.htm 2/3
7/1/2019 SAPTechnical.COM - ALE - Error handling through workflow
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

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/ErrorHandling/page1.htm 3/3
7/1/2019 SAPTechnical.COM - ALE - Error handling through workflow

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite ALE - Error handling through workflow


Trainings ...Previous

Sap Tutorial Program Sap Code Sap


Document Categories:
Activate the Workflow and test it whether it is working as per the requirement.
ABAPTM
Adobe Forms
After the successful completion it is required to attach the workflow with the event.
ABAP-HR
Go to the Header section (Denoted by CAP).
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/ABAPTM
Others Go to the Start Events TAB.

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
Inserting data from Internal
Table into the step “Send Mail”
Display GL Account long text
using enhancement framework
Differences between
polymorphism in JAVA and Enter the details of the event with which the workflow should be linked like the category, BOR
ABAP object type and the event with which that should be linked.
Passing multiline parameters
from an ABAP Class event to a Enter here the BOR object that has been created and give the name of event created for starting
Workflow container
Concept of Re-evaluate agents
the workflow.
for active work items in SAP
Workflow Click on the Binding Button for generating the binding between the event and the 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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials


Generate the binding and click OK button to save the binding.
Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/ErrorHandling/page2.htm 1/3
7/1/2019 SAPTechnical.COM - ALE - Error handling through workflow
Subscribe Unsubscribe
GO

Click on Activate / deactivate button for activating the linkage.

After the successful linkage the following sign will appear on the workflow.....

Bi Sap Edi Sap Process Sap

This shows that the workflow has been linked to the event and it will be triggered whenever that
particular event will be triggered.

After the creation and successful linkage of workflow with the event it is required it is required to
generate a function module and attached it to the process code.

Go to SE37 transaction and copy a standard process code function module to a custom one. Do
no delete any parameters from the function module as the SAP standard program itself is calling
this.

In that function module do the required validation and whenever the validation fails set a standard
parameter ‘WORKFLOW_RESULT’ to 9999 from within the function module, otherwise normally
proceed to set the status to 53.

saptechnical.com/Tutorials/ALE/ErrorHandling/page2.htm 2/3
7/1/2019 SAPTechnical.COM - ALE - Error handling through workflow

After the creation of function module it is required to attach it to the process code and
corresponding attached to the message type at the Partner Profile stage.

To continue, click here

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/ErrorHandling/page2.htm 3/3
7/1/2019 SAPTechnical.COM - ALE - Error handling through workflow

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms ALE - Error handling through workflow
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
The process code is being created through the transaction WE42
SAP Query
Userexits/BADIs
Go to the change mode and click the New Entries button for creating new process code.
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 Enter the Process Code Name, description and choose the processing type as Processing by function module.
Concept of Re-evaluate agents Click on the extension button of Identification.
for active work items in SAP
Workflow Sap Tutorial Code Barcode Code Sap
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials The details for the of the Process Code after clicking the identification button will be

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/ErrorHandling/page3.htm 1/3
7/1/2019 SAPTechnical.COM - ALE - Error handling through workflow
Subscribe Unsubscribe
GO

Whenever idoc arrives into the Destination system then the standard SAP triggers the Process code attached to
the Message type in the partner profile. The partner profile is being maintained in the transaction WE20.

ABAP Netweaver ABAP Objects ABAP Oops

Since, it is and inbound scenario so the message type and the corresponding process code will be maintained
for the Inbound Parameters.

Click on Create Inbound Parameters button for creating new Inbound Message type and the corresponding
message type.

Enter the process code for the corresponding message type.

saptechnical.com/Tutorials/ALE/ErrorHandling/page3.htm 2/3
7/1/2019 SAPTechnical.COM - ALE - Error handling through workflow

Click SAVE button for saving the changes.

Whenever the IDOC arrives into the target system, it checks the partner profile and finds the corresponding
process code. The process code is being linked with the function module through which the IDOC is required to

be processed.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/ErrorHandling/page3.htm 3/3
7/1/2019 SAPTechnical.COM - Archiving IDocs

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Archiving IDocs
eXchange Infrastructure (XI)
Enterprise Portals (EP)
This document details about the step-by-step process in archiving the IDocs. Archiving is the
eCATT process of offloading “Out-of-date” data onto a file at the operating system. The following are the
Object Oriented Programming two important reasons for archiving:
SAP Query
Userexits/BADIs Improving the performance
WebDynpro for Java/ABAPTM Saving the disk space on the SAP Server
Others
Scenario: In this scenario, let us archive the IDocs created before Jan 1st 1995.

What's New? Let us view at the IDocs created on or before 31st Dec 1994. Go to transaction WE05 and
provided necessary details:
ABAP Test Cockpit HOT
SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 Press Execute. Following are the IDocs available in the given date range.
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List


You can observe that all the above IDocs are in error state. The IDocs in error state cannot be
Enter name and email address below: archived. However, we would leave this part to the end of the document and proceed further.
Name:
Initial settings to archive IDocs: (Maintaining Logical path and Physical path)
Email:
Go to Transaction FILE

saptechnical.com/Tutorials/ALE/ArchiveIDocs/page1.htm 1/2
7/1/2019 SAPTechnical.COM - Archiving IDocs
Subscribe Unsubscribe
GO

Click on New Entries.

To assign physical path: Select the Z logical path created above and now double-click on the
assignment of physical paths on the left side of the screen.

Click on New Entries and enter the following data

Leave the file name as shown above.

Maintaining File Names: Now click on “Logical file name definition” and click on new entries.
Provide the details as shown below:

To continue, click here

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/ArchiveIDocs/page1.htm 2/2
7/1/2019 SAPTechnical.COM - Archiving IDocs

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Archiving IDocs
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Archiving of IDocs: There are two methods of archiving IDocs:
SAP Query
Userexits/BADIs
Using the transaction SARA
WebDynpro for Java/ABAPTM Using the standard programs like RSEXARCA (for archiving), RSEXARCR (for reading)
Others and RSEXARCL (reloading of data into the system)

This document would detail the procedure using the transaction SARA.
What's New? Go to transaction SARA and the enter the Archiving Object name as IDOC

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
Inserting data from Internal
Table into the step “Send Mail”
Display GL Account long text
using enhancement framework
Press Enter. You could observe some difference in the screen as shown below:
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 Click on Write button.
structure/table
Side Panel Usage in NWBC

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name: Click on Maintain. Enter a name for your variant.

Email:

saptechnical.com/Tutorials/ALE/ArchiveIDocs/page2.htm 1/4
7/1/2019 SAPTechnical.COM - Archiving IDocs
Subscribe Unsubscribe
GO

Enter the information as shown below:

Click on Continue. Now in this screen, you would mention the data or the IDocs that needs to be
archived.

Click on attributes.

Click on Save and return to main screen. Now we need to mention the start date for the archive to
begin. Click on button “Start Date”.

saptechnical.com/Tutorials/ALE/ArchiveIDocs/page2.htm 2/4
7/1/2019 SAPTechnical.COM - Archiving IDocs

Here we are scheduling the archival process immediate.

Save your entries. Now click on Execute button:

Following message appears:

From the above screenshot, you can observe that the IDOC could not be archived. The IDocs
shouldn’t be in error status for the IDocs to be archived.

To change the status of the IDocs, execute the program RC1_IDOC_SET_STATUS.

saptechnical.com/Tutorials/ALE/ArchiveIDocs/page2.htm 3/4
7/1/2019 SAPTechnical.COM - Archiving IDocs

Enter the list of IDocs and the new status

Click on Execute.

Now check in WE05 for the change in the IDoc status:

Now try executing the transaction SARA and archive the IDocs.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/ArchiveIDocs/page2.htm 4/4
7/1/2019 SAPTechnical.COM - IDOC Filtration

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
IDOC Filtration
Trainings
By Jaya Vani Bheemarasetti, YASH Technologies
Document Categories: A Business Scenario:

Consider a company that has 10 plants manufacturing the material MAT01. The material master data is
ABAPTM
maintained in the central SAP system for all 10 plants. The material MAT01 has an MRP view for each
Adobe Forms
ABAP-HR
plant. If we distribute this material with MRP views, including the ones for other plants. When the number of
ALE & IDocs materials exchanged between the systems is large and very frequent, this approach can be an
ALV unnecessary waste of network resources and can be undesirable from a business point of view.
BAPI
BASIS The technique of filtering at the IDoc level enables to send a subset of data that is relevant for a receiving
BSP system. The system provides several filter objects for each message type to filter data. We have to choose
Business Objects the appropriate filter for our business needs and add it to our distribution model.
Business Workflow
CRM NEW Maintain the Following Configurations:
LSMW
SAP Script/Smart Forms Step 1 : Port Definition: T.code WE21.
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
eCATT
Object Oriented Programming
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
Inserting data from Internal
Table into the step “Send Mail”
Display GL Account long text
using enhancement framework
Differences between Step 2: Partner Profile: T.code WE20
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

Contribute?

Sample Specs Double click on the Message Type MATMAS and enter Message type, Receiver port,

Pack size, basic type and select the radio button “Transfer IDOC immed. “
What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/IDOCFiltration/page1.htm 1/3
7/1/2019 SAPTechnical.COM - IDOC Filtration
Subscribe Unsubscribe
GO

Step 3: Distribution Model View: T.code BD64

There are no filtering objects attached to the Distribution model.

The actual process is whenever a mater IDoc is created, the IDoc consults the distribution model and
determines whether any filter objects are specified for a receiver. If so, the value in the filter object is
compared to values in the master IDoc’s data record. If the values do not match, the data record is
dropped.

To test the scenario, go to BD10 to send a material and here give the Message type and Partner system
Logical name and execute.

Here is the IDoc generated before applying filtering object.

saptechnical.com/Tutorials/ALE/IDOCFiltration/page1.htm 2/3
7/1/2019 SAPTechnical.COM - IDOC Filtration

For IDOC Filtration we have to search for a suitable filtering object in transaction BD59.

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/IDOCFiltration/page1.htm 3/3
7/1/2019 SAPTechnical.COM - IDOC Filtration

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms IDOC Filtration
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
There are many predefined filtering objects available for standard message types. Here we have to give the
SAP Query Segment name and filed name that we want to drop.
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 The filtering objects we maintained in BD59 for a message type will be in the Distribution model.
from an ABAP Class event to a
Workflow container Double click on the ‘No filter set’ in our distribution model, a screen will appear like below.
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials


Create a filter group using ‘Create filter group’ button. By default all the filter objects will appear. Double click on
any of the filter objects and give values as shown below.
Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/IDOCFiltration/page2.htm 1/3
7/1/2019 SAPTechnical.COM - IDOC Filtration
Subscribe Unsubscribe
GO

In Distribution Model we can see Data Filter Active

saptechnical.com/Tutorials/ALE/IDOCFiltration/page2.htm 2/3
7/1/2019 SAPTechnical.COM - IDOC Filtration

Below is the IDoc generated after applying filter object for ‘Plant’.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/IDOCFiltration/page2.htm 3/3
7/1/2019 Material Master distribute using Standalone programs and change pointers

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Distributing Material Master data using Standalone programs and Change
BI/BW
eXchange Infrastructure (XI) Pointers
Enterprise Portals (EP)
eCATT By Jaya Vani Bheemarasetti
Object Oriented Programming
SAP Query MASTER Data is the data that exists in the organization like employee details, material master, customer master,
Userexits/BADIs vendor master etc.
WebDynpro for Java/ABAPTM
Others Master data can be transferred by two methods:

1. Triggering through stand-alone programs


What's New?
2. Triggering through change pointers
ABAP Test Cockpit HOT Data Transfer using Standalone programs:
SAP ABAP Pragmas
Understanding SE32 (ABAP A material is created in R3SCLNT800 and should be transferred to R3SCLNT810.
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Step1: Define Logical Systems T.code SALE
Understanding “Advance with
dialog” option of SAP Workflow Path: ALE--> Basic settings à Logical Systems à Define Logical systems
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/MaterialMaster/Distribute1.htm 1/4
7/1/2019 Material Master distribute using Standalone programs and change pointers
Subscribe Unsubscribe Step 2: Assign Client to the logical system T.code: SALE
GO
Path: ALE--> Basic Settings à Logical Systems à Assign client to Logical System

Step 3: Create RFC Destination Tcode: SM59

Note: Provide Connection type as ‘3’ indicating connection to R/3 system

Enter the following details.

saptechnical.com/Tutorials/ALE/MaterialMaster/Distribute1.htm 2/4
7/1/2019 Material Master distribute using Standalone programs and change pointers

Step 4: Define port Tcode: we21

Port is the medium in which data is transferred.

To continue click here...

saptechnical.com/Tutorials/ALE/MaterialMaster/Distribute1.htm 3/4
7/1/2019 Material Master distribute using Standalone programs and change pointers

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MaterialMaster/Distribute1.htm 4/4
7/1/2019 Material Master distribute using Standalone programs and change pointers

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Distributing Material Master data using Standalone programs and
BI/BW
eXchange Infrastructure (XI) Change Pointers
Enterprise Portals (EP)
eCATT ....Previous
Object Oriented Programming
SAP Query Step 5: Maintain Partner Profiles Tcode: WE20
Userexits/BADIs
WebDynpro for Java/ABAPTM In partner profile we specify the names of the partners which are allowed to exchange IDocs .
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials


Double Click on the Message type MATMAS the following opens.
Join the Mailing List
Enter the details for Receiving port, Pack size and Basic type.
Enter name and email address below:
Name:

Email:

saptechnical.com/Tutorials/ALE/MaterialMaster/Distribute2.htm 1/3
7/1/2019 Material Master distribute using Standalone programs and change pointers
Subscribe Unsubscribe
GO

Step 6: Create Customer Distribution model Tcode: BD64

Click on the Create button and enter the short text, Technical name etc as shown below

Now select the created model view and click on Add message type button .A pop up box appears,
enter Sending system, receiving system and message type.

Save the Distribution model

Generate Partner Profiles

Click the menu item ‘Generate Partner Profiles’.

saptechnical.com/Tutorials/ALE/MaterialMaster/Distribute2.htm 2/3
7/1/2019 Material Master distribute using Standalone programs and change pointers
It leads to the next transaction where in the selection screen you have to provide Model view name,
Partner System logical system and execute.

Then, you will be intimated about the partners, port creation, and outbound parameters creation.

Distribute Customer Distribution Model

In the menu item ‘Distribute’ to the destination client.

Popup window appears , press Enter.

Generate Partner Profiles in partner system (in bound system)

Transaction: BD82

Provide Model view and logical system of Partner system to this system (our Outbound system)

Execute, again you will be intimated about the creation of inbound parameters.

NOTE:
You cannot maintain a message type between the same sender and receiver in more than one customer
distribution model.
Only the owner is authorized to modify the model.

To continue click here...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MaterialMaster/Distribute2.htm 3/3
7/1/2019 Material Master distribute using Standalone programs and change pointers

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Distributing Material Master data using Standalone programs
eXchange Infrastructure (XI) and Change Pointers
Enterprise Portals (EP)
eCATT ....Previous
Object Oriented Programming
SAP Query Step 7: Creation of material T.code MM01.
Userexits/BADIs
WebDynpro for Java/ABAPTM Enter the details as shown below and create a material.
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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

Step 8: Send the created material. T.code BD10


Contribute?
Enter the material created or changed, message type and the destination system as follow and
execute.
Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/MaterialMaster/Distribute3.htm 1/4
7/1/2019 Material Master distribute using Standalone programs and change pointers
Subscribe Unsubscribe
GO

We get the information as 1 master Idoc created, 1Communication Idoc created.

Step 9: View the IDoc T.code we05

Technical Settings In the Receiving system R3SCLNT810.

Partner Profile T.code WE20

For the partner add the message type .here the message type is MATMAS

saptechnical.com/Tutorials/ALE/MaterialMaster/Distribute3.htm 2/4
7/1/2019 Material Master distribute using Standalone programs and change pointers
Double click on the message type and enter the processing code (MATM) and select Trigger
Immediately radio button, save.

Get the material T.code BD11.

Enter the material created or changed, and the Message as shown below.

If every thing is fine IDOC will be created.

View the Idoc in the T.code We09.

To continue click here...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

saptechnical.com/Tutorials/ALE/MaterialMaster/Distribute3.htm 3/4
7/1/2019 Material Master distribute using Standalone programs and change pointers
Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MaterialMaster/Distribute3.htm 4/4
7/1/2019 Material Master distribute using Standalone programs and change pointers

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Distributing Material Master data using Standalone programs and
BI/BW
eXchange Infrastructure (XI) Change Pointers
Enterprise Portals (EP)
eCATT ....Previous
Object Oriented Programming
SAP Query Data Transfer by Change Pointers:
Userexits/BADIs
WebDynpro for Java/ABAPTM Steps from 1 to 6 are same as stand alone programs.
Others
Step1: Define logical system
What's New? Step2: Assign logical system to the client

Step3: Create RFC Destination


ABAP Test Cockpit HOT
SAP ABAP Pragmas Step4: Define Port
Understanding SE32 (ABAP
Text Element Maintenance) Step5: Generate partner profiles
Creating an IDoc File on SAP
Application Server
Step6: Create Customer Distribution model
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
The following are the additional steps for Change pointers
Maintenance Notification
Approval Note (The following steps are to be maintained in both the sending and receiving systems)
Enhancements to a standard
class Step 1: Activate change pointers generally T.Code BD61
Working with Floating Field in
Adobe Forms Check the box so that change pointers get activated and keep track the changes to
Inserting data from Internal
Table into the step “Send Mail” trigger ALE process.
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 Step 2: Activate change pointers for the message type T.code BD50
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Step3: Change Document should be checked at data element level


Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/MaterialMaster/Distribute4.htm 1/2
7/1/2019 Material Master distribute using Standalone programs and change pointers
Subscribe Unsubscribe
GO

Step4: Run the program RBDMIDOC or the T.code BD21

Enter message type and execute.

Create or change a material and check for the Idoc creation in the T.code WE09.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/MaterialMaster/Distribute4.htm 2/2
7/1/2019 SAPTechnical.COM - Automatic IDOC generation whenever a PO is created/changed

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW Automatic IDOC generation whenever a PO is created/changed
eXchange Infrastructure (XI)
Enterprise Portals (EP)
This document details about the step-by-step procedure in generating an IDOC whenever a PO
eCATT
Object Oriented Programming
is either created or changed.
SAP Query
Userexits/BADIs
1. Go to transaction NACE.
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
Inserting data from Internal
Table into the step “Send Mail”
Display GL Account long text
using enhancement framework 2. Select the row “EF Purchase Order” and click on “Procedures”.
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 3. From the above screenshot, it is evident that there are 2 procedures for the application EF
structure/table (Purchase Order). To proceed further, we would need to find out the procedure that is
Side Panel Usage in NWBC currently active.

Go to transaction SPRO. In this, navigate as following:


Contribute?
Materials management à Purchasing à Messages à Output control à Message
Determination Schemas à Define Message Schema for Purchase Order
Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:

saptechnical.com/Tutorials/ALE/AutoIDOCGen/AutomaticIDocGeneration1.htm 1/3
7/1/2019 SAPTechnical.COM - Automatic IDOC generation whenever a PO is created/changed
Name:

Email:

Subscribe Unsubscribe
GO

Click on “Assign Schema to Purchase Order”.

So, the procedure RMBEF1 is active for EF (Purchase Order) .

4. Go back to transaction NACE. Select ‘EF’ and click on “Output types”.

saptechnical.com/Tutorials/ALE/AutoIDOCGen/AutomaticIDocGeneration1.htm 2/3
7/1/2019 SAPTechnical.COM - Automatic IDOC generation whenever a PO is created/changed
5. Let us use the output type “NEU” for our demonstration purpose. Double-click on NEU.

6. Ensure that the checkboxes “Access to conditions” and “multiple issuing” are checked.

Continued...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/AutoIDOCGen/AutomaticIDocGeneration1.htm 3/3
7/1/2019 SAPTechnical.COM - Automatic IDOC generation whenever a PO is created/changed

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW Automatic IDOC generation whenever a PO is created/changed
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
7. Now click on “Processing Routines” on the left hand side.
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 8. Ensure that there is an entry for Medium ‘A’ (Distribution ALE).
Passing multiline parameters
from an ABAP Class event to a 9. Now go back to the main screen of NACE.
Workflow container
Concept of Re-evaluate agents 10. Select EF (Purchase Order) and click on “Condition Records”.
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials 11. Select NEU and click on “Condition records”. Following pop-up box appears.

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/AutoIDOCGen/AutomaticIDocGeneration2.htm 1/3
7/1/2019 SAPTechnical.COM - Automatic IDOC generation whenever a PO is created/changed
Subscribe Unsubscribe
GO

Select the radio button “Purchase Organization”.

The following list appears.

12. Enter a new record for the medium A (Distribution ALE) and 4 (Send immediately) in the date/time.

13. Also ensure that you have done the necessary ALE configuration (not covered in this document). In
the partner profiles, use the message type “ORDERS” and the IDOC type “ORDERS05”.

In the tab “Message Control”, use the process codes “ME10” and “ME11” for “PO Create” and “PO
Change” respectively.

saptechnical.com/Tutorials/ALE/AutoIDOCGen/AutomaticIDocGeneration2.htm 2/3
7/1/2019 SAPTechnical.COM - Automatic IDOC generation whenever a PO is created/changed

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/AutoIDOCGen/AutomaticIDocGeneration2.htm 3/3
7/1/2019 SAPTechnical.COM - IDOC Extension

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Enhancement of IDoc Type
eXchange Infrastructure (XI)
Enterprise Portals (EP)
By Suraj Kumar Pabbathi
eCATT
Object Oriented Programming
Usually enhancement takes place when the content in IDocs provided by SAP are not sufficient for
SAP Query the business process. IDoc extension can take place whenever dictionary table has a new structure
Userexits/BADIs appended required by the business process.
WebDynpro for Java/ABAPTM
Others In brief IDoc extension takes place when extra fields are required for the business process.

Let us take a scenario and understand the process of IDoc extension.


What's New? In this scenario say visitor is different from the actual customer who has came to the sales office
in behalf of the customer to obtain the quotation or inquiry etc. Or an authorized agent qualified
ABAP Test Cockpit HOT by the actual customer to order for items. So a field by name NAMEVI (Visitor) is added to
SAP ABAP Pragmas Customer master data. As there is no provision given by SAP to handle this, we need to extend
Understanding SE32 (ABAP an IDoc.
Text Element Maintenance)
Creating an IDoc File on SAP The standard message type and IDoc type provided by SAP are DEBMAS and DEBMAS05.
Application Server
Understanding “Advance with Consider the data in the table below for extending the IDoc. These details can be understood in
dialog” option of SAP Workflow
different sections in the process of extending it.
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard Basic IDoc type DEBMAS05
class
Working with Floating Field in
Adobe Forms Version 4.7
Inserting data from Internal
Table into the step “Send Mail”
Display GL Account long text IDoc extension DEBMASEXT
using enhancement framework
Differences between
polymorphism in JAVA and
ABAP Custom segment Z1KNA1
Passing multiline parameters
from an ABAP Class event to a
Workflow container Fields in Custom Segment Visitor
Concept of Re-evaluate agents
for active work items in SAP
Workflow Parent of Custom Segment E1KNA11
Dynamic creation of component
usage in ABAP WebDynpro
Adobe Forms: Display symbols Outbound process
like copyright and others
Deactivate Hold functionality in
Purchase order (ME21N)
Step1. Customize kna1 table by appending a structure provided by SAP (ZAKNA1)
Quiz on OOABAP
Add fields in FBL5N using
BADIs Component Component Type
Tutorial on Wide casting
Defining a Range in Module
Pool Program VISITOR NAMEVI
Copy fields from one
structure/table into another
structure/table Step2: Write a module pool program to update some existing customers to add data for Visitor.
Side Panel Usage in NWBC
Step3: Create a custom segment

Contribute? Transaction Code: WE31

Sample Specs Segment type: Z1KNA11 Click (create). Provide short text

What's Hot? Field Name Data element

Web Dynpro for ABAP Tutorials VISITOR NAMEVI

Join the Mailing List Save


Enter name and email address below:
Step4: Create IDoc extension
Name:

Email: Transaction WE30

saptechnical.com/Tutorials/ALE/IDOCExtension/IDOCExtension.htm 1/4
7/1/2019 SAPTechnical.COM - IDOC Extension
Subscribe Unsubscribe Object Name DEBMASEXT
GO
Choose Extension

Click and it leads to next screen.

Linked basic type: DEBMAS05

Provide description and enter

Observe all the segments to be copied into your IDoc extension from linked basic

type.

Select E1KNA11 and click (create segment) to obtain a popup window

saptechnical.com/Tutorials/ALE/IDOCExtension/IDOCExtension.htm 2/4
7/1/2019 SAPTechnical.COM - IDOC Extension
Provide the required values and observe child segment Z1KNA11 to be added to

parent segment E1KNA11.

Step5: Release segment and IDoc extension

Transaction: WE31

Segment type: Z1KNA11

Path: Edit à Set release

Step6: Assign Basic type to extension / messages

Transaction: WE82

Click , then

Select DEBMAS message type against DEBMAS06 basic type

Click provide the information

Message Type Basic Type Extension Version

DEBMAS DEBMAS06 DEBMASEXT 4.7

Delete the earlier one from which it was copied.

Save.

Observe the result as follows

Contd..

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/IDOCExtension/IDOCExtension.htm 3/4
7/1/2019 SAPTechnical.COM - IDOC Extension

saptechnical.com/Tutorials/ALE/IDOCExtension/IDOCExtension.htm 4/4
7/1/2019 SAPTechnical.COM - IDOC Extension

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Enhancement of IDoc Type
BI/BW
eXchange Infrastructure (XI)
By Suraj Kumar Pabbathi
Enterprise Portals (EP)
eCATT
Previous
Object Oriented Programming
SAP Query
Step 7: Check and Transport IDoc extension
Userexits/BADIs
WebDynpro for Java/ABAPTM
Transaction: WE30
Others
Object name: DEBMASEXT
What's New? Path: Development object -> Check

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP Text
Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
Inserting data from Internal Table
into the step “Send Mail” Ensure that there are no errors or warnings
Display GL Account long text
using enhancement framework Now transport
Differences between
polymorphism in JAVA and Path: Development -> Transport
ABAP
Passing multiline parameters Step8: Find suitable user exit for writing code to support IDoc extension
from an ABAP Class event to a
Workflow container
Concept of Re-evaluate agents
Transaction: SE84.
for active work items in SAP
Workflow Click Enhancements
Dynamic creation of component
usage in ABAP WebDynpro In short text provide *customer*
Adobe Forms: Display symbols
like copyright and others Find suitable enhancement to be VSV00001
Deactivate Hold functionality in
Purchase order (ME21N) Alternative way
Quiz on OOABAP
Add fields in FBL5N using BADIs Transaction: SMOD
Tutorial on Wide casting
Defining a Range in Module Pool Click F4 help for Enhancement
Program
Copy fields from one Path: F4help -> SAP Applications -> Logistics general -> Logistics Basic Data ->
structure/table into another
structure/table
Side Panel Usage in NWBC Business partners -> Vendor Master.

Find the enhancement as VSV00002, which is an approximate user exit.


Contribute? Now search for different extensions like VSV00001. Then see for its components.

Identify the appropriate user exit to be ‘EXIT_SAPLVV01_001’ (Create Export of


Sample Specs
Additional Customer Master Segments). This user exit can be used in outbound
ALE
What's Hot?
process, meant for filling the data into custom segments.
Web Dynpro for ABAP Tutorials
You have to identify here another user exit as ‘EXIT_SAPLVV02_001’, which is

Join the Mailing List helpful for inbound ALE process. This user exit can be used to read the segments

Enter name and email address below: and post it to Application repository.
Name:
Step9: Develop a project to encapsulate enhancements and components.

saptechnical.com/Tutorials/ALE/IDOCExtension/IDOCExtension2.htm 1/4
7/1/2019 SAPTechnical.COM - IDOC Extension
Email: Transaction: CMOD.

Enhancement: custex and click Create to provide attributes.


Subscribe Unsubscribe
GO Click Enhancement Assignments.

Provide VSV00001, short text and save.

From the initial screen of the transaction, select components and click change.

Find 4 components to be added.

Activate them.

Select user exit EXIT_SAPLVV01_001 for outbound process and double click it.
It leads to function builder.

Double click on provided include program ZXVSVU01 and press enter.

Now, write supporting code for IDoc extension, i.e., populating custom
segments in IDoc.

Check the code and activate.

Code in ZXVSVU01

*&---------------------------------------------------------------------*

*& Include ZXVSVU01 *

*&---------------------------------------------------------------------*

*In this scenario, the E1KNA11 has been extended to accommodate

*User-defined fields in the customer table kna1. The name of the

*extended

*segment is z1kna11. There is one custom field: visitor

*&---------------------------------------------------------------------*

*Data declarations

DATA: kna1m like e1kna1m,

kna11 like e1kna11,

z1kna11 like z1kna11,

w_kna1 like kna1.

* make sure you are processing correct message type

check message_type eq 'DEBMAS'.

* make sure data is added after the correct segment

check segment_name eq 'E1KNA1M'.

* since customer number is not passed in this user exit, you need to go

* through the data records to find the customer number

loop at idoc_data.

case idoc_data-segnam.

when 'E1KNA1M'.

move idoc_data-sdata to kna1m.

when 'E1KNA11'.

move idoc_data-sdata to kna11.

endcase. " case idoc_data-segname.

endloop. " loop at idoc_data.

* select data from the user-defined fields in kna11.

select single *

from kna1 " Customer master table

into w_kna1

where kunnr = kna1m-kunnr.

if sy-subrc eq 0.

* set the idoc extension name for control record

idoc_cimtype = 'DEBMASEX'.

* clear custom fields from kna1 to extended segment

clear z1kna11.

* copy custom fields from kna1 to extended segment

move-corresponding w_kna1 to z1kna11. " field name must be same

* condense all fields of extended segment

condense: z1kna11-visitor.

saptechnical.com/Tutorials/ALE/IDOCExtension/IDOCExtension2.htm 2/4
7/1/2019 SAPTechnical.COM - IDOC Extension
* populate segment name in the data record, copy data contents into it

* and append the data record to existing data records in

move 'Z1KNA11' TO IDOC_data-segnam. " administrative section

move z1kna11 to idoc_data-sdata. " data section

append idoc_data.

endif. " if sy-subrc eq 0.

Step 10:

Define Logical System

Assign client to Logical System

Maintain RFC Destination

Maintain Customer Distribution Model

Generate Partner Profiles

Distribute Customer Distribution Model

INBOUND PROCESS

Step 11: Append the custom structure to the table KNA1 similar to the process
done

in outbound process.

Step 12.

Define Logical System

Assign client to Logical System

Generate Partner Profiles

Step 13. Execute the transaction to ‘Send Customers’ from Outbound system.

Step 14. Now in the Inbound system, create the project in the similar way as
done at

outbound side.

In the user exit EXIT_SAPLVV02_001, find include ‘ZXVSVU02’. Write the code
to

support IDoc extension.

Code in ZXVSVU02

*&---------------------------------------------------------------------*

*& Include ZXVSVU02 *

*&---------------------------------------------------------------------*

data: kna1m like e1kna1m,

kna11 like e1kna11,

z1kna11 like z1kna11.

data fs_kna1 type kna1.

message i000(0) with 'INBOUND PROCESS CALLED'.

LOOP AT IDOC_data.

case idoc_data-segnam.

when 'E1KNA1M'.

kna1m = idoc_data-sdata.

when 'E1KNA11'.

kna11 = idoc_data-sdata.

when 'Z1KNA11'.

z1kna11 = idoc_data-sdata.

saptechnical.com/Tutorials/ALE/IDOCExtension/IDOCExtension2.htm 3/4
7/1/2019 SAPTechnical.COM - IDOC Extension
select single *

from kna1

into fs_kna1

where kunnr = kna1m-kunnr.

if sy-subrc eq 0.

update kna1

set visitor = z1kna11-visitor

where kunnr = kna1m-kunnr.

else.

idoc_status-docnum = idoc_control-docnum.

idoc_status-status = '51'.

idoc_status-msgty = 'E'.

idoc_status-msgid = 'ZE'.

idoc_status-msgno = '005'.

idoc_status-msgv1 = kna1m-kunnr.

append idoc_status.

endif. " if sy-subrc eq 0.

endcase. " case idoc_data-segnam.

endloop. " LOOP AT IDOC_data.

Step 15. Assign FM to extension/Message type

Transaction: WE57

Path: Change à New Entries

Select ‘IDOC_INPUT_DEBITOR’ against DEBMAS06 basic type, to fill extra

information as shown below.

Function Module Basic Type Message Type


Extension

IDOC_INPUT_DEBITOR DEBMAS06 DEBMAS DEBMASEXT

Step 16. Execute the transaction to ‘Get Customers’.

And observe that records with extra data are saved in


database.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/IDOCExtension/IDOCExtension2.htm 4/4
7/1/2019 SAPTechnical.COM - Conversion of IDOC's to XML format

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Conversion of IDOC's to XML format
BI/BW
eXchange Infrastructure (XI)
By Suresh Parvathaneni and Narasimha Motupalli
Enterprise Portals (EP)
eCATT
This Tutorial details about the step by step in conversion of IDOCs to XML format for further use in XI
Object Oriented Programming
or any other application. It is assumed that the reader of this Tutorial has some knowledge in ALE,
SAP Query
Userexits/BADIs
IDOCs and Change Pointers.
WebDynpro for Java/ABAPTM
Others
Scenario: Conversion of the Material IDOC (Message type: MATMAS) to XML format and store the
same in the application server of SAP®.

What's New? Approach

Change pointers are used for sending IDOCs for master data like Material Master. To work with
ABAP Test Cockpit HOT Change pointers, following two steps have to be performed:
SAP ABAP Pragmas
Understanding SE32 (ABAP Turn on change pointer update generally
Text Element Maintenance) Providing the message types to be included for change pointer updation.
Creating an IDoc File on SAP
Application Server To do the above configurations:
Understanding “Advance with
dialog” option of SAP Workflow TCode: SALE --> IDOC Interface / Application Link Enabling (SALE) --> Modeling and implementing
SAP Workflow Scenario: Business Processes --> Master Data Distribution --> Replication of Master Data
Maintenance Notification
Approval
Enhancements to a standard
ALE Configuration Steps:
class
Working with Floating Field in 1. Creation of logical system for the sender system.
Adobe Forms 2. Assignment of logical system to the client.
Inserting data from Internal 3. Create a logical system for the recipient
Table into the step “Send Mail” 4. Creation of RFC destination (Connection type:TCP/IP)
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 5. Creation of Model View (TCode: BD64).
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

Contribute?
6. Save the Model View and Generate Partner Profiles.
7. There might be a problem with the automatic Port creation. Creation of the port has to be done
Sample Specs manually.
8. Create an XML Port from the transaction WE21 (Port type: XML File).

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/IDOCToXML/IDOCToXML.htm 1/3
7/1/2019 SAPTechnical.COM - Conversion of IDOC's to XML format
Subscribe Unsubscribe
GO

Here directory is the path on the application server. The Function Module is used for file naming
conventions. Any of the SAP® provided function modules could be used for this (Use F4 help to
check on this) or create any custom function module for any other naming conventions.

In the outbound trigger tab, mention the RFC destination created earlier.

9. Make an entry in the partner profile generated earlier for message type MATMAS.

10. A background job need to be scheduled, for a periodic run (interval as required) for the
program RBDMIDOC with the message type MATMAS.
11. Depending on the settings in the partner profiles, it may be necessary to send IDocs directly
by executing the program RSEOUT00 (if the setting is to “Collect IDocs”)

Test the above scenario by creating a material using MM01. An XML file would have been created in
the directory specified in the XML port. The file could be downloaded onto the front-end system using
the transaction CG3Y.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

saptechnical.com/Tutorials/ALE/IDOCToXML/IDOCToXML.htm 2/3
7/1/2019 SAPTechnical.COM - Conversion of IDOC's to XML format
Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/IDOCToXML/IDOCToXML.htm 3/3
7/1/2019 SAPTechnical.COM - Download IDOC to excel, html or any other format

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Download IDOC to excel, html or any other format
eXchange Infrastructure (XI)
Enterprise Portals (EP)
By Sravani
eCATT
Object Oriented Programming
To download an IDOC into an Excel, HTML or any other format:
SAP Query
Userexits/BADIs
Go to transaction IDOC
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 Select the radio button “Analyse IDoc field values” and click on Execute.
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

Contribute?

Sample Specs

What's Hot?
Enter an IDoc number and select the check box “Also output empty fields”. Click on “Output in
Web Dynpro for ABAP Tutorials Internal Form”.

Join the Mailing List Following screen appears:

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/Download/IDOC.htm 1/2
7/1/2019 SAPTechnical.COM - Download IDOC to excel, html or any other format
Subscribe Unsubscribe
GO

Click on Execute.

Now click on List -> Save/Send -> File

Now select the required format and hit Enter. The IDoc is now stored on your system in the
required format.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Download/IDOC.htm 2/2
7/1/2019 SAPTechnical.COM - Change Pointers in ALE

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Change Pointers in ALE
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
By Kamesh G, IBM
eCATT
Object Oriented Programming
SAP Query
1. Change Pointers
Userexits/BADIs
WebDynpro for Java/ABAPTM Change Pointers are log entries to remember all modified records relevant for ALE. Change pointers are log
Others entries to table BDCP, which are written every time a transaction modifies certain fields.

What's New? 2. Activate/De-activate change pointers

ABAP Test Cockpit HOT 2.1 Activate change pointers


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance) A) TCODE: BD50 (Activate change pointer for message type)
Creating an IDoc File on SAP
Application Server Below screen shows Activating change pointer for Message Type 'MATMAS'
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 In above screen if active flag (Check box) is unchecked then Change pointers is deactivated.
for active work items in SAP
Workflow B) TCODE: BD66 (Segment Field-Change Document field)
Dynamic creation of component
usage in ABAP WebDynpro Change Document field should exist in this TCODE align particular Segment type.
Adobe Forms: Display symbols
like copyright and others The above screen shows the fields in change document.
Deactivate Hold functionality in
Purchase order (ME21N)
Message Type: MATMAS
Quiz on OOABAP
Add fields in FBL5N using
BADIs Segment Type: E1MAKTM
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name: The below screen shows actual fields in segment.

Email:

saptechnical.com/Tutorials/ALE/ChangePointers/Index.htm 1/4
7/1/2019 SAPTechnical.COM - Change Pointers in ALE
Subscribe Unsubscribe
GO

C) TCODE: BD61 (Activate change pointers generally)

The Below screen shows how to activate change Pointers generally.

2.2 De-activate change pointers.

If some messages types are no longer to be distributed by change pointers, you can deactivate change
pointers for this message type (by removing active flag in BD50). We can deactivate change pointers for the
message type and reactivate them again in transaction BD50.

Following screen shows how to deactivate change pointers for reduced message types.

Example: I have taken ‘ZMATMAS’. Here the shaded part is shows Deactivate change pointers PUSH
button.

3. Creating IDOC with change pointers.

TCODE: BD21

Purpose: Create IDOC type from change pointers

Program: RBDMIDOC

We can create IDOCS from change pointers with the report RBDMIDOC

The report tells how many master and communication IDocs have been created.

TCODE: BD22

Purpose: Delete Change Pointers

Program: RBDCPCLR

saptechnical.com/Tutorials/ALE/ChangePointers/Index.htm 2/4
7/1/2019 SAPTechnical.COM - Change Pointers in ALE

Here we can delete obsolete and processed change pointers in specific time and for specific message type.

Example:

In above screen I have selected obsolete change pointers for MATMAS message type.

Example:

In below screen I have selected processed change pointers.

Execute

saptechnical.com/Tutorials/ALE/ChangePointers/Index.htm 3/4
7/1/2019 SAPTechnical.COM - Change Pointers in ALE

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/ChangePointers/Index.htm 4/4
7/1/2019 SAPTechnical.COM - Extending the standard IDOC for Outbound delivery (VL02N)

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Extending the standard IDOC for Outbound delivery
eXchange Infrastructure (XI) (VL02N)
Enterprise Portals (EP)
eCATT By Rajeev Sharma, Intelligroup
Object Oriented Programming
SAP Query Scenario:
Userexits/BADIs
WebDynpro for Java/ABAPTM Step by step procedure for extending a standard IDOC, populating the custom segment
Others and trigger the extension IDOC from VL02N transaction.

Extending an IDOC:
What's New?
This begins with creating a custom segment; custom segment creation is developed in
transaction WE31.
ABAP Test Cockpit HOT
SAP ABAP Pragmas Custom segments begin with ‘Z1’ (just a name standard), now go to T-code: WE31 and
Understanding SE32 (ABAP
Text Element Maintenance)
type your custom segment name as Z1EDLPI and click on the create button as shown
Creating an IDoc File on SAP below.
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 When the create button is clicked, the below shown screen will be displayed. Enter a
usage in ABAP WebDynpro
Adobe Forms: Display symbols
short description for the custom segment and add the required field name and the
like copyright and others corresponding data element. Once the required fields are added click on the save
Deactivate Hold functionality in button.
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

Contribute?

Sample Specs

What's Hot? After clicking on save button, click on back button you will see the below shown screen.
Now click on the segment definition you have created and do “Set Release” from EDIT
Web Dynpro for ABAP Tutorials menu.

Note: Without releasing your segment definition you cannot use the segment.
Join the Mailing List

Enter name and email address below:

saptechnical.com/Tutorials/ALE/IDOCExtension/VL02N.htm 1/3
7/1/2019 SAPTechnical.COM - Extending the standard IDOC for Outbound delivery (VL02N)
Name:

Email:

Subscribe Unsubscribe
GO

With this, custom segment creation is completed.

Next step is to create an extension IDOC with the above created custom segment, Go to
transaction WE30.

Enter a name ‘ZDELVRY03’ for the extension IDOC and check on the Extension check
box and click create button.

The following popup screen will be displayed. Click on the ‘Create New’ radio button to
create an extension with the help of a Basic IDOC type. Enter the standard basic type
name ‘DELVRY03’ in the ‘Linked Basic type’ field and enter a short description and click
continue.

The following screen will be displayed with all the standard segment of basic type
‘delvry03’.

Now we need to add our custom segment to the required segment, in our example we
will take segment E1EDL22. We will have to add the custom segment Z1EDLPI to
segment ELEDL22.

Select the segment E1EDL22 and click on the create button, an information message will
pop up and say ‘Extension segment type(s) will be in child segment type(s) of E1EDL22’.
Click on continue. Another pop up will be prompted for entering the custom segment
name and attributes.

Enter the name of the segment Z1EDLPI, minimum and maximum occurs as shown
below.

saptechnical.com/Tutorials/ALE/IDOCExtension/VL02N.htm 2/3
7/1/2019 SAPTechnical.COM - Extending the standard IDOC for Outbound delivery (VL02N)
Note: Attribute entries may vary depending on the requirement, the below shown
attribute entries are for our requirements only.

Newly added segment is seen as below.

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/IDOCExtension/VL02N.htm 3/3
7/1/2019 SAPTechnical.COM - Extending the standard IDOC for Outbound delivery (VL02N)

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Extending the standard IDOC for Outbound delivery (VL02N)
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
Save the extension IDOC and click on the back button and go to Utilities -> Enhancement -
SAP Query >Assign basic type.
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification The below pop up will be prompted with the basic type name, which we have used to create
Approval
Enhancements to a standard
our extension type. In our case it is ‘delvry03’. Click on the continue button.
class
Working with Floating Field in
Adobe Forms
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 Now click on the Set Release menu item in EDIT menu to release the extension IDOC.
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

Contribute? A pop up will be prompted as shown below, click on YES to release the Extension IDOC.

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

We have successfully created our extension IDOC ‘ZDELVRY03’.


Email:

saptechnical.com/Tutorials/ALE/IDOCExtension/Page2.htm 1/3
7/1/2019 SAPTechnical.COM - Extending the standard IDOC for Outbound delivery (VL02N)
Next step is to create a logical message type. Go to transaction WE81.
Subscribe Unsubscribe By default the screen will be in display mode, go to change mode to enter a new entry.
GO
Give some name to the logical message type and a short description. Save the entry.

Next step is to assign the created extension IDOC type with the above created logical message
type. This is carried out in transaction WE82.

Here you will assign the message type with the extension IDOC type along with the basic type
and release version combination as shown below.

Save the entry.

Next step is to create a partner profile and assign our message type to it. Also provide details
like output types, process code etc in message control tab. To create a partner profiles go to
transaction WE20.

Note: The partner number in partner profile and ship to party number in delivery (VL02N)
should be same. In the below shown example we are using Delivery number ‘80016347’ and
hence the ship to party ‘1171’ will be our partner number. In WE20 transaction, expand the
partner type ‘Partner type KU Customer’ and find the partner number ‘1171’. If it doesn’t exist
then click on the create button and type the partner number ‘1171’ and save the entry.

Now click on the Create Outbound Parameter button (A icon with green plus symbol).

saptechnical.com/Tutorials/ALE/IDOCExtension/Page2.htm 2/3
7/1/2019 SAPTechnical.COM - Extending the standard IDOC for Outbound delivery (VL02N)

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/IDOCExtension/Page2.htm 3/3
7/1/2019 SAPTechnical.COM - Extending the standard IDOC for Outbound delivery (VL02N)

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Extending the standard IDOC for Outbound delivery (VL02N)
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
The following screen will be displayed. Enter the partner role(optional), message type, receiver
SAP Query port, basic type and extension type names respectively. Also select the ‘Transfer IDOC immed.’
Userexits/BADIs Radio button. And save the entries.
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
Inserting data from Internal
Table into the step “Send Mail”
Display GL Account long text
using enhancement framework
Differences between
polymorphism in JAVA and Now click on the message control tab as shown below and click on the insert row icon (green
ABAP plus symbol) to enter the necessary details.
Passing multiline parameters
from an ABAP Class event to a Use the F4 help to select the appropriate application, in our case it is ‘V2’ (For Delivery). The
Workflow container next entry is choosing the message type (note that this message type is different from the one
Concept of Re-evaluate agents which we have created earlier, this message type is used to set the output types in VL02N
for active work items in SAP
Workflow
transaction). In our case the message type is ‘LD00’.
Dynamic creation of component
usage in ABAP WebDynpro NOTE: Appropriate message types are selected with the help of NACE transaction. In NACE
Adobe Forms: Display symbols transaction, select the appropriate Application (V2) and click the output type PUSH button in the
like copyright and others application tool bar. List of output types will be displayed, see which output type is configured for
Deactivate Hold functionality in your required output medium (ALE, EDI, PTINTER, FAX etc.) you can use only those output
Purchase order (ME21N) types as message types in partner profile.
Quiz on OOABAP
Add fields in FBL5N using Next entry is to choose the process code.
BADIs
Tutorial on Wide casting
For each applications (V1for sales order, V2 for delivery, V3 for invoice) there are set of process
Defining a Range in Module
Pool Program codes maintained in transaction WE41 (For outbound process code). Go to WE41 transaction
Copy fields from one and select the appropriate process code. In our case it is ‘DELV’.
structure/table into another
structure/table NOTE: The process codes are assigned to function modules which has the code to process
Side Panel Usage in NWBC (Populate the IDOC segments, save the segment data in EDI specific database table etc) the
IDOC segments at runtime.

Contribute? Once the necessary entries are made click on save button.

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/IDOCExtension/Page3.htm 1/3
7/1/2019 SAPTechnical.COM - Extending the standard IDOC for Outbound delivery (VL02N)
Subscribe Unsubscribe
GO

This ends your partner profile creation.

Time for a little coding, as stated earlier the process codes are associated with function modules
to process our extension IDOC. To see the function module double click on the process code
‘DELV’. It will take to the following screen.

Next step is to find the customer exit in the function module to populate the custom segment in
the extension IDOC. Check for the PERFORM that fill the Data records internal table and
proceed to find the relevant customer exit or directly you can search customer exit for Data
record. Usually the customer exits for Data records will be “customer-function ‘002’ ”.

Note: FM: IDOC_OUTPUT_DELVRY has all the standard logic to populate the standard
segments of the extension IDOC ‘ZDELVRY03’. We use the customer exit to imply our logic on
standard segments and to populate custom segments. In our case we are using it for latter case.

saptechnical.com/Tutorials/ALE/IDOCExtension/Page3.htm 2/3
7/1/2019 SAPTechnical.COM - Extending the standard IDOC for Outbound delivery (VL02N)

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/IDOCExtension/Page3.htm 3/3
7/1/2019 SAPTechnical.COM - Extending the standard IDOC for Outbound delivery (VL02N)

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
Extending the standard IDOC for Outbound delivery (VL02N)
eXchange Infrastructure (XI)
Enterprise Portals (EP)
...Previous
eCATT
Object Oriented Programming
The below code has the logic for adding the custom segment ‘Z1EDLPI’ as child of ‘E1EDL22’
SAP Query and what data needs to be populated in the fields of the custom segment. Save and activate
Userexits/BADIs include ZXTRKU02.
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
Inserting data from Internal
Table into the step “Send Mail”
Display GL Account long text
using enhancement framework
Differences between Note: The code written above will be executed only if this enhancement component’s Project is
polymorphism in JAVA and activated in SMOD.
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

Contribute?

Sample Specs
With this all the necessary configurations on the EDI IDOC front is over. The next step will be
What's Hot? configuring the output types in VL02N to trigger the Extension IDOC. To do this, go to Transaction
VL02N.
Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/IDOCExtension/Page4.htm 1/4
7/1/2019 SAPTechnical.COM - Extending the standard IDOC for Outbound delivery (VL02N)
Subscribe Unsubscribe
GO

Select the ‘Send Immediately option’ and click on back button and save the Delivery.

When the delivery is saved successfully we can see the IDOC number by selecting the output
type and clicking on processing log push button as shown below.

saptechnical.com/Tutorials/ALE/IDOCExtension/Page4.htm 2/4
7/1/2019 SAPTechnical.COM - Extending the standard IDOC for Outbound delivery (VL02N)

Now to see whether the custom segment has been populated as desired and to know the status
of the IDOC, go to transaction WE02.

saptechnical.com/Tutorials/ALE/IDOCExtension/Page4.htm 3/4
7/1/2019 SAPTechnical.COM - Extending the standard IDOC for Outbound delivery (VL02N)
Please send us your feedback/suggestions at [email protected]

Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/IDOCExtension/Page4.htm 4/4
7/1/2019 Re-Processing inbound IDOC using WE02

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Re-Processing inbound IDOC using WE02
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
By Manish Gupta, Infosys Technologies Ltd
eCATT
Object Oriented Programming
Whenever posting an inbound IDOC results in error, the general tendency is to post the IDOC
SAP Query again by executing the posting application/program again or by correcting the errors and re-
Userexits/BADIs processing the IDOC using transaction WE19. Both these options would create a new IDOC in
WebDynpro for Java/ABAPTM the system leaving the old IDOC useless.
Others
There is a provision in SAP wherein we can re-process the same IDOC without creating any
additional IDOC’s in the system. This can be achieved by using the transaction WE02. The
What's New? below steps tell how to do it:

1. Open the IDOC in error in WE02 Transaction.


ABAP Test Cockpit HOT
SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance with
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 2. Expand the status records, and see which segment is in error.
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

Contribute?

Sample Specs

What's Hot?
3. Double click on the page type icon adjacent to the error segment name, as shown in the
Web Dynpro for ABAP Tutorials figure below.

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/WE02/Index.htm 1/3
7/1/2019 Re-Processing inbound IDOC using WE02
Subscribe Unsubscribe
GO

4. It will take you to the below screen, this shows which fields are filled for that particular
segment.

5. Go to change mode, this will show all the fields that exist in the segment whether filled or
not.

saptechnical.com/Tutorials/ALE/WE02/Index.htm 2/3
7/1/2019 Re-Processing inbound IDOC using WE02

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/WE02/Index.htm 3/3
7/2/2019 Customer exit for passing extra fields in Master data distribution using SMD tool (Shared master data tool)

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Customer exit for passing extra fields in Master data distribution
BI/BW
eXchange Infrastructure (XI) using SMD tool (Shared master data tool)
Enterprise Portals (EP)
eCATT By Rahul Manoj Mahajan, John Deere India Pvt. Ltd
Object Oriented Programming
SAP Query Introduction:
Userexits/BADIs
WebDynpro for Java/ABAPTM
This article will describe in detail how the customer exit can be used for passing some additional fields
Others
while distributing the master data using SMD tool.

In this article, we will take the example of material master data and additional field we would be
What's New?
considering is change number (AENNR).

ABAP Test Cockpit HOT Requirement:


SAP ABAP Pragmas
Understanding SE32 (ABAP Distribution of some additional fields like change number in master data distribution using SMD tool.
Text Element Maintenance)
Creating an IDoc File on SAP Steps to be followed:
Application Server
Understanding “Advance with Step1: Identify and Activate the Customer Exit.
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
In this example, we are taking the example of material master data and hence we need to first identify the
Approval FM where we can put our code for passing the additional fields to the IDOC.
Enhancements to a standard
class For Material Master Data the FM which is getting called is MASTERIDOC_CREATE_MATMAS.
Working with Floating Field in
Adobe Forms If we see in detail, the MARA data is being copied to the structure E1MARAM. In this case, E1MARAM
Inserting data from Internal does have the field AENNR but not in MARA. Hence, somehow we need to fetch it and assign it to the
Table into the step “Send Mail” E1MARAM.
Display GL Account long text
using enhancement framework
Once we identify the customer exit, we can double click on the INCLUDE and press ENTER to activate it.
Differences between
polymorphism in JAVA and It will take us inside the FM and there we can find the INCLUDE.
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ExitsBADIs/SMD/Index.htm 1/3
7/2/2019 Customer exit for passing extra fields in Master data distribution using SMD tool (Shared master data tool)
Subscribe Unsubscribe
GO

Step2: Logic for fetching the change number and assigning it to E1MARAM structure.

Now, we can put the logic inside the include for fetching the change number.

Step3:Execute the REPORT RBDMIDOC for your MESSAGE TYPE.

It will create the IDOC from the change pointers.

saptechnical.com/Tutorials/ExitsBADIs/SMD/Index.htm 2/3
7/2/2019 Customer exit for passing extra fields in Master data distribution using SMD tool (Shared master data tool)

Step4:Verify the IDOC for E1MARAM and check if the AENNR is getting filled

Note: Please note that this is generic solution and user needs to make some more changes depending on
the his/her requirement.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ExitsBADIs/SMD/Index.htm 3/3
7/2/2019 Automatic Master Data distribution using the change pointers for Material Master Data

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms Automatic Master Data distribution using the change pointers for
BI/BW
eXchange Infrastructure (XI) Material Master Data
Enterprise Portals (EP)
eCATT By Rahul Manoj Mahajan, John Deere India Pvt. Ltd.
Object Oriented Programming
SAP Query Introduction:
Userexits/BADIs
WebDynpro for Java/ABAPTM
This article will describe in detail how to distribute the master data automatically and how to create and
Others
active the change pointers using IDOC.

In this article, we will take the example of material master data with the message type as “MATMAS”.
What's New?
Requirement:
ABAP Test Cockpit HOT
SAP ABAP Pragmas Automatic Master Data distribution using IDOC.
Understanding SE32 (ABAP
Text Element Maintenance) Steps to be followed:
Creating an IDoc File on SAP
Application Server Step1: Activate the Change Pointers
Understanding “Advance with
dialog” option of SAP Workflow Before we actually active the change pointers for the message type through which we will be distributing
SAP Workflow Scenario:
Maintenance Notification
the master data. To do this, go to the transaction BD50 and search for the Message type.
Approval
Enhancements to a standard Since in this example we are considering the Material Master data distribution, we will consider the
class message type “MATMAS”. Please refer below screenshot.
Working with Floating Field in
Adobe Forms
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

Contribute? Step2: Adding the Segment name and the fields which we want to be distributed.

In order to add the segment name and fields, we have the transaction code BD66.
Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/ChangePointers/MM.htm 1/3
7/2/2019 Automatic Master Data distribution using the change pointers for Material Master Data
Subscribe Unsubscribe
GO

Click Ok. After that add the respective entry and save.

Step3: Create a BATCH JOB which will trigger after every 15 minutes and distribute data via IDOC.

In order to create batch job, go to transaction SM36 and fill the required fields as shown below.

After that set the “Start Condition” and the follow the instruction. Please refer below screenshot for
reference.

It will execute after every 15 mins and check if there are any changes to the material master data using
standard program RBDMIDOC.

In case you want to test your development changes without using the batch job; please follow below
steps. Once everything is working as expected; activate the batch job and it will distribute the data.

Batch job will execute the REPORT RBDMIDOC (tcode BD21) for your MESSAGE TYPE to create IDOC.

saptechnical.com/Tutorials/ALE/ChangePointers/MM.htm 2/3
7/2/2019 Automatic Master Data distribution using the change pointers for Material Master Data

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/ChangePointers/MM.htm 3/3
7/2/2019 Configure workflow notifications for IDocs in error status

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

SAP Virtual/Onsite Configure workflow notifications for IDocs in error status


Trainings By Richa Gupta, Sparta Consulting

Document Categories:

ABAPTM
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 Purpose
Userexits/BADIs
WebDynpro for Java/ABAPTM Whenever an IDoc gets into error or a negative acknowledgement is received, a notification can be configured
Others to be sent to a responsible user via workflow task. Doing this will help to resolve the error as soon as it is
raised in an automated manner. Also, this will make the monitoring of IDoc easy.

What's New? Scope

ABAP Test Cockpit HOT Automatically notification will reach the responsible user if any error arises or negative acknowledgement is
SAP ABAP Pragmas received in outbound IDOC so that immediate action can be taken.
Understanding SE32 (ABAP
Text Element Maintenance)
Assignment of Workflow Task for Outbound IDOC Error
Creating an IDoc File on SAP
Application Server
Understanding “Advance with Go to WE46 in editable mode:
dialog” option of SAP Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Working with Floating Field in
Adobe Forms
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 To specify the custom task for process code EDIR, change the task id from TS70008125 to your custom
Purchase order (ME21N) task as shown below:
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

One process code can be assigned only one task at a time.


Contribute?
Now go to WE47 and select rows for the entries in field STATUS above.

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

saptechnical.com/Tutorials/ALE/ErrorHandling/Index.htm 1/3
7/2/2019 Configure workflow notifications for IDocs in error status
Subscribe Unsubscribe Click on DISPLAY button and you will be navigated to the following screen:
GO

Click on arrow button besides PROCESS CODE :

Here a task will be specified by default which is set up in WE46(Error and Status Processing Settings).

We need to maintain the Agent to whom the Error Notification needs to be mailed in WE20.

saptechnical.com/Tutorials/ALE/ErrorHandling/Index.htm 2/3
7/2/2019 Configure workflow notifications for IDocs in error status

So when there is an Error or Negative Transmission of IDOC, mail will be trigger to the person maintained
in WE20 under the Post Processing: Permitted Agent Tab.

Open table STACUST and specify EVCODS(Process code for inbound statuses) as EDIR to find all the
error statuses for which workflow task has been assigned. For such statuses, SAP by default configured
TASK TS70008125 in WE46.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/ErrorHandling/Index.htm 3/3
7/2/2019 Create Condition Records Using the Message Type COND_A for condition table A018

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

Create Condition Records Using the Message Type COND_A for condition table
A018
By Rehana Begum Shaik, Cognizant

This document explains how to create condition records using the message type COND_A for condition table A018. For
this

1. Maintain the ALE configuration steps


2. Write a program to create the condition records using the message type COND_A and idoc type COND_A04. On
execution it generates the IDOC.
3. We can check the IDOC details in WE02 transaction.
4. This IDOC updates the condition tables A018, KONH, KONP.

ALE configuration steps:

Create Logical system REC6_251 using the t-code BD54 as follows.

Click on new entries

SAP Virtual/Onsite Enter the below details and save.


Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW Assign the logical system REC6_251 to client 901 using the t-code SCC43
LSMW
Click on new entries
SAP Script/Smart Forms
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
eCATT
Object Oriented
Programming
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New? Enter the below details and save.

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance
with dialog” option of SAP
Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class

saptechnical.com/Tutorials/ALE/Condition/Index.htm 1/3
7/2/2019 Create Condition Records Using the Message Type COND_A for condition table A018
Working with Floating Field
in Adobe Forms
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

Contribute?

Sample Specs
As we are using the standard message type COND_A04 and idoc type COND_A SAP has already being maintained
What's Hot? necessary configuration steps like

WE82 - Assigning the message type to IDOC type as follows.


Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

Subscribe Unsubscribe
GO

WE57 - Assignment of FM to message type and IDOC type as follows.

WE20 - Create partner profile REC6_251 and maintain the message type in inbound parameters and maintain the process
code inside the message type COND_A as follows.

saptechnical.com/Tutorials/ALE/Condition/Index.htm 2/3
7/2/2019 Create Condition Records Using the Message Type COND_A for condition table A018

Click here to continue...

Workflow System Sap Tutorial Process Workflow

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Condition/Index.htm 3/3
7/2/2019 Create Condition Records Using the Message Type COND_A for condition table A018

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

Create Condition Records Using the Message Type COND_A for condition table
A018
...Previous

Double click on COND_A and maintain the process code COND as follows.

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
Now the configuration part is over.
ALE & IDocs
ALV Create the following Program:
BAPI
BASIS REPORT ZRS_INBOUND_COND_IDOC.
BSP *&---------------------------------------------------------------------*
Business Objects *& Report ZRS_INBOUND_COND_IDOC
Business Workflow *&
CRM NEW *&---------------------------------------------------------------------*
LSMW *&This program is used to post the conditional data using the message type
SAP Script/Smart Forms *&COND_A and idoc type COND_A4 which updates the tables A018, KONH and
BI/BW *&KONP
eXchange Infrastructure (XI) *&---------------------------------------------------------------------*
Enterprise Portals (EP) *---------------------------------------------------------------------*
eCATT * TABLES *
Object Oriented *---------------------------------------------------------------------*
Programming TABLES: t000, "clients
SAP Query edp21, "partner profile inbound
Userexits/BADIs e1komg, "Filter segment with separated condition key
WebDynpro for Java/ABAPTM e1konh, "Data from condition header
Others e1konp. "Conditions Items
*---------------------------------------------------------------------*
* TYPES DECLARATIONS *
What's New? *---------------------------------------------------------------------*
*/ Types for Idoc Header
TYPES BEGIN OF t_idoc_header.
ABAP Test Cockpit HOT
INCLUDE STRUCTURE edidc.
SAP ABAP Pragmas
TYPES END OF t_idoc_header.
Understanding SE32 (ABAP
Text Element Maintenance)
*/ Types for Idoc Data
Creating an IDoc File on SAP
TYPES BEGIN OF t_idoc_data.
Application Server
INCLUDE STRUCTURE edidd.
Understanding “Advance
TYPES END OF t_idoc_data.
with dialog” option of SAP
Workflow
*/ Types for Status Record (IDoc)
SAP Workflow Scenario:
TYPES BEGIN OF t_idoc_status.
Maintenance Notification
INCLUDE STRUCTURE edids. "EDIDD/EDID4
Approval
TYPES END OF t_idoc_status.
Enhancements to a standard
class
* EDI process types (inbound)/ Process codes
TYPES BEGIN OF t_tede2.

saptechnical.com/Tutorials/ALE/Condition/Page2.htm 1/4
7/2/2019 Create Condition Records Using the Message Type COND_A for condition table A018
Working with Floating Field INCLUDE STRUCTURE tede2.
in Adobe Forms TYPES END OF t_tede2.
Inserting data from Internal *----------------------------------------------------------------------*
Table into the step “Send * Structures & Internal tables declaration *
Mail” *----------------------------------------------------------------------*
Display GL Account long text DATA: wa_idoc_header TYPE t_idoc_header,
using enhancement it_idoc_header TYPE TABLE OF t_idoc_header,
framework wa_idoc_data TYPE t_idoc_data,
Differences between it_idoc_data TYPE TABLE OF t_idoc_data,
polymorphism in JAVA and wa_idoc_status TYPE t_idoc_status,
ABAP it_idoc_status TYPE TABLE OF t_idoc_status.
Passing multiline parameters *--------------------------------------------------------------------*
from an ABAP Class event to * Variables declaration *
a Workflow container *--------------------------------------------------------------------*
Concept of Re-evaluate DATA: docnum TYPE edidc-docnum, "IDoc number
agents for active work items state TYPE sy-subrc.
in SAP Workflow *----------------------------------------------------------------------*
Dynamic creation of * Constants declaration
component usage in ABAP *----------------------------------------------------------------------*
WebDynpro CONSTANTS: c_true TYPE sap_bool VALUE 'X'.
Adobe Forms: Display *--------------------------------------------------------------------*
symbols like copyright and * START-OF-SELECTION *
others *--------------------------------------------------------------------*
Deactivate Hold functionality START-OF-SELECTION.
in Purchase order (ME21N)
Quiz on OOABAP PERFORM fill_idoc_header.
Add fields in FBL5N using PERFORM fill_idoc_data.
BADIs
Tutorial on Wide casting *&---------------------------------------------------------------------*
Defining a Range in Module *& Form FILL_IDOC_HEADER
Pool Program *&---------------------------------------------------------------------*
Copy fields from one * Fill IDOC with control information
structure/table into another *----------------------------------------------------------------------*
structure/table FORM fill_idoc_header.
Side Panel Usage in NWBC
*Get the partner profile from EDP21 table
SELECT SINGLE *
Contribute? FROM edp21
WHERE sndprn = 'REC6_251'
AND sndprt = 'LS'
Sample Specs AND mestyp = 'COND_A'.

IF sy-subrc EQ 0.
What's Hot? SELECT SINGLE * FROM t000 WHERE mandt = sy-mandt.
IF t000-logsys IS INITIAL.
MESSAGE 'Local system is not defined' type 'E'.
Web Dynpro for ABAP Tutorials ENDIF.

*Fill IDOC with control inforamtion


Join the Mailing List
MOVE-CORRESPONDING edp21 TO wa_idoc_header.
Enter name and email address below: wa_idoc_header-idoctp = 'COND_A04'. "Must not be blank.
Name:
wa_idoc_header-mestyp = 'COND_A'.
wa_idoc_header-docrel = '700'.
wa_idoc_header-direct = '2'.
Email:
wa_idoc_header-rcvprt = 'LS'.
wa_idoc_header-rcvprn = 'REC6_251'.
Subscribe Unsubscribe wa_idoc_header-rcvpor = 'SAPEC6'.
GO wa_idoc_header-sndprn = 'REC6_251'.
wa_idoc_header-sndprt = 'LS'.
wa_idoc_header-sndpor = 'SAPEC6'.
APPEND wa_idoc_header TO it_idoc_header.
ELSE.
MESSAGE 'Maintain Inbound Partner Profile' TYPE 'E'.
ENDIF.

ENDFORM. " FILL_IDOC_HEADER


*&---------------------------------------------------------------------*
*& Form FILL_IDOC_DATA
*&---------------------------------------------------------------------*
* Fill IDOC with input data
*----------------------------------------------------------------------*
FORM fill_idoc_data .

REFRESH : it_idoc_data.
CLEAR : wa_idoc_data, e1komg, e1konh, e1konp.

*E1KONH, E1KONP and E1KOMG are mandatory segments


*fill the segments and idoc
MOVE '1' TO wa_idoc_data-segnum.
MOVE '1' TO wa_idoc_data-hlevel.
MOVE 'E1KOMG' TO wa_idoc_data-segnam.
e1komg-kvewe = 'A'.
e1komg-kotabnr = '018'.
e1komg-kappl = 'M'.
e1komg-kschl = 'PB00'.
e1komg-vakey = '000000010000000000000000052110001'.
e1komg-matnr = '000000000000000521'.
e1komg-lifnr = '0000000100'.
e1komg-ekorg = '1000'.
e1komg-esokz = '1'.
wa_idoc_data-sdata = e1komg.
* Append KOMG segement data to idoc
APPEND wa_idoc_data TO it_idoc_data.
CLEAR wa_idoc_data.

MOVE '2' TO wa_idoc_data-segnum.


MOVE '2' TO wa_idoc_data-hlevel.
MOVE 'E1KONH' TO wa_idoc_data-segnam.

e1konh-knumh = '$000000001'.
e1konh-datbi = '99991231'..
e1konh-datab = '20100912'.
wa_idoc_data-sdata = e1konh.

saptechnical.com/Tutorials/ALE/Condition/Page2.htm 2/4
7/2/2019 Create Condition Records Using the Message Type COND_A for condition table A018
* Append the KONH segement data to idoc
APPEND wa_idoc_data TO it_idoc_data.
CLEAR wa_idoc_data.

MOVE '3' TO wa_idoc_data-segnum.


MOVE '3' TO wa_idoc_data-hlevel.
MOVE 'E1KONP' TO wa_idoc_data-segnam.
e1konp-kbetr = '0000000000000025'.
e1konp-krech = 'C'.
e1konp-kpein = '1'.
e1konp-kmein = 'EA'.
e1konp-konwa = 'INR'.
e1konp-kznep = 'X'.
wa_idoc_data-sdata = e1konp.

* Append the KONP segement data to idoc


APPEND wa_idoc_data TO it_idoc_data.
CLEAR wa_idoc_data.

* Create and process idoc


PERFORM create_idoc.
ENDFORM. " FILL_IDOC_DAT
*&---------------------------------------------------------------------*
*& Form CREATE_IDOC
*&---------------------------------------------------------------------*
* Create and process the IDOC
*----------------------------------------------------------------------*
FORM create_idoc .
DATA: i_data TYPE t_tede2. "EDI process types (inbound).
CLEAR: docnum, state, i_data.

* This generates the IDOC number with the data provided in the above logic
CALL FUNCTION 'IDOC_INBOUND_WRITE_TO_DB'
EXPORTING
* pi_do_handle_error = 'X'
pi_no_dequeue =''
pi_return_data_flag = 'X'
* PI_RFC_MULTI_CP =' '
IMPORTING
pe_idoc_number = docnum
pe_state_of_processing = state
pe_inbound_process_data = i_data
TABLES
t_data_records = it_idoc_data
* T_LINKED_OBJECTS =
CHANGING
pc_control_record = wa_idoc_header
EXCEPTIONS
idoc_not_saved =1
OTHERS =2.

IF sy-subrc NE 0.
WRITE 'Idoc not created'.
ELSE.
REFRESH it_idoc_header.
APPEND wa_idoc_header TO it_idoc_header.
*FM processess the idoc and updates the data in the corresponding DB tables
* A018, KONH and KONP
CALL FUNCTION 'IDOC_START_INBOUND'
EXPORTING
pi_inbound_process_data = i_data
* PI_CALLED_ONLINE =''
* PI_DO_COMMIT = 'X'
* PI_START_EVENT_ENABLED = 'X'
* PI_ORG_UNIT =''
* SUCC_SHOW_FLAG =''
TABLES
t_control_records = it_idoc_header
t_data_records = it_idoc_data
EXCEPTIONS
invalid_document_number =1
error_before_call_application = 2
inbound_process_not_possible = 3
old_wf_start_failed =4
wf_task_error =5
serious_inbound_error =6
OTHERS = 7.

IF sy-subrc EQ 0.
* Get the status of the Idoc
select *
from edids
into table it_idoc_status
where docnum = docnum.

sort it_idoc_status by countr descending.

read table it_idoc_status into wa_idoc_status


with key statxt = '&1 &2 has been saved'.
if sy-subrc = 0.
write wa_idoc_status-statxt.
endif.
WRITE: 'Generated IDOC number :', docnum, /, 'Please check IDOC the status in WE02'.
WRITE / 'This updates the condition tables A018, KONH and KONP tables'.
ENDIF.
ENDIF.
ENDFORM. " CREATE_IDOC

Click here to continue...

saptechnical.com/Tutorials/ALE/Condition/Page2.htm 3/4
7/2/2019 Create Condition Records Using the Message Type COND_A for condition table A018

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Condition/Page2.htm 4/4
7/2/2019 Create Condition Records Using the Message Type COND_A for condition table A018

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

Create Condition Records Using the Message Type COND_A for condition table
A018
...Previous

Output:

WE02 Transaction:

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
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 TABLE – A018
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance
with dialog” option of SAP
Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class

saptechnical.com/Tutorials/ALE/Condition/Page3.htm 1/2
7/2/2019 Create Condition Records Using the Message Type COND_A for condition table A018
Working with Floating Field
in Adobe Forms
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 TABLE – KONH
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

Contribute?
TABLE – KONP
Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

Sap Tutorial ABAP Data ABAP Netweaver


Subscribe Unsubscribe
GO

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/Condition/Page3.htm 2/2
7/2/2019 Creating an IDoc File on SAP Application Server

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

Creating an IDoc File on SAP Application Server


By Rahul Mahajan, Diligent Tech

Introduction

This document illustrates on how to create IDoc flat file on SAP application server.

Scenario: On change or Create of SAP delivery document, an automatic IDoc should trigger and an IDoc file to be created
on the SAP application server.

Perquisite: We can use Standard Delivery IDoc and Message Type i.e. (Basic Type: DELVRY03, Message Type:
DESADV) for our scenario

Steps in the SAP R/3 Backend System

Step1

Run T-Code WE82 link IDoc type and message type.

Step2
SAP Virtual/Onsite
Create Output type for delivery i.e. ZAEB. For this configuration go to T-Code NACE.
Trainings

Document Categories:

ABAPTM
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/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance
with dialog” option of SAP
Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class
Step3

saptechnical.com/Tutorials/ALE/File/Index.htm 1/4
7/2/2019 Creating an IDoc File on SAP Application Server
Working with Floating Field
in Adobe Forms Click on .
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
Step4
WebDynpro
Adobe Forms: Display
symbols like copyright and Give output Type, Description, Access Sequence then press .
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

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List


Step5
Enter name and email address below:
Name:
Click on from left navigation panel.
Email:

Subscribe Unsubscribe
GO

Step6

Click on and give necessary program name, subroutine and save entry.

saptechnical.com/Tutorials/ALE/File/Index.htm 2/4
7/2/2019 Creating an IDoc File on SAP Application Server

Step7

Click on from left navigation panel.

Step8

Select medium, input partner function and save entry.

Step9

Now again back to T-Code NACE screen and click on

Click here to continue...

Data Migration Sap Idoc Convert to Text

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

saptechnical.com/Tutorials/ALE/File/Index.htm 3/4
7/2/2019 Creating an IDoc File on SAP Application Server
Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/File/Index.htm 4/4
7/2/2019 Creating an IDoc File on SAP Application Server

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

Creating an IDoc File on SAP Application Server


...Previous

Step10

Assign output type to standard procedure and save it. For this select any standard procedure and click on control from left
navigation panel.

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
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 Step11
Userexits/BADIs
WebDynpro for Java/ABAPTM Enter step, counter, output type and save it.
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance
with dialog” option of SAP Step12
Workflow
SAP Workflow Scenario: Setup condition record for above created output type to trigger it automatically on the press of save of delivery. For this Run
Maintenance Notification T-Code NACR, Press enter
Approval
Enhancements to a standard
class

saptechnical.com/Tutorials/ALE/File/Page2.htm 1/3
7/2/2019 Creating an IDoc File on SAP Application Server
Working with Floating Field
in Adobe Forms
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

Step13
Contribute?
Now create logical path and assign it physical path where our IDoc file store.

Sample Specs Run T-Code FILE

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:


Name:

Email:

Subscribe Unsubscribe
GO

Select logical path and click on from left navigation panel.

Click on New Entries.

saptechnical.com/Tutorials/ALE/File/Page2.htm 2/3
7/2/2019 Creating an IDoc File on SAP Application Server

Save it.

Step14

Now create file port. For this Run T-Code WE21

Select FILE port from left navigation panel and click on

Give port name, Description, Directory & Function module name for file naming convention and save it.

Click here to continue...

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/File/Page2.htm 3/3
7/2/2019 Creating an IDoc File on SAP Application Server

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

Creating an IDoc File on SAP Application Server


...Previous

Step15

Now create partner profile. For this firstly create Partner (LOGICAL SYSTEM) via T-Code BD54

Save it.

SAP Virtual/Onsite
Trainings

Document Categories: Setup partner profile. Run T-Code WE20

ABAPTM
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/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance
with dialog” option of SAP
Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class

saptechnical.com/Tutorials/ALE/File/Page3.htm 1/5
7/2/2019 Creating an IDoc File on SAP Application Server
Working with Floating Field
in Adobe Forms
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 And Save it.
BADIs
Tutorial on Wide casting Now add Message Type into outbound parameters:
Defining a Range in Module
Pool Program
Copy fields from one
structure/table into another
structure/table
Side Panel Usage in NWBC

Contribute?

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 Now enter below mention parameters and save it.

Now click on Message Control Tab.

saptechnical.com/Tutorials/ALE/File/Page3.htm 2/5
7/2/2019 Creating an IDoc File on SAP Application Server

Save it.

Step16

Now Create Distribution Model View. For this Run T-Code BD64

Click on then click on a popup window will appear.

Fill entry and click on .

saptechnical.com/Tutorials/ALE/File/Page3.htm 3/5
7/2/2019 Creating an IDoc File on SAP Application Server

Now select above created model view and click on . Another popup window will appear.

Fill entries and click on

Where SENDER = <System ID>CLNT<Client Number>

And RECEIVER = <Above created Partner (Logical System)>

AND MESSAGE TYPE = <Above use Message Type>

Now save the entry.

Click here to continue...

saptechnical.com/Tutorials/ALE/File/Page3.htm 4/5
7/2/2019 Creating an IDoc File on SAP Application Server
Please send us your feedback/suggestions at [email protected]

Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/File/Page3.htm 5/5
7/2/2019 Creating an IDoc File on SAP Application Server

Custom Search Search

Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

Creating an IDoc File on SAP Application Server


...Previous

Step17

Now it’s time for testing the IDoc. If all the things work fine then an IDoc file created into SAP Application directory which
mention above i.e. < D:\usr\sap\EH5\SYS\profile>.

For this first open any one delivery whose sales organization will be ‘3000’ and sold-to-party will be ‘91300’ because we
have only maintains the condition record for these entry.

T-Code VL02N

Press enter.

SAP Virtual/Onsite
Trainings

Document Categories:

ABAPTM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
Now check our output type will be trigger successfully or not. For this open delivery click on output type.
LSMW
SAP Script/Smart Forms
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
eCATT
Object Oriented
Programming
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAPTM
Others

What's New?

ABAP Test Cockpit HOT


SAP ABAP Pragmas
Understanding SE32 (ABAP
Text Element Maintenance)
Creating an IDoc File on SAP
Application Server
Understanding “Advance
with dialog” option of SAP
Workflow
SAP Workflow Scenario:
Maintenance Notification
Approval
Enhancements to a standard
class Now select this record and click on button.

saptechnical.com/Tutorials/ALE/File/Page4.htm 1/4
7/2/2019 Creating an IDoc File on SAP Application Server
Working with Floating Field
in Adobe Forms
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 Open this IDoc into T-Code WE02
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

Contribute?

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

Now Check IDoc files on application directory, for this run T-Code AL11

saptechnical.com/Tutorials/ALE/File/Page4.htm 2/4
7/2/2019 Creating an IDoc File on SAP Application Server

Double Click on it. See IDoc File which contains IDoc Number in file naming.

To Download this file from SAP application sever to Local Desktop run T-Code CG3Y,Popup window will appears

Give above created file name with path into Source File input filed and give path where you download your file into your

local desktop then press .

saptechnical.com/Tutorials/ALE/File/Page4.htm 3/4
7/2/2019 Creating an IDoc File on SAP Application Server

After this check your local directory.

Please send us your feedback/suggestions at [email protected]


Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us
©2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

saptechnical.com/Tutorials/ALE/File/Page4.htm 4/4

You might also like