SAP CNVCF_JSTAT_GETINFO Function Module for Get info for job
CNVCF_JSTAT_GETINFO is a standard cnvcf jstat getinfo SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get info for job 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 cnvcf jstat getinfo FM, simply by entering the name CNVCF_JSTAT_GETINFO into the relevant SAP transaction such as SE37 or SE38.
Function Group: CNVC_JSTAT
Program Name: SAPLCNVC_JSTAT
Main Program: SAPLCNVC_JSTAT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CNVCF_JSTAT_GETINFO 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 'CNVCF_JSTAT_GETINFO'"Get info for job.
EXPORTING
JOBCOUNT = "
JOBNAME = "
IMPORTING
STATUS = "
STRTDATE = "
STRTTIME = "
ENDDATE = "
ENDTIME = "
LAST_ACTION = "
PERCENTAGE = "
EXCEPTIONS
NOT_FOUND = 1
IMPORTING Parameters details for CNVCF_JSTAT_GETINFO
JOBCOUNT -
Data type: TBTCO-JOBCOUNTOptional: No
Call by Reference: No ( called with pass by value option)
JOBNAME -
Data type: TBTCO-JOBNAMEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CNVCF_JSTAT_GETINFO
STATUS -
Data type: TBTCO-STATUSOptional: No
Call by Reference: No ( called with pass by value option)
STRTDATE -
Data type: TBTCO-STRTDATEOptional: No
Call by Reference: No ( called with pass by value option)
STRTTIME -
Data type: TBTCO-STRTTIMEOptional: No
Call by Reference: No ( called with pass by value option)
ENDDATE -
Data type: TBTCO-ENDDATEOptional: No
Call by Reference: No ( called with pass by value option)
ENDTIME -
Data type: TBTCO-ENDTIMEOptional: No
Call by Reference: No ( called with pass by value option)
LAST_ACTION -
Data type: CNVC_JSTAT-LAST_ACTIONOptional: No
Call by Reference: No ( called with pass by value option)
PERCENTAGE -
Data type: CNVC_JSTAT-PERCENTAGEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CNVCF_JSTAT_GETINFO 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_status | TYPE TBTCO-STATUS, " | |||
| lv_jobcount | TYPE TBTCO-JOBCOUNT, " | |||
| lv_not_found | TYPE TBTCO, " | |||
| lv_jobname | TYPE TBTCO-JOBNAME, " | |||
| lv_strtdate | TYPE TBTCO-STRTDATE, " | |||
| lv_strttime | TYPE TBTCO-STRTTIME, " | |||
| lv_enddate | TYPE TBTCO-ENDDATE, " | |||
| lv_endtime | TYPE TBTCO-ENDTIME, " | |||
| lv_last_action | TYPE CNVC_JSTAT-LAST_ACTION, " | |||
| lv_percentage | TYPE CNVC_JSTAT-PERCENTAGE. " |
|   CALL FUNCTION 'CNVCF_JSTAT_GETINFO' "Get info for job |
| EXPORTING | ||
| JOBCOUNT | = lv_jobcount | |
| JOBNAME | = lv_jobname | |
| IMPORTING | ||
| STATUS | = lv_status | |
| STRTDATE | = lv_strtdate | |
| STRTTIME | = lv_strttime | |
| ENDDATE | = lv_enddate | |
| ENDTIME | = lv_endtime | |
| LAST_ACTION | = lv_last_action | |
| PERCENTAGE | = lv_percentage | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| . " CNVCF_JSTAT_GETINFO | ||
ABAP code using 7.40 inline data declarations to call FM CNVCF_JSTAT_GETINFO
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 STATUS FROM TBTCO INTO @DATA(ld_status). | ||||
| "SELECT single JOBCOUNT FROM TBTCO INTO @DATA(ld_jobcount). | ||||
| "SELECT single JOBNAME FROM TBTCO INTO @DATA(ld_jobname). | ||||
| "SELECT single STRTDATE FROM TBTCO INTO @DATA(ld_strtdate). | ||||
| "SELECT single STRTTIME FROM TBTCO INTO @DATA(ld_strttime). | ||||
| "SELECT single ENDDATE FROM TBTCO INTO @DATA(ld_enddate). | ||||
| "SELECT single ENDTIME FROM TBTCO INTO @DATA(ld_endtime). | ||||
| "SELECT single LAST_ACTION FROM CNVC_JSTAT INTO @DATA(ld_last_action). | ||||
| "SELECT single PERCENTAGE FROM CNVC_JSTAT INTO @DATA(ld_percentage). | ||||
Search for further information about these or an SAP related objects