SAP - SD
Substitution Reasons OVRQ in SAP
Substituting Reason is a process that controls, how the system performs product selection....
INTERNAL TABLE are used to obtain data from a fixed structure for dynamic use in ABAP. Each line in the internal table has the same field structure. The main use for internal tables is for storing and formatting data from a database table within a program.
In this tutorial you will learn:
Work areas are single rows of data. They should have the same format as any of the internal tables. It is used to process the data in an internal table one line at a time.
A picture says a thousand words :-)
Data <f> LIKE <struct> occurs n [with header line].
Example-
DATA itab LIKE sline OCCURS 10.
Here a table itab is created having a structure same as that of sline
4.By creating a new Structure
Let us now create an internal table with a structure of our own. Here the table is created with an Header line, by default.
Syntax -
Data : Begin of <f> occurs <n>, <component declaration>, ................................., End of <f>.
Example -
Data : Begin of itab occurs 10, column1 type I, column2(4) type C, column3 like mara-ernam, End of itab.
Internal table itab is created
APPEND [<wa> TO / INITIAL LINE TO] <itable>.Here work area <wa> or the Initial Line is appended to the internal table <itable>.
Data: Begin of itab occurs 10, col1 type C, col2 type I, end of itab. Append initial line to itab.
COLLECT [<wa> INTO] <itable>.
INSERT [<wa> INTO / INITIAL LINE INTO] <itable> [index <idx>].
MOVE <itab1> To <itab2>. OR <itab1> = <itab2>.
itab1[] = itab2[].
LOOP AT <itable> [INTO <wa>] ................................... ENDLOOP.
READ TABLE <itable> [INTO <wa>] INDEX <idx>.
DELETE <ITABLE>.
DELETE <ITABLE> INDEX <IDX>.The line with the index <IDX> is deleted. The index of the following line is decremented by 1.
Substituting Reason is a process that controls, how the system performs product selection....
There are two types of goods movement against production order which impacts the inventory of the...
Payment data (allowances or deductions) is stored using Wage types. There are 2 prime categories of...
Analytic Privileges restrict the user to view data for which they authorize. SAP HANA Analytic...
What is a Infotype? A SAP Infotype is an information unit used to store employee relevant data...
This tutorial will look into the essential elements governing SAP HR Time. SAP HR Time Data...