Badi for purchase requisition and stock transfer order
Hi,
Could anybody please tell the BADI to update the item details (dates etc) in the 'Purchase requisition' and stock transfer orders.
I could find ME_PROCESS_REQ etc but could not locate the methods to modify the item level data.
Thanks & regards,
Ravish
Hi,
You can use the same badi which you found out.
ME_PROCESS_REQ.
In that there is a method process_item.
There you can get the line items of the PR.
Then in the POST method you can do the stock transfer .
In the check method also you can check the entire process of PR.
With Regards,
Sumodh.P
Similar Messages
-
Table for the PO Date and Stock Transfer Order Date of a material no
Hello Everyone!
I am having a requirement where I want both the Purchase Order Date and Stock Transfer Order Date of a perticular material no.
On the basis of difference of these two dates I want to find out the period for which the material was present in supplying plant.
I am not getting the table through which I can get these two dates for a material.
Please help me out.
Its urgent.hi,
see these tables:
EKKO Purchase Order Header Table
EKPO Purchase Order Item Table
EKBE PO History table.
reward if its useful -
SAP workflow for purchase requisition and purchase order
Hello Sap Workflow,
Can you please help me on building workflow for purchase requisition and purchase order with the necessary screen shots ?
your quick response will be greatly appreciated.
Thanks in AdvanceHi,
Please check http://help.sap.com .
http://help.sap.com/erp2005_ehp_04/helpdata/EN/04/92761846f311d189470000e829fbbd/frameset.htm
http://help.sap.com/erp2005_ehp_04/helpdata/EN/04/92775546f311d189470000e829fbbd/frameset.htm
Configuration guides are available in SAP Solution Manager.
Regards,
Masa -
Badi for Purchase Requisition Release Strategy
Can any help me to know about the BADI for Purchase Requisition Release Strategy .Is their any BADI to control the PO Price for a PR release strategy
Thanks for your helpThis badi is for schedule agreement ?
BAdI: Release Creation for Scheduling Agreements with Release Documentation
Use
You can use this Business Add-In (BAdI) to influence release creation.
This BAdI is used in the application component Scheduling Agreements (MM-PUR-OA-SCH).
This BAdI includes the following methods:
Change Data Before Release Creation (BEFORE_CREATION)
Change Data After Release Creation (AFTER_CREATION)
This BAdI is called during manual and automatic release creation. -
How to avoid purchase req and stock transport order to take part in MRP.
Please suggest how to avoid purchase req and stock transport order to take part in MRP.
hi,
check the settings for the MRP type...there you need to show which doc will be taken into considerations...
SPRO >> MM >> CBP...
Under CBP check for the MRP settings where it is placed(check under master data settings)...and check for the indicator for PR's and STO's release orders under tab "Additional external req. in the reorder point planning"..
Regards
Priyanka.P -
CAN I GET A SIMPLE EXAMPLE FOR ACTIVATING A BADI FOR PURCHASE REQUISITION ?
HI
Populate PO Item Text -User Exit or BADI
[Steps to Activate BAdI|http://help.sap.com/saphelp_nw04/helpdata/en/5f/071eed117c11d5b37d0050dadef62b/content.htm]
Regards
Pavan -
User exit/BADI for Purchase requisition through release of Process order
Hi ,
i need to add some text to the Pur Req.
The Pur Req will be created THROUGH the release of PROCESS order. Please let me know any exits are available for the same.
regardsHi
Check the following Exits and BADI for Pur Requisition
Enhancement
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MM06E011 Activate PReq Block
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
Business Add-in
ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Custome
ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
ME_PO_PRICING Enhancements to Price Determination: Internal
ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
ME_PURCHDOC_POSTED Purchasing Document Posted
SMOD_MRFLB001 Control Items for Contract Release Order
EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
MM_DELIVERY_ADDR_SAP Determination of Delivery Address
ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
ME_REQ_POSTED Purchase Requisition Posted
ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
ME_BSART_DET Change document type for automatically generated POs
ME_BAPI_PR_CREATE_02
ME_BAPI_PR_CREATE_01
ME_BAPI_PO_CREATE_02
ME_BAPI_PO_CREATE_01
ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
ME_COMMITMENT_RETURN Commitment for return item
ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
ME_CIN_MM06EFKO Copy PO data for use by Country version India
ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
ME_CHECK_OA Check BAdI for Contracts
Reward points if useful
Regards
Anji -
Difference between Sales Order and Stock Transfer Order(STO)
Hi Gurus,
What exactly is a diference between Sales Order and STO?
Thanks and Regards
RohitHi,
Sales Order Stock
Sales Order Stock are stock with Special Stock type E. It can fall into the usual stock categories such as unrestricted, blocked etc. but "belongs" to a sales order. For example, you create a sales order for a part and assign a sales item category that generates an individual requisition, the requirement has an account assignment linking it to the sales order schedule line, you convert that requisition to a Purchase Order.
When you receive the Purchase Order, the stock is placed in sales order stock. It will show against the sales order/sales order line. It can only be delivered against that sales order line. Any availability check etc for that material on any other sales order will not take it into account as it is not available except to the sales order line the stock is assigned to.
Stock Transfer Order
the cross company Stock Transport Orders can be done by:
- Configure using transaction OMGN
- Depending upon the sending and receiving plants, maintain sales organization and customer data in customizing.
- Maintain the supplying plant as a vendor and attach the plant to the vendor in the Vendor Master.
- Material type has to be HALB or HAWA.
- Ensure that the company with sales Organization has a plant to take care of stocking.
- The PO used is NB and not Stock Transfer PO.
Configure SD for inter-company billing to enable picking up the pricing procedure for billing.
- Carry Out delivery through process delivery due list and billing through process billing due list.
Otherwise, You need to configure your Stock Transport Order settings for your Cross-Company:
Business Transaction to work.
1. Customer No. for the Goods Receiving Plant - OMGN
2. Availability Check- Checking Rule (if necessary) - OMGN
3. Assign a Delivery Type for the Delivering Plant - OMGN (for Stock Transport Orders, NLCC)
4. PO type (which i belive you have done) - OMGN
5. Assign Vendor No. to the Supplying Plant (done) - VK02
6. Assign Customer No. to the Purchasing Plant for the Inter-Compnay Invoice (but you need to assign this to the Sales Organization pre-assigned to the Purchasing Plant),
IMG-SD-Billing-InterCompany Billing-Define Internal Customer No. by Sales Org
***and by the way for the Invoice to work between Cross-Compnay Plants, you need also to have a Sales Org for the Supplying Plant and a Pricing Determination Procedure.
REgards,
vineela -
Tolerence Limit for Purchase requisition and purchase order while saving PO
Hi,
i need to create an Custumer Exit for PO application program.
the requirement is given below.
Purchase Orders are created with reference to a Purhase Requisition. This is exempted for PO Document type ( ZLON ).
Material value in the Purchase Requisition (PR) should be checked while creating the PO and it should not be allowed more that 110% of the PR value.
There are instances PR may get split into several Purchase Order (PO)s. It should be checked for the single unit for every PO.
In the case of different requirement dates, there may be differeent line items for the same material in the same PO.
let me know which exit is used for this requirement
morever i have seen exit " MEQUERY1 ".
but iam not sure whether this will work or not.
Thanks.
SunilIn lsmw in first step selec the option one standard object
Object 0085 Purchase Order
Method 0001 Purchase order
Program Name RM06EEI0.
Program Type D Direct Input
then save and come back and then go to object overview here u will find all the fields use in this object u can upload.
After this follow the normal step.
for pur req use object 0080. -
MRP: Delete Purchase Requisitions and Create Planned Orders
Hi there,
I have a scenario, where in a material (HALB) was marked as externally procured. MRP was run for FERT material. The dependent requirements for FERT were created. Planned orders of the HALB material were changed to Purchase Requisitions.
Later, the procurement type of material was changed to Inhouse Production.
Now, I want all the Purchase requisitions that were created to be deleted and Planned orders should be created when I run MRP.
I tried all the possibilities, but of no success.
Please lemme know if there is any possibility to delete the P.Rs and Create Planned orders by running MRP.
Regards,
ABCI Haven't read the Plan order is converted in to PR Before
If YOU convert the plan order in to PR, system will firm the Requirement, YOU need to remove the firm indicator FIxed iD in PR Before doing the MRP Run Again
Do the following thing in PR
In PR Remove the Fixed ID in Quantities and Dates tab of the item
and Rerun the MRP with Planning Mode 3 It will create a plan order
Edited by: Sundaresan . E. V on Oct 29, 2010 6:39 PM -
Route determination screenshots and stock transfer order urgent
Hi sd gurus,
Can any one plz send screen shots of routedetermination abd sto to my mail id
[email protected]There is difference in Stock Transport Order and Sales. In Stock Transfer, Material is being Transfer from one location of the company to another and not sold to Customer. Hence in the case of STO there will be no entry as below:
Customer A/c Dr
To Excise Duty Recovery Account
That will be in case of Sales.
Regards,
Rajesh Banka -
Lsmw for purchase requisition and purchase order
hi all
can anyone brief me for lsmw for PR & PO.In lsmw in first step selec the option one standard object
Object 0085 Purchase Order
Method 0001 Purchase order
Program Name RM06EEI0.
Program Type D Direct Input
then save and come back and then go to object overview here u will find all the fields use in this object u can upload.
After this follow the normal step.
for pur req use object 0080. -
USer Exit/BADI for Purchase requisition creation in MDBT or WC27 /MRP Run
I am looking for an enhancement where a purchase req is created during MRP Run in the background ( MDBT or WC27 or program - RMMRP000 .
Any suggestions would be welcome.Hi,
try the exits:
LMDR2001 User exits restr. profiles of opt. pur.ord.
LMDZU001 User exits in additional planning
Regards,
Renjith Michael. -
Transaction to see the Open stock transfer order for the plant
HI ,
i need to develop one report in that client to make the report for the all open stock transfer order & the cost of the open stock transfer order for the plant .
I need how to cretae the stock transfer order for the material , whci material master is required for this process.
please give me step by step details for this .
regards
satish
Edited by: satish kapartiwar on Jul 16, 2009 9:33 AMHi Satish,
You can see open stock transfer quantity in MB5T and stock value in MB5L. If you want to make stock transfer, there is two types intra company transfer(with in same company code) and inter company transfer (different company codes).
Steps for Intra company stock transfer:
This is only within the comp.code(w/o SD)
(w/o SD) 351101 MvT. and (with SD) 641101
1. Mat.(1434)should be maintained in both the plants.(@1000&1100).
2. Should have enough stock in supplying plant(1000).
3. Make its supplying plant as a vendor in vendor master record in receiving plant(1100).
4. Make it receiving plant as a customer in customization.
Create customer (xd01) & and define the shipping data for plants in both the plants.
Path: spro u2013 img u2013 material mgmt u2013 purchasing u2013 po u2013 set up STO u2013 define shipping data
(1 by1 )
In Receiving plant (1100)
Customer num. 123345 (for ex.)
Sales org. yyy
Dist. Channel yy
Sales div. y
In Supplying plant (1000)
Customer num. -
(don't fill)
Sales org. yyy
Dist. Channel yy
Sales div. y
5. Assign doc. Type is "NL" for intra company STO. If STO is inter company, Assign doc. Type is "NLCC".
Position doc type is "UB"
Enter supplying plant(1000) & doc type (NL)&checking rule (ex:01)
6.Assign doc. Type is "UB" to u'r plants.(PO)
Go for new entries
Enter supplying plant(1000) & Receiving plant (1100)&doc type (UB).
7. Create a PO, choose the doc type is 'UB' & item cat.'U', Enter supplying plant as a vendor in PO of the receiving plant(1100).
8. Provide this num (PO) to SD people, they will do the delivery by using transactional code is VL10B.
9. Sales people they will provide "out bound delivery num".
10. Do the GR. In GR the second tab 05 outbound delivery instead of PO mov.type 101.
11. See the stock overview in the receiving & supplying plants.
Steps for Inter company Transfer:
1) Create one Customer Master in XD01 with respect to Supplying Plant Sales Area and assign this Customer no with Receiving Plant in OLME->PO-> set up STO->Define shipping data for plant and for the supplying Plant assign the above sales area.( Make sure, In Customer Master, sales Area Tab: you are maintaining shipping condition)
2) For Receiving Plant Pur. Org and Co.Code Combination create Vendor master in XK01 and in this vendor master assign the Supplying plant in Pur.Org.Data screen->Extras--> Add.Pur.data
3) OLME->PO-> Set up STO------>For your supplying plant assign document type NB, Delivery type NLCC and Checking Rule RP
4)then For your supplying Plant and receiving Plant assign Document type NB
5)Make sure you are maintaining Sales View for the material at supplying Plant and in Sales /Gen plant Data view maintain Availability check, Loading group and Transportation group.
6) In SPRo-->Logistics execution> Shipping->Basic shipping functions->Shipping point Determination>assign shipping points-> For your Loading group, Shipping Condition and Supplying plant combination, Assign shipping point
these are the configuration settings you have to do in background.
Then Create STO from Receiving Plant in ME21N with document type NB.
Based on that STO, Create Delivery in VL10B from supplying Plant
Do PGI in VL02N from Supplying plant
Do GR in MIGO at Receiving Plant keeping Outbound delivery as a ref. document.
Now your STO bet. two plants belongs to diff. Co.Codes will be completed.
Regards,
Prasath -
Changes in short text in Purchase Requisition and Purchase Order
Dear experts,
Can you help me with the following issue:
During creation of Purchase Requisition and Purchase Order with Account assignment category K-Cost center the field Short text to allow input of data in it.
In all other cases During creation of Purchase Requisition and Purchase Order without Account assignment category K-Cost center the field Short text to be forbidden for input of data
Is it possible?
Thank you
RegardsDear Vasil Pavlov ,
This cannot be realize in sap standard system. You may want to write your own coding using
ME_PROCESS_REQ and ME_PROCESS_PO for purchase requisition and purchase order respectively.
Best Regards,
Loke Foong
Maybe you are looking for
-
Launching Browser from Java when Browser URL is very long
Hi, I am trying to launch a browser from Java. I am doing the following. String command = "cmd" + "/c" + "start" + " browserURL"; Process p = Runtime.getRuntime()exec(command); Note: My browserURL is very long. Now the browser is invoked. But the URL
-
Custom print order in Address Book
HI all, I want to print an member List for my organization in address book with a Custom Sort Order. I don't know how to do it. Here is the thing: I made a contact list of the members of the organization so that I can have on File. Select my C
-
Cant Download Flash Player for Safari/Chrome/FF
Trying to download the correct version of Flash player however as i attempt to download the download grinds to a halt and times out, this is a 2.4mb file which should take no more than a few seconds, not a few days!! Is there a mirror site i can down
-
Ipod corrupted; Itunes 7 can't restore
Lo All, love the Ipod Mini, apart from the battery bugs, but I've had an enormous problem with my Ipod; it's corrupted. Also, to make things worse, my PC rarely picks the Ipod up as connected and, the one time it has, I've attempted to restore it, an
-
Hi All, We are having a 2 sys landscape. We have done the development with R/3 DEV (110) and BW DEV (910) connected. Now we have connected the R/3 QAS (310) to BW Dev. Now when I select one SD DataSource and click on Transfer Data Sources, I am recei