Functionality You can use this method to determine which object (requisition,purchase order, or reservation) is to be generated. The methodevaluates the item data and the settings in table TMW01 in theCustomizing facility for Purchasing. Notes Transfer> The item data is passed on in table PROCUREMENT_ITEM>; theaccount assignment data in table PROCUREMENT_ACCOUNT>. Return> The result is returned in the field OBJ_TO_GEN in the tablePROCUREMENT_ITEM>. The following values are possible: Value,,Object 1,,Reservation 2,,Purchase requisition 3,,Purchase order 4,,Other usage If the method is unable to determine an object, the field OBJ_TO_GENremains empty and the indicator NO_OBJ_POS is set. When the object has been determined, the enhancement LMEWPU06 (functionexit EXIT_SAPLMEWP_001) is invoked with the item and account assignmentdata. Using the enhancement, customers can program their owndependencies (e.g. a reservation is always generated depending on acertain material type). When this has been done, the field OBJ_TO_GENmust be changed (in the example, to 1). Treatment of errors> If errors occur during processing, they are returned in the tableReturn>. Information messages are also logged in this table.Description The table contains the account assignment data (e.g. the cost center). Description The table contains the item data. Description The table contains all messages issued during the processing. |