Professional Documents
Culture Documents
2. Table can have primary key but a structure dose not have.
3. Table can have the technical attribute but a structure dose not have.
When you use SUM in a LOOP with an explicitly specified output area, this output
area must be compatible with the line type of the internal table.When using LOOP to
process a sorted extract (see SORT ), the control total of f at the end of the group
appears in the field SUM(f) – – if f is type I , F or P .
COLLECT.
COLLECT is used to create unique or compressed datsets. The key fields are the
default key fields of the internal table itab .
If you use only COLLECT to fill an internal table, COLLECT makes sure that the
internal table does not contain two entries with the same default key fields.
If, besides its default key fields, the internal table contains number fields,the contents
of these number fields are added together if the internal table already contains an
entry with the same key fields.
If the default key of an internal table processed with COLLECT is blank, all the
values are added up in the first table line.
If you specify waINTO , the entry to be processed is taken from the explicitly
specified work area wa . If not, it comes from the header line of the internal table itab
.
After COLLECT , the system field SY-TABIX contains the index of the – existing or
new – table entry with default key fields which match those of the entry to be
processed.
COLLECT can create unique or compressed datasets and should be used precisely
for this purpose. If uniqueness or compression are unimportant, or two values with
identical default key field values could not possibly occur in your particular task, you
should use APPEND instead. However, for a unique or compressed dataset which is
also efficient, COLLECT is the statement to use.
If you process a table with COLLECT , you should also use COLLECT to fill it. Only
by doing this can you guarantee that the internal table will actually be unique or
compressed, as described above and COLLECT will run very efficiently.
If you use COLLECT with an explicitly specified work area, it must be compatible
with the line type of the internal table.
1.at first
2.at new
3.at last
We can call the function module in the ABAP Code .Press the Pattern button on Appl. tool
bar then u will get box where u write the function module NAME which u want to call in the
code by selecting the radio button CALL FUNCTION. In this way we link function module
to ABAP Code.
Question.15 How do you connect to the remote server if you are working from the
office for the client in remote place?
Answer:
WAS web application server or ITS are generally used for this purpose. If you are sitting at
your office with a server which is in the system and the other server is at the clients place you
can generate IDOC, intermediate documents which carry the data you want to transfer or the
documents you want to transfer, these IDOC are interpreted by the system at the receiving
end with the message class with which it is bound with. If you want to logon a system which
is very distant..then remote login can be used this depends on the internet speed.
EXIT.
Effect :If the EXIT statement is executed outside of a loop, it will immediately terminate the
current processing block.
BACK.
Effect : This statement positions the list cursor on the first position of the first line in a logical
unit. So “Cancle” is not an exit command.
forminsert_row
usingp_tc_name.
<tc>-lines = 100.