BADI for Updating work order component data
Hi,
I need to update the field special stock indicator for the work order component data when it is saved. I am using the BADI WORKORDER_UPDATE for the same, but when I implemented the ZWORKORDER_UPDATE_IM using the standard defenition WORKORDER_UPDATE , the code does not allow me to change the it_component internal table belonging to the BEFORE_UPDATE method. Could you please help me in this.
Basically if we are implementing a standard defenition how to change the parameters of the methods in it.
Regards,
Prabaharan.G
Hi ,
It is giving the below dump. The parameter is importing parameter and it does not allow to change even using field symbol. Is there any other way. Is there an user exit which will be called when pressing enter button in component screen. The exit EXIT_SAPLCOBT_001 did not work for this.
Error analysis
The program tried to assign a new value to the field "<F_FS1>" even though
it is protected against changes.
The following objects are protected:
- Character or numeric literals
- Constants (CONSTANTS)
- Parameters of the category IMPORTING REFERENCE for functions
and methods
- Untyped field symbols to which a field has not yet been assigned
using ASSIGN
- TABLES parameters if the corresponding actual parameter is protected
against changes
- USING reference parameters and CHANGING parameters for FORMs if
the actual parameter for this is protected against changes
Regards,
Prabaharan.G
Similar Messages
-
Idoc segment for updating Sales order item dates
Hi All,
I would ike to update the sales order item dates (loading date, Goods Issuance date etc) from an IDOC.
please let me know the Idoc segment and fields that need to be filled in?
Thanks in advance.
Regards,
Zeeshan.Hi,
Here are some details of the segments in the idocs -
SEGNAM Segment Name E1EDL20
VBELN Sales and Distribution Documen 180001539
SEGNAM Segment Name E1EDL18
QUALF IDOC Qualifier: Control (Deliv PIC : Picking with flow records (inbound)
SEGNAM Segment Name E1EDL18
QUALF IDOC Qualifier: Control (Deliv PGI : Post delivery goods issue (inbound)
SEGNAM Segment Name E1EDT13
QUALF IDOC Qualifier: Date (Delivery 010 : Picking
NTANF Constraint for activity start 20090808
ISDD Actual start: Execution (date) 20090808
SEGNAM Segment Name E1EDL24
POSNR Item number of the SD document 10
MATNR Material Number 1112
WERKS Plant SG01
KDMAT Material belonging to the cust 1112
LFIMG Actual quantity delivered (in 55
VRKME Sales unit EA
POSEX External item number 10
ORMNG Original Quantity of Delivery 55
SEGNAM Segment Name E1EDL41
QUALI Qualifier for Reference Data o 001 : Purchase order data of customer
BSTNR Customer purchase order number 4500004668
BSTDT Customer purchase order date 10
POSEX Item Number of the Underlying 10
SEGNAM Segment Name E1EDL37
Regards,
Shamma -
User exit/BADI for updating Purchase Order Item
I am would like to update the purchase order item - specifically field EKPO-REPOS in a user exit or BADI. I haven't been able to find one that allows you to update the purchase order item.
Any input would be appreciated.
DerickYou can use BADI ME_PROCESS_PO_CUST for you requirement
Method PROCESS_ITEM
* Retrieve item data.
CALL METHOD im_item->get_data
RECEIVING
re_data = v_data_item.
Do you validations and changes here
*update changes
CALL METHOD im_item->set_data( v_data_item ). -
USEREXIT_ADD_FIELD_TO_LINE for updating sales order loading dates
Hi,
I have a requirement to update the loading date in the sales order scheduling lines. I am trying to do it in <b>USEREXIT_ADD_FIELD_TO_LINE</b> in program SAPFV45V but there is also a comment in the userexit stating field needs to be added to structure AV03VZ. Is this required? The code seems do fine without using the structure. Also, should I be modifying the include <b>FV45VFZZ_USEREXIT_ADD_FIELD_TO</b> itself or should I do it through CMOD. If so, what would be the enhancement?
We are in 4.7, it looks like from rel.>4.6, we should be using include <b>FV50XATP_USEREXITS</b> instead, but during debug, the codes in this userexit never get called. Are these two exits doing the same thing?
Does anybody know which one should a 4.7 systems be using to modify the loading date?
Thank you,
MinamiFound out that we do need to modify the include its own. And the FV50XATP_USEREXITS is being executed when the delivery due list is executed, not when the order is created so in order to influence the loading date in the order, userexit in SAPFV45V needs to be modified.
Question closed. -
Need exit or Badi for updating Warranty data in IE02 while Prod Order conf.
Hi All,
I need a user exit or Badi for updating the Warranty data in IE02(Equipment Master) while production order confirmation(CO15)?
I need to update the Begin guarantee date from Production order and warranty master type in IE02 while confirming the production order.
Thanks,
SudhaHi,
Are you saying first create notification,then service order
and then Sales order.
But the requirement is create notification then sales order and when you go in va02 and while modifying the sales order and create service order.
Thanks & regards,
chetan. -
User Exit or BADI for Updating Tax code (MWSKZ) using ME21N
Hi all,
I am trying to fin out an exit or badi for Updating Tax code (MWSKZ) and Unit of Measure in transaction ME21n.
The scenario is like this...
For Purchase Orders Tax code will be defaulted from Purchasing info record or contract or parameter id for that item-vendor-plant.
If the Tax Code is not defaulted and account assignment is blank then tax code on the PO is updated according to the below mentioned table
Table
Supplying Plant/ Receiving Plant Tax code
Vendor/Country
Any plant/vendor/
country 5050(NA) 20
2300 6700 E0
If the tax code on PO cannot be updated by the above table, then buyer needs to put tax code on the purchase order manually.
Thanks,
Shiva, BangaloreHi Siva.,.,.,
These r the exits.,..,which will be called while calling ME21N/ME22N/ME23N
EXIT_SAPMM06E_006
EXIT_SAPMM06E_007
EXIT_SAPMM06E_008
EXIT_SAPMM06E_009
EXIT_SAPMM06E_012
EXIT_SAPMM06E_013
EXIT_SAPMM06E_014
EXIT_SAPMM06E_016
EXIT_SAPMM06E_017
EXIT_SAPMM06E_018
U want to default some values while the Initial screen will come right,
while u Enter ME21N in command Prompt.,.,two exits will get triggerd,
EXIT_SAPMM06E_014
EXIT_SAPMM06E_016
If u want to Default some values u can use these two exits.,.
Try using EXIT_SAPMM06E_016.,.this will solve ur purpose.
and if the user changes some values on screen.,,and you want them to get reflected .,.,.that means if user changes and saves data .,.
While saving.,.,EXIT_SAPMM06E_012 and EXIT_SAPMM06E_013 will get triggerd
Try using EXIT_SAPMM06E_013.,,.it was somehow the same requirement as mine.,.,IN my case it worked fine.,.,
Regards
Debasish
Message was edited by:
Debasish Das -
Bad performance updating purchase order (ME22N)
Hello!
Recently, we face bad performance updating purchase orders using transaction ME22N. The problem occurs since we implemented change documents for a custom table T. T is used to store additional data to purchase order positions using BAdIs ME_PROCESS_PO_CUST and ME_GUI_PO_CUST.
I've created a change document C_T for T using transaction SCDO. The update module of the change document is triggered in the method POST of BAdI ME_PROCESS_PO_CUST.
Checking transaction SM13, I recognized that the update requests of ME22n have status INIT for several minutes before they are processed. I also tried to exclude the call of the update module for change document C_T (in Method POST) - the performance problem still occurs!
The problem only occurs with transaction ME22N, thus I assume that the reason is the new change document C_T.
Thanks for your help!
Greetings,
WolfgangI agree with vikram, we don't have enough information, even not a small hint on usage of this field, so which answer do you expect (The quality of an answer depends ...) This analysis must be executed on your system...
From a technical point of view, the BAPI_PO_CHANGE has EXTENSIONIN table parameter, fill it using structure BAPI_TE_MEPOITEM[X] alreading containing CI_EKPODB (*) and CI_EKPODBX (**)
Regards,
Raymond
(*) I guess you have used this include
(**) I guess you forgot this one (same field names but data element always BAPIUPDATE) -
Purchase and release order not allowed for TECO work orders
Hi
We are typically setting maintenance work orders to TECO once the physical work as been performed as that sets the reference date for showing the history of when the maintenance was performed, and when the maintenance call was completed. However, we have invoices that may come in significantly later than when the physical work was performed.
Once the order is in TECO a purchase or release order (for services against a contract) cannot be created for the work order. Additionally it appears that even if we have a release order,or purchase order, if it is not for the exact amount of the invoice the release or purchase order cannot be ammended - we get the sameerror mssage (BS007) as when creating a new purchase order for the TECO order.
I had wondered about using BS22 to change TECO to continue to allow purchase and release orders when the order is in TECO status.
Any input on pros/cons or other approachs appreciated.
PhilipThanks
That was what I initially thought. However I was informed that if the invoice is not for the originally determined amount that to post the invoice means having to change the PO, and changing the PO appears to hit the same business transaction as creating a PO, and so we get the error mssage.
The issue is that we may know we need to have services estimated at, say, $5.000. But we do not know what the actual final invoice will be. So the actual amount may end up being $4,500 or $5,500 as an example, and it may come ni late from the vendor. The Purchse Order side is not my expertize, but I am being informed that the invoice must match the PO amount, otherwise the PO must be ammended to match. As the order is in TECO, the user cannot amend the PO.
I would be happy to know of other options, or at least good questions to ask. I want the end user to be able to post the invoice against the PO, after the order is in TECO, even it the invoice amount is not exactly the same as what was originally anticipated.
regards
Philip -
PM Work Order release date.
Hi guys,
Where to find the work order release date? In the Header Data, there is no field mentioning about release date. There are only Basic Start/End Date and Malfunction Start/End date.
Thank YouHi Rio,
Generally that basic start date is date which order is going to be released,
In Application tool bar There is a "release" button whenever that button is clicked that order is released with the date which is basic start date there is no special space for release order date. -
Settlemnt Required For Bulk Work Orders
Hi All,
How to create settlement rule for Bulk Work Orders?
Is there Any T-code is there
or using LsmwSettlement rule can be created during Order release or TECO. By defining Settlement Profile, Allocation Structure with Default Object, appropriate details in Equipment / Functional Location Master data, will do the trick.
Order release or TECO can be done in mass in IW38.
If you have any other settlement rule different than these settings, then you should use LSMW. -
Cost aganist Work orders by Date
Hi Friends,
Is there any standard reports available for Cost aganist Work orders by date or else please let me know any tables (apart from COEP & PMCO) are there to get the data Work orders cost per Date wise.
Thanks & Regards,
SrinikaKOTAGIRI SRINIKA
In COVP, pass the object number (OBJNR) which you will get from table AUFK for orders.
Based on this you will get the relevant cost elements with respect to document date (BLDAT) as well as the posting date (BUDAT) of the cost booked on orders.
I think by this you can get the cost based on dates for your orders.
Hope this helps.
Chin2. -
Purchase Info Record for Frame work Order
Hi Friends,
Do we have Purchase info record for Frame work Order(FO) ?. If yes, Please tell me which info category should i need to select to create a Purchase Info Record.
ThanksHi
Is that means, Framework PO will also use the same standard Purchase info record ?
Thanks -
Internal Order report for PM work order
Hi There Experts,
My question is related to Plant Maintainance (PM) & Internal orders. Is there any standard report in SAP controlling or anywhere else which provides for each Internal Order number the list of Work Orders which have been charged to the Internal order and also if the Work Orders have PO's then a list of POs for each Work order.
A rough picture of the report is as below:
Internal Order Work Order/s PO's
11112222 5673910 4567890
6789155 1122445
22555111 77889933
If anybody could answer this it would really really help me.
Thanks in Advance
JohnHi,
Thanks for your quick replies.
Can we get the report as follows.
1. Total Po's value for the internal Order (through Table EKKN) xxx
Less: Value already posted to Internal order after creation of cost elements (S_alr_87013019) xxx
Less: Total Value to be invoiced (Tcode -ME2N) xxx
Net amount to be posted to Internal Order manually xxx
Is it correct?
Regards
Madhusekhar Gupta G
Edited by: gms gupta on Feb 20, 2012 4:33 PM -
Automating the services for object for a work order
Hi All,
Can anyone post an ABAP code using which we can automate the process of creating a note for a Work order at the time of saving the work order. I need to create a note with the work order at the time of saving it. This note needs to be attached automatically. Can anyone help me with the code to do this?Uhm... If you want us to do your job, how much are you willing to pay?
How is the note "attached"? If it's an attachment using GOS then the code has already been posted on SDN - look it up. You'll need to add it to the work order creation (I'm guessing there should be some kind of BAPI or FM). -
Intercompny billing for maintenance work orders
All,
I have two scenarios dealing with intercompany activities for maintenance work orders. The first scenario involves a maintenance work order in Company B doing work on equipment also in Company B. The work order requires labor services and material from Company A. What is the most efficient way to consume the labor and material into the Company B work order? My client requires intercompany billing anytime labor services and/or material crosses into another company. So for this scenario, should I execute a cross-company labor confirmation and material consumption and then, create intercompany invoicing from this activity? Or, should Company B provide a purchase order to Company A for the labor and material and then, Company A executes intercompany billing to facilitate the correct intercompany financial postings?
The second scenario requires a maintenance work order settlement from Company A to Company B. How should the intercompany billing be done for this? Should I settle to the cost object in company B and then do the intercompany billing? Or, should I settle to a sales document (i.e., debit memo) and then execute the intercompany billing?
Pleases advise.
Thanks!Alex,
You should be able to use the List edit transaction iw38 to select and print Multiple Orders simultaneosuly. Once you have selected the orders in the Output screen, use the menu path ORDER > PRINT ORDER.
Regards
Narasimhan
Maybe you are looking for
-
Enabling all SATA ports on a 875P Neo-FIS2R
I need to buy a new DVD writer, because my old one died. Since most of them are SATA now, I was wondering if I could enable all 4 SATA ports on my mobo, in order to plug the DVD writer? I already have SATA 1 and 2 ports occupied. Thanks.
-
Using xs:all element and the Weblogic provided SAX Parser
I am trying to validate XML documents against an xsd schema which has within it the xs:all element to indicate that certain elements should be present but the order in which they appear is not important. I have found that when I try to parse a docume
-
Portege M400 - Cannot navigate through BIOS pages
Hi, I purchased an M400 Tablet system and having a lot of trouble with the BIOS. I am able to get into the BIOS, but it appears to be restricted. It says there are three pages and to use the pgup and pgdn to change pages, this does not work. I have t
-
Reg Purchase Order Header text
Hi PPL, I have a requirement where in i need to print the Header text that is maintained in a PO in to the Script form.My requirement is that for a specific combination of a Plant and a Vendor i need to populate the Header text automatically on the P
-
Facetime and internal microphone
why does my internal Microphone shut off after a couple of minutes when using facetime?