Ansicht
Dokumentation
/MRSS/SQP_CALL_PROFILE_UI - Call the profile UI (fom other MRS services)
CPI1466 during Backup CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Functionality
Function module to call the different profiles in their respective user interface.
The following three different types of profiles are available:
- Resource/Employee Profile
- Requirement/Demand Profile
- Temperory Profile
The following operations can be performed using this function module:
- Display Profile
- Create Profile
- Change Profile
- Copy from existing profile to the current/new profile
For each case, the appropriate parameters should be filled.
Example
Notes
Further information
CALL FUNCTION '/MRSS/SQP_CALL_PROFILE_UI'
EXPORTING
IV_LOGON_MODE =
IV_PROFILE_GUID =
IV_PROFILE_KEY =
IV_TRANSACTION_MODE =
IV_COPY_FROM_PROF =
IV_FULLSCREEN =
IV_COMMIT =
IV_PLANT,,,,,,=
IMPORTING
EV_PROFILE_GUID_KEY =
EV_DATA_SAVED = .
IV_LOGON_MODE
1 ==> Resource Profile
2 ==> Requirement Profile
3 ==> Temporary Profile
IV_PROFILE_GUID
Specify the profile GUID to be processed. This could be a GUID of either a resource or requirement or temporary profile. If the profile GUID is not known then specify the profile key in the parameter 'IV_PROFILE_KEY'. But if the profile GUID is specified, then profile key is not considered. If both profile GUID and profile key are missing and the transaction mode is either create or copy, a new profile will be created.
IV_PROFILE_KEY
Specify the profile key to be processed. If profile GUID is specified, then the profile key is not considered. It is ideal to specify either of one.
IV_TRANSACTION_MODE
1 ==> Display Profile
2 ==> Create Profile
3 ==> Edit Profile
4 ==> COPY Profile (in this case specify the profile from which the data to be copied (IV_COPY_FROM_PROF)
IV_COPY_FROM_PROF
Specify the profile to be copied to the current profile
IV_FULLSCREEN ,,,,Boolean Flag - Only valid for employee profile
If the flag is set, then the UI will be called in full screen mode.
IV_COMMIT ,,,,Boolean Flag
If the flag is set, then the transaction will do an Explicit commit. Commit happens only when the user saves the data in the UI.
IV_RES_ACTIV Boolean Flag
If the flag is set, then only the active qualifications of the resource will be displayed.
EXPORTING
EV_PROFILE_GUID_KEY
User gets back a structure containing both Profile GUID and key of the currently accessed profile. In case of temporary profile, the profile key will not be present.
EV_DATA_SAVED - Boolean Flag
This flag shows if user saved the data or not. The flag will be set independent of saved data is commited or not.
IV_PLANT,, - Werks Field
Plant reference needs to be supplied from the calling function when creating a requirement profile.
Parameters
ET_MESSAGEEV_DATA_SAVED
EV_PROFILE_GUID_KEY
IT_ATTRIBUTES
IV_ANONYMOUS_RES
IV_COMMIT
IV_CONTEXT
IV_COPY_FROM_PROF
IV_FULLSCREEN
IV_LOGON_MODE
IV_MSGTAB_FILL
IV_PLANT
IV_PROFILE_GUID
IV_PROFILE_KEY
IV_PROF_DESC
IV_RES_ACTIVE
IV_REUSABLE
IV_TRANSACTION_MODE
Exceptions
E_NOT_AUTHORIZEDFunction Group
S/SAPLSQP_APIFill RESBD Structure from EBP Component Structure General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 4494 Date: 20240425 Time: 103735 sap01-206 ( 57 ms )