SAP Function Modules

LSO_SHOW_QUALIFICATION_DELTA SAP Function module







LSO_SHOW_QUALIFICATION_DELTA 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 LSO_SHOW_QUALIFICATION_DELTA into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: LSO_RHV7
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM LSO_SHOW_QUALIFICATION_DELTA - LSO SHOW QUALIFICATION DELTA





CALL FUNCTION 'LSO_SHOW_QUALIFICATION_DELTA' "
  EXPORTING
    plvar =                     " plog-plvar
*   event_otype =               " plog-otype
*   event_objid =               " plog-objid
*   event_begda =               " plog-begda
*   event_endda =               " plog-endda
*   event_short =               " p1000-short
*   event_stext =               " p1000-stext
*   evtyp_otype =               " plog-otype
    evtyp_objid =               " plog-objid
    evtyp_short =               " p1000-short
    evtyp_stext =               " p1000-stext
    partic_otype =              " plog-otype
    partic_objid =              " p1001-sobid
    partic_short =              " p1000-short
    partic_stext =              " p1000-stext
  TABLES
    event_requirements =        " hrvrequire
    require_1025 =              " wplog
    partic_qualifications =     " hrvqualif
    .  "  LSO_SHOW_QUALIFICATION_DELTA

ABAP code example for Function Module LSO_SHOW_QUALIFICATION_DELTA





The ABAP code below is a full code listing to execute function module LSO_SHOW_QUALIFICATION_DELTA 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).

DATA:
it_event_requirements  TYPE STANDARD TABLE OF HRVREQUIRE,"TABLES PARAM
wa_event_requirements  LIKE LINE OF it_event_requirements ,
it_require_1025  TYPE STANDARD TABLE OF WPLOG,"TABLES PARAM
wa_require_1025  LIKE LINE OF it_require_1025 ,
it_partic_qualifications  TYPE STANDARD TABLE OF HRVQUALIF,"TABLES PARAM
wa_partic_qualifications  LIKE LINE OF it_partic_qualifications .


SELECT single PLVAR
FROM PLOG
INTO @DATA(ld_plvar).


SELECT single OTYPE
FROM PLOG
INTO @DATA(ld_event_otype).


SELECT single OBJID
FROM PLOG
INTO @DATA(ld_event_objid).


SELECT single BEGDA
FROM PLOG
INTO @DATA(ld_event_begda).


SELECT single ENDDA
FROM PLOG
INTO @DATA(ld_event_endda).


DATA(ld_event_short) = some text here

DATA(ld_event_stext) = some text here

SELECT single OTYPE
FROM PLOG
INTO @DATA(ld_evtyp_otype).


SELECT single OBJID
FROM PLOG
INTO @DATA(ld_evtyp_objid).


DATA(ld_evtyp_short) = some text here

DATA(ld_evtyp_stext) = some text here

SELECT single OTYPE
FROM PLOG
INTO @DATA(ld_partic_otype).


DATA(ld_partic_objid) = some text here

DATA(ld_partic_short) = some text here

DATA(ld_partic_stext) = some text here

"populate fields of struture and append to itab
append wa_event_requirements to it_event_requirements.

"populate fields of struture and append to itab
append wa_require_1025 to it_require_1025.

"populate fields of struture and append to itab
append wa_partic_qualifications to it_partic_qualifications. . CALL FUNCTION 'LSO_SHOW_QUALIFICATION_DELTA' EXPORTING plvar = ld_plvar * event_otype = ld_event_otype * event_objid = ld_event_objid * event_begda = ld_event_begda * event_endda = ld_event_endda * event_short = ld_event_short * event_stext = ld_event_stext * evtyp_otype = ld_evtyp_otype evtyp_objid = ld_evtyp_objid evtyp_short = ld_evtyp_short evtyp_stext = ld_evtyp_stext partic_otype = ld_partic_otype partic_objid = ld_partic_objid partic_short = ld_partic_short partic_stext = ld_partic_stext TABLES event_requirements = it_event_requirements require_1025 = it_require_1025 partic_qualifications = it_partic_qualifications . " LSO_SHOW_QUALIFICATION_DELTA
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_plvar  TYPE PLOG-PLVAR ,
it_event_requirements  TYPE STANDARD TABLE OF HRVREQUIRE ,
wa_event_requirements  LIKE LINE OF it_event_requirements,
ld_event_otype  TYPE PLOG-OTYPE ,
it_require_1025  TYPE STANDARD TABLE OF WPLOG ,
wa_require_1025  LIKE LINE OF it_require_1025,
ld_event_objid  TYPE PLOG-OBJID ,
it_partic_qualifications  TYPE STANDARD TABLE OF HRVQUALIF ,
wa_partic_qualifications  LIKE LINE OF it_partic_qualifications,
ld_event_begda  TYPE PLOG-BEGDA ,
ld_event_endda  TYPE PLOG-ENDDA ,
ld_event_short  TYPE P1000-SHORT ,
ld_event_stext  TYPE P1000-STEXT ,
ld_evtyp_otype  TYPE PLOG-OTYPE ,
ld_evtyp_objid  TYPE PLOG-OBJID ,
ld_evtyp_short  TYPE P1000-SHORT ,
ld_evtyp_stext  TYPE P1000-STEXT ,
ld_partic_otype  TYPE PLOG-OTYPE ,
ld_partic_objid  TYPE P1001-SOBID ,
ld_partic_short  TYPE P1000-SHORT ,
ld_partic_stext  TYPE P1000-STEXT .


SELECT single PLVAR
FROM PLOG
INTO ld_plvar.


"populate fields of struture and append to itab
append wa_event_requirements to it_event_requirements.

SELECT single OTYPE
FROM PLOG
INTO ld_event_otype.


"populate fields of struture and append to itab
append wa_require_1025 to it_require_1025.

SELECT single OBJID
FROM PLOG
INTO ld_event_objid.


"populate fields of struture and append to itab
append wa_partic_qualifications to it_partic_qualifications.

SELECT single BEGDA
FROM PLOG
INTO ld_event_begda.


SELECT single ENDDA
FROM PLOG
INTO ld_event_endda.


ld_event_short = some text here

ld_event_stext = some text here

SELECT single OTYPE
FROM PLOG
INTO ld_evtyp_otype.


SELECT single OBJID
FROM PLOG
INTO ld_evtyp_objid.


ld_evtyp_short = some text here

ld_evtyp_stext = some text here

SELECT single OTYPE
FROM PLOG
INTO ld_partic_otype.


ld_partic_objid = some text here

ld_partic_short = some text here

ld_partic_stext = some text here

Contribute (Add Comments)

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 LSO_SHOW_QUALIFICATION_DELTA or its description.