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

General ABAp

Former Member
0 Likes
755

Hi,

I have few queries.

1. What is "standard text" in ABAP?

2. How to decide which view (Database, Maintenance, help,projection) we have to use in ABAP program?

3. Can we define variables in SAP-Script? (Like in ABAP report using data)

4. What is the use of MATCHCODE? (Same also can be done through Help view)

Thanks

Mahesh

Hi,

I have few queries.

1. What is "standard text" in ABAP?

2. How to decide which view (Database, Maintenance, help,projection) we have to use in ABAP program?

3. Can we define variables in SAP-Script? (Like in ABAP report using data)

4. What is the use of MATCHCODE? (Same also can be done through Help view)

Thanks

Mahesh

6 REPLIES 6
Read only

Former Member
0 Likes
731

1. What is "standard text" in ABAP?

When using the ABAP program in different languages, the standard texts can be used to display the textaccording to the login language.

2. How to decide which view (Database, Maintenance, help,projection) we have to use in ABAP program?

Only database and projection views can be used in the ABAP program.

Database View - When you want to retrieve from a single table

Projection View - When you want to retrieve from one or more tables

3. Can we define variables in SAP-Script? (Like in ABAP report using data)

Using the DEFINE statement

4. What is the use of MATCHCODE? (Same also can be done through Help view)

Matchcodes are the older version of Search Helps. They are used to display the possible input values for a field.

Regards

Wenceslaus

Read only

Former Member
0 Likes
731

HI mahesh,

1, SO10 - You can include this standard text in scripts & smartforms without hardcoding.

2.Database view checking on primary keys

3. Using DEfine & variable&

Read only

anversha_s
Active Contributor
0 Likes
731

hi,

1. standard text


The standard texts is used to display the text according to the login language.

2. View


Database View - fetch from a single table
Projection View - fetch from one or more tables

3.

Variable ins script

A text in the editor contains the following DEFINE commands:

/: DEFINE &mysymbol& = 'xxx xxx xxxxx xxxx' 
&mysymbol& 
/: DEFINE &mysymbol& = 'yyyyy yyy yyyy' 
/ &mysymbol&

4.

MATCHCODE

Matchcodes were replaced with Search Helps starting with Release 4.0. Please use search helps to assign an input help to a field.

Existing matchcodes were automatically converted to search helps. A matchcode object is hereby converted to a collective search help with the same name. Each matchcode ID of the matchcode object is converted into an elementary search help with the same name and assigned to the collective search help created from the matchcode object.

A matchcode is a means of finding data records stored in the system. The matchcode is defined in the ABAP Dictionary in two steps:

You first define the relevant tables and fields for the search in a matchcode object. A matchcode object describes the set of all possible search paths for a search string.

You then create one or more matchcode IDs for a matchcode object. A matchcode ID describes a special search path for a search string. The matchcode ID defines the fields or field combinations to be used in the search.

-

-


Search Help

Use

With this function you can search for objects, thereby defining and linking different selection conditions for the search help.

Prerequisites

You can call this function by:

· Selecting Object ® Search... () in the main menu bar of the Integration Builder

· Placing the cursor on a software component version and selecting Search... () in the context menu (only in the Integration Repository)

In this case the software component version is defined as the search criteria.

Features

Defining the Object Type

You can select the object type in a dropdown list in field Object Type.

In the design (Integration Repository) you can

· Select an object type (for example Message Interface)

· Select a cross-object category (for example Interface Objects)

In the configuration (Integration Directory) you can select types Values Mapping Group and schema in addition to the individual object types.

-

-


CHECK THIS LINK TO CREATE A SEARCH HELP.

http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm

CHECK THIS LINK TO CREATE A MATCHCODE OBJECT

http://searchsap.techtarget.com/tip/1,289483,sid21_gci553386,00.html

more details...

rgds

Anver

<b>if hlped pls mark points</b>

Read only

Former Member
0 Likes
731

hi

good

SO10 Standard text editor

thanks

mrutyun^

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
731

Hi,

1. They are in S010.

2. Database view:Used for transparent table.It's like inner join.If more than one table,only reading is possible.

Projection:It's used for one table.It's used to mask out certain fields.

Help:It's used in search help.

Maintenance:It's used in business point of view.

4.Matchcode are similar to searchhelp.Only difference matchcode are used in earlier versions.

Read only

Former Member
0 Likes
731

Hi mahesh,

1.

standard text:

only use standard text when there is a lot of text to include and it has the possiblility of changing frequently.

2.

Database View - Data retrieve from a single table

Projection View - Data retrieve from one or more tables

help view - http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ecd2446011d189700000e8322d00/frameset.htm

Maintainance view - we mostly not use.

3. Using the DEFINE statement we can create variables in scripts

4. Matchcode:

Go thru this link.

http://help.sap.com/saphelp_nw2004s/helpdata/en/3e/f3fc37eeb70143e10000009b38f8cf/frameset.htm

Regards,

Kumar