Assign Planning Plant for PM orders
I am working on the configuration of PM and need help to assign a Plant to be able to creat PM order.
Currently in my Dev, I have about 4 plants and ONLY 2 plants that allow the users to creat PM Orders and the other 2 are not yet assgned and I need to assign them as well.
Will Reward points!
Tim
Hi Tim,
Please check this documentation as well.
http://help.sap.com/bestpractices/BBLibrary/documentation/J13_BB_ConfigGuide_EN_UK.doc
Hope this will help.
Regards,
Ferry Lianto
Similar Messages
-
More than one Planning plant for a maintenance plant.?
hi Friends, can we have more than one Planning plant for a maintenance plant.Is there any advantage or disadvantage of this condition.?
Hi,
You can have Maintenance Planning Plant & Maintenance Plant in any of the follwing ratios, i.e., 1:1 / 1:n / n:1. Actually in Maintenance, there can be electrical & mechanical maintenance.
In the case of 1:1 relation, all the maintenance activities (Electrical & Mechanical) will be planned by single Maintenance Planning Plant for single Maintenance Plant.
In case of 1:n, single maintenance planning plant will do the plaaning of maintenance activities for all the maintenance plants.
In case of n:1, electrical activity will be planned by one Maintenance planning plant & mechanical activities by another planning plant for a single Maintenance plant.
Defining Maintenance planning plant & maintenance plant in different relations will help us in generating different kind of reports.
I am looking forward your reply.
Regards,
Maheswaran. -
BAPI KPF6 POST PLAN COST FOR INTERNAL ORDER AND COST ELEMENT
Hi all gurus,
I would like to use in a custom report a BAPI/Function Module that help me to simulate KPF6 in order to post planning costs for internal order and cost element (layout 1-401).
So the input should be:
1) Version
2) period from
3) periodo to
4) year
5) internal order n.
6) cost element n.
7) value
I found a lot of BAPI but don't know the correct one and how to use it (example how to fill the input value).
Can anyone help me on that?
Kind RegardsIn additio to the previous I found the BAPI_COSTACTPLN_POSTPRIMCOST but don't know if it's the correct one and how to use it (some example fitting the my case will be very appreciated).
If the quoted BAPI is correct.
I tested it filling all fields as following:
HEADERINFO:
CO_AREA=FFCA
FISC_YEAR=2008
PERIOD_FROM=001
PERIOD_TO=012
DOC_HDR_TX='blank'
INDEXSTRUCTURE:
OBJECT_INDEX=000001
VALUE_INDEX=000004 (hope this point at Interna Order)
ATTRIB_INDEX=000000
COOBJECT:
OBJECT_INDEX=000001
ORDERID=ZO53-08IMZ
TOTVALUE:
VALUE_INDEX=000004
COST_ELEM=3224048
FIX_VALUE= 200,0000
DIST_KEY_FIX_VAL=2
The Return table is set to 0. Nothing happens.....I suspect something related to indexstructure or index is wrong..
Could anyone help me on that?
Kind Regards -
FM or BAPI to change Maintenance plant and Planning Plant for an equipment
Hi Experts,
I need to change the Maintenance plant and Planning Plant for an equipment. Is there FM or BAPI available for the same?
Thanks,
Peri.what doesn't it do the same ? it contains planning plant and maintenance plant which you can update ??
if you expect that SAP delivers custom functions for every possible question a developer has you can better search for an other job. SAP makes generic functions and you can use them for you're own sollutions.
it is also expected that you try to work things out for you're own sollution.
you can find sample code quickly enough if you search where the function is used
like RISTEQ01
kind regards
arthur -
BAPI_NETWORK_COMP_ADD Component assignment not intended for sales order
Dear,
I have problem when I use the function:
CALL FUNCTION 'BAPI_NETWORK_COMP_ADD'
EXPORTING
number = number
IMPORTING
return = return
TABLES
i_components_add = i_components_add
e_message_table = e_message_table.
I have inserted only these values in the structure i_components_add:
ACTIVITY_TYPE_PUR_RESV__ITEM_NR____MATERIAL_________PLANT___ENTRY_QTY___ITEM_CAT
108--8101TAH052000110025.460--
L
108--8204RAVBLA098SL0111002.000--
L
108--83034R000000011004.160--
L
but the result is wrong
e_message_table:
METHOD--C--
32
OBJECT_TYPE--C--
32
INTERNAL_OBJECT_ID---C--
90
EXTERNAL_OBJECT_ID--C90-----0108 0010 1TAH052000 1100
MESSAGE_ID--C20-----CNIF_MAT
MESSAGE_NUMBER--C3--
1
MESSAGE_TYPE--C1--
E
MESSAGE_TEXT--C72--
Component assignment not intended for sales order or project stock
Very kind for one answer of yours to this problem...
Thanks & Regards,
Marco Echino.
Edited by: Marco Echino on Sep 8, 2011 12:16 PMHi Marco,
I believe this is a Functional Issue rather than a Technical one. If you could speak to the Functional Concultant or pass this data via manual transaction, you will get the error details.
It's just that the data passed to the BAPI is either incorrect or incomplete. You can also refer the Function Module Documentation for tips.
Regards,
Pranav. -
Change planning plant in production order
Hi Gurus,
my business scenario is the following:
I have 2 plants that are assigned to 2 different company codes. Plant A (ordering plant) and Plant B (supplying plant).
The users place a sales order on plant A and through MRP with special procurement key 80 the planned order is turned into a production order in plant B.
But in the order confirmation the system tries to post the GR in plant A. Is there a way to change the planning plant of the production order at any time i.e in order creation or order confirmation? Because I need the GR against the production order to be done in plant B. Since the subsequent posting according to the business scenario would be after production, the goods should be sold from Plant A to Plant B via a sales order.
Your help would be greatly appreciated.
PanosHi Panos,
SPK 80 doesn't suit your requirement, since by design it is doing GR in the ordering plant.
Alternatively you need to work with a SPK like 40, that is stock transfer from B to A. Just set up the intercompany process for this stock transfer.
This way, when MRP in A detects a need for replenishment, a stock transfer requisition from B to A is created. Then MRP in B will create a planned order for production (that you will convert into a production order later). GR is in B. The stock transfer requisition is converted into a stock transfer order, and the actual transfer takes place.
Check also this for more details:
http://help.sap.com/saphelp_erp60_sp/helpdata/en/f4/7d2d4d44af11d182b40000e829fbfe/content.htm
Regards,
Mario -
Assigning receiving plant for customer !
I want to maintain the plant for a customer 51(in sales order).this plant is the receiving plant for deliveries (& different frm the plant in sales order ,though values may b same) and can be maintained for tht particular customer. In LIKP table, Werks field represents this plant. I want to maintain a value X101 for this plant for the customer 51 .
I tried 2 find out the field from vd02 & xd02 .but cudnt find it .do u know how to do it (for any customer)?
Please lemme know if u have ne idea
Note: the customer has been createdHi!
I think you are talking about the field KUWEV-KUNNR of the sales order. If this will be correctly forwarded to LIKP-WERKS - I don't think so, just the wrong process. KUNAG and KUNNR are filled, but not WERKS in case of deliveries based on sales orders.
Anyway, in field KUWEV-KUNNR can be values out of customer master data, which are maintained in XD02, sales view, partner roles, role WE (or a similiar translation for goods receiver). There you can assign site X101 to customer 51 (if corresponding sales views are created).
If still LIKP-WERKS is empty, but you need it -> then you might need to use a exit to fill this field or switch to a purchasing process.
Regards,
Christian -
How to change planning plant in Maintenance order
Hi experts ...
In maintenance order , depending on equipment , the planning plant gets defaulted . If Equipment is installed in another FL whose planning plant is different , the order's planning plant doesn't change (Greyed) . Is there anyway to change planning plant in orders
NPBWe have maitenance and planning plant same .Equipment was in maintenance plant XYZ and planning plant XYZ earlier . Now the same equipment is in maintainance plant ABC and planning plant ABC . In order , I am able to change maintenance plant to ABC , but unable to change the planning plant to ABC .
If I do not change planning plant and change only maintenence plant , what are the effects in cost reporting ? Since ultimately cost is settled to equipment cost center (which is now changed to ABC cost center) , I feel there will not be any effect . Old planning plant may only affect search right ? ....Please advise ...
NPB -
Creating Billing Plan data for sales order using BAPI_SALESORDER_CREATEFROM
Hi All,
We are using BAPI_SALESORDER_CREATEFROMDAT2 to create the sales order.We are unable to get the fields for billing plan tab in this BAPI.
Kindly let me know the fileds in BAPI that corresponds to the fileds of billing plan in sales order.
Thanks in Advance,
Kiran I.Hi kiran
hi Dhanapal
i ahve the same problem which u posted..
My scenarion is to create billing plan while creation of order using the BAPI_SALESORDER_CREATEFROMDAT2 but could not find any structure to pass billing plan details
pls can u let me know if u found any solution for this if so can u send me detailed mail..
i want to populate in both way header level and item level (by removing check header plan in the billing plan tab)
Pls let me know ASAP..
Thanks
anil -
Planned costs for production order
Hi,
I have a requirement where the actual costs and planned costs for a production order have to be displayed. I got the actual cost details from the table COEP.
Please let me know if anyone knows the table which stores the Planned Costs / or any function modules which can be helpful.
Thanks in advance.
Neethu MohanHi ,
Please refer the thread,
How To get Planned Cost for a Production Order
Best Regards.
*Reward if it is helpful. -
Creating Billing Plan data for sales order using BAPI
Hello,
Someone ones if there is any way to create a sales order (BAPI) and then create a billing plan (by means of another BAPI)?
Or is there any way to create both at the same time?
Kind Regards.Hi David and Nisha here is the code for creating sales order with bapi
*& Report YOBJ_BAPI_SALESORDER
*& REPORT : CREATING SALES ORDER USING STANDARD BAPI
*& AUTHOR : S.PAVAN KUMAR INUMARTHY
REPORT YOBJ_BAPI_SALESORDER.
DATA : ORDER_HEADER_IN LIKE STANDARD TABLE OF BAPISDHD1 WITH HEADER LINE.
DATA : ORDER_ITEMS_IN LIKE STANDARD TABLE OF BAPISDITM WITH HEADER LINE.
DATA : ORDER_PARTNERS LIKE STANDARD TABLE OF BAPIPARNR WITH HEADER LINE.
DATA : RETURN TYPE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE.
DATA : SALESDOCUMENT LIKE BAPIVBELN-VBELN.
*APPENDING VALUES FOR HEADER.
ORDER_HEADER_IN-DOC_TYPE = 'TA'.
ORDER_HEADER_IN-SALES_ORG = '1000'.
ORDER_HEADER_IN-DISTR_CHAN = '10'.
ORDER_HEADER_IN-DIVISION = '00'.
ORDER_HEADER_IN-SALES_GRP = '130'.
ORDER_HEADER_IN-SALES_OFF = '1030'.
APPEND ORDER_HEADER_IN.
*APPENDING VALUES FOR ITEM
ORDER_ITEMS_IN-MATERIAL = 'M-13'.
ORDER_ITEMS_IN-PLANT = '1000'.
ORDER_ITEMS_IN-SALES_UNIT = 'ST'.
ORDER_ITEMS_IN-DIVISION = '07'.
ORDER_ITEMS_IN-GROSS_WGHT = '28000'.
ORDER_ITEMS_IN-NET_WEIGHT = '28000'.
ORDER_ITEMS_IN-UNTOF_WGHT = 'KG'.
ORDER_ITEMS_IN-VOLUME = '0.780'.
ORDER_ITEMS_IN-VOLUNIT = 'M3'.
APPEND ORDER_ITEMS_IN.
*APPENDING VALUES FOR PARTNER
ORDER_PARTNERS-PARTN_ROLE = 'AG'.
ORDER_PARTNERS-PARTN_NUMB = '0000001000'.
ORDER_PARTNERS-COUNTRY = 'DE'.
ORDER_PARTNERS-TRANSPZONE = 'D000080000'.
APPEND ORDER_PARTNERS.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
* SALESDOCUMENTIN =
ORDER_HEADER_IN = ORDER_HEADER_IN
* ORDER_HEADER_INX =
* SENDER =
* BINARY_RELATIONSHIPTYPE =
* INT_NUMBER_ASSIGNMENT =
* BEHAVE_WHEN_ERROR =
* LOGIC_SWITCH =
* TESTRUN =
* CONVERT = ' '
IMPORTING
SALESDOCUMENT = SALESDOCUMENT
TABLES
RETURN = RETURN
ORDER_ITEMS_IN = ORDER_ITEMS_IN
* ORDER_ITEMS_INX =
ORDER_PARTNERS = ORDER_PARTNERS
* ORDER_SCHEDULES_IN =
* ORDER_SCHEDULES_INX =
* ORDER_CONDITIONS_IN =
* ORDER_CONDITIONS_INX =
* ORDER_CFGS_REF =
* ORDER_CFGS_INST =
* ORDER_CFGS_PART_OF =
* ORDER_CFGS_VALUE =
* ORDER_CFGS_BLOB =
* ORDER_CFGS_VK =
* ORDER_CFGS_REFINST =
* ORDER_CCARD =
* ORDER_TEXT =
* ORDER_KEYS =
* EXTENSIONIN =
* PARTNERADDRESSES =
IF SY-SUBRC = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
* IMPORTING
* RETURN =
ENDIF.
WRITE : 'SALES ORDER IS :', SALESDOCUMENT.
I have tested and go it.
please go through it -
Account Assignment Category MAT for refurbishment order
Hi friends,
At tcode OKO6 (customizing of Settlement cost elements), Allocation structures, Assignments, Settlement cost elements, Receiver cat. - Input help (F1)
I need to find the object type 'MAT' for account assignment category that will be used by the refurbishment orders settlement profile (order type 30).
The problem: the object type 'MAT' is not available at the input help list.
The object type 'MAT' is in the table TBO01 and it is assigned to TBO01-OBART but it does not appear in the OKO6 input help list.
Your suggestions will be welcome.
Regards,
RobertoYes, you are right. It is necessary to create or modify a settlement profile and to do the assignments like Allocation structure and the Default object type (in my case it has to be 'MAT' for material) in tcode OKO7. It was customized without problem.
But before to run tcode OKO7 we have to run tcode OKO6 and create the Allocation structure. It was done but we could not do the assignment to the object type MAT because the input help (F4) does not show this option. The help shows many options like ORD (order), CTR (cost center), FXA (asset), G/L (G/L account), etc., but the MAT option does not appear.
How to make the object type MAT available in the Receiver cat. in Settlement cost elements in tcode OKO6???
Regards,
Roberto -
Component Planning in for PM Order
Hello Experts,
I am working on component planning scenario in SRM 4.0, wherer in I am adding component in the PM order in SRM. I have maintained necessary attributes for the scenario to work. When I am adding an item and saving the PM Order, system shows the msg that 'Order is saved', item is not added in PM order in backend R/3 system.
In debugging, it is found that in Function: BBP_PMORDER_COMP_CREATE there is one parameter- 'lv_simulation' which is having default value as 'X'. If this default value is changed to null/space program is excecuted successfully and component is getting added to backend PM order.
Can anybody help me solving this problem and understanding where from system is picking up 'this' simulation mode? Is there any config setting?
Thanks in advance.
Best Regards,
AmitHi
<u>My suggestion -></u>
<b><u>Incase this does not works, it seems there is a bug - ask SAP by raising an OSS message.</u></b>
<b>Better to create a copy of this function module to Z function module and do what ever you want to do with it. Instead of SAP calling this standard function module, use you Z FM.</b>
<u>Refer to the OSS notes -></u>
<b>Note 433121 - BBPOR01: Item Categories for Components
Note 485253 - BBPOR01: Short Dump when checking components
902876 SRM 1.0, BBPPS01: Authorization check
585210 BBPPS01: Projects are not found
214034 Component planning: Corrections in the PlugIn
354908 BBPOR01: Message from budget check not executed
413069 Component planning: Message from budget check generates dump
446784 BBPOR01: Status 'Material availability not checked'
323261 Short dump in BBP_PMORDER_COMP_CREATE
185227 Corrections to the plug-in</b>
Hope this will help.
Please reward suitable points, incase it suits your requirements.
Regards
- Atul -
Planned cost for process order
Can we see the planned order cost of a process order before confirmation?If can how is it done?
Hi,
To see the planned cost of order before cofirmation,
COR2-> Goto-> cost-> Itemization.
Regards
Pradeep -
Create Planned HUs for Sales Order using transaction MFP12
Hi,
I am using MFP12 for creating the Handling units based on Sales Order. I can able to create the Handling units based on Sales Ord. But the problem here is I am not getting how the Sales Order creating the Handling units with out taking the reference from Outbound Delivery.
Kindly let me know the functional flow and the corresponding tables that should update the handling units based on Sales order.
Regards,
Muraliresolved
Maybe you are looking for
-
Problem with Adobe BRIDGE getting Photoshop/Image Processor menu
When I open my drop-down or fly-out menu under TOOLS in Bridge (CS3 version), the entire portion of the menu which is supposed to appear next underneath the Cache line option is missing (i.e., Photoshop, Illustrator, InDesign, Start Meeting..., Photo
-
How to ZIP a PDF File with a Password Protection
Hi, i've a pdf file with created smartforms and i want to assign a password to that pdf file but the SAP doesn't let doing that protection. So i want to create a zip file with a password protection for PDF file. How can i create a zip file with a pas
-
....on the apple support but my Ipod wont work. I just got new speakers for it too. It was working fine. But then I plugged it into my computer and it wouldnt charge. and then I disconnected it and It shows me the folder with the exclamation mark. te
-
Video lost in iMovie Event but audio retained after upgrade
As a result of upgrading from iMovie '09 to '11, a video I had as an event now shows only as "green screen" video. Audio is still intact, however. But video is gone - literally just a green screen. When I go into Finder and view the file, I can see b
-
how can i upgrade my mac ox to lion. Also i want to know if i upgrade my ox, the application that i have installed will remain there or i want to reinstall it. I was using Adobe CS5 master collection & Autocad 2011 mainy on my mac.