Process order release - user exit ?
Hi experts,
I need to build an interface where all the released (and all the updated)process orders need to be transfered from SAP to a warehouse system thru XI.
I have identified an IDoc(LOIPRO01) which fullfill my needs but didn't find yet where to generate it.
I'm searching for an user-exit triggered at the release of a process order.
I have found this one:
PPCO0007(Exit when saving production order) but the documentation says "a lot of data in the order header is only set once the customer exit has been processed"
Any suggestions on how I can do this is greatly appreciated.
Hi Fabien,
Welcome to SDN.
You can execute t/code <b>POIT</b> or standard SAP program <b>RCCLTRAN</b> to generate IDoc LOIPRO01.
Prior to execute, please ensure you have done the configuration for ALE and IDoc.
Hope this will help and let me know if you need further assistant.
Regards,
Ferry Lianto
Please reward point if helpful.
Similar Messages
-
User Exit at process order release or save
Dear experts,
Can any one help me which user exit will be useful at the time of process order release or save (t code COR1/COR2).
My requirement is to stop the process order release if there is any maintenance order is already released on that date.
Process order should not get released in between the start and finish date of PM order for the same equipment.
I could acheive this for PM side by using a user exit IWO10002, here if any process order is released for an equipment PM order cannot be released for the same equipment in between start n finish date of the process order.
Please help me out in finding the user exit for process order release / save.
Thanks in advence,
Regards,
Praveen.Hi,
The following enhancements are available for process order management:
For order maintenance:
o PPCO0006 to predefine entries for order header fields when creating
an order
o PPCO0001 to provide information at the time of saving (for
production orders and process orders)
o PPCO0007 to check or change header data when saving
o PPCO0002 to add additional checks that are to take place when
setting the deletion flag or deletion indicator
o PPCO0003 to prevent changes in sales order items that would cause
changes in the process order for static assembly processing
o STATTEXT to format the status line
o PPCO0008 to check components that have been changed or added
o PPCO0005 to change the storage location and the 'backflush'
indicator in the reservation
o PPCO0013 to change the priority of the selection criteria for batch
determination in production orders or process orders
o PPCO0014 to restrict the selection of process orders that are
offered when creating external relationships
o PPCO0020 to display additional information for another tab page in
the process order header
Regards,
Dhaval -
Suggest the user exit when process order released then save
Need to update batch value from component's batch field to FG batch field. Need at the time of process order released and saved. Can you please tell me which user exit to use?
Hi,
The following enhancements are available for process order management:
For order maintenance:
o PPCO0006 to predefine entries for order header fields when creating
an order
o PPCO0001 to provide information at the time of saving (for
production orders and process orders)
o PPCO0007 to check or change header data when saving
o PPCO0002 to add additional checks that are to take place when
setting the deletion flag or deletion indicator
o PPCO0003 to prevent changes in sales order items that would cause
changes in the process order for static assembly processing
o STATTEXT to format the status line
o PPCO0008 to check components that have been changed or added
o PPCO0005 to change the storage location and the 'backflush'
indicator in the reservation
o PPCO0013 to change the priority of the selection criteria for batch
determination in production orders or process orders
o PPCO0014 to restrict the selection of process orders that are
offered when creating external relationships
o PPCO0020 to display additional information for another tab page in
the process order header
Regards,
Dhaval -
Sales Order Pricing User Exit Problem
Hi,
I am facing a problem related to coding in Sales Order pricing user exits. Scenario is as mentioned below:
Based on Material Entered and Sold To in Sales Order, auto determination of a manual pricing condition happens. For doing this, coding has been done in USEREXIT_PRICING_PREPARE_TKOMP by changing XKOMV table. Auto determination of the manual price is happening properly.
From Sales Overview Screen when user goes to the Conditions tab, Net Value is not getting calculated. When we navigate away to Schedule line tab and then come back to COnditions tab, Net Value is automatically getting calculated.
AM i missing something in the coding part? As the data is getting populated automatically I guess some piece of code needs to be triggered. Can anyone shed some light into this.
Thanks in advance,
thunderans.Prabhu: After filling in XKOMV structure, I am calling FM PRICING. On doing this, the Sales Pricing is getting calculated but even then net value of order at header i.e VBAK-NETWR is not getting populated when we are in Sales Overview screen. When, I am getting into Conditions tab and coming back to Sales Overview screen, Net value is getting populated correctly. This portion of everything not getting populated at the same time is bothering me. The pricing conditon that I am filling is a manual pricing condition.
I put a breakpoint after FM PRICING which correctly populates XKOMV structure. How do I properly update Order Net Value in Sales Overview screen wihtout having to navigate to any other tab?
Nicklas: I am looping at Order line within the user exit USEREXIT_PRICING_PREPARE_TKOMP and determining price. Once all line items are processed, I am using the FM PRICING for calculating Sales Prices.
J@Y: Request to send me a bit more details into your approach. -
Batch number coming automatically at the time of Process order release
Hi All,
I want the system generated batch number for header material to come automatically at the time of process order release.
At present ,the batch number is entered manualy dering process order creation.
Can anyone pls guide abt the settings required for the sameDear,
Define the production scheduling profile CORY then
Auto Batch Creation = 2 On release.
Then assign this to your FG or SFG materials in work scheduling view in material msater MM02. Then create new order and check.
Now for automatic generation i have to set internal number asignment for batches.
Batch will create for movement type say 101 SPROLogistics - GeneralBatch mangment--Creation of New Batches --Define Batch Creation for Goods Movements. so it will have same logic in MM for 101 GR against PO will be internal number range but no effect in SD.
Regards,
R.Brahmankar
Edited by: R Brahmankar on Mar 12, 2010 12:40 PM -
Create APG ( approval granted) status in process order through user status
Dear Gurus,
My business requirement is to create APG ( approval granted) sytem status in process order through user status functionality, if possible.
This needs to be activated while creating process order itself. Any help is greatly appreciated.
Warm Regards,
SatishAs of this date, we have still not implemented a fix, but I did get some information from someone else who has.
I'll post his information here for all to see. Hope you find it helpful.
From: Joe
Yes we managed to do it.
After several false starts and CMOD/projects which suffered because only the default keys (for order number, aufpl etc) were in place and not the actual, we coded up the IN_UPDATE method in the WORKORDER_UPDATE badi. This gives us the final format after the DB save (but before the commit). The update of the STATUS using the SAP std function module was actioned successfully but the status profile was not actually passed through. We assumed that this was because of the update task - so we introduced an INSERT into JSTO instead (a bit naughty I know, but desperate needs etc). If you require anything more let me know.
Best Regards
Joe -
FEFO logic in batch determination for process order release
Batch determination for a particular material in a process order was following FIFO logic . We needed to change it to FEFO hence we made the necessory changes in COB1 how ever the process order relase is still taking the batch whihs is not the first expiry batch
Kindly help in batch determination with FEFO for process order release.Rk
The blw explation for inventory side, i don't have idea for prod order side
If Batch Management is active for the materials then use following process;
First create characteristic in CT04 for Batch Creation Date, under "Addnl data", enter Table Name MCH1 or MCHA (As per Batch Class 022 or 023) and Field ERSDA and save it.
Assign this characteristics in CL02 in your Batch Class.
CU70 - Create a Sort Rule and specify the Characteristic of Batch Creation Date and activate "Ascending" indicator.
Now assign the Sort Rule in MBC1 and keep Selection criteria as "O" for the Strategy type.
Now do batch determination in MIGO. -
Disable the characteristic window in sales order and user-exit to pick up
Hi Freinds,
I am working on 1 VC assignment in which
1. I have to pick up the characteristic values selected in VA02 in sales order before saving the change sales order.
2. I have to Disable the characteristic window (with characteristic name and value) appear after click on u2018item detail : configurationu2019 button in sales order (if the chracterstic say 'Approval' having the value 'Yes')
3. I have to disable the characteristic window after selecting the one of the characteristic value to 'Yes' in VA02
So I need to fetch this character value witnin sales order before saving the change sales order and need to restrict the user to change any other characteristic value(disable the characteristic window) .
Please guide for any user exit at configuration side to export and import the values in sales order and disable the characteristic window to restrict the user from changing any other characteristic value for the item.
Please do the needfull.
Best Regards,
Vikram ChavanHi,
Check....
Exit Name Description
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Reward points if useful....
Regards
AK -
PR item text to be updated on Process order release
Hi Experts,
The scenario is mentioned below :
The purchase requisitions would be created on the release of PRocess order.
My requirement is to update the item text of the Purchase requisition ( with the process order data such as BATCH & Material ) on release.
I have already tried quiet a few user exits, but beacuse the PR number is not yet generated in these exits,hence I cannot use create_text or save_text.
Please let me know if someone has any idea on how this can be solved.
Hoping for a quick response.
Warm RegardsHi
Check the exits related to PR for Process order
COZF0001
COZF0002
Try to fetch the Long texts of the PR's using the READ_TEXT and use the fun module
CREATE_TEXT for saving the same in Process order by using the Right parameters like OBJECTName,ID,OBJECT and LANG in bothe cases for PR and process order.
The tables link between the PR and the order is
AFKO-AUFNR = EBKN-NPLNR ( process order number) in PR account assignment table
use this link and try to save the text as mentioned above
Reward points if useful
Regards
Anji -
Batch determination during process order release
Dear Experts,
I am facing a problem, and not able to figure out the reason. There is material having base unit as 'EA' and Issue unit as 'NO' and conversion is 10 NO= 1 EA. The same material is maintained in the BOM as 1 NO. At the time of creation of process order, system is copying the same quantity in the process order (1NO). When I release the process order, the batch determination is happening. Now the issue comes, instead of doing batch determination of 1 NO, system is doing batch determination for 1 EA (which is equivalent to 10 NO.!). Can anyone help me to find out the reason for same.
Thank you.
SagarDear Mohit,
If you want to go for external batch numbering during order release then
- Set no automatic Batch creation in order in T.Code CORY.
This setting only restrict the automatic Batch Creation in order only.But to fulfill second your requirement of restricting order release or save without assigning external batch no you have to either go for,
- User exit.Below are the user exits which are trigger at the time of order saving
PPCO0006 to predefine entries for order header fields when
an order
PPCO0001 to provide information at the time of saving (for
production orders and process orders)
PPCO0007 to check or change header data when saving
or
- Create screen variant using T.code SHD0 and make Batch Field compulsory.
Regards,
Dhaval -
Regarding Batch No Assignment During Process Order Release.
hi,
i have one secenario.
Suppose I have Process Order For material. PH-5000.
It have 3 material as ingradients.
ph-1000 - roh
ph-2000 - roh
ph-3000 - Semifinished.
what i want when Process order for Mateiral ph-5000 get released.
Batch No of PH-3000(Semifinsehd) get copied to PH-5000 batch no.
Its Urgent
Is any Enhancement is theri , pls let me know,
Thanks,
you can mail me.
[email protected]Dear Mohit,
If you want to go for external batch numbering during order release then
- Set no automatic Batch creation in order in T.Code CORY.
This setting only restrict the automatic Batch Creation in order only.But to fulfill second your requirement of restricting order release or save without assigning external batch no you have to either go for,
- User exit.Below are the user exits which are trigger at the time of order saving
PPCO0006 to predefine entries for order header fields when
an order
PPCO0001 to provide information at the time of saving (for
production orders and process orders)
PPCO0007 to check or change header data when saving
or
- Create screen variant using T.code SHD0 and make Batch Field compulsory.
Regards,
Dhaval -
Sales order number user exit in Purchase order
hi,
There is a sales order number in Purchase order(item level/account assignment/sales order no)
Now, i have to populate the SO no in orders 05.
Can any one say the user exit for populating the sales order number in PO.Hi
Check the below exits related to purchasing in which the table EKKN is referenced
EKKN will have VBELN (sales order No) and POSNR (item of sales order)
M06B0001
Role determination for release of requisitions
M06B0001
Changes to communication structure for release of requisitions
M06B0003
Number range and document number
M06B0004
Number range and document number
M06B0005
Changes to communication structure for overall release of purchase requisitions
M06E0004
Changes to communication structure for release of purchasing document
M06E0005
Role determination for release of purchasing documents
ME590001
Grouping of requisitions for PO split in transaction ME59
MEETA001
Determination of schedule line type (backlog, immediate requirement, forecast)
MEFLD004
Determination of earliest delivery date for checking at time of goods receipt (PO only)
MELAB001
Generation of forecast delivery schedule: realization via creation profile
MEQUERY1
Enhancement for document overview ME21N / ME51N
MEVME001
Calculation of default GR quantity and over/underdelivery tolerances
MM06E001
User exits for inbound EDI messages and outbound purchasing documents
MM06E003
Number range and document number
MM06E004
Control of import data screens in purchase orders
MM06E005
Customer fields in purchasing documents
MEREQ001
Customer's own data in purchase requisitions
MM06E007
Change document for requisitions when converting into POs
MM06E008
Monitoring of contract target value in case of release orders
MM06E009
Relevant texts for "Texts exist" indicator
MM06E010
Field selection for vendor address
MM06E011
Activation of requisition block
MM06L001
Exits for determination of ratings in vendor evaluation
MMAL0001
ALE source list distribution: outbound processing
MMAL0002
ALE source list distribution: inbound processing
MMAL0003
ALE purchasing info record distribution: outbound processing
MMAL0004
ALE purchasing info record distribution: inbound processing
MMDA0001
Default values for delivery addresses
MMFAB001
User exit for generation of releases
MRFLB001
Control items during release creation
LWBON001
Enhancement of LIS update through extension of the communication structure MCKONA (business volumes and rebate income)
LWBON003
Change settlement data for end-of-period rebate settlement before creation of settlement documents
LWSUS001
Customer-specific source determination in Retail
LMEXF001
Conditions in purchasing documents without invoice receipt
LMEKO002
Enhance communication structure KOMP for price determination
<b>Reward points for useful Answers</b>
Regards
Anji -
Co-Product Lot creation at the time of Process order release.
Hello All,
I want to map a scenario such that:
Whenever a order for material is RELEASED it should generate a LOT for say MAIN product ,CO-PRODUCT & BY-PRODUCT(in shrt also for its BOM).
Thanks.Use Userexit QAAT0001 to create m inspection lot for co-product.
For more help on this user exit refer to link
http://wiki.sdn.sap.com/wiki/display/PLM/QAAT0001Do'sand+Don'ts
Inspection lot so created is manual IL, hence it cannot be used to control stock postings.
And system will automatically create 05 type inspection lot when 531 movement is posted for co-product. Thus you will have two inspection lots for the same co-product.
You may want to review your business requirements and verify you actually need this functionality
Please note -
Inspection lot created for Finished product is different. Initially when order is released
It has no quantity association, but as and when Stock postings are done,
SAP will add these quantities to the IL and control the stock postings.
With manual inspection lot you can not have this functionality without extensive programming.
Hope this helps. -
Availability check run requirement in the Sales order Save user Exit.
Hi Gurus,
As per the requirment we are using a user exit SAVE SALE ORDER PREPARE for BOM purpose to reconfirm the confirmation qty.
Now we need to add one more logic in the same user exit, which will run the availabilty check run for each of the line items of the BOM and consider latest confirmation qty from it. So my concern is it possible that we can call the availabilty check run event with in the user exit SAVE SALE ORDER PREPARE or this not advisable?
Please let me know..
Regards,
BabsHI Venkat,
Thanks for your reply.Yes you are right availability check runs automatically at sub item level.
But please note the customer requirment iteself is is little different from std BOM configuration.
Currently the availabilty check is activated both at header and sub item level. They are maintaining the stock for header and sub item level.Also the these sub items are some time being sold as invidual materials. hence there exist a mismatch in the stock value between header and sub items.
when a sales order is created both header and sub items will have confirmation with different value between each and the same mismatched values are being passed in to delivery. But the deliveries can not be processed for PGI because of the mismatched confirmation qty between header and item level.
I guess now you the rrequirment.
So we are using the SAVE SALE ORDER exit which will re check the confirmed qty between header and item and takes lowest confirmed qty and change the confirmed quantities from all the line items to lowest one, so that confirmation qty among all the line items are same. This is the first logic we are planning.
Further there is one more additional process BOP need to be run for this header and sub items, which will change the confirmed qty based on the latest stock for individual line item. even in this case also the user exit SAVE Sale order is being called but we need to run the availability check run additionally because of which our requirment will be taken care.
Regards,
Babs -
Hi group
Quick question...while doing a PO change ( IDOC_INPUT_ORDCHG)....sales order line items are to be deleted....I know that this needs to be done in a user exit...i am trying to nail down to the right user exit......
I found only one user exit ( customer function 002 ) dealing with BDCDATA...but the problem is this one is called multiple times in the program...and I want to run this code only once....have you guys encountered similar situation / have any clue....Plz let me knowHi,
I did not get your question. What is the relationship between changing PO data and deleting sales order line item.
I do not recommend changing sales order line in some userexit while processing PO idoc. Eventhough you find an userexit to do this, when sales order line item is deleted and commit happens in not only commits the sales order data but also other outstanding updates. This might cause database inconsistency.
Please clarify your exact requirement.
Regards,
RS
Maybe you are looking for
-
How do I transfer an app from my iphone to itunes?
So I have bought a couple of apps on my iphone and would like to transfer them to my itunes library, but not sure how. When I plug in my iphone and try and sync the two, I get a warning from itunes that everything on my iphone will be wiped and every
-
How do i transfer pictures from my pc to my ipad
how do i transfer pictures from my pc to my ipad? I can't seem to find an option through itunes.
-
How Can I Get My Cover Flow To Be In "Artist Order" Vs. "Its Own Order"
*I'm A VERYYYYY Organized Person. & I Like My Music To Be In A My Library A Certain Way. AND My iPod Is Putting The Cover Flow In... I Dont Know What Kind Of Order... I Dont Even Know If Their Is A Method To Its Madness! It Seems Like It Starts In Ar
-
MM-1 (Bower&Wilkins) USB speakers problems with OS Mavericks
Hi, I use USB speakers, rather fine ones. MM-1 (Bower&Wilkins) With Mountain Lion, everything was good. Ever since I switched to Mavericks, I have all sorts of problem with them. In lin- in mode, everything is ok, but in USB mode: I loose all audio s
-
Regarding finding table (Very urgent)
Hi Experts, I need to get the table which contains details of Invoicing date, Invoicing quantity, Invoice value, bill to party for which invoice is created. I also need which table contains free goods determination data, i.e i need table that contain