SAP ABAP Class CL_WLF_IDOC (IDOC)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-AB (Application Component) Agency Business (Global Trade)
     WLF_IDOC_PROCESSING (Package) IDoc Processing
Properties
Class CL_WLF_IDOC  
Short Description IDOC    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WLF_IDOC_PROCESSING   IDoc Processing 
Created 20120618   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WLF_IDOC has no forward declaration.
Interfaces
Class CL_WLF_IDOC has no interface implemented.
Friends
Class CL_WLF_IDOC has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_AUTHORITY_ACTIVITY_CHANGE Constant Public Type reference (TYPE) ACTIV_AUTH '02' 20120801
2 MC_AUTHORITY_ACTIVITY_DISPLAY Constant Public Type reference (TYPE) ACTIV_AUTH '03' 20120801
3 MC_GT_SEGNUM_GT Constant Public Type reference (TYPE) STRING 'GT_SEGNUM_GT' 20120801
4 MC_IDOC_SEGEMENT_FOR_BAPIPAREX Constant Public Type reference (TYPE) STRING 'E1BPPAREX' 20120801
5 MTS_IDOC2STRUC Instance attribute Private Type reference (TYPE) TY_TS_IDOC2STRUC 20120618
6 MTS_IDOC2STRUT Instance attribute Private Type reference (TYPE) TY_TS_IDOC2STRUT 20120627
7 MTS_IDOCFIELDS Instance attribute Private See coding 20120803
8 MT_EDIDD Instance attribute Private Type reference (TYPE) TY_T_EDIDD 20120618
9 MT_STATUS Instance attribute Private Type reference (TYPE) TY_T_STATUS 20120720
10 M_CLOSED Instance attribute Private Type reference (TYPE) ABAP_BOOL 20120619
11 M_IDOC_CONTROL Instance attribute Private Type reference (TYPE) EDIDC 20120618
12 M_IDOC_NUMBER Instance attribute Private Type reference (TYPE) EDI_DOCNUM 20120720
13 M_IN_EDIT_MODE Instance attribute Private Type reference (TYPE) ABAP_BOOL 20120619
14 STS_DD02T Static Attribute Private Type reference (TYPE) TY_TS_DD02T 20120810
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_STATUS Instance method Private Method 20120720
2 CLASS_CONSTRUCTOR Static method Public Constructor 20120807
3 CLOSE Instance method Public Method 20120626
4 CLOSE_WITHOUT_COMMIT Instance method Public Method 20120831
5 CONSTRUCTOR Instance method Public Constructor 20120618
6 CREATE_STRUCTURE Instance method Private Method 20120619
7 CREATE_STRUC_AND_FIELDCAT Instance method Private Method 20120629
8 GET_CONVERTED_DATA Instance method Public Method 20120618
9 GET_FIELDCATALOG_ENTRY Instance method Private Method 20120703
10 GET_FIELDS Instance method Private Method 20131025
11 GET_IDOC_NUMBER Instance method Public Method 20120720
12 GET_RAW_DATA_REF Instance method Public Method 20120907
13 GET_STATUS Instance method Public Method 20120628
14 READ_CUSTOMIZING Instance method Private Method 20120618
15 READ_SEGMENT_DESCRIPTION Instance method Private Method 20121029
16 READ_SEG_STRUC_AND_FIELDCAT Instance method Private Method 20120629
17 READ_TABLE_TEXT Instance method Private Method 20120810
18 SET_CONVERTED_DATA Instance method Public Method 20120619
Events
Class CL_WLF_IDOC has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_S_CONVERTED_DATA Public See coding 20120618 BEGIN OF ty_s_converted_data, segnam TYPE edilsegtyp, bapiparex_struc TYPE wlf_bapiparex_struc, edit_tabname TYPE tabname, r_workarea_idoc TYPE REF TO data, r_workarea_with_segnum TYPE REF TO data, r_workarea_tabname TYPE REF TO data, rt_data_with_segnum TYPE REF TO data, o_structure TYPE REF TO cl_abap_structdescr, alv_position TYPE wlf_alv_position, structure_text TYPE wlf_descr_text, emergency_text TYPE wlf_descr_text, segment_description TYPE ledid_descrp, counter TYPE wlf_counter_for_tab, t_fieldcatalog TYPE lvc_t_fcat, o_checker TYPE REF TO cl_wlf_checker, edit_mode TYPE cl_wlf_edit_alv_simple=>ty_edit_mode, th_edit_field TYPE wlf_th_field, th_technical_field TYPE wlf_th_field, navigation_field TYPE wlf_navigation_field, END OF ty_s_converted_data
2 TY_S_SEGNUM_TO_GUID_MAP Public See coding 20120628 BEGIN OF ty_s_segnum_to_guid_map, segnum TYPE idocdsgnum, guid TYPE wlf_guid, counter TYPE wlf_counter_for_tab, identifier TYPE string, END OF ty_s_segnum_to_guid_map
3 TY_TH_SEGNUM_TO_GUID_MAP Public See coding 20120628 ty_th_segnum_to_guid_map TYPE HASHED TABLE OF ty_s_segnum_to_guid_map WITH UNIQUE KEY segnum
4 TY_TS_CONVERTED_DATA Public See coding 20120618 ty_ts_converted_data TYPE SORTED TABLE OF ty_s_converted_data WITH UNIQUE KEY segnam bapiparex_struc
5 TY_TS_DD02T Private See coding 20120810 ty_ts_dd02t TYPE SORTED TABLE OF dd02t WITH UNIQUE KEY tabname ddlanguage
6 TY_TS_IDOC2STRUC Private See coding 20120618 ty_ts_idoc2struc TYPE SORTED TABLE OF wlf_c_idoc2struc WITH UNIQUE KEY segnam bapiparex_struc
7 TY_TS_IDOC2STRUT Private See coding 20120627 ty_ts_idoc2strut TYPE SORTED TABLE OF wlf_c_idoc2strut WITH UNIQUE KEY segnam bapiparex_struc
8 TY_T_EDIDD Public See coding 20120618 ty_t_edidd TYPE STANDARD TABLE OF edidd WITH DEFAULT KEY
9 TY_T_EDIDS Public See coding 20120618 ty_t_edids TYPE STANDARD TABLE OF edids WITH DEFAULT KEY
10 TY_T_EDI_DS40 Public See coding 20120627 ty_t_edi_ds40 TYPE STANDARD TABLE OF edi_ds40 WITH DEFAULT KEY
11 TY_T_STATUS Public See coding 20120720 ty_t_status TYPE STANDARD TABLE OF wlf_s_edids WITH DEFAULT KEY
Method Signatures

