SAP Function STATUS_OBJECT_SWITCH_NUMBER - Replace Temporary Object Number with Real Object Number

Parameter Reference Type Length Default Optional Text
CLIENT SYST-MANDT C 3 SY-MANDT X Client
OBJNR_NEW JSTO-OBJNR C 22 New Object Number
OBJNR_OLD JSTO-OBJNR C 22 Old (Temporary) Object Number

Exception Text
OBJECT_NOT_FOUND Old Object Number does not Exist
OBJNR_NEW_INVALID New Object Number is Temporary
OBJNR_OLD_INVALID Old Object Number is not Temporary
STATUS_OBJECT_ALREADY_EXISTS Status Object Already Exists

Functionality
A temporary object number is replaced in the status buffer by apermanent object number.

Notes
Call this function module before the "COMMIT WORK" if you are workingwith temporary object numbers, since status objects with temporarynumbers are not posted to the database and any status changes you madewould then be lost.

Description
Client

Description
New, non-temporary object number
This object number is assigned by the object number management(function modules OBJECT_NUMBER_GET_xx).

Description
Old, temporary object number
The object number must begin with 'TM'. It is delivered by the functionmodule STATUS_OBJECT_CREATE if this iscalled without entering an object number.

Value range
TM*

399243Online store with IPC: Error with quotation creation