SAP Function RSTS_WRITE_L - Write to TemSe Object With Record Buffer

Parameter Reference Type Length Default Optional Text
BUFF 0 Data Buffer, Data Record
BUFFLG 0 '*' X Maximum Storage Length per Line
FBHANDLE RSTSTYPE-FBHANDLE X 196 0 X Handle for Open Object
SHOWLG RSTSTYPE-SHOWLG C 1 ' ' X Every Line with Length Field

Exception Text
FB_CALL_HANDLE Error with Handles at CALL Interface
FB_ERROR Function Module Error
FB_RSTS_NOCONV Required Conversion Not Possible
FB_RSTS_OTHER Other Errors Reported by TemSe C System


Write to a TemSe object opened using the function module "RSTS_OPEN_WL"or "RSTS_OPEN_WB".
Depending on which function module opened the TemSe object, the systemwrites either row by row or block by block.

Parameters:

BUFF
Data buffer containing the data to write

BUFFLG
Maximum amount of memory per row. This parameter is used in somespecial cases. In general, the amount of memory per row is derived fromthe width of the transferred internal table.

FBHANDLE
Handle for open object. Always specify if "RSTS_OPEN_..." is used withhandle.

SHOWLG
"X": The length of the row is specified at the beginning of every line.In the data area, first the length of the row is specified, thenpossibly the header column (ALLINE for open) and then the data(Caution: Not yet implemented.)

Exceptions
The exceptions are characterized depending on the software level inwhich they occur.

FB_ERROR
Error calling function module or in function module itself.

FB_CALL_HANDLE
Error with handles at the CALL interface, for example, when thefunction modules and the CALL interface are both using the TemSe.

FB_RSTS_NOCONV
Desired conversion not possible. For more information, see the functionmodule "RSTS_LAST_ERROR".

FB_RSTS_OTHER
Other errors reported by the TemSe C system. For more information, seethe function module "RSTS_LAST_ERROR".