BAPI for Maintenance Plan Scheduling with EHP5
Hello.
In documentation for LOG_EAM_CI_4 mentioned that: [API functions have been developed for the scheduling of maintenance plans. These APIs provide the same functions as transaction IP10: the creation of maintenance calls or the changing of existing maintenance calls|http://help.sap.com/erp2005_ehp_05/helpdata/EN/33/46AC67364447A3BA2F4EFA65B8C014/frameset.htm].
We have activated EHP5 and all LOG_EAM_CI* business functions in our system, but still can't find this "magic" BAPI.
Does anybody know its name?
BR,
Pavel
Edited by: Pavel Nedvijaev on Nov 7, 2011 5:37 PM
Maheswaran.K thanks for your reply, but as i wrote above we have activated all LOG_EAM_CI* including LOG_EAM_CI_3.
Version of software components SAP_APPL, EA-APPL is 605 as it needed.
Similar Messages
-
hi experts,
i need a table for maintenance plan which has field
1) Duration of Task/Frequency
2) Change in Duration/Frequency
below i have elaborated my requirements.
among those fields i have got the table name mpos,mpla,plpo except the above listed two feilds.
i have to create a report with these requirements.
anyone tell me in which table can i get that 6 and 7th fields.
Requirement1:
Maintenance Plan Number
Operation Code
Standard Teode(assigned to Plan)
Standard Text Key description
Cost Center
Duration of Task/Frequency
Change in Duration/Frequency
Created Date
Created By
Changed On
Changed By
Requirement 2: layout of the report should be modifiable with the existing fields.
Requirement 3: A transaction will be created to access the report.
Requirement 4: In the report, Maintenance Plan number will be hyperlinked which will divert to AMP screen (display view of maintenance Plan) once clicked on it.
Requirement 4: Report should contain all created and changed Maintenance Plan details.
Requirement 5: Initial selection parameter for the report will be only Date. Based on the entered date, records created or changed during the duration should be picked up in the report.
Requirement 6: Change in frequency will only be picked for single cycle plan. Strategic Plan will not be considered in case frequency change made in it.
Requirement 7: Change By and Created By should be the complete name instead of User ID.
regards,
priyacan anyone answer for my above question?
regards,
priya -
Table for maintenance plan and maintenance cycle and Unit
Hello,
I need to know the table where the values are stored for maintenance plan, maintenance cycle and Unit.
I know that we can get the maintenance cycle and unit from MMPT table.
Question 1
If the maintenance plan has only a single cycle then the data is stored in above table MMPT, but if a maintenance plan has mutiple cycles like 1 maintenance plan has maintenance cycle as 364 Days and 1092 days then the data is not stored in MMPt table.
Question 2
Requirement is I need to develop a report where in I need maintenance order, maintenance plan and the relevant maintenance cycle and unit. Supose an maintenance order is created for the above maintenance plan which has 2 maintenance cycle how can I identify for which maintenance cycle the order is created.
Regards,
NarendraHi,
Please review PM tables
PM/SM/SD Tables
MPOS Maintenance Items
AFAB Network - Relationships
PLKO Task list
PLAS
AFFH Operations
PRT assignment data for the work order
AFFL Work order sequence
AFFT Order process instructions
AFFV Order process instruction values
AFFW Goods movements with errors from confirmations
AFIH Maintenance order header
AFKO Order header data PP orders
AFPO Order item
AFRC Table of planned changes to conf.: Automatic goods receipt
AFRD Default values for collective confirmation
AFRH Header information for confirmation pool
AFRU Order completion confirmations
AFRV Pool of confirmations
AFVC Operation within an order
AFVU DB structure of the user fields of the operation
AFVV DB structure of the quantities/dates/values in the operation
MPOS Maintenance ITEM
AFWI Subsequently posted goods movements for confirmations
AUFK Order master data
AUFM Goods movement for order
MPLA Maintenance Plans
BGMK Master warranty header
BGMP Master warranty item
BGMS Text item master warranty
BGMT Master warranty text
BGMZ Warranty counter information
CRHD Work Center Header
CRTX Text for the Work Center or Production Resource/Tool
EQKT Equipment short texts
EQST Equipment link to BOM
EQUI Equipment master data
EQUZ Equipment time segment
HIKO Order master data history
IFLO Functional Location (View)
IFLOT Functional location (TABLE)
IFLOTX Functional location: Short texts
IHGNS Plant maintenance permit segment
IHPA Plant Maintenance: Partners
IHSG Object-related permits in Plant Maintenance
ILOA PM object location and account assignment
IMPTT Measuring point (table)
IMRG Measurement document
KAKO Capacity Header Segment
KONP Conditions (Item)
KONV Conditions (Procedure Data)
OBJK Plant Maintenance Object List
QMEL Quality notification
QMFE Quality notification - items
QMIH Quality message - maintenance data excerpt
QMMA Quality notification - activities
QMSM Notification - Tasks
QMUR Quality notification - causes
STPOA Name is does not have an A at the end; BOM items
T001 Company Codes
T001L Storage Locations
T001W Plants
T077D Customer account groups
T003O Order Types
T352R Maintenance revisions
T353I_T Maintenance activity type description
T356 Priorities
T357G Permits
T357G_T Table 357G texts
T370A Activity category for PM lists
TINCT Customers: Incoterms: Texts
TVKO Organizational Unit: Sales Organizations
TVKOS Organizational Unit: Divisions per Sales Organization
TVKOV Org. Unit: Distribution Channels per Sales Organization
TVTA Organizational Unit: Sales Area(s)
VIAUFKST Order selection view
MMPT Cycle detail
Regards
Carlos -
Service products for Maintenance Plan
Hi All,
Is it possible to Create maintenance plan from a a Service product - Contract Line item(VA41)? I have come across the Tcode OISF but do not know how to make use of it?
Would appreciate if you could throw some light on this?
PranavHello
You have maintained the following data for the service product that you subsequently entered in the outline agreement under Logistics --> Customer Service >Service Agreements>Environment -->Sales and Distribution -->Service Products:
· Plant for maintenance planning
· Work center
· Order type
· Plant of maintenance work center
· Business area
· General maintenance task list (you cannot assign equipment task lists or functional location task lists)
· Task list type
Then-you have created an outline agreement that fulfils the following conditions:
1)The contract category is Contract.
2)The contract type is Service and Maintenance.
3) On the tabstrip Sales, you have specified
I)the start and end dates of the contract
II)service product as outline agreement item
4)You have specified the start and end dates for billing in the billing plan under Goto> Item>Billing plan.
When Creating the Maintenance Plan for Above Contracts
1)When creating a maintenance plan, you choose an appropriate maintenance plan category.
Maintenance plan category with reference to an outline agreement, maintenance call object u201Cservice orderu201D
Enter the following data:
1)Valid outline agreement
Regards,
Rakesh -
Maintenance Planning & Scheduling of calibration order
Hi
I have to schedule calibration inspection of a few equipments in such a way that system automatically create inspection lot & calibration order daily.
Whether user enter calibration result or not, inspection lots in future should be created automaticallly.
I created a single cycle plan using IP41 and start the schedule using IP10, the system created first inspection lot automaticaly but always require me go to to scheduling and save the plan again if I want to create next inspection lots. How can I configure/set the system in such a way that it creates inspection lots/calibration order automaticaly
Plz also tell after taking usage decision of inspection lot whether I need to do some act on calibration order such as technical completion or business completion.
Thanks in advanceDear Chris,
In maintenance plan go to Maintenance plan scheduling parameter & put Schedule Period '360' Days in sub screen under Call control parameter.
Then Go to IP10and make automatically scheduling it will make plan for whole yera.
Regards... Rakesh Saxena -
Function modules or BAPI for posting plan costs for WBS Element
Hi all,
Does anyone know, whether there exists a function module or BAPI for posting plan costs to a WBS Element? K_COSTS_PLAN_PS does not work, because RKP1 is not allowed.
Greetingscheck
BAPI_COSTACTPLN_POSTACTINPUT Activity Input Planning: Posting
BAPI_COSTACTPLN_POSTACTOUTPUT Activity/Price Planning: Posting
BAPI_COSTACTPLN_POSTKEYFIGURE Stat. Key Figure Planning: Postings
BAPI_COSTACTPLN_POSTPRIMCOST Primary Cost Planning: Postings
BAPI_PDTRANSCO_POSTPRIMCOST Transfer of Planning Data: Post Primary Costs
K40C CO Actual Postings, Manual
BAPI_ACC_PRIMARY_COSTS_POST Accounting: Post Primary Costs
BAPI_COPAACTUALS_POSTCOSTDATA BAPI Operating Concern: Post Costing-Based Actua
BAPI_PRIM_COST_CHECK_AND_POST Primary Costs: Formal Parameter Check
S@meer -
No. range not found for maintenance plan
Hi Team,
I have maintained no. range for maintenance plan in SPRO. However I am getting this error while creating maintenace plan.
ThanksHi,
Check the number range customizing again via IP20. Use the groups option to ensure your number range interval is assigned to the maintenance plan category. Also check that maintenance item number range is maintained correctly via IP21.
-Paul
Moving to [Enterprise Asset Management (EAM)|Enterprise Asset Management (SAP EAM); forum -
BAPI for Outbound Delivery Creation with reference to Sales Order
Dear all,
I'm on R/3 4.6B platform and to develop an RFC for outbound Delivery creation instead of using the standard VL01N transaction.
I've review BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N thread which suggest BAPI_DELIVERYPROCESSING_EXEC .
However, in 4.6B, that function module doesn't exist. Appreciate any suggestion and or workaround.
Thanks.
Steven
Edited by: Steven Khoo on Mar 25, 2010 7:13 AM
Edited by: Steven Khoo on Mar 25, 2010 7:14 AMNot required anymore
-
Status "Inactive" set for maintenance plan.
Dear all,
while doing
Maintenance plan-->functions-->Activate<-->Inactive-->Deactive for maintenance plan
which field and Table we can able to get the details,Status "Inactive" set for maintenance plan.
Required
Changed by, Changed on , Deactivated field
Regards,
U.LinganathanPlease refer MPLA table to OBJNR value.
Refer JCDS & JEST tables to get the Inactive Maintenance plans.
If Status I0320 is active in JEST table, then that Maintenance plan is Inactive.
Pass INACT is not equal to "X" & OBJNR = "WO*" to get all Inactive Maintenance Plans OBJNR values. Pass that in MPLA table & get WARPL value. -
BAPI For listing alternative routing with sequence details.
Dear all,
I want to use BAPI For listing alternative routing with sequence details.
Pl' tell BAPI function Module for routing .
Thanks.I am not sure ,but check with BAPI_ROUTING_CREATE
-
BAPI for converting planned order to Production Order(in PP)?
Hi all,
Is there any standard BAPI for converting Planned order to Production Order?
Thanks in advance,
anjalyhi,
check this..
BAPI_PRODORD_CREATE_FROM_PLORD BAPI: Convert Planned Order into Production Order
for more details check this link..
Create a production order
<b>reward points if it is helpful..</b> -
Table name to display status for maintenance plan with active /inactive status
i need status table which display only active/inactive status of the maintenance plan.
really it helps me ..........
thanks raymond
regards,
priya -
BAPI FOR Deleting a Schedule Line Item from EKES and EKET tables
Dear All,
I would like to for deleting one of the line item from EKES (Po Confirmation ) and the respective line item from the EKET(PO Schedule Line Item Table).
Assume that am allowing the user to select the lineitem from zprogram screen and collecting the PO and Its LIne Item details in an internal table.
Can i Use
<b>BAPI_PO_Change</b> , if so , can anybody tell me the steps to follow to use this bapi for deleting the PO lineItems, since i m going to try BAPI for First time.
pls help me out
Message was edited by: Raja K.PHi raja ,
loop at iekko1.
w_index = sy-tabix.
item-po_item = itemx-po_item = iekko1-ebelp.
item-quantity = iekko1-mng01.
itemx-quantity = iekko1-mng01.
if iekko1-wamng = iekko1-wemng.
itemx-no_more_gr = item-no_more_gr = 'X'.
else.
itemx-no_more_gr = item-no_more_gr = ''.
endif.
append item.
append itemx.
clear return[].
call function 'BAPI_PO_CHANGE'
exporting
purchaseorder = iekko1-ebeln
tables
return = return
poitem = item
poitemx = itemx.
if return[] is initial.
commit work and wait.
call function 'DEQUEUE_ALL'.
search for deletion fields which u have to mark 'X'.
before calling this BAPi u have to lock the PO by using ENQUEUE.
<b>
FU BAPI_PO_CHANGE
Text
Change purchase order
Functionality
Function module BAPI_PO_CHANGE enables you to change purchase orders. The Change method uses the technology behind the online transaction ME22N.
Alternatively, the IDoc type PORDCH1 is available. The data from this IDoc populates the interface parameters of the function module BAPI_PO_CHANGE.
Functionality in Detail
Authorization
When you create (activity 02) an Enjoy purchase order, the following authorization objects are checked:
M_BEST_BSA (document type in PO)
M_BEST_EKG (purchasing group in PO)
M_BEST_EKO (purchasing organization in PO)
M_BEST_WRK (plant in PO)
Controlling adoption of field values via X bar
For most tables, you can use your own parameters in the associated X bar (e.g. PoItemX) to determine whether fields are to be set initial, values inserted via the interface, or default values adopted from Customizing or master records, etc. (for example, it is not mandatory to adopt the material group from an underlying requisition - you can change it with the BAPI).
Transfer
Purchase order number
The PurchaseOrder field uniquely identifies a purchase order. This field must be populated in order to carry out the Change method.
Header data
The header data of the Enjoy purchase order is transferred in table PoHeader.
Item data
The item data of the Enjoy purchase order is stored in the tables PoItem (general item data). Changes regarding quantity and delivery date are to be made in the table PoSchedule.
Use the table PoAccount to change the account assignment information.
Services and limits
Changes to existing items cannot be carried out with the Change method. It is only possible to create new items.
Conditions
Conditions are transferred in the table PoCond; header conditions in the table PoCondHeader. A new price determination process can be initiated via the parameter CALCTYPE in the table PoItem.
Vendor and delivery address
The vendor address in the table PoAddrVendor and the delivery address in the table PoAddrDelivery can only be replaced by another address number that already exists in the system (table ADRC). Changes to address details can only be made using the method BAPI_ADDRESSORG_CHANGE.
Partner roles
You can change all partners except the partner role "vendor" via the table PoPartner.
Export/import data
Export/import data can be specified per item in the table PoExpImpItem. Foreign trade data can only be transferred as default data for new items. Changes to the export/import data of existing items are not possible.
Texts
Header and item texts can be transferred in the tables PoTextHeader and PoTextItem. Texts for services are imported in the table PoServicesText. Texts can only be replaced completely.
Version Management
You can make use of the Version Management facility via the table AllVersions.
Return
If the PO was changed successfully, the header and item tables are populated with the information from the PO.
Return messages
Messages are returned in the parameter Return. This also contains information as to whether interface data has been wrongly or probably wrongly (heuristical interface check) populated. If a PO has been successfully created, the PO number is also placed in the return table with the appropriate message.
Restrictions
With this function module, it is not possible to:
Create subcontracting components (you can only use existing ones)
Create configurations (you can only use existing ones)
Change message records (table NAST) and additional message data (this data can only be determined via the message determination facility (Customizing))
Attach documents to the purchase order
Change foreign trade data
Change service data
Change or reexplode BOMs
A firewall prevents the manipulation of data that is not changeable in Purchasing according to the business logic of the purchase order (e.g. PO number, vendor, etc.).
PO items with an invoicing plan cannot be created or changed using the BAPIs
In this connection, please refer to current information in Note 197958.
To change addresses with numbers from Business Address Services (cantral address management), please use the function module BAPI_ADDRESSORG_CHANGE.
To change variant configurations, please use the function module BAPI_UI_CHANGE. More information is available in the BAPI Explorer under the Logistics General node.
In the case of changes that are to be made via the BAPI_PO_CHANGE, a firewall first checks whether the relevant fields are changeable. This approach follows that of the online transaction. Here it is not possible to change the vendor or the document type, for example.
Example
Example of changes made to a purchase order with:
1. Change in header data
2. Change in item
3. Change in delivery schedule
4. Change in account assignment
5. Change in conditions
6. Change in partners
Parameter: PURCHASEORDER 4500049596
Parameter: POHEADER
PMNTTRMS = 0002
PUR_GROUP = 002
Parameter: POHEADERX
PMNTTRMS = X
PUR_GROUP = X
Parameter: POITEM
PO_ITEM = 00001
CONF_CTRL = 0001
Parameter: POITEMX
PO_ITEM = 00001
PO_ITEMX = X
CONF_CTRL = X
Parameter: POSCHEDULE
PO_ITEM = 00001
SCHED_LINE = 0001
QUANTITY = 10.000
PO_ITEM = 00001
SCHED_LINE = 0003
DELETE_IND = X
Parameter: POSCHEDULEX
PO_ITEM = 00001
SCHED_LINE = 0001
PO_ITEMX = X
SCHED_LINEX = X
QUANTITY = X
PO_ITEM = 00001
SCHED_LINE = 0003
PO_ITEMX = X
SCHED_LINEX = X
DELETE_IND = X
Parameter: POACCOUNT
PO_ITEM = 00001
SERIAL_NO = 01
GL_ACCOUNT = 0000400020
Parameter: POACCOUNTX
PO_ITEM = 00001
SERIAL_NO = 01
PO_ITEMX = X
SERIAL_NOX = X
GL_ACCOUNT = X
Parameter: POCOND
ITM_NUMBER = 000001
COND_TYPE = RA02
COND_VALUE = 2.110000000
CURRENCY = %
CHANGE_ID = U
Parameter: POCONDX
ITM_NUMBER = 000001
COND_ST_NO = 001
ITM_NUMBERX = X
COND_ST_NOX = X
COND_TYPE = X
COND_VALUE = X
CURRENCY = X
CHANGE_ID = X
Parameter: POPARTNER
PARTNERDESC = GS
LANGU = EN
BUSPARTNO = 0000001000
Help in the Case of Problems
1. Note 197958 lists answers to frequently asked questions (FAQs). (Note 499626 contains answers to FAQs relating to External Services Management.)
2. If you have detected an error in the function of a BAPI, kindly create a reproducible example in the test data directory in the Function Builder (transaction code SE37). Note 375886 tells you how to do this.
3. If the problem persists, please create a Customer Problem Message for the componente MM-PUR-PO-BAPI, and document the reproducible example where necessary.
Customer Enhancements
The following user exits (function modules) are available for the BAPI BAPI_PO_CREATE1:
EXIT_SAPL2012_001 (at start of BAPI)
EXIT_SAPL2012_003 (at end of BAPI)
The following user exits (function modules) are available for the BAPI BAPI BAPI_PO_CHANGE:
EXIT_SAPL2012_002 (at start of BAPI)
EXIT_SAPL2012_004 (at end of BAPI)
These exits belong to the enhancement SAPL2012 (see also transaction codes SMOD and CMOD).
There is also the option of populating customer-specific fields for header, item, or account assignment data via the parameter EXTENSIONIN.
Further Information
1. Note 197958 contains up-to-date information on the purchase order BAPIs.
2. If you test the BAPIs BAPI_PO_CREATE1 or BAPI_PO_CHANGE in the Function Builder (transaction code SE37), no database updates will be carried out. If you need this function, please take a look at Note 420646.
3. The BAPI BAPI_PO_GETDETAIL serves to read the details of a purchase order. The BAPI cannot read all details (e.g. conditions). However, you can use the BAPI BAPI_PO_CHANGE for this purpose if only the document number is populated and the initiator has change authorizations for purchase orders.
4. Frequently used BAPIs for purchase orders are BAPI_PO_CREATE, BAPI_PO_CREATE1, BAPI_PO_CHANGE, BAPI_PO_GETDETAIL, BAPI_PO_GETITEMS, BAPI_PO_GETITEMSREL, and BAPI_PO_GETRELINFO.
5. For more information on purchase orders, refer to the SAP library (under MM Purchasing -> Purchase Orders) or the Help for the Enjoy Purchase Order, or choose the path Tools -> ABAP Workbench -> Overview -> BAPI Explorer from the SAP menu.
Parameters
PURCHASEORDER
POHEADER
POHEADERX
POADDRVENDOR
TESTRUN
MEMORY_UNCOMPLETE
MEMORY_COMPLETE
POEXPIMPHEADER
POEXPIMPHEADERX
VERSIONS
NO_MESSAGING
NO_MESSAGE_REQ
NO_AUTHORITY
NO_PRICE_FROM_PO
EXPHEADER
EXPPOEXPIMPHEADER
RETURN
POITEM
POITEMX
POADDRDELIVERY
POSCHEDULE
POSCHEDULEX
POACCOUNT
POACCOUNTPROFITSEGMENT
POACCOUNTX
POCONDHEADER
POCONDHEADERX
POCOND
POCONDX
POLIMITS
POCONTRACTLIMITS
POSERVICES
POSRVACCESSVALUES
POSERVICESTEXT
EXTENSIONIN
EXTENSIONOUT
POEXPIMPITEM
POEXPIMPITEMX
POTEXTHEADER
POTEXTITEM
ALLVERSIONS
POPARTNER
Exceptions
Function Group
2012
</b>
regards
prabhu
Message was edited by: Prabhu Peram -
Preventive maintenance plan scheduling
Hi gurus,
I want to schedule maintenance plan for a past date by start of cycle field.
But it gives error when I enter a past dateand save it.
Error message is about key date of task list is a new date according to start of cycle.
Regards,
AktolgaNo operations can be determined for plan 295 and item 465 for this date
Message no. IP710
Diagnosis
There are no operations for the calculated planned date.
At least one task list assigned to a maintenance item for the maintenance plan had not yet been created in the system or was not valid on the calculated planned date or the required start date 26.07.2010 for the order.
The start date of the order is therefore always before the planned date of the call if you work with a preliminary buffer in the maintenance package of the maintenance strategy.
You cannot call the maintenance plan on this date.
Edited by: aktolga on Apr 27, 2011 10:17 AM -
Deadline monitoring in preventive maintenance plan scheduling
Dear Experts,
we are having only single cycle time based & performance based preventive maintenance plans. The individual plans are weekly, monthly or based on specific counter readings. Now i want to schedule it automatically through IP30. since there are plans with different units like days or hours how can i schedule it through IP30? is it possible to run separate IP30 for counter based single cycle plans? Is it ok if I run the program on every midnight? I am confused on the scheduling through IP30. please give me the clarity...Please do the needful.
Thanks & best regards,
PraveenPraveen,
Yes you can run IP30 with single cycle plans.
As IP30 can run for many hours (dependent upon number of plans) it is best to schedule the IP30 job at a time when there are fewest users on-line e.g. midnight on Saturday or Sunday. The timing is very much dependent upon your organisation.
[Here|http://www.sapfans.com/forums/viewtopic.php?f=7&t=316910] is some good background info.
It should be someones responsibility in your organisation to review the scheduling log after every IP30 run
PeteA
Maybe you are looking for
-
Firefox 2.0.0.9 crashes
Hi, I'm encountering frequent Firefox crashes. This is what I get: [dante4d@arch ~]$ firefox (gecko:11896): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed The program 'gecko' received an X Window System error. This pro
-
7.01 Reinstaller for QT 7.03 ???
I just upgraded QT 7.01 to 7.03 and as with the 7.02 upgrade i am now having problems with the AC3 audio on my AVI movies. Before it was just the sound but now when i try to play the movies it crashes my machine and i have to switch it off and on aga
-
The ordinal 139 could not be located in the dynamic link library iertutil.dll
I am getting this error while launching IE on my computer: The ordinal 139 could not be located in the dynamic link library iertutil.dll I have IE 11 installed on windows7 32 bit.
-
Where is my purchased song ???
I have juste bought a song from Charlie Winston in the store. My account attests i did so but nothing in my itunes library and in my remaining downloads ??? Where is it ?
-
I have just installed Discoverer Plus. After launching Discoverer Plus, the Create Connection page is displayed. I then enter the proper information to connect to the Oracle database. The Oracle database has an EUL. I get the following error: The app