Ansicht
Dokumentation

BUPA_SORT_CHANGE_DETAIL - Set Function Module for Table BUTSORT

BUPA_SORT_CHANGE_DETAIL - Set Function Module for Table BUTSORT

CPI1466 during Backup   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This Function Module is used to update the Start of Retention Time information of Business Partners in BUTSORT table. Mainly this Function Module will Insert/ Delete/ Update the Start Of Retention Time information of Business Partners in BUTSORT table. BUTSORT table is used to store the SORT information Related to Business Partners. BUTSORT table has fields like Partner No, GUID, Application Name, Application Rule Variant, Next Check date, Start of Retention Period etc.

This Method have one importing parameter (IT_SORT) in which SORT information related to Business Partners will be passed which needs to be updated. Fields in IT_SORT is as follow.

TASK - This filed is to indicate whether information needs to be Modify or Delete. It can have either 'M' (Modify) or 'D' (Delete).

PARTNER - This field will hold the Partner Number of a Business Partner. This field is Mandatory.

BUSINESS_SYSTEM - This Field will hold the Business System. To Know the Business system, make use of OWN_LOGICAL_SYSTEM_GET Function Module.

APPL_NAME - This field will hold the Name of the Application which is needed for modification and deletion of the Business partners.

APPL_RULE_VARIANT - This field will hold the Name of the Application rule variant defined for application which is needed for modification and deletion of the Business partners.

ST_RET_DATE - This field will hold Start of Retention date for the Business Partner whose purpose is completed for the business. If the Business Partner is in residence period then this field will hold the null value.

NEXTCHKDT - This Field will hold the Next Check date for the Business partners whose residence period is not yet completed. If Business is completed with the Business Partner this field will hold null value

PUR_CMPL_STATUS - This field will hold only 3 values (1/2/3) which indicates the status of the Business partners.

1 - N/A (No Business with the Business Partner)

2 - No (Business is ongoing with the Business Partner)

3 - Yes (Business is Completed with the Business Partner)

,,

STATUS - This field will hold either I (Interim) or F (Final).

Note:

1. Either of the ST_RET_DATE or NEXTCHKDT should be filled, but both cannot be filled in a same record.

2. This Function Module can be used for only Registered Applications in V_BUTEOPAPP and Application Rule Variants in V_BUTEOPARV.

3. The Business Partner with status 'F' can only be archived.

4. The BUSINESS_SYSTEM, APPL_NAME and APPL_RULE_VARIANT cannot be null.

5. When PUR_CMPL STATUS will hold Value 1 then ST_RET_DATE and NEXTCHKDT will hold Null value.

When PUR_CMPL STATUS will hold Value 2 then ST_RET_DATE will hold Null value.

When PUR_CMPL STATUS will hold Value 3 then NEXTCHKDT will hold Null value.

Example

Notes

Further information





Parameters

IT_SORT

Exceptions

Function Group

BUDP

PERFORM Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 3436 Date: 20240523 Time: 162528     sap01-206 ( 44 ms )