‎2007 Jun 06 8:24 AM
Hi All ,
I m trying to use this FM ITOB_SERIALNO_MODIFY_SINGLE for changing the serial number ( as in transaction IQ02) . When i call this FM it gives me Subrc as 0.. but it doesnt commit in the database.. though i have given an option to commit in the FM .. and also i tried doing and explicit commit but still it doesnt work ..
Pls help.
-Thanks
Kanchan.
‎2007 Jun 06 9:41 AM
hI,
This RFC-capable function module enables you to change master data for an individual serial number without using a dialog.
Notes
General notes for the RFCs for processing individual technical objects (function group ITO3):
The master data is communicated in an interface structure (based on view ITOB) that is generally used for technical objects.
Each RFC returns the processed data in the structure E_OBJECT_REC to the the caller, independent of the action that is to be performed (create/change/read).
An RFC for creating or changing master data generally receives this data in the structure E_OBJECT_REC. However, depending on the object to be processed, only part of the data is processed, namely:
Create functional location: Processes data from structure ITOBAPI_CREATE_FL
Change functional location: Processes data from structure ITOBAPI_MODIFY_FL
Create equipment: Processes data from structure ITOBAPI_CREATE_EQ
Change equipment: Processes data from structure ITOBAPI_MODIFY_EQ
You specify whether an authorization check should be performed when executing the create or change transaction using the optional parameter I_AUTH_TCODE (default: without check).
You specify whether the data should updated using the optional parameter I_POST_BUFFER (default: update data).
You specify whether the (updated) data is written to the database per Commit using the optional parameter I_COMMIT_WORK (default: no Commit).
In Customizing (Field Selection) for master data dialogs, entries defined as manadatory are generally not checked by the RFCs.
Special notes on function module ITOB_SERIALNO_MODIFY_SINGLE:
The parameter I_TRANSFER_MODE controls whether inheritance-relevant fields should be transferred to installed pieces of equipment.
The system uses the structure I_OBJECT_REC_OLD to make 'Before Image' data available to the user. If the structure is not transferred, the 'Before Image' is read by the module.
If it not useful use the <b>FM SERIALNUMBER_LIST_UPDATE</b>.
Regards
‎2007 Jun 06 11:55 AM
Hi i have tried this one .. but it doesnt seem to be working .. can you give me some example for this ..
or some example for SERIALNUMBER_LIST_UPDATE
Thanks
Kanchan.