FORCERCMD_MAINT SAP Method Create/Change Task Organization Relationship









Below is documentation, parameters and attributes of ABAP Method FORCERCMD_MAINT within SAP class /ISDFPS/CL_FORCERCMD. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /ISDFPS/CL_FORCERCMD into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method FORCERCMD_MAINT can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method FORCERCMD_MAINT

.

NameTypeData TypeDescriptionDefault Value
IV_ACTIVITY_HRImportingTYPE
FCODE
FCodes: See Attributes STATUS_CHANGE_* from /ISDFPS/CL_ORGM
IV_AUTO_DELIMITImportingTYPE
C
Delimit Relationships Automatically
IV_CREATEImportingTYPE
C
Allow Relationship to Be Created
IV_MSG_OPTImportingTYPE
C
Message Option
IV_STATUS_HR_NEWImportingTYPE
/ISDFPS/ISTAT
ET_MESSAGEExportingTYPE
BAL_T_MSG
Application Log: Table with Messages
CS_FORCERCMDChangingTYPE
/ISDFPS/FORCMD
Attributes of Task Organization
CS_FORCERCMDIDChangingTYPE
/ISDFPS/FORCERID_HR_OR



Exceptions of Method FORCERCMD_MAINT

ET_MESSAGEExportingTYPE
BAL_T_MSGApplication Log: Table with MessagesFORCERCMD_MAINT_ERROR - Error creating/changing the data record

Example ABAP coding


DATA: lv_CS_FORCERCMD TYPE /ISDFPS/FORCMD,
lv_CS_FORCERCMDID TYPE /ISDFPS/FORCERID_HR_OR,
lv_ET_MESSAGE TYPE BAL_T_MSG,
lv_IV_ACTIVITY_HR TYPE FCODE,
lv_IV_AUTO_DELIMIT TYPE C,
lv_IV_CREATE TYPE C,
lv_IV_MSG_OPT TYPE C,
lv_IV_STATUS_HR_NEW TYPE /ISDFPS/ISTAT,
lv_other TYPE c.

CALL METHOD /ISDFPS/CL_FORCERCMD=>FORCERCMD_MAINT(
EXPORTING
IV_ACTIVITY_HR = lv_IV_ACTIVITY_HR
IV_AUTO_DELIMIT = lv_IV_AUTO_DELIMIT
IV_CREATE = lv_IV_CREATE
IV_MSG_OPT = lv_IV_MSG_OPT
IV_STATUS_HR_NEW = lv_IV_STATUS_HR_NEW
IMPORTING
ET_MESSAGE = lv_ET_MESSAGE
CHANGING
CS_FORCERCMD = lv_CS_FORCERCMD
CS_FORCERCMDID = lv_CS_FORCERCMDID ).

Links to Related Class(s)

/ISDFPS/...
Full list of available SAP object classes

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!