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: 

Hi Please answer these questions

Former Member
0 Kudos
85

Hi ,

1. In which tcode we will see no of records are updated in bdc other

than tcode sm35.

2. what is logging in tables.

3. what is search help exit.

4.iff b/w matchcode and search help.

Thansk& Regards

Bhaskar Rao.M

6 REPLIES 6

Former Member
0 Kudos
37

Hi,

Search Help Exit:-

Search help exit

A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.

This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).

A search help exit is called at certain timepoints in the input help process.

Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.

Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.

Former Member
0 Kudos
37

Logging:

The logging flag defines whether changes to the data records of a table

should be logged. If logging is activated, every change (with UPDATE,

DELETE) to an existing data record by a user or an application program

is recorded in a log table in the database.

Note: Activating logging slows down accesses that change the table.

First of all, a record must be written in the log table for each change.

Secondly, many users access this log table in parallel. This could cause

lock situations even though the users are working with different

application tables.

Dependencies

Logging only takes place if parameter rec/client in the system profile

is set correctly. Setting the flag on its own does not cause the table

changes to be logged.

The existing logs can be displayed with Transaction Table history

(SCU3).

Former Member
0 Kudos
37

Hi,

4.iff b/w matchcode and search help.

In older versions of SAP match codes are used.

In the latest versions search helps replaced the match codes:

there are 2 types of search helps

elementary which refers to a single table

collective -which refers to more than one table.

you can create the search helps from SE11.

enter the search help with some Zname and create in SE11.

give description, and Table name in SELECTION METHOD

and enter the Paramters(fields) in down, save and execute.

Thanks.

Former Member
0 Kudos
37

Hi

Apart from SM35

go to the related database table of that BDC program (for example materials in MARA,Customers in KNA1, Vendors in LFA1) and see the number of records in Table in SE16 tcode.You will know the number of records clearly.

Logging means recording the changes made to that tables/fields

In technuical attributes of table you find LOG DATA CHANGES check field to record all of the changes.

Match codes and Search helps are same, which are used for search criteria in SAP fields.In old versions we used Match codes and match code objects

In newer version we use Search helps (elementary and Cumulative).

see the doc

1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).

2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.

3)An elementary search help defines the standard flow of an input help.

4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.

5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.

6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.

CREATION:

Go to SE11 Tcode

select search help

give the 'z' search help name and create

select the selection method ur table name eg : 'mara'

dialog module 'display value immediately'.

add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.

where left position when displaying and spos = search position

and then save and activate ..

See the links:

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm

pls go through this for search help creation

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

Search Help Exits:

Reward points for useful Answers

Regards

Anji

Former Member
0 Kudos
37

Hi Bhaskar

2)

Using the logging flag you can define whether changes to the data records of a table should be logged. If logging is switched on, each change to an existing data record (with UPDATE, DELETE) by the user or application program is recorded in the database in a log table (DBTABPRT).

check these links

http://help.sap.com/saphelp_nw04/helpdata/en/7e/c81ebb52c511d182c50000e829fbfe/content.htm

http://www.sap-basis-abap.com/sapta004.htm

3)

A search help describes the standard input help process. In exceptions it could be necessary to deviate in some points from this standard. Such a deviation from the standard can also be implemented with a search help exit.

check these links

http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm

4)

MATCH CODE OBJECT is used to trigger your own created search helps.

The predecessors of search helps in the ABAP Dictionary were called matchcode objects

there is not much difference between search helps and mtach codes.

Search help you use for a fields directly for providing input help and you provide the input help for a field using match code in Parameter statement.

There is a standard way of providing input values to any screen field in ABAP reporting. This way of providing input values can be defined by creating the search helps in ABAP dictionary and using them in reports .

Search helps: Search helps are used to assign an input help ( F4 help ) to screen fields. You can do this by creating a search help for that screen field. And these search helps has only to be assigned to the corresponding screen fields.

There are 2 types of search helps according to their use are available in SAP.

They are : 1) Elementary search helps ( ESH )

2) Collective search helps ( CSH )

Match code object : you define in program like this

PARAMETERS : P_MATNR LIKE MARA-MATNR MATCH CODE object ID.

some more info :

A search help can be created in ABAP Dictionary ( tcode se11 )

  • Create a new search help (say myHelp) , choose Elementary search help (simple one), select Definitions tab, enter the table name(say myTable) in "Text Table" text box.

  • Then enter the column to be used (say myField) for this help in search help parameter, choose Import/Export, give Lpos as 1, and activate. ( You can add more columns from the same table here).

  • In report, code as

parameter p1 like myTable-myField matchcode object myHelp.

  • when you execute this report, p1 will have a f4 help enabled. The help list will have all values from myTable for field myField.

Reward all helpfull answers

Regards

Pavan

Former Member
0 Kudos
37

Hi

Apart from SM35

go to the related database table of that BDC program (for example materials in MARA,Customers in KNA1, Vendors in LFA1) and see the number of records in Table in SE16 tcode.You will know the number of records clearly.

Logging means recording the changes made to that tables/fields

In technuical attributes of table you find LOG DATA CHANGES check field to record all of the changes.

Match codes and Search helps are same, which are used for search criteria in SAP fields.In old versions we used Match codes and match code objects

In newer version we use Search helps (elementary and Cumulative).

see the doc

1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).

2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.

3)An elementary search help defines the standard flow of an input help.

4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.

5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.

6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.

CREATION:

Go to SE11 Tcode

select search help

give the 'z' search help name and create

select the selection method ur table name eg : 'mara'

dialog module 'display value immediately'.

add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.

where left position when displaying and spos = search position

and then save and activate ..

See the links:

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm

pls go through this for search help creation

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

Search Help Exits:

Reward points for useful Answers

Regards

Anji