Select the work center in sales order
Hello gurus,
When I create a saler order, the system create automatically a service order with the corresponding data which are reported in transaction OISD for the service material. The key of this table only permits a work center for one material service and plant. And it is impossible to add more work centers for the same service material and plant.
So I need to be able to choose the work center when I generate the sales order. How can I get it?
Thanks in advance
Dear Venkat,
Try These tabels:
MARC Plant Data for Material
/BEV1/RBVBAP Sales Document: Item Data
COER Sales Order Value Revenue
VBAP Sales Document: Item Data
VSVBAP_CN Version: Sales document: Item data
VVBAP Sales Document: Item Data
GLPPC Profit Center Accounting: Plan line items
GLSPC Profit Center Accounting: Line Items
Regards,
Naveen.
Similar Messages
-
Change the Profit Center in Sales Order line item's Account assignment tab
Hi Gurus,
I need to change the Profit Center at Sales order Line item in Account Assignment Tab. Currently The Profit center is coming from Material Master for the Line Item's Material as default but I have to change / overwrite that.
Can any body provide me how can i achive that means
Any User exits, substitution or any thing ?
I tried MV45AFZZ but i am not able to find out the right place where I can change COBL-PRCTR.
SonyHi
There is perform which moves the values to VBAP field.
This PRCTR field is stored in VBAP (i.e., SO line item table)
USEREXIT_MOVE_FIELD_TO_VBAP
Hope it works.
VVR -
All default routing value has to be changed, while changed the work center in production order
Dear friends,
our client they want to change the work center in production order.according to production version work center also they are changed.so while change the WC,all the default value has be changed as per routing what we maintained in routing.At present we have to enter the manually change the W.C as well as set up time and operation time enter manually.Any other option to do the automatically capture value from routing while change in Work center in production order.pl help me on this.
Thanks&Regards
Sabhapathy RHi Rahul,
Thanks for reply. I am maintained in diff value maintained routing , Ex :First routing i have work center 'X' value maintained as a setup time in 15 Min's and operation time 10 Min's
second work center 'Y' I have maintained as set up time 10 Min's and operation time 30 Min's,
Now I want to change the work center in production order as a 'Y' so whatever value maintained in routing , it has to be changed automatically (10 min's and 30 Min's), but system will not change only old value only picked (15Min's AND 10 Min's).
Now I think you get to know what the client requirement, kindly do the need full.
Regards,
Sabhapathy R -
How to change the Profit Center in Sales Order
Hi Gurus,
Previously they setted the profit center (YB999) in sales order, now i want to change the profit center and need to give the amount into this profit center 100500.
So, could you guide me how to change the profit center in sales order.
Thank you for your replies.....
Thanks & Regards,
Chandrababu.B
Edited by: Chandrababu Naidu on May 25, 2011 12:44 PMHi
If this SO is processed partially - i.e. transactions happened - You cant change it
You can use ABAP and change it in Debug mode, but not advisable... Better to short close the SO and open a new SO for Balance qty
br, Ajay M
Edited by: Ajay Maheshwari on May 25, 2011 5:10 PM -
Regarding the profit center in sales order.
Hi guys,
Actually I am from abap. I got one user exit related to profit center. Plz help me.
My problem is while doing intercompany sales, the profit center will be changed to selling sales organiztion's profit center. but i need the buying sales organization's profit center. Here what i need is how can i find the buying sales organization's profit center in the sales order. it means basing on what i have to find th eprofit center?
Regards
Venkat.Dear Venkat,
Try These tabels:
MARC Plant Data for Material
/BEV1/RBVBAP Sales Document: Item Data
COER Sales Order Value Revenue
VBAP Sales Document: Item Data
VSVBAP_CN Version: Sales document: Item data
VVBAP Sales Document: Item Data
GLPPC Profit Center Accounting: Plan line items
GLSPC Profit Center Accounting: Line Items
Regards,
Naveen. -
Hello Experts,
We have a profit center substitution rule already that says if sales org = 'ABC' then substitute the profit center on sales order with '123'
Now we have a new requirement and according to that we should use a different profit center if the Salesorg = 'ABC' and material master profit center = 'CDE' then profit center should be 'XYZ'. How can we achieve this?
Even though the material master has the new profit center 'XYZ' , Sales order is using the substitution rule and not using the material master profit center.
Your help if appreciated.
ThanksHi,
the substitution rule works after the profit center derivation from material master.
I suggest to change the substitution in a case that whenever the profitcenter derived from material master is ok, no substitution step takes place.
At the moment substitution works at rvery line item even if the derivation from mat.master is ok.
BR christian -
Change Work Center during production order confirmation
Dear All,
I must to modeling this situation:
I created an production order. In routing I used an work center A.
After I confirmed a half of quantity, the work center A was damaged and I must to change it, with the work center B.
The system allow this change, but when I checked the costing, the situation isn't real. The system counted the costs just for the work center A, and no for work center B.
My question is: it's possible to change the work center, during production order confirmation and the costs updated with new cost?
Thank you for your answer!
Regards,
Marianonce a Order is released, the Process order detaisl for that order is frozen.
however if you want to do it, change the order status to CRTD after reversing the Movements done.
Do READ MAster data , this will copy the new Work center , redo the previously done Moevements.
if the change is long term.
or
Just manually add the new work center and do the processing. if the change is temporary. -
Change history of work center in Prodn Order
Hi All,
We currently are changing the work center in prodn order via an ABAP program number of times based on various conditions. We would like to know the change history for the work center in prodn order. Is there any <b>transaction or report or function module </b> that we can run for a given prodn order to know these changes. This change info is not captured in AUFK or AFPO or AFKO or logs for Prodn Order.
We have not activated audit trail for this. Please can anyone suggest a soln for this.
ThanksHi Bala,
AFRV table contains Confirmation pool information. But I am looking for change history for the work center in prodn order. Like after creating the prodn order u changed the work center and then again after release of prodn order u changed it to some other work center (for some particular business reason). I would like to see all this change history.
Swapnil -
How Can i Block the Work Center Once is used in Maintainence Order
Dear Experts,
How Can i Block the Work Center Once is used in Maintainence Order in PM module.
In standard its not blocking the Work Center automatically. How this can be achieved.
Regards
Raghu
Edited by: raghu m on Apr 21, 2009 10:36 AMHi Muthukumar,
1. You can using the user exit or BADI to control this.
CONFPP01 PP order conf.: Determine customer specific default values
CONFPP02 PP order conf.: Customer specific input checks 1
CONFPP03 PP order conf.: Cust. specific check after op. selection
CONFPP04 PP order conf.: Customer specific input checks 2
CONFPP05 PP order conf.: Customer specific enhancements when saving
CONFPP06 PP Order Confirmations: Actual Data Transfer
CONFPP07 Single Screen Entry: Inclusion of User-Defined Subscreens
BADI
WORKORDER_CONFIRM
the above are the user exits that are available fro the CO11N tcode.
2. we have to take a help of the abaper to write coding fort his.
3. The user exit should be called for the
Work Center : YYYYY
then check the relevant Work Center Once is used in open Maintainence Order and if it has a entry if then give a error message else allow the CO11N to perform.
Regards,
Sankaran -
Finding the original quanitity on sales order : Select Query on CDPOS ?
Hello ABAPers,
I have created a sales order and I changed the order quantity over many times using Va02. If i want to programatically determine the orginal quantity, on the sales order when it was created , how would i determine ?
I thought, I would do a select query on CDPOS table and find out. But i found from se16 that for the Object ID - VERKBELEG and Object id = 00000XXXXX ( where XXXXX is sales order number), the VBEP and VBAP entries for Update mode shows no Old_vales and New_values.
But if i click on environment>Changes> in Va02 for that particular Sales order, I see the old and new values list.
Why is this not listed in CDPOS ? How do I progrmatically determine the original quanitity on Sales order ?
Thanks
SHKHi Ferry,
That FM did the trick. I ended up creating a FM myself to find the original qty and original unit. Somehow select qry on CDHDR and CDPOS, returned empty field for Old_value and new_value. Here is my FM below
FUNCTION z_sw_originalqty_on_so.
*"*"Local interface:
*" IMPORTING
*" VALUE(I_VBELN) TYPE VBELN OPTIONAL
*" VALUE(I_POSNR) TYPE POSNR OPTIONAL
*" EXPORTING
*" VALUE(I_ORIGINAL_QTY) TYPE KWMENG
*" VALUE(I_ORIGINAL_UNIT) TYPE VRKME
DATA : i_editpos TYPE TABLE OF cdred INITIAL SIZE 1 .
DATA : wa_editpos LIKE LINE OF i_editpos.
DATA : wa_editpos1 LIKE LINE OF i_editpos.
DATA : i_cdhdr TYPE TABLE OF cdhdr INITIAL SIZE 1.
DATA : i_cdpos TYPE TABLE OF cdpos INITIAL SIZE 1.
DATA : wa_cdhdr LIKE LINE OF i_cdhdr.
DATA : wa_cdpos LIKE LINE OF i_cdpos.
DATA : i_objid TYPE cdhdr-objectid.
DATA : delimiter(1) VALUE ' '.
DATA : lv_org_qty(127) TYPE c,
lv_org_unit(127) TYPE c.
DATA : l_tabkey TYPE cdpos-tabkey.
DATA : i_flag.
CLEAR i_flag.
CONCATENATE sy-mandt i_vbeln i_posnr '0001' INTO l_tabkey.
i_objid = i_vbeln .
CALL FUNCTION 'CHANGEDOCUMENT_READ'
EXPORTING
objectclass = 'VERKBELEG'
objectid = i_objid
tablekey = l_tabkey
tablename = 'VBEP'
TABLES
editpos = i_editpos
EXCEPTIONS
no_position_found = 1
wrong_access_to_archive = 2
time_zone_conversion_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
SELECT SINGLE bmeng INTO i_original_qty FROM vbep
WHERE vbeln = i_vbeln AND
posnr = i_posnr.
SELECT SINGLE vrkme INTO i_original_unit FROM vbep
WHERE vbeln = i_vbeln AND
posnr = i_posnr.
ENDIF.
SORT i_editpos BY udate utime tabname fname .
LOOP AT i_editpos INTO wa_editpos.
READ TABLE i_editpos INTO wa_editpos1
WITH KEY tabname = 'VBEP'
fname = 'WMENG'
CHNGIND = 'U'.
CLEAR : i_original_qty,i_original_unit.
IF sy-subrc EQ 0.
SHIFT wa_editpos1-f_old LEFT DELETING LEADING space.
SPLIT wa_editpos1-f_old AT delimiter INTO lv_org_qty lv_org_unit .
i_original_qty = lv_org_qty.
i_original_unit = lv_org_unit.
i_flag = 'X'.
EXIT .
ENDIF.
ENDLOOP.
sy-subrc = 4.
IF sy-subrc <> 0 AND i_flag NE 'X'.
SELECT SINGLE bmeng INTO i_original_qty FROM vbep
WHERE vbeln = i_vbeln AND
posnr = i_posnr.
SELECT SINGLE vrkme INTO i_original_unit FROM vbep
WHERE vbeln = i_vbeln AND
posnr = i_posnr.
ENDIF. -
How to block the creation of a Sales Orders without a linked Purchase Order
Hi. I'm trying to block the creation of a Sales Order that doesn't have a linked Purchase Order. The first thing I did is using the SBO Transaction Notification as follows:
IF @transaction_type = 'A' AND @object_type='17'
BEGIN
IF (SELECT PoPrss FROM ORDR WHERE DocEntry = @list_of_cols_val_tab_del) = 'N'
BEGIN
SET @error = 1
SET @error_message = 'Purchase Order Missing...'
END
END
This works good. I create the Sales Order, I tick the purchase order field on the logistics tab, I click Add, and then the purchase order window appears...
Then, the problem begins... If I click the Cancel button, the purchase order is obviously not created, but the Sales Order is created.
Can someone tell me how to block the creation of the sales order If the user press the cancel button on the purchase order window (and the purchase order is not created)
As far as I can see, after clicking the add button in the sales order document, the Sales Order is created on the DB. If there's no way of blocking the creation of the Sales Order, can I avoid closing the purchase order window by the SBO_TransactionNotification? (if the purchase order has not been created)
Thanks...Hi Yail,
I think you can't close the purchase order with the stored procedure.
Try to catch the Event when the user click on Cancel button.
So you can list the vents with event logger : https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ede3be37-0e01-0010-1883-cd1b5293473e
You can block the cancel button and force the user to create the purchase order.
Hope i help you
Best regards
Michael -
Changing Profit center in Sales Order after Shipment Document
Hi All,
We have situation here, The thing is at the time of creating Sales order I don't know the profit center which has to be assigned for example, I have created a sales order for goods transport, when I create the sales order I don't know which vehicle is going to transport this order and the goods can be transported by multiple vehicles.
For my business each vehicle is a cost and profit center since I wanna know the profitability of each vehicle.
So I will come to know the vehicle ( Profit center) after creating the shipment document, now I want to have the profit center of this vehicle to be updated back in the sales order so that the Billing (revenue) is recorded in this profit center.
Please let me know how to do this. I know the PC field is greyed out after shipment and PGI is done. So how to handle this.
Your suggestions will be highly appreciable
Regards,
SatanHi,
Thanks
If I went with internal order every where I gotta enter the internal order since it doesn't get automatically derived like a profit center. I would have to define substitutions everywhere !
I am trying to capture all the costs and revenue for each transport vehicle since this is transport business. It's not like my business is something else and vehicles are a part of it.
Almost all transactions will have to be posted with Internal order which is very difficult to configure.
Can you please elaborate on the work around you have mentioned since I am neither technical nor SD consultant.
Thanks in advance -
Block production work center during maintenance order
Dear Experts,
iam trying to do the integration between PM and PP, I want to block the production work center from any production order when there is any maintenance order opened for a certain equipment which is inside this work center ,
till now i did the following:
1) the production work center is now inside the equipment location tab
2) when i open any maintenance order i put system condition as zero
now what i only achieved ,
- in transaction CM25 the capacity is black for the period of the maintenance order
BUT the work center is not blocked and any production order can be created without any error
please help and much thanks in advance
Best RegardsHi,
Till time you have performed right things to integrate PP-PM & system is also responding according to setting.
Showing block capicity in CM25 against the Maintenance Order.
If you want to block production order as well, you need to do one more setting.
go to t- code OIOI, selection Production order types (those you want to block) & in capacity Availabilty choose Collect conversion as 3 : No creation if there is insufficiant caacity.
i hope this will definately solve your problem.
- Yatharth -
Selecting multiple lines in a sales order
Hello documentation says we should be able to select multiple lines in a sales order (for example to cancel them or remove them). Yet we cannot select more than one. Shift and Ctrl do not seem to work.
Any idea why this does not work ? We are running B1 2007A, patch 37.
Thanks a lot
FabriceHi Fabrice,
if you have a sales order with hundreds of rows, use the 'Draw Document Wizard -> Customise' option to draw the required rows into the target document. Once all row data has been copied to the target, the row is greyed out in the sales order & can no longer be drawn. As long as the BP accepts partial deliveries, you may copy as much partial data to multiple target documents as necessary. Once you are finished with the sales order & there are rows still open, you may go to Data -> Close & hence close the entire document. There will be no need to delete the remaining rows.
All the best,
Kerstin -
How to manage work center in Production order
Hi,
I am producing a material having one operation (suppose cutting), which I have mentioned in the routing. I have also mentioned the work center in routing on which cutting operation will be performed. When I make the Production order of 1000 pcs there comes only one work center. But practically, they are producing these 1000 pcs on two different work centers ( 500 on one and 500 on second). How to manage this in SAP.
Kindly help me.
Thanks and Regards,
Yogesh SinglaDear ,
What is the individual capacacity of the Work Centre -CR02-Header -No of Individual Capacity ?
I think you must be using similar kind of work centre of 2 no 1000 pc .Now , when you are creating routing for this , you should hit Required Spilliting in Routing Operation -Select Operation line item and then Double click -Select Spilitting and enter splitting No 2.
At the same time in CR02-Work Center -Capacity Tab -Hit the Header -In the Bottom of the Detail Capacity Header -Avaialabile Capacity -Include 2 as Number of Inidvidaul Capacity and SAVE.
Now based on thr required spilittinga and invidual caapcity , it will consider the Work Centre Load .
Other wise , you can enter one more operation line in routing with similar Labor hrs , work center and control key in routung for production of 1000 pc .
Hope it clarifies
Regards
JH
Maybe you are looking for
-
Link Aggreagation, Speed and poor performance
I have two new servers: Win2012 4 NICs using standard NIC teaming and The WIn2012 is a dual Quad XEON, 32 GB of RAM with nothing installed besides the O.S., Dell R720XD and Win2008R2 - 4 NICs using Broadcom NIC Teaming and The WIn2008 R2 is a Quad X
-
Already logged in message but not showing up in Server Admin
Running server software 10.3. Most clients are 10.4. I have several students that can't log in because it says they are already logged in elsewhere. Normally I go to Server Admin and disconnect them and they can then log in. But I've got about 4 stud
-
Open Ibook PDF's with adobe reader
How do I open a PDF document from the Ibooks library with adobe reader, so I can use all the tools like the highlighter?
-
Why do i have to reconnect my iphone 5 to wifi every time?
Every time i leave work and come back to work i have to reconnect to the wifi. It's an open wifi connection shouldn't my Iphone 5 automaiticaly connect without me have to go to settings every time and reconnect? Any ideals?
-
Hello, I have discovered switches in stack in LMS, when i run a device detailed report it shows me the serial number for only 1 switch. How i can see the serial number for both the switches and the no of switches in stack. Thanks.