Ansicht
Dokumentation

K_TRANSFER_BATCHINPUT -

K_TRANSFER_BATCHINPUT -

ROGBILLS - Synchronize billing plans   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

This function module generates a batch input session for posting of cost s (KB11) or revenues (KB12). The data is transferred to table I_RKIBI1 with structure RKIBI1.

Parameters:
CLIENT (client) -+
USER (batch input user) |-> mandatory entries
MAPN_R (session name) |
MAPN_E (session name error file) -+
........
ONLINE (flag for online operation, default " ")
SORT_TAB (sort flag, default "X")
KEEP (indicator for retainment in session run)
HOLDDATE (lock session to given date)

Meaning of ONLINE:
ONLINE = " ": Batch input sessions are generated
ONLINE = "A": Display the screens
ONLINE = "E": Display if error occurs
ONLINE = "N": No display

If the sort flag (SORT_TAB) is set to "X", the data is tested for completeness and sorted by BUDAT, BLDAT, KOKRS, and EFLAG.
Meaning of EFLAG:

EFLAG = "0" : Complete data record
EFLAG = "1" : Incomplete data record
EFLAG = "2" : BUDAT, BLDAT, or KOKRS faulty

If faulty records occur, the return code (SUBRC) is set appropriately.

Two sessions are generated:
Session name = MAPM_R : Records with EFLAG = "0"
Session name = MAPM_E : Records with EFLAG = "1".

If the sort flag is not set, the records are transferred already sorted. Non-posted records are indicated in EFLAG with "2". The return code is likewise set to "2".





Parameters

CLIENT
HOLDDATE
I_RKIBI1
KEEP
MAPN_E
MAPN_R
ONLINE
SORT_TAB
SUBRC
USER

Exceptions

ERROR_IN_CALL_TRANSACTION
NO_ENTRIES_IN_TABLE
WRONG_KOKRS
WRONG_ONLINE_PARAMETER

Function Group

KIBI

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 1910 Date: 20240523 Time: 092800     sap01-206 ( 31 ms )