Method BUILD_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_STATUS Call by reference Type reference (TYPE) TY_T_STATUS 20120720
2 Importing IT_EDIDS Call by reference Type reference (TYPE) TY_T_EDIDS 20120720

Method BUILD_STATUS on class CL_WLF_IDOC has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_WLF_IDOC has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WLF_IDOC has no exception.

Method CLOSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_STATUS_RECORDS Value transfer Type reference (TYPE) TY_T_EDI_DS40 20120627
# Exception Resumable Description Created on
1 CX_WZRE_MAINTAIN_ERROR 20120626

Method CLOSE_WITHOUT_COMMIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_STATUS_RECORDS Value transfer Type reference (TYPE) TY_T_EDI_DS40 20120831

Method CLOSE_WITHOUT_COMMIT on class CL_WLF_IDOC has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHANGEABLE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20120705
2 Importing I_IDOC_NUMBER Call by reference Type reference (TYPE) EDIDC-DOCNUM 20120618
# Exception Resumable Description Created on
1 CX_WZRE_DOES_NOT_EXIST 20120618
2 CX_WZRE_NO_AUTHORITY 20120704

Method CREATE_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SEGMENT_NAME Call by reference Type reference (TYPE) EDILSEGTYP 20120625
2 Importing I_TABNAME Call by reference Type reference (TYPE) TABNAME 20120619
3 Returning RS_DATA Value transfer Type reference (TYPE) TY_S_CONVERTED_DATA 20120619
# Exception Resumable Description Created on
1 CX_WZRE_DOES_NOT_EXIST 20120629

