Functionality You can use BAPI_BUPR_ACTIVITYP_CHANGE to change the validity period ofan activity partner relationship. Depending on the time constraintsettings for the activity partner relationship category, you mustconsider the following: If there is no time constraint, you do not needto maintain a period with this BAPI. The following settings apply:
- There must be no gaps in the record, there must be no duplicate
settings for periods
- Record may have gaps, but no duplicate settings are permitted
- A record may exist just once in the from date/to date period
- When you change the validity period, the system checks the entries made
in the interface against the time constraint settings. Any errors thatoccur are logged, and output in the RETURN table. If errors occur, nointervals are maintained.Description Key uniquely identifying an activity partner in the R/3 system perclient. Description Key uniquely identifying a business partner in the R/3 system perclient. Description The validity (valid from) date determines the beginning of thevalidity period of an object (of the activity partner relationship, inthis case) on the time axis.
- You only need to maintain a date if a time constraint has been defined
for the activity partner relationship category.
- If you do not enter a date, the default value is set at 01/01/0001.
- If no time constraint has been defined in the settings menu for the
relationship category, any date entries that differ from the defaultvalue are ignored, and the default date is set.Description Valid from date; new value. Description In field VALIDFROMDATENEW_X you must flag whether the value in fieldVALIDFROMDATE is to be copied. Description The validity (valid to) date determines the end of the validity periodof an object (of the activity partner relationship, in this case) onthe time axis.
- You only need to maintain a date if a time constraint has been defined
for the activity partner relationship category.
- If you do not enter a date, the default value is set at 12/31/9999.
- If no time constraint has been defined in the settings menu for the
relationship category, any date entries that differ from the defaultvalue are ignored, and the default date is set.Description Valid to date; new value. Description In field VALIDUNTILDATENEW_X you must flag whether the value in fieldVALIDUNTILDATE is to be copied. Description This table contains the return messages from the method call.
|