Ansicht
Dokumentation
ISH_NKSKSEL_MODIFY - Create or Update IV/TC Selection
PERFORM Short Reference General Material DataThis documentation is copyright by SAP AG.
Functionality
The function module creates an new IV/TC Selection or updates an existing one - if permitted. Currently the update is restricted to changing the text ual description of the selection and/or appending new items.
The selection is specified by I_EINRI and I_SELID and both fields must not be initial.
Table IT_BELNR specifies the IV/TC document numbers that shall be inserted/added to the IV/TC selection. If an entry already exists, this will not lead to an error. Also, initial lines will be skipped.
Temporary document numbers will lead to an abort.
There will be no cross-checks with NKSK. So it will be possible to add items which donot correspond to an NKSK entry. This has to be ensured by the user of the function module.
If I_SELTXT is not initial, then it will be taken for the textual description of the selection. If it is initial, the system will generate a default text containing SY-CPROG, SY-UNAME and SY-DATUM.
- Creation of existing IV/TC Selection
- If I_SELTXT is not initial, then it will be taken for the textual description of the selection. If it is initial, a default text will be generated by the system.
- Update of existing IV/TC Selection
- If I_SELTXT is not initial, then it will be taken for the textual description of the selection. If it is initial, the textual description will not change
- Items from IT_BELNR that are not yet in the selection will be added.
Example
Notes
The function module does not lock/unlock the tables, as the function module would be too late within the program logic. This has to be done by the "user". Lock object ENKSKSELH can be used for this.
Further information
Parameters
ET_RETURNE_RETMAXTYPE
IT_BELNR
I_EINRI
I_SELID
I_SELTXT
I_UPD_ALLOWED
Exceptions
Function Group
NKSKSELPERFORM Short Reference BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 2321 Date: 20240523 Time: 142837 sap01-206 ( 35 ms )