CNV_21510_DEFAULT_SEQNUM is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CNV_21510_DEFAULT_SEQNUM into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CNV_21510_UTIL
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CNV_21510_DEFAULT_SEQNUM' "Get default sequence number for customer tables to be processed
EXPORTING
* pd_packid = " cnvpack-packid Conversion: Conversion package number
pd_use_cwb_tables = SPACE " c
IMPORTING
pd_seqnum = " cnv_indx_tables-seqnum Conversion: Sequence Number
* TABLES
* pt_table = " cnv_indx_tables Internal table with all standard HR tables from the package
* pt_cwb_table = " cnvtables Internal table with all standard CWB tables from the package
EXCEPTIONS
INVALID_ATTRIBUTES = 1 " Wrong parameters combination
. " CNV_21510_DEFAULT_SEQNUM
The ABAP code below is a full code listing to execute function module CNV_21510_DEFAULT_SEQNUM including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_pd_seqnum | TYPE CNV_INDX_TABLES-SEQNUM , |
| it_pt_table | TYPE STANDARD TABLE OF CNV_INDX_TABLES,"TABLES PARAM |
| wa_pt_table | LIKE LINE OF it_pt_table , |
| it_pt_cwb_table | TYPE STANDARD TABLE OF CNVTABLES,"TABLES PARAM |
| wa_pt_cwb_table | LIKE LINE OF it_pt_cwb_table . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_pd_seqnum | TYPE CNV_INDX_TABLES-SEQNUM , |
| ld_pd_packid | TYPE CNVPACK-PACKID , |
| it_pt_table | TYPE STANDARD TABLE OF CNV_INDX_TABLES , |
| wa_pt_table | LIKE LINE OF it_pt_table, |
| ld_pd_use_cwb_tables | TYPE C , |
| it_pt_cwb_table | TYPE STANDARD TABLE OF CNVTABLES , |
| wa_pt_cwb_table | LIKE LINE OF it_pt_cwb_table. |
Determines the default sequential number for RELID component for given
package.
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CNV_21510_DEFAULT_SEQNUM or its description.
CNV_21510_DEFAULT_SEQNUM - Get default sequence number for customer tables to be processed CNV_21510_CLUSTER_STRUCT - Structure of cluster RELID, if avail. -from DDIC, otherwise CNV_INDX_S CNV_21500_T52RELID_DEFINED - Check if given cluster id is defined in table T52RELID CNV_21500_SEARCH_FIELDS - Search for fields with domains/data elements from given CWB package CNV_21500_RELID_TABSIZE - Returns structure of data written to single cluster relid CNV_21500_RELID_STRUCTURE - Returns structure of data written to single cluster relid