Ansicht
Dokumentation

/MRSS/SQP_CALL_REQ_PROFILE_UI - Call requirement profile UI (not to be from outside of MRS)

/MRSS/SQP_CALL_REQ_PROFILE_UI - Call requirement profile UI (not to be from outside of MRS)

RFUMSV00 - Advance Return for Tax on Sales/Purchases   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Function module to call the different profiles in their respective user interface.

There are three different types of profiles:

  1. Resource/Employee Profile
  2. Requirement/Demand Profile
  3. Temporary Profile

The following operations can be performed using this function module:

  1. Display Profile
  2. Create Profile
  3. Change Profile
  4. Copy from existing profile to the current/new profile

For each case, the appropriate parameters should be filled.

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 =

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 the 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 the 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 speciy 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 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 the key of the currently accessed profile. In case of temporary profile, profile key will not be present.

EV_DATA_SAVED - Boolean Flag

This flag shows if the user saved the data or not. The flag will be set independent of saved data is commited or not.

Parameters

IV_LOGON_MODE

IV_PROFILE_GUID

IV_PROFILE_KEY

IV_PROF_DESC

IV_TRANSACTION_MODE

IV_COPY_FROM_PROF

IV_FULLSCREEN

IV_COMMIT

IV_REUSABLE

IV_RES_ACTIVE

IV_CONTEXT

IT_ATTRIBUTES

IV_MSGTAB_FILL

IV_ANONYMOUS_RES

EV_PROFILE_GUID_KEY

EV_DATA_SAVED

ET_MESSAGE





Parameters

ET_MSG
EV_DATA_SAVED
EV_PROFILE_GUID_KEY
IT_CONTEXT_ATTR
IV_COMMIT
IV_CONTEXT
IV_COPY_FROM_PROF
IV_FULLSCREEN
IV_MSGTAB_FILL
IV_PLANT
IV_PROFILE_GUID
IV_PROFILE_KEY
IV_PROF_DESC
IV_REUSABLE
IV_TRANSACTION_MODE

Exceptions

E_NOT_AUTHORIZED

Function Group

S/SAPLSQP_API

ABAP Short Reference   General Material Data  
This documentation is copyright by SAP AG.

Length: 4743 Date: 20240425 Time: 191021     sap01-206 ( 58 ms )