SAP HRIQ_SET_CURRENT_EVENT_INFO Function Module for Daten der aktuell bearbeiteten Veranstaltung lesen









HRIQ_SET_CURRENT_EVENT_INFO is a standard hriq set current event info SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Daten der aktuell bearbeiteten Veranstaltung lesen 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 hriq set current event info FM, simply by entering the name HRIQ_SET_CURRENT_EVENT_INFO into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRPIQ00MODULEOFFER_DIALOG
Program Name: SAPLHRPIQ00MODULEOFFER_DIALOG
Main Program: SAPLHRPIQ00MODULEOFFER_DIALOG
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HRIQ_SET_CURRENT_EVENT_INFO 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 'HRIQ_SET_CURRENT_EVENT_INFO'"Daten der aktuell bearbeiteten Veranstaltung lesen
IMPORTING
ES_CAPACITY = "Kapazität der Veranstaltung
EV_LOCATION = "Veranstaltungsort
EV_EVENTTYPE = "Veranstaltungstyp
EV_EVENT_OBJID = "Veranstaltung (nur gefüllt im Änderungsmodus)
EV_FCODE = "Funktionscode, der PAI ausgelöst hat

TABLES
* ET_BAPISCHED = "Veranstaltungsablauf
* ET_BAPIRESOU = "Ressourcen der Veranstaltung
* ET_BAPIDESC = "Beschreibung der Veranstaltung
.



EXPORTING Parameters details for HRIQ_SET_CURRENT_EVENT_INFO

ES_CAPACITY - Kapazität der Veranstaltung

Data type: HRI1024
Optional: No
Call by Reference: No ( called with pass by value option)

EV_LOCATION - Veranstaltungsort

Data type: LOCID
Optional: No
Call by Reference: No ( called with pass by value option)

EV_EVENTTYPE - Veranstaltungstyp

Data type: HROBJID
Optional: No
Call by Reference: No ( called with pass by value option)

EV_EVENT_OBJID - Veranstaltung (nur gefüllt im Änderungsmodus)

Data type: HROBJID
Optional: No
Call by Reference: No ( called with pass by value option)

EV_FCODE - Funktionscode, der PAI ausgelöst hat

Data type: SY-UCOMM
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for HRIQ_SET_CURRENT_EVENT_INFO

ET_BAPISCHED - Veranstaltungsablauf

Data type: BAPISCHED
Optional: Yes
Call by Reference: No ( called with pass by value option)

ET_BAPIRESOU - Ressourcen der Veranstaltung

Data type: BAPIRESOU
Optional: Yes
Call by Reference: No ( called with pass by value option)

ET_BAPIDESC - Beschreibung der Veranstaltung

Data type: BAPIDESC
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for HRIQ_SET_CURRENT_EVENT_INFO 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_es_capacity  TYPE HRI1024, "   
lt_et_bapisched  TYPE STANDARD TABLE OF BAPISCHED, "   
lv_ev_location  TYPE LOCID, "   
lt_et_bapiresou  TYPE STANDARD TABLE OF BAPIRESOU, "   
lt_et_bapidesc  TYPE STANDARD TABLE OF BAPIDESC, "   
lv_ev_eventtype  TYPE HROBJID, "   
lv_ev_event_objid  TYPE HROBJID, "   
lv_ev_fcode  TYPE SY-UCOMM. "   

  CALL FUNCTION 'HRIQ_SET_CURRENT_EVENT_INFO'  "Daten der aktuell bearbeiteten Veranstaltung lesen
    IMPORTING
         ES_CAPACITY = lv_es_capacity
         EV_LOCATION = lv_ev_location
         EV_EVENTTYPE = lv_ev_eventtype
         EV_EVENT_OBJID = lv_ev_event_objid
         EV_FCODE = lv_ev_fcode
    TABLES
         ET_BAPISCHED = lt_et_bapisched
         ET_BAPIRESOU = lt_et_bapiresou
         ET_BAPIDESC = lt_et_bapidesc
. " HRIQ_SET_CURRENT_EVENT_INFO




ABAP code using 7.40 inline data declarations to call FM HRIQ_SET_CURRENT_EVENT_INFO

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 UCOMM FROM SY INTO @DATA(ld_ev_fcode).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!