SAP FTR_TCORT_CO_WRITE_DOCUMENT Function Module for CHDO FTR_TCORT_CO => Gen. by RSSCD000
FTR_TCORT_CO_WRITE_DOCUMENT is a standard ftr tcort co write document SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for CHDO FTR_TCORT_CO => Gen. by RSSCD000 processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for ftr tcort co write document FM, simply by entering the name FTR_TCORT_CO_WRITE_DOCUMENT into the relevant SAP transaction such as SE37 or SE38.
Function Group: TCOR_CO_CHANGE_DOCUMENTS
Program Name: SAPLTCOR_CO_CHANGE_DOCUMENTS
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 2

Function FTR_TCORT_CO_WRITE_DOCUMENT pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'FTR_TCORT_CO_WRITE_DOCUMENT'"CHDO FTR_TCORT_CO => Gen. by RSSCD000.
EXPORTING
OBJECTID = "
N_TCORT_CO = "
O_TCORT_CO = "
* UPD_TCORT_CO = ' ' "
* UPD_TCORT_CODCO = ' ' "
* UPD_TCORT_CODCOFO = ' ' "
* UPD_TCORT_CODCPA = ' ' "
* UPD_TCORT_CODDP = ' ' "
* UPD_TCORT_CODFL = ' ' "
* UPD_TCORT_CODIA = ' ' "
N_TCORT_CODMD = "
TCODE = "
O_TCORT_CODMD = "
* UPD_TCORT_CODMD = ' ' "
* UPD_TCORT_CODOC = ' ' "
* UPD_TCORT_CODPI = ' ' "
* UPD_TCORT_CODRP = ' ' "
* UPD_TCORT_CODSRA = ' ' "
* UPD_TCORT_CODUL = ' ' "
* UPD_TCORT_CODUL2 = ' ' "
* UPD_TCORT_CODUL2FL = ' ' "
* UPD_TCORT_CODULCO = ' ' "
UTIME = "
* UPD_TCORT_CODULCOFO = ' ' "
* UPD_TCORT_CODULFL = ' ' "
* UPD_TCORT_CONOTES = ' ' "
XTCORT_CONOTES = "
YTCORT_CONOTES = "
N_TCORT_COSA = "
O_TCORT_COSA = "
* UPD_TCORT_COSA = ' ' "
* UPD_TCORT_COSAFL = ' ' "
* UPD_TCORT_COSAPO = ' ' "
UDATE = "
N_TCORT_COSI = "
O_TCORT_COSI = "
* UPD_TCORT_COSI = ' ' "
USERNAME = "
* PLANNED_CHANGE_NUMBER = ' ' "
* OBJECT_CHANGE_INDICATOR = 'U' "
* PLANNED_OR_REAL_CHANGES = ' ' "
* NO_CHANGE_POINTERS = ' ' "
TABLES
XTCORT_CODCO = "
YTCORT_CODFL = "
XTCORT_CODIA = "
YTCORT_CODIA = "
XTCORT_CODOC = "
YTCORT_CODOC = "
XTCORT_CODPI = "
YTCORT_CODPI = "
XTCORT_CODRP = "
YTCORT_CODRP = "
XTCORT_CODSRA = "
YTCORT_CODCO = "
YTCORT_CODSRA = "
XTCORT_CODUL = "
YTCORT_CODUL = "
XTCORT_CODUL2 = "
YTCORT_CODUL2 = "
XTCORT_CODUL2FL = "
YTCORT_CODUL2FL = "
XTCORT_CODULCO = "
YTCORT_CODULCO = "
XTCORT_CODULCOFO = "
XTCORT_CODCOFO = "
YTCORT_CODULCOFO = "
XTCORT_CODULFL = "
YTCORT_CODULFL = "
XTCORT_COSAFL = "
YTCORT_COSAFL = "
XTCORT_COSAPO = "
YTCORT_COSAPO = "
YTCORT_CODCOFO = "
XTCORT_CODCPA = "
YTCORT_CODCPA = "
XTCORT_CODDP = "
YTCORT_CODDP = "
XTCORT_CODFL = "
IMPORTING Parameters details for FTR_TCORT_CO_WRITE_DOCUMENT
OBJECTID -
Data type: CDHDR-OBJECTIDOptional: No
Call by Reference: No ( called with pass by value option)
N_TCORT_CO -
Data type: TCORT_COOptional: No
Call by Reference: No ( called with pass by value option)
O_TCORT_CO -
Data type: TCORT_COOptional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CO -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODCO -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODCOFO -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODCPA -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODDP -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODFL -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODIA -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
N_TCORT_CODMD -
Data type: TCORT_CODMDOptional: No
Call by Reference: No ( called with pass by value option)
TCODE -
Data type: CDHDR-TCODEOptional: No
Call by Reference: No ( called with pass by value option)
O_TCORT_CODMD -
Data type: TCORT_CODMDOptional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODMD -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODOC -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODPI -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODRP -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODSRA -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODUL -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODUL2 -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODUL2FL -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODULCO -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UTIME -
Data type: CDHDR-UTIMEOptional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODULCOFO -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CODULFL -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_CONOTES -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CONOTES -
Data type: VTCORT_CONOTESSOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CONOTES -
Data type: VTCORT_CONOTESSOptional: No
Call by Reference: No ( called with pass by value option)
N_TCORT_COSA -
Data type: TCORT_COSAOptional: No
Call by Reference: No ( called with pass by value option)
O_TCORT_COSA -
Data type: TCORT_COSAOptional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_COSA -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_COSAFL -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_COSAPO -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
UDATE -
Data type: CDHDR-UDATEOptional: No
Call by Reference: No ( called with pass by value option)
N_TCORT_COSI -
Data type: TCORT_COSIOptional: No
Call by Reference: No ( called with pass by value option)
O_TCORT_COSI -
Data type: TCORT_COSIOptional: No
Call by Reference: No ( called with pass by value option)
UPD_TCORT_COSI -
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
USERNAME -
Data type: CDHDR-USERNAMEOptional: No
Call by Reference: No ( called with pass by value option)
PLANNED_CHANGE_NUMBER -
Data type: CDHDR-PLANCHNGNRDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
OBJECT_CHANGE_INDICATOR -
Data type: CDHDR-CHANGE_INDDefault: 'U'
Optional: No
Call by Reference: No ( called with pass by value option)
PLANNED_OR_REAL_CHANGES -
Data type: CDHDR-CHANGE_INDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
NO_CHANGE_POINTERS -
Data type: CDHDR-CHANGE_INDDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FTR_TCORT_CO_WRITE_DOCUMENT
XTCORT_CODCO -
Data type: VTCORT_CODCOOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODFL -
Data type: VTCORT_CODFLOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODIA -
Data type: VTCORT_CODIAOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODIA -
Data type: VTCORT_CODIAOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODOC -
Data type: VTCORT_CODOCOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODOC -
Data type: VTCORT_CODOCOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODPI -
Data type: VTCORT_CODPIOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODPI -
Data type: VTCORT_CODPIOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODRP -
Data type: VTCORT_CODRPOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODRP -
Data type: VTCORT_CODRPOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODSRA -
Data type: VTCORT_CODSRAOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODCO -
Data type: VTCORT_CODCOOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODSRA -
Data type: VTCORT_CODSRAOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODUL -
Data type: VTCORT_CODULOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODUL -
Data type: VTCORT_CODULOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODUL2 -
Data type: VTCORT_CODUL2Optional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODUL2 -
Data type: VTCORT_CODUL2Optional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODUL2FL -
Data type: VTCORT_CODUL2FLOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODUL2FL -
Data type: VTCORT_CODUL2FLOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODULCO -
Data type: VTCORT_CODULCOOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODULCO -
Data type: VTCORT_CODULCOOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODULCOFO -
Data type: VTCORT_CODULCOFOOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODCOFO -
Data type: VTCORT_CODCOFOOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODULCOFO -
Data type: VTCORT_CODULCOFOOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODULFL -
Data type: VTCORT_CODULFLOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODULFL -
Data type: VTCORT_CODULFLOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_COSAFL -
Data type: VTCORT_COSAFLOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_COSAFL -
Data type: VTCORT_COSAFLOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_COSAPO -
Data type: VTCORT_COSAPOOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_COSAPO -
Data type: VTCORT_COSAPOOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODCOFO -
Data type: VTCORT_CODCOFOOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODCPA -
Data type: VTCORT_CODCPAOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODCPA -
Data type: VTCORT_CODCPAOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODDP -
Data type: VTCORT_CODDPOptional: No
Call by Reference: No ( called with pass by value option)
YTCORT_CODDP -
Data type: VTCORT_CODDPOptional: No
Call by Reference: No ( called with pass by value option)
XTCORT_CODFL -
Data type: VTCORT_CODFLOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FTR_TCORT_CO_WRITE_DOCUMENT Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_objectid | TYPE CDHDR-OBJECTID, " | |||
| lt_xtcort_codco | TYPE STANDARD TABLE OF VTCORT_CODCO, " | |||
| lv_n_tcort_co | TYPE TCORT_CO, " | |||
| lt_ytcort_codfl | TYPE STANDARD TABLE OF VTCORT_CODFL, " | |||
| lv_o_tcort_co | TYPE TCORT_CO, " | |||
| lt_xtcort_codia | TYPE STANDARD TABLE OF VTCORT_CODIA, " | |||
| lv_upd_tcort_co | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_ytcort_codia | TYPE STANDARD TABLE OF VTCORT_CODIA, " | |||
| lt_xtcort_codoc | TYPE STANDARD TABLE OF VTCORT_CODOC, " | |||
| lv_upd_tcort_codco | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_ytcort_codoc | TYPE STANDARD TABLE OF VTCORT_CODOC, " | |||
| lv_upd_tcort_codcofo | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_xtcort_codpi | TYPE STANDARD TABLE OF VTCORT_CODPI, " | |||
| lv_upd_tcort_codcpa | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_ytcort_codpi | TYPE STANDARD TABLE OF VTCORT_CODPI, " | |||
| lv_upd_tcort_coddp | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_xtcort_codrp | TYPE STANDARD TABLE OF VTCORT_CODRP, " | |||
| lv_upd_tcort_codfl | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_ytcort_codrp | TYPE STANDARD TABLE OF VTCORT_CODRP, " | |||
| lv_upd_tcort_codia | TYPE CDPOS-CHNGIND, " SPACE | |||
| lv_n_tcort_codmd | TYPE TCORT_CODMD, " | |||
| lt_xtcort_codsra | TYPE STANDARD TABLE OF VTCORT_CODSRA, " | |||
| lv_tcode | TYPE CDHDR-TCODE, " | |||
| lt_ytcort_codco | TYPE STANDARD TABLE OF VTCORT_CODCO, " | |||
| lv_o_tcort_codmd | TYPE TCORT_CODMD, " | |||
| lt_ytcort_codsra | TYPE STANDARD TABLE OF VTCORT_CODSRA, " | |||
| lt_xtcort_codul | TYPE STANDARD TABLE OF VTCORT_CODUL, " | |||
| lv_upd_tcort_codmd | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_ytcort_codul | TYPE STANDARD TABLE OF VTCORT_CODUL, " | |||
| lv_upd_tcort_codoc | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_xtcort_codul2 | TYPE STANDARD TABLE OF VTCORT_CODUL2, " | |||
| lv_upd_tcort_codpi | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_ytcort_codul2 | TYPE STANDARD TABLE OF VTCORT_CODUL2, " | |||
| lv_upd_tcort_codrp | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_xtcort_codul2fl | TYPE STANDARD TABLE OF VTCORT_CODUL2FL, " | |||
| lv_upd_tcort_codsra | TYPE CDPOS-CHNGIND, " SPACE | |||
| lv_upd_tcort_codul | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_ytcort_codul2fl | TYPE STANDARD TABLE OF VTCORT_CODUL2FL, " | |||
| lt_xtcort_codulco | TYPE STANDARD TABLE OF VTCORT_CODULCO, " | |||
| lv_upd_tcort_codul2 | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_ytcort_codulco | TYPE STANDARD TABLE OF VTCORT_CODULCO, " | |||
| lv_upd_tcort_codul2fl | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_xtcort_codulcofo | TYPE STANDARD TABLE OF VTCORT_CODULCOFO, " | |||
| lv_upd_tcort_codulco | TYPE CDPOS-CHNGIND, " SPACE | |||
| lv_utime | TYPE CDHDR-UTIME, " | |||
| lt_xtcort_codcofo | TYPE STANDARD TABLE OF VTCORT_CODCOFO, " | |||
| lt_ytcort_codulcofo | TYPE STANDARD TABLE OF VTCORT_CODULCOFO, " | |||
| lv_upd_tcort_codulcofo | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_xtcort_codulfl | TYPE STANDARD TABLE OF VTCORT_CODULFL, " | |||
| lv_upd_tcort_codulfl | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_ytcort_codulfl | TYPE STANDARD TABLE OF VTCORT_CODULFL, " | |||
| lv_upd_tcort_conotes | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_xtcort_cosafl | TYPE STANDARD TABLE OF VTCORT_COSAFL, " | |||
| lv_xtcort_conotes | TYPE VTCORT_CONOTESS, " | |||
| lt_ytcort_cosafl | TYPE STANDARD TABLE OF VTCORT_COSAFL, " | |||
| lv_ytcort_conotes | TYPE VTCORT_CONOTESS, " | |||
| lv_n_tcort_cosa | TYPE TCORT_COSA, " | |||
| lt_xtcort_cosapo | TYPE STANDARD TABLE OF VTCORT_COSAPO, " | |||
| lv_o_tcort_cosa | TYPE TCORT_COSA, " | |||
| lt_ytcort_cosapo | TYPE STANDARD TABLE OF VTCORT_COSAPO, " | |||
| lv_upd_tcort_cosa | TYPE CDPOS-CHNGIND, " SPACE | |||
| lv_upd_tcort_cosafl | TYPE CDPOS-CHNGIND, " SPACE | |||
| lv_upd_tcort_cosapo | TYPE CDPOS-CHNGIND, " SPACE | |||
| lv_udate | TYPE CDHDR-UDATE, " | |||
| lt_ytcort_codcofo | TYPE STANDARD TABLE OF VTCORT_CODCOFO, " | |||
| lv_n_tcort_cosi | TYPE TCORT_COSI, " | |||
| lv_o_tcort_cosi | TYPE TCORT_COSI, " | |||
| lv_upd_tcort_cosi | TYPE CDPOS-CHNGIND, " SPACE | |||
| lv_username | TYPE CDHDR-USERNAME, " | |||
| lt_xtcort_codcpa | TYPE STANDARD TABLE OF VTCORT_CODCPA, " | |||
| lt_ytcort_codcpa | TYPE STANDARD TABLE OF VTCORT_CODCPA, " | |||
| lv_planned_change_number | TYPE CDHDR-PLANCHNGNR, " SPACE | |||
| lt_xtcort_coddp | TYPE STANDARD TABLE OF VTCORT_CODDP, " | |||
| lv_object_change_indicator | TYPE CDHDR-CHANGE_IND, " 'U' | |||
| lt_ytcort_coddp | TYPE STANDARD TABLE OF VTCORT_CODDP, " | |||
| lv_planned_or_real_changes | TYPE CDHDR-CHANGE_IND, " SPACE | |||
| lt_xtcort_codfl | TYPE STANDARD TABLE OF VTCORT_CODFL, " | |||
| lv_no_change_pointers | TYPE CDHDR-CHANGE_IND. " SPACE |
|   CALL FUNCTION 'FTR_TCORT_CO_WRITE_DOCUMENT' "CHDO FTR_TCORT_CO => Gen. by RSSCD000 |
| EXPORTING | ||
| OBJECTID | = lv_objectid | |
| N_TCORT_CO | = lv_n_tcort_co | |
| O_TCORT_CO | = lv_o_tcort_co | |
| UPD_TCORT_CO | = lv_upd_tcort_co | |
| UPD_TCORT_CODCO | = lv_upd_tcort_codco | |
| UPD_TCORT_CODCOFO | = lv_upd_tcort_codcofo | |
| UPD_TCORT_CODCPA | = lv_upd_tcort_codcpa | |
| UPD_TCORT_CODDP | = lv_upd_tcort_coddp | |
| UPD_TCORT_CODFL | = lv_upd_tcort_codfl | |
| UPD_TCORT_CODIA | = lv_upd_tcort_codia | |
| N_TCORT_CODMD | = lv_n_tcort_codmd | |
| TCODE | = lv_tcode | |
| O_TCORT_CODMD | = lv_o_tcort_codmd | |
| UPD_TCORT_CODMD | = lv_upd_tcort_codmd | |
| UPD_TCORT_CODOC | = lv_upd_tcort_codoc | |
| UPD_TCORT_CODPI | = lv_upd_tcort_codpi | |
| UPD_TCORT_CODRP | = lv_upd_tcort_codrp | |
| UPD_TCORT_CODSRA | = lv_upd_tcort_codsra | |
| UPD_TCORT_CODUL | = lv_upd_tcort_codul | |
| UPD_TCORT_CODUL2 | = lv_upd_tcort_codul2 | |
| UPD_TCORT_CODUL2FL | = lv_upd_tcort_codul2fl | |
| UPD_TCORT_CODULCO | = lv_upd_tcort_codulco | |
| UTIME | = lv_utime | |
| UPD_TCORT_CODULCOFO | = lv_upd_tcort_codulcofo | |
| UPD_TCORT_CODULFL | = lv_upd_tcort_codulfl | |
| UPD_TCORT_CONOTES | = lv_upd_tcort_conotes | |
| XTCORT_CONOTES | = lv_xtcort_conotes | |
| YTCORT_CONOTES | = lv_ytcort_conotes | |
| N_TCORT_COSA | = lv_n_tcort_cosa | |
| O_TCORT_COSA | = lv_o_tcort_cosa | |
| UPD_TCORT_COSA | = lv_upd_tcort_cosa | |
| UPD_TCORT_COSAFL | = lv_upd_tcort_cosafl | |
| UPD_TCORT_COSAPO | = lv_upd_tcort_cosapo | |
| UDATE | = lv_udate | |
| N_TCORT_COSI | = lv_n_tcort_cosi | |
| O_TCORT_COSI | = lv_o_tcort_cosi | |
| UPD_TCORT_COSI | = lv_upd_tcort_cosi | |
| USERNAME | = lv_username | |
| PLANNED_CHANGE_NUMBER | = lv_planned_change_number | |
| OBJECT_CHANGE_INDICATOR | = lv_object_change_indicator | |
| PLANNED_OR_REAL_CHANGES | = lv_planned_or_real_changes | |
| NO_CHANGE_POINTERS | = lv_no_change_pointers | |
| TABLES | ||
| XTCORT_CODCO | = lt_xtcort_codco | |
| YTCORT_CODFL | = lt_ytcort_codfl | |
| XTCORT_CODIA | = lt_xtcort_codia | |
| YTCORT_CODIA | = lt_ytcort_codia | |
| XTCORT_CODOC | = lt_xtcort_codoc | |
| YTCORT_CODOC | = lt_ytcort_codoc | |
| XTCORT_CODPI | = lt_xtcort_codpi | |
| YTCORT_CODPI | = lt_ytcort_codpi | |
| XTCORT_CODRP | = lt_xtcort_codrp | |
| YTCORT_CODRP | = lt_ytcort_codrp | |
| XTCORT_CODSRA | = lt_xtcort_codsra | |
| YTCORT_CODCO | = lt_ytcort_codco | |
| YTCORT_CODSRA | = lt_ytcort_codsra | |
| XTCORT_CODUL | = lt_xtcort_codul | |
| YTCORT_CODUL | = lt_ytcort_codul | |
| XTCORT_CODUL2 | = lt_xtcort_codul2 | |
| YTCORT_CODUL2 | = lt_ytcort_codul2 | |
| XTCORT_CODUL2FL | = lt_xtcort_codul2fl | |
| YTCORT_CODUL2FL | = lt_ytcort_codul2fl | |
| XTCORT_CODULCO | = lt_xtcort_codulco | |
| YTCORT_CODULCO | = lt_ytcort_codulco | |
| XTCORT_CODULCOFO | = lt_xtcort_codulcofo | |
| XTCORT_CODCOFO | = lt_xtcort_codcofo | |
| YTCORT_CODULCOFO | = lt_ytcort_codulcofo | |
| XTCORT_CODULFL | = lt_xtcort_codulfl | |
| YTCORT_CODULFL | = lt_ytcort_codulfl | |
| XTCORT_COSAFL | = lt_xtcort_cosafl | |
| YTCORT_COSAFL | = lt_ytcort_cosafl | |
| XTCORT_COSAPO | = lt_xtcort_cosapo | |
| YTCORT_COSAPO | = lt_ytcort_cosapo | |
| YTCORT_CODCOFO | = lt_ytcort_codcofo | |
| XTCORT_CODCPA | = lt_xtcort_codcpa | |
| YTCORT_CODCPA | = lt_ytcort_codcpa | |
| XTCORT_CODDP | = lt_xtcort_coddp | |
| YTCORT_CODDP | = lt_ytcort_coddp | |
| XTCORT_CODFL | = lt_xtcort_codfl | |
| . " FTR_TCORT_CO_WRITE_DOCUMENT | ||
ABAP code using 7.40 inline data declarations to call FM FTR_TCORT_CO_WRITE_DOCUMENT
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single OBJECTID FROM CDHDR INTO @DATA(ld_objectid). | ||||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_co). | ||||
| DATA(ld_upd_tcort_co) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codco). | ||||
| DATA(ld_upd_tcort_codco) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codcofo). | ||||
| DATA(ld_upd_tcort_codcofo) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codcpa). | ||||
| DATA(ld_upd_tcort_codcpa) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_coddp). | ||||
| DATA(ld_upd_tcort_coddp) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codfl). | ||||
| DATA(ld_upd_tcort_codfl) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codia). | ||||
| DATA(ld_upd_tcort_codia) | = ' '. | |||
| "SELECT single TCODE FROM CDHDR INTO @DATA(ld_tcode). | ||||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codmd). | ||||
| DATA(ld_upd_tcort_codmd) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codoc). | ||||
| DATA(ld_upd_tcort_codoc) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codpi). | ||||
| DATA(ld_upd_tcort_codpi) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codrp). | ||||
| DATA(ld_upd_tcort_codrp) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codsra). | ||||
| DATA(ld_upd_tcort_codsra) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codul). | ||||
| DATA(ld_upd_tcort_codul) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codul2). | ||||
| DATA(ld_upd_tcort_codul2) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codul2fl). | ||||
| DATA(ld_upd_tcort_codul2fl) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codulco). | ||||
| DATA(ld_upd_tcort_codulco) | = ' '. | |||
| "SELECT single UTIME FROM CDHDR INTO @DATA(ld_utime). | ||||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codulcofo). | ||||
| DATA(ld_upd_tcort_codulcofo) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_codulfl). | ||||
| DATA(ld_upd_tcort_codulfl) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_conotes). | ||||
| DATA(ld_upd_tcort_conotes) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_cosa). | ||||
| DATA(ld_upd_tcort_cosa) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_cosafl). | ||||
| DATA(ld_upd_tcort_cosafl) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_cosapo). | ||||
| DATA(ld_upd_tcort_cosapo) | = ' '. | |||
| "SELECT single UDATE FROM CDHDR INTO @DATA(ld_udate). | ||||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_tcort_cosi). | ||||
| DATA(ld_upd_tcort_cosi) | = ' '. | |||
| "SELECT single USERNAME FROM CDHDR INTO @DATA(ld_username). | ||||
| "SELECT single PLANCHNGNR FROM CDHDR INTO @DATA(ld_planned_change_number). | ||||
| DATA(ld_planned_change_number) | = ' '. | |||
| "SELECT single CHANGE_IND FROM CDHDR INTO @DATA(ld_object_change_indicator). | ||||
| DATA(ld_object_change_indicator) | = 'U'. | |||
| "SELECT single CHANGE_IND FROM CDHDR INTO @DATA(ld_planned_or_real_changes). | ||||
| DATA(ld_planned_or_real_changes) | = ' '. | |||
| "SELECT single CHANGE_IND FROM CDHDR INTO @DATA(ld_no_change_pointers). | ||||
| DATA(ld_no_change_pointers) | = ' '. | |||
Search for further information about these or an SAP related objects