Application Development 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: 

process code

Former Member
0 Kudos

PROCESS CODE and MATCH CODE?

2 REPLIES 2

Former Member
0 Kudos

Hi,

<b>Match Code Object :</b>

Match code is nothing but the Search help in Higher versions

Matchcode objects are being replaced by search helps. This is good as search helps are easy to create. However, it has caused some confusion on how best to add search helps to a selection field.

The trick that I found is to keep your newly created search helps to a 4-character name. The Matchcode object name has this old 4-character limit. This trick is not documented anywhere in the system but it has been a great time saver for me. You can expand this concept by finding existing SAP search helps that are more than 4-characters, copy them to a 4-character name and presto, you have a new matchcode object available for use

Follow this procerdure,

1)Se11

2)search help ---Ysearch(give the search help name)

u will get one popup

select Elementary Search Help

3) selection method--- enter here table name

4)Give the field name for which u want search help and select check boxes i.e. IMPORT And EXPORT.

5)Save and Activate.

use this syntax in u r abap program

PARAMETERS p ... MATCHCODE OBJECT search_help.

u can use it for select-options also.

see this also

http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm

<b>Process Code :</b>

Process code is used in outbound processing of Idocs

It's a Code which identifies the type of data which is sent by the IDoc

interface.Using the process code, the IDoc interface finds the application selection module which converts the SAP document into an IDoc.It is only used with applications which perform outbound processing via Message Control.

Thanks.

Reward If Helpful.

paruchuri_nagesh
Active Contributor
0 Kudos

process code and match code these two are different

process code contain function module which reads application document generates idoc in outboud(sending system) tcode is WE41

in inbound it reads idoc and create application document in recieving system tcode for this is WE42.

these process codes are used in cross application technologies

match code is used to provide input help in selection screen fields

parameters:lifnr like lfa1-lifnr matchcode object ZOBJ.

double click on ZOBJ it popup another screen where u can design search help for that field.

reward if u find useful

regards

Nagesh.Paruchuri