Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ale

Former Member
0 Likes
1,316

6.WHAT ARE THE PROCESSING CODES In ALE(APPLICATION LINKING AND ENABLING.

3 REPLIES 3
Read only

Former Member
0 Likes
1,038

Hi Zuber,

Process code is the second name for a specific processing type such as for a function module or an SAP Business Workflow task.

Process Codes are used in both ALE and EDI framework to identify the function module or API (Application Programming Interface) to be invoked for subsequent processing. Inbound as well as outbound interfaces use process code but for different purposes. Outbound process codes are stored in table TEDE1, while inbound process codes are stored in TEDE2.

There are four types of process codes that correspond to the IDoc interface processing types: outbound (WE41), inbound (WE42), status processing, system process codes for exception handling.

Outbound process code - Outbound process code under Message Control, generated the IDoc in the IDoc Interface. The process code determines the relevant function module. (TCode – WE41)

Inbound process Code - names the function module or workflow which reads the IDoc data and transfers the data to the application document. (TCode – WE42)

Outbound process codes are stored in table TEDE1, while inbound process codes are stored in TEDE2.

Cheers,

Dilip Tatipaka

Read only

Former Member
0 Likes
1,038

hi,

Process Code turn drives which Function Module to use,which in turn will determine the content of the message.

Process Codes are used to identify the function module or API (Application Programming Interface) to be invoked for subsequent processing (Outbound or Inbound) of the business application.

Outbound process code - Outbound process code under Message Control, generated the IDoc in the IDoc Interface. The process code determines the relevant function module. (TCode – WE41)

Inbound process Code - names the function module or workflow which reads the IDoc data and transfers the data to the application document. (TCode – WE42)

Outbound process codes are stored in table TEDE1, while inbound process codes are stored in TEDE2.

http://logosworld.com/www7/EDI/HTML/IDocBook.htm.

hope this is helpful

regards,

sravanthi

Read only

Former Member
0 Likes
1,038

proccessing codes

Process Codes are used in both ALE and EDI framework to identify the function module or API (Application Programming Interface) to be invoked for subsequent processing. Inbound as well as outbound interfaces use process code but for different purposes. Outbound process codes are stored in table TEDE1, while inbound process codes are stored in TEDE2.

A process code needs to be maintained on each client. It then needs to be linked to the message via the partner profiles on each client. This allows the various clients to use a unique function module for the same message type.

To maintain the process code follow these steps:

• Log on to the appropriate receiving system client

• Execute WE42 (ALE -> Extensions -> Inbound -> Maintaining process codes inbound)

• Choose Inbound with ALE service

• Choose Processing with function module

• Click on Processing with function module and choose create icon

• Click on New Entries

• Type in process code ZINR and give it a description and save

• Now you are asked to Please maintain codes added in ALE entry methods, enter and choose Z_IDOC_INPUT_FIRVSL and copy it. You should choose a FM similar to your one.

• Enter your process code ZINR

• Enter your function module Z_IDOC_INPUT_ZINVRV

NOTE: The next 6 steps are used in workflow error handling.

• Enter IDPKFIDCMT in object type

• Enter MASSINPUTFINISHED in End event

• Enter IDOCINVOIC in IDoc object type

• Enter INPUTERROROCCURREDFI in IDoc start event

• Enter INPUTFINISHEDFI in IDoc End event

• Enter IDOCINVOIC in Application object type

You will need to determine the task associated with object IDOCINVOIC, and then assign the appropriate position to it. This position will then receive the application error messages via workflow.

RSECODIN

IDoc: Display Program for Inbound Process Codes

RSECODOU

IDoc: Display Program for Outbound Process Codes

RSECODST

IDoc: Display Program for Status Process Codes

RSECODSY

IDoc: Display Program for System Process Codes

EDE1T

EDI: Text table for outbound process codes (TEDE1)

EDE2T

EDI: Text table for inbound process codes (TEDE2)

EDE5T

EDI: Text table for error processing process codes

EDE6T

IDOC: Text table for process codes for inbound statuses

do reward if helpful

Edited by: sharad narayan on Apr 8, 2008 8:35 AM