Ansicht
Dokumentation
RSTS_OPEN_RB - Open TemSe Object in Order to Read in Blocks
RFUMSV00 - Advance Return for Tax on Sales/Purchases CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Task of function module "RSTS_OPEN_RB"
TemSe objects save sequential files. Before they can be edited they must be opened and when editing is finished, they must be closed.
This function module opens a TemSe object to read it row by row using "RSTS_READ". During the read, the data is processed block by block.
After editing is completed, the function module RSTS_CLOSE is called.
Parallel processing and handle concept
This group of function modules is designed for use with several TemSe objects in parallel. Most of the time, however, only one TemSe object is edited at one time. The application was therefore simplified for use with one TemSe object at a time.
Processing only one object at a time
The following parameters do not have to be used if only one object is processed at a time:
Function module | Parameter |
---|---|
RSTS_OPEN_RB | OWN_FBHANDLE |
FBHANDLE | |
RSTS_READ | FBHANDLE |
RSTS_CLOSE | FBHANDLE |
If you want to process multiple objects simultaneously, set "OWN_FBHANDLE" to "X" and use a variable for "FBHANDLE" that can be used for the related calls "RSTS_OPEN_RLC", "RSTS_READ" and "RSTS_CLOSE".
Additional optional parameters
PROM
The processing mode. There are three processing modes:
Mode | Processing in |
---|---|
"I" | This internal session |
"E" | All internal sessions within this external session |
"W" | This work process |
Note:
There is a limit to the number of TemSe objects that can be opened in a database transaction
using processing mode "E". If a TemSe object consists of multiple parts, each part counts separately.
Only use mode "W" if you understand the consequences completely.
CLIENT
Client in which the TemSe object was saved. This is normally your own client.
AUTHORITY
Name of the function or transaction that checked the required authorizations
OBJTYPE
Data type of the object
ENQLOCK
Lock mode of the object. The default value is "Do not use enqueue lock".
Possible values:
"N" Do not use enqueue lock (this is compatible with the previous
implementation)
"E" Set an exclusive enqueue lock
"S" Set a shared enqueue lock
The lock logic assumes that all users use the locks. The RSTS_CLOSE call resets the lock.
Parameters
AUTHORITYCLIENT
ENQLOCK
FBHANDLE
NAME
OBJTYPE
OWN_FBHANDLE
PROM
Exceptions
ENQ_FOREIGN_LOCKENQ_OTHER
ENQ_SYS_FAIL
FB_CALL_HANDLE
FB_ERROR
FB_RSTS_NOCONV
FB_RSTS_OTHER
NO_OBJECT
NO_PERMISSION
Function Group
STMSROGBILLS - Synchronize billing plans SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 3618 Date: 20240523 Time: 145247 sap01-206 ( 53 ms )