Change Production Order Header description
Dear Gurus,
When production order is created for a material using CO01 the order header short description is picked up as the Material Master description; however it is non-editable. I want to make this editable. Please let me know the customizing settings to make this editable.
Thanks & regards
Hi Manish,
We use alternative PP BOMs. The description of the FERT material master carries the description of the alternate BOMs combined. When any one of the BOM is selected while creation of production order the order header description carries the material master description which is a combination of the alternative BOMs. We need this to be editable so that the correct description corresponding to the relevant alternate BOM can be maintained.
Similar Messages
-
Change production order position (AFPO) when creating
Hi gurus!
I'm looking for a Customer function or BADI that allow me to change data in AFPO structure when creating a Prod.order.
I tryed EXIT_SAPLCOBT_001 but i cannot modify data, i also looked at badi WORKORDER_UPDATE but it got all IMPORTING parameters so changes are not taken.
Any hint?Hi Manish,
We use alternative PP BOMs. The description of the FERT material master carries the description of the alternate BOMs combined. When any one of the BOM is selected while creation of production order the order header description carries the material master description which is a combination of the alternative BOMs. We need this to be editable so that the correct description corresponding to the relevant alternate BOM can be maintained. -
We would want to default the Requisition Header description to get imported onto the Purchase Order Header description. After the Requisition approval the Purchase Order gets created but the Header description is empty and I expect this to be defaulted. Please suggest available alternatives.
Try with t.code AUT10 -Audit trail using which you can see the change histories.
Regards, -
Make Scrap portion field in production order header as display only
Hi Experts,
We have a requirement to make scrap field(CAUFVD-GASMG) in production order header as display field only. We do not want users to enter any values here to denote the quantity scrapped in production orders. I am not aware of any configuration to make this field as display only. Please let me know which user exit or BADI available for this purpose. We do not want to use any screen variants and transaction variants and would like to restrict this at order type or plant level.
Thanks
RijilHello Rijil,
If not with variants than check with enhancement.
PPCO0006 Enhancement to specify defaults for fields in order head
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0018 Check for changes to production order header
Regards, -
User Exit: Saving data in Production Order Header Long Text
Hi PP Gurus,
Can any one let me know which user exit can be used to save some data in the Long Text of Production Order Header.
We try PPCO0007, it works well on ECC, but my client's system version is 4.7, it does not work.
In 4.7 version, is there any other User Exit or BADI can be used to comply with this requirement?
It's quite common requirement, hope someone can help me. Thanks.
Best regards,
Sun QiangHi All,
Thank for your reply.
After saving the text using 'SAVE_TEXT' function module and commiting it you need to update the 'ltext' field in AUFK table.
SELECT SINGLE * INTO wa_aufk FROM aufk WHERE aufnr EQ '000012345678'.
wa_aufk-ltext = 'D'.
MODIFY aufk FROM wa_aufk.
It works in Enhancement PPCO0007.
This call can be closed. Thanks.
BR
Qiang -
Production Order header Long text
Hi ,
I need to get the long text in the Production Order Header.
I am aware that I would need to use READ_TEXT FM.
What are the parameters that I need to put in?
ID
LANGUAGE
NAME
OBJECT
Thanks!Hi Donna,
This is the answer:
ID KOPF
LANGUAGE EN
NAME 035000010000121
OBJECT AUFK
For name you have to concatenate client number + production order number.
From my example above 035 (client number) + 000010000121 (production order number) .
Hope it helps,
Victor. -
Functional module to change production order
Hi,
I tried with FM CO2H_PROD_ORDER_CHANGE
to change production order quantity field GAMNG value, but it did not work.
Please suggest me any FM or BAPI to change Production order quantity.
Thanks
HemaHi Ferry,
Thanks for your fast reply.
I tested with the function modules
KK_F_AFKO_AFPO_UPDATE
RK_AUFTRAG_SICHERN
First FM does not have GAMNG(total order qty) field.
With 2nd FM, it is directly updating table AUFK and AFPO with order qty and order qty. It will not update operation quantity, that is alsor required.
If we do manually in CO02 transaction, operation quantity also will update once we change the order quantity.
Thanks
Hema -
Batch determination in the production order header
Hi,
I'm trying to determine the batch for the production order header (AFPO-CHARG). I've set up the search strategy, added the procedure to the relevant plant/order type combination in OPL8 and created the batch search strategy to default the batch, however, when I create the order the batch does not default. Am I missing anything obvious?
Thanks in advance!Hi
Batch Search strtaegy is used to get the batch numbers of the components in the production order or get the batches in the delivery of the sales order.
These batches can be selected based on the selection criteria and the sort rules.
I do not completely understand what you mean by batch at heaser level.
If you mean to say the batch number for the header material then you can not search that batch since it has to be created first.
Hope this helps.
Cheers -
Table for field "delivered" in production order header general tab
Hallo everyone,
I am looking for the field "Delivered" in the production order header on tab General. Can anyone tell me in which table it is stored?
Thanks and regards,
JessicaHi,
Field "ELIKZ" ("Delivery Completed" Indicator) is available in Table "AUFM" (Goods movements for order).
Here You can co-relate this with field "AUFNR" (Order Number) -
Default of fixed batch number for production order header????
Hi Experts,
In SAP, when create a production order, in the production order Header view, in the "Good Receipt" Tab, there is a field "Batch" , which means "Assigns a material that is manufactured in batches or production lots to a specific batch ".
For some special reasons, we want for some certain materials,when create production order every time,the "Batch" field will be a fixed values.
For example,for material "AB1" ,"CD2",when create production order every time,the "Batch" field will be "2345" automatically,do not need input manually.But for all the other materials, the "Batch" field would be null ,no value.
How can I do this? How can assign fixed batch number values to some certain materials in production order?
If there needs some ABAP development,which user exit do I need??
Thanks for any reply!Hi V.SURESH
Thanks very much!
I know what you mean. Default batch number in the production order eans, there is no use of using batch management.
In fact, my purpose is just want to deactivate the batch management for some certain materials.
So for some certain materials,when create production order every time,the "Batch" field will be a fixed values.
How can I do this? How can assign fixed batch number values to some certain materials in production order?
If there needs some ABAP development,which user exit do I need?? -
Production Order header Qty change without changing the line qty
Dear Experts,
This is one of the requirement from my client. He has to change header planned qty without changing line planned qty in the production order. They are doing this to avoid the wip variance account posting. Can we achieve this through SDK? If so how?
Regards,
Gokul K.Hi Gokul,
You can over write the planned quantity by the base quantity in each line.
Here is my sample fro you:
If (Not pVal.Before_Action) And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_VALIDATE) And (pVal.ItemChanged) And (pVal.FormTypeEx = "65211") And (pVal.ItemUID = "12") Then
With CType(SBO_Application.Forms.Item(FormUID).Items.Item("37").Specific, SAPbouiCOM.Matrix)
For ii As Integer = 1 To .RowCount - 1
.Columns.Item("14").Cells.Item(ii).Specific.value = .Columns.Item("2").Cells.Item(ii).Specific.value
Next
End With
End If
regards,
Csaba -
Production Order Header Status
Hi
I am having a production order with 4 operations. when i am confirming the first operation as partial confirmation because i am just confirming only partial quantity, the whole production order status is set to PCNF. Even though i am finally confirming the same operation finally and confirming all the other operations also finally, the order status is not changing to CNF. it is still in the PCNF . how do i get it to CNF status? because the PCNF status for the order will create other problems.
The operation statuses for the same order give correct statuses as PCNF or CNF or milestone. The problem is only with order header status.
Can someone please solve this issue. Points assured
Regards
ChandraHi,
In tcode OPK4 - Define confirmation parameter select your plant & order type.
In 2nd tab page, select Confirmation type - Automatic final confirmation.
So when doing opn confirmation if the qty is equal or more than order qty, system automatically set to Final confirmation.
If the confirmation qty is less than order qty, system automatically set to partial confirmation.
Regards,
Dharma -
CO02 - Change Production Order
Hello,
I have setup a workflow event to trigger if a production order is released using tcode BSVZ - System/user status events (which I read about in the SDN forum). This seems to work just fine for an order release. However, I have not found a way to trigger an event if a production order changes using tcode CO02, for example. Any ideas?
Thanks,
KennethI think I may have solved the problem. In tcode BSVW - Status Management, I had setup ORH for ZBUS2005 Release Event. I had restricted this event with status I0002 - Release. Therefore changing an order in CO02 would only trigger the event if you released the order. I removed the restriction I0002 and tried changing the order total quantity. The event now triggers when changing the total quantity.
I had tried adding the restriction I0558 - Changed, as Imthiaz had suggested, but this did not work in our system. Totally removing the restrictions did work for this scenario.
Setting up change documents in SWEC did not work for some reason neither with change document ORDER nor RKAUFTRAG.
Thanks Imthiaz for heading me back in the right direction again. -
How to change Production Order Number in CO01
Hi,
I have requirement to change the system provided production order number AUFNR to alphanumeric while creating Production Order in CO01 based on plant(WERKS) and Order Type(AUART).
I have tried using below exits:-
PPCO0006 - no exporting parameter for AUFNR
PPCO0001
IQSM0001 - doesn't getting triggered
But unable to resolve the issue.
Please suggest any EXIT/BADI to meet the requirement.
Thanks,
MayankHi Dengyong,
Thanks for your reply.
My doubt is, Order type is already created in the system and whenever I am trying to change the number range it is asking for 'Numeric type only'. I am trying to do the same through CO82.
We have to change the number range of Order Types which is already created in the system. Is it possible???
Thanks
Mayank -
Problem in changing Production order components.
The problem is happening while changing components in Production order.
Take a look at the source code.
data : IS_ORDER_KEY TYPE COXT_ORD_KEY,
IS_ORDER_COMPONENT_KEY TYPE COXT_S_ORD_COMP_KEY,
IS_REQUIREMENT_QUANTITY TYPE COXT_S_QUANTITY,
IS_REQUIREMENT_QUANTITYX TYPE COXT_S_QUANTITYX,
IS_CONFIRMED_QUANTITY TYPE COXT_S_QUANTITY,
IS_CONFIRMED_QUANTITYX TYPE COXT_S_QUANTITYX,
I_MATERIAL TYPE COXT_MATERIAL,
I_MATERIALX TYPE COXT_MATERIALX,
IS_ORDER_OPERATION_KEY TYPE COXT_S_ORD_OPR_KEY,
IS_ORDER_OPERATION_KEYX TYPE COXT_S_ORD_OPR_KEYX,
IS_REQUIREMENT_DATE TYPE COXT_S_DATE,
IS_REQUIREMENT_DATEX TYPE COXT_S_DATEX,
IS_STORAGE_LOCATION TYPE COXT_S_STORAGE_LOCATION,
IS_STORAGE_LOCATIONX TYPE COXT_S_STORAGE_LOCATIONX,
I_BATCH TYPE COXT_BATCH,
I_BATCHX TYPE COXT_BATCHX,
I_MI_CONFIGURATION_OBJECT TYPE COXT_CONFIG_OBJECT,
I_MI_CONFIGURATION_OBJECTX TYPE COXT_CONFIG_OBJECTX.
DATA :wa_resb type resb,
ES_BAPIRETURN TYPE COXT_BAPIRETURN,
E_ERROR_OCCURRED TYPE C.
IS_ORDER_KEY = '000002098003'.
select single * from resb into wa_resb where aufnr eq IS_ORDER_KEY
and bwart eq '531'.
move-corresponding wa_resb to IS_ORDER_COMPONENT_KEY.
IS_REQUIREMENT_QUANTITY-quantity = '10.23'.
IS_REQUIREMENT_QUANTITY-uom = 'KG'.
IS_REQUIREMENT_QUANTITYX-quantity = 'X'.
IS_REQUIREMENT_QUANTITYx-uom = 'X'.
*IS_STORAGE_LOCATION-lgort = '1060'.
*IS_STORAGE_LOCATIONX-lgort = 'X'.
I_MATERIAL = wa_resb-matnr.
IS_STORAGE_LOCATION-werks = wa_resb-werks.
IS_STORAGE_LOCATIONx-werks = 'X'.
IS_STORAGE_LOCATION-lgort = '1060'.
IS_STORAGE_LOCATIONX-lgort = 'X'.
CALL FUNCTION 'CO_XT_COMPONENT_CHANGE'
EXPORTING
IS_ORDER_KEY = IS_ORDER_KEY
IS_ORDER_COMPONENT_KEY = IS_ORDER_COMPONENT_KEY
IS_REQUIREMENT_QUANTITY = IS_REQUIREMENT_QUANTITY
IS_REQUIREMENT_QUANTITYX = IS_REQUIREMENT_QUANTITYX
IS_CONFIRMED_QUANTITY = IS_CONFIRMED_QUANTITY
IS_CONFIRMED_QUANTITYX = IS_CONFIRMED_QUANTITYX
I_MATERIAL = I_MATERIAL
I_MATERIALX = I_MATERIALX
* IS_ORDER_OPERATION_KEY = IS_ORDER_OPERATION_KEY
* IS_ORDER_OPERATION_KEYX = IS_ORDER_OPERATION_KEYX
* IS_REQUIREMENT_DATE = IS_REQUIREMENT_DATE
* IS_REQUIREMENT_DATEX = IS_REQUIREMENT_DATEX
IS_STORAGE_LOCATION = IS_STORAGE_LOCATION
IS_STORAGE_LOCATIONX = IS_STORAGE_LOCATIONX
I_BATCH = I_BATCH
I_BATCHX = I_BATCHX
I_MI_CONFIGURATION_OBJECT = I_MI_CONFIGURATION_OBJECT
I_MI_CONFIGURATION_OBJECTX = I_MI_CONFIGURATION_OBJECTX
* I_BATCH_SEL_CUOBJ = I_BATCH_SEL_CUOBJ
* I_BATCH_SEL_CUOBJX = I_BATCH_SEL_CUOBJX
* I_XFEHL = I_XFEHL
* I_XFEHLX = I_XFEHLX
* I_SOBKZ = I_SOBKZ
* I_SOBKZX = I_SOBKZX
* I_KDAUF = I_KDAUF
* I_KDAUFX = I_KDAUFX
* I_KDPOS = I_KDPOS
* I_KDPOSX = I_KDPOSX
* I_PSPEL = I_PSPEL
* I_PSPELX = I_PSPELX
* I_KZAUS = I_KZAUS
* I_KZAUSX = I_KZAUSX
* I_NAFKZ = I_NAFKZ
* I_NAFKZX = I_NAFKZX
* I_NOMAT = I_NOMAT
* I_NOMATX = I_NOMATX
* I_NFUML = I_NFUML
* I_NFUMLX = I_NFUMLX
* I_NFPKZ = I_NFPKZ
* I_NFPKZX = I_NFPKZX
* I_NOMNG = I_NOMNG
* I_NOMNGX = I_NOMNGX
IMPORTING
ES_BAPIRETURN = ES_BAPIRETURN "initial
E_ERROR_OCCURRED = E_ERROR_OCCURRED"blank not showing 'X'.
CALL FUNCTION 'CO_XT_ORDER_PREPARE_COMMIT'
IMPORTING
E_ORDER_KEY = IS_ORDER_KEY
ES_BAPIRETURN = ES_BAPIRETURN
E_ERROR_OCCURRED = E_ERROR_OCCURRED
* TABLES
* ET_ORD_KEY_MAP = ET_ORD_KEY_MAP
* ET_BAPIRETURN = ET_BAPIRETURN
write : 'dfdfdf'
Notable point is that after executing CO_XT_COMPONENT_CHANGE' parameters ES_BAPIRETURN and E_ERROR_OCCURRED are initial.
This explains that the FM has been executed successfully.
But still the changes are not done in production order.
Please let me know where i am mistaken.nabheet,
this is called expilicitly for commit.
Not in any exit or something.
Have a look at the source code which i have posted while starting this discussion.
This below FM is called just after CALL FUNCTION 'CO_XT_COMPONENT_CHANGE'
Look at the source code in starting of discussion. U will understand when it is executed.
CALL FUNCTION 'CO_XT_ORDER_PREPARE_COMMIT'
IMPORTING
E_ORDER_KEY = IS_ORDER_KEY
ES_BAPIRETURN = ES_BAPIRETURN
E_ERROR_OCCURRED = E_ERROR_OCCURRED
* TABLES
* ET_ORD_KEY_MAP = ET_ORD_KEY_MAP
* ET_BAPIRETURN = ET_BAPIRETURN
Maybe you are looking for
-
How can I return to use OSX (Yosemite) after installing Windows 8.1?
How can I return to use OSX (Yosemite) after installing Windows 8.1? I cannot find Boot Camp on my iMac (late 2013) with windows installed. So I downloaded it, but I cannot run it because of an error (x64...). I tried to use my USB stick with bootcam
-
Limit on LC and Bank Guarantee - Noted Items
Dear SAP Gurus, We have a requirement from client as below for Letter of Credit and Bank Guarantee. Example: They have taken a combined limit for BG+LC today(10th June) they would like to track this separately. Similarly they can take a combined limi
-
Acrobat docs do not open on impersonation
Hi All, I have a C# 2005 application and basically in that application i can open an acrobat file..Acrobat files are in a seperate pc in the network and i have given folder permission to the users who are accessing the folder.when a client machine us
-
Command line script in LabView 2010 Win7
Hi guys, How to execute a CL script in LabView 2010 and pass parameters to it?
-
How can I connect to dynamic link in Adobe After Effects CC ???
Please help !