Method CREATE_STRUC_AND_FIELDCAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_STRUCT_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR 20120629
2 Exporting ET_FIELDCATALOG Call by reference Type reference (TYPE) LVC_T_FCAT 20120629
3 Importing IT_SEGMENT_STRUCT Call by reference Type reference (TYPE) LEDID_T_SEGMENT_STRUCT 20120629

Method CREATE_STRUC_AND_FIELDCAT on class CL_WLF_IDOC has no exception.

Method GET_CONVERTED_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETH_MAP Call by reference Type reference (TYPE) TY_TH_SEGNUM_TO_GUID_MAP 20120628
2 Exporting ETS_CONVERTED_DATA Call by reference Type reference (TYPE) TY_TS_CONVERTED_DATA 20120618
# Exception Resumable Description Created on
1 CX_WZRE_DOES_NOT_EXIST 20120619

Method GET_FIELDCATALOG_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_FIELDCATALOG Call by reference Type reference (TYPE) LVC_S_FCAT 20120703
2 Importing IO_ELEM_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR 20120703
3 Importing I_COL_POS Call by reference Type reference (TYPE) I 20120703
4 Importing I_FIELDNAME Call by reference Type reference (TYPE) DATA 20120703

Method GET_FIELDCATALOG_ENTRY on class CL_WLF_IDOC has no exception.

Method GET_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CTH_FIELD Call by reference Type reference (TYPE) WLF_TH_FIELD Field Names 20131025
2 Importing IT_COMPONENT Call by reference Type reference (TYPE) CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE Component Description Table 20131025

Method GET_FIELDS on class CL_WLF_IDOC has no exception.

Method GET_IDOC_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_NUMBER Value transfer Type reference (TYPE) EDI_DOCNUM 20120720

Method GET_IDOC_NUMBER on class CL_WLF_IDOC has no exception.

Method GET_RAW_DATA_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_T_EDIDD Value transfer Object reference (TYPE REF TO) TY_T_EDIDD 20120907

Method GET_RAW_DATA_REF on class CL_WLF_IDOC has no exception.

Method GET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_STATUS Value transfer Type reference (TYPE) TY_T_STATUS 20120720

Method GET_STATUS on class CL_WLF_IDOC has no exception.

Method READ_CUSTOMIZING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MESTYP Call by reference Type reference (TYPE) EDI_MESTYP 20120618

Method READ_CUSTOMIZING on class CL_WLF_IDOC has no exception.

Method READ_SEGMENT_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SEGMENT_STRUCT Call by reference Type reference (TYPE) LEDID_T_SEGMENT_STRUCT 20121029
2 Exporting E_SEGMENT_DESCRIPTION Call by reference Type reference (TYPE) LEDID_DESCRP 20121029
3 Importing I_SEGTYPE Call by reference Type reference (TYPE) EDILSEGTYP 20121029
# Exception Resumable Description Created on
1 CX_WZRE_DOES_NOT_EXIST 20121029

Method READ_SEG_STRUC_AND_FIELDCAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_STRUCT_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR 20120629
2 Exporting ET_FIELDCATALOG Call by reference Type reference (TYPE) LVC_T_FCAT 20120629
3 Exporting E_SEGMENT_DESCRIPTION Call by reference Type reference (TYPE) LEDID_DESCRP 20120704
4 Importing I_SEGTYPE Call by reference Type reference (TYPE) EDILSEGTYP 20120629
# Exception Resumable Description Created on
1 CX_WZRE_DOES_NOT_EXIST 20120629

Method READ_TABLE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABNAME Call by reference Type reference (TYPE) TABNAME 20120810
2 Returning R_TEXT Value transfer Type reference (TYPE) AS4TEXT 20120810

Method READ_TABLE_TEXT on class CL_WLF_IDOC has no exception.

Method SET_CONVERTED_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITS_CONVERTED_DATA Call by reference Type reference (TYPE) TY_TS_CONVERTED_DATA 20120619
2 Returning RT_STATUS_RECORDS Value transfer Type reference (TYPE) TY_T_EDI_DS40 20120627
# Exception Resumable Description Created on
1 CX_WZRE_DOES_NOT_EXIST 20120619
2 CX_WZRE_MAINTAIN_ERROR 20120619
History
Last changed by/on SAP  20130531 
SAP Release Created in 607