Batch on Purchase Requisition

The company is developing an STO scenario. They have a Sales Order with the batch information. When we are converting the Sales Order in Purchase Requisition via MD02 the batch is empty on PR. There is a Exit that we can use on the conversion to fill the batch (charg) on purchase requisition.

Hi Luiz,
You can use BADI ME_PROCESS_REQ_CUST to change PR data. And probably in your case you can use Process
item menthod of this BADI
Use get data method to read PR item data and set data to change PR line item details.
Thanks,
Pawan

Similar Messages

  • Batch input Purchase requisitions with services

    Hello.
    I'm completely stuck with this - I manage to upload several requisitions with materials, but not with services.
    I always got a message 00344 "No batch input data for screen SAPLMLSP 0200". In simulating I see only data for screens 0210 (service line overview - with no data indeed) and 0220 (service line details - with some data) - which are probably subscreens for 0200. In my converted data I see fields filled with data but the error appears on the screen 0200 (actually I think on subscreen 0210...)
    How can I know what data are missing in that case? What should I do?
    Did not find any notes...
    Completely stuck...

    Cannot find one structure for account assignment for service line... Does it mean, that one item must have only one account assignment for all it's service lines??? that's strange...

  • WF-BATCH user in Purchase Requisition

    Hello Guru's,
    I am developing a Purchase Requisition workflow and using a background method (BUS2105-Release) to release the requisition. My problem is when the item is changed/Released in background the User is getting filled as "WF-BATCH".
    To fix the issue i am creating one more activity step after the Release method step in workflow and in that activity step using a custom method to update the values in CDHDR table by validating the exact record from CDPOS table(to avoid deadlock using Enque/Deque).
    Can anyone suggest me, if there are any simple solutions or straight solutions to fix.
    Thanks,
    Sudhir.

    Hi Sudhir,
    the release is done with the BAPI function
    BAPI_REQUISITION_RELEASE_GEN
    Some of these BAPI's do offer an import element, saying "USER", where you can overwrite the current user with another one's ID, to avoid having the background user as the last change of the object.
    In this case, this option is not available, so to say, there's nothing that can be fixed.
    The solution to set and overwrite the release step with another user id, is exactly to change the change documents. So you've already found what you were looking for.
    Best wishes,
    Florin

  • Deactivate batch job for purchase requisitions on perticulra plant

    Dear Freinds,
    I have to deactivate batch job for purchase requisitions on plant 1020.
    Can you guide me how can i do this...........?

    Hi,
    I am not sure in which client you are talking about.
    If this is in production clients,then user run jobs. We need to ask them to deactivate in ARP. We generally dont have access for that.
    Thanks.

  • Batch Determination for Purchase Requisitions

    Hi,
    Is it possible upon MRP, a batch determination occurs when creating the Purchase Requisition? So that even during PR, the batch number is already indicated.
    Thanks,
    Lee

    Hi
    You can create batch only under the following scenarios (as given below) and it is not logically correct to determine the batch during creation of batch. Generally we create it during GR and in specific cases it can be assigned during purchase order.
    The system creates a batch master record in the background in the following procedures:
    The first time goods are received for a batch
    During creation of a process or production order
    When a usage decision is made in quality management
    During a recurring inspection
    For transfer postings (when you want to split a batch, for example)
    When creating a purchase order
    Reward if useful
    Regards
    edwin

  • Batch job not creating purchase requisitions

    I have a batch job that runs every day at 5 pm.  The point of this job is to run the MRP and create purchase requisitions for materials that have more demand than current supply.
    Programs ran within the jobu2026
    RWPOB001
    RVV50R10C
    RMMRP000
    My problem...
    Purchase Requisitions are not being created for random materials after the batch job has been ran.  When the MRP is run by itself (MD01), ALL materials will have purchase requisitions created for them without fail.  There is no order to it, and no one has kept track of any material numbers that have not had purchase requisitions created, so I cannot check the configuration.
    How I would like to investigateu2026
    1 u2013 Obtain a list of ALL purchase requisitions created in the timeframe AFTER the batch job has been ran
    2 u2013 Export this list into Excel
    3 u2013 Run the MRP manually to create purchase requisitions for ALL materials
    4 u2013 Obtain new list of ALL purchase requisitions created in the timeframe AFTER the MRP was manually ran
    5 u2013 Export this list into Excel
    6 u2013 Compare both lists; remove duplicates, display materials and requisitions that were created AFTER the batch job missed them.
    How would I go about getting a full list of purchase requisitions that have been created within the time frame the batch job has been ran, then export them into excel?  I understand that ME5A is the standard transaction for displaying lists of purchase requisitions, but how would I go about pulling all purchase reqs CREATED within a certain time period?
    Please, include specific SAP transactions and details in your answers.
    Also, if anyone has any good advice regarding how to get to the bottom of this specific issue, Iu2019m open to suggestions.  All good suggestions will be rewarded promptly.

    Cameron Lawrence Dunbar wrote:
    >
    > You mention that RMMRP000 should be ran before requirements planning.  Is it possible that our positioning of the program at the end of the job is causing these issues?  Or is it most likely the varient/parameters of one of these programs?
    >
    > Also, how can I display a list of purchase requisitions CREATED over a certain period of time?
    No, I did not say that RMMRP000 should be ran before requirements planning. I said it is the requirments planning. So you just run it twice if you execute it with MD01 again after this job.
    Running it twice should not end in different results if it is run with the same paramters (selection variants)
    As you are saying you get different results, I think you are running it actually with different entries in the selection screen.
    So you need to compare both selection screens. MD01 is obvious as you see it directly.
    Compare it with the selection variant of the batch job, that you can display  via the menu after you displayed the job in SM35
    ME5A transaction can give you a list of requisitions. alternative you can just use SE16 at table EBAN.
    Edited by: Jürgen L. on Apr 25, 2011 9:08 PM

  • Purchase Requisition Transfers from SCM 5.0 APO to R/3

    I am working on SCM 5.0 -- transferring Purchase Requisitions from APO to R/3 from SNP heurristic run. I am wondering if there is any documented procedure of available options and the steps involved in setting up.
    Can you transfer only certain Purchase Requisitions instead of ALL?
    Can you setup approval workflow to allow the transfer of only approved PRs ?
    What steps involved to get PRs from the SNP Heuristic?
    I found the IMG Activity (SAP SCM – Implementation Guide  Advanced Planning and Optimization  Supply Chain Planning  Supply Network Planning (SNP)  Basic Settings  Configure Transfer to OLTP system).
    I shall greatly apprecaite if some one answers the questions and points me to some 'How to Guide or the steps involved in setting up'.
    Thanks

    Devendra,
    You actually need the SCM-APO-CIF  (Core Interface) Training for this. A Pre-requisite to that is the APO Overview.  Have you undergone it ?
    In Short i will tell you the answers you want ...  I hope you will reward me with Points if you feel it was helpful.
    To Transfer PRs from APO to R3 following setup is needed ..
    - Do Configuration of  STO (Stock Transfer) in R3.  Ensure Stock Transfer PRs and STOs between the 2 Plants can be created Manually in R3.  This will require you to do a Lot of MM & SD Configuration on IntraCompany STOs.
    A Key Part for APO is to set the STO Order Types for the
    Source and Destination Plant,  Assign Vendor to the Shipping Plant,  Customer to the Destination Plant .. etc. A Test of correct setup is your ability to create a PR and STO manually in R3 first before you do APO.
    - Setup of all APO Locations (Plants in SAP-R3), Products (Materials in SAP-R3).  These are done via the Location and Product Integration Models.  Make sure you have defined the Timezone in the Plant and set the Plant in SAP as DC or Production Plant (Refer CIF Training).
    -  Setup of  Transport Lanes in APO (done manually in APO).
    You define Transport Durations here.
    -  You have to have the Purchase Requisition Integration Model Active for those Product Locations.  To do the Integration Model all CIF Configuration including the one IMG you have described in your Question is to be done. Assuming that the Products are set to 'X0' MRP Type in R3 ... so they are set to Planning in APO.
    -  For Setup in "Configure Transfer to OLTP" it is best to select 'Periodic Transfer' so you can actually control the Product-Locations and Date Range of PRs APO has created.  The Planning Runs create 'Change Pointers' to send the PRs to R3.
    - Define in APO that you will be sending Purchase Requisitions at your Destination Location to R3.  You use 'Publish Change Pointers' - /sapapo/cp1 to do this.
    - The Change Pointers are created after APO Planning run which can be sent to R3 using /sapapo/c5.  You should send them periodically after you're satisfied with the planning results or in Night Batch runs after your Planning run.
    -  To Control some type of PRs you will have to use User Exits in APO for CIF that send External Procurement / PRs from APO to R3.  This is not Standard.  But I am not sure why you will  have different types of PRs for Stock Transfer between 2 Plants.  There is no need.  You can control PRs between 2 Locations to not go to R3, via the selection of locations in /sapapo/c5.
    Hope you find this usefull.
    Regards,
    Ambrish Mathur

  • Enter short text error when creating a purchase requisition using ME51

    Hello
    I would be grateful if someone can help. I am currently trying to raise a purchase req using ME51. The purchase req is for one item so i enter details of this item on line 1. However when i try to save the purchase req i get an error message stating "enter short text"  on line 3 and it does not let me continue. Line 3 however does not contain any item information so i dont understand why i am getting this error message.
    Another user created the same purchase req and it worked fine for them so i am not sure why i am getting this message.
    I  would be grateful if you can please help.
    Thank you
    Regards
    Bindi

    Syed
    I  have tried logging off and logging back in and still having this issue.
    Jurgen
    No im only having this problem in a ME51 creating purchase requisitions and not in a CATT or any batch input recording
    Regards
    Bindi

  • LSMW Upload of Purchase Requisition MM

    Hi Experts,
    I have a quick requirement to create a LSMW project for creating the PR(Purchase Requisition) in the SAP system from a legacy data by means of uploading.
    I want the data of the header and item to be uploaded in one go. I searched the forums and came to know that
    we can use batch input but the problem is that it will upload one by one which does not suffice my requirement.
    Please suggest me how to achieve this.
    Thanks and Best Regards,
    Sahil

    Header and item is always loaded in one go. I have never seen an object in SAP migration where you load header and items individually.
    SAP says in FAQ note 499627 - FAQ: BAPIs for purchase requisitions
    Can I use the BAPI BAPI_REQUISITION_CHANGE to add new items?
    Answer:
    No.
    However, we can create a BAPI that has this function for you.
    This takes one to three days depending on the features, and is subject to charge.
    ...but this is for BAPI_REQUISITION_CHANGE , when you create requistions you usually use BAPI_REQUISITION_CREATE. so give it a tryto see  if you can load several item to one PR.
    if it does not work with the BAPI, then record the old ME51 transaction (ME51N is not suitable for batch input)

  • MRP is not generating purchase requisitions consistently for MRP type VB

    Issue: When executing consumption based MRP in ECC 6.0 using the following parameters; purchase requisitions are not created for all material with stocks below max stock levels. In other words  requisitions are  created incase of some materials and requisitions are not created for others.  
    u2022     MRP type VB ( manual reorder point) with reorder point qty
    u2022     Lot size HB with Max stock level
    u2022     Procurement type F (external procurement).
    Additional info: Some of these materials are batch managed and results are inconsistence whether it is batch managed or not.
    Regards
    Sai

    I checked that and planning file entry is created.
    Example 1: MRP is not working. 
    MRP type = VB
    Lot size =HB
    Procurement type= F
    Material # = 1200045
    Reorder point =30
    Max stock level = 300
    Available qty = 139
    No PRs are existing before MRP.
    MRP is expected to create PR  for qty 161 (300-139= 161)
    Example 2 : MRP is working. 
    MRP type = VB
    Lot size =HB
    Procurement type= F
    Material # = 1200052
    Reorder point =100
    Max stock level = 1000
    Available qty = 87
    MRP created PR qty of 913 and results are as expected.
    MRP is expected to create PR  for qty 161 (1000-87= 913
    NOTE: I am directly creating Purchase requisitions by selecting creation Purchase Requisitions Indicator =1  during MD01/MD02 trxs . Not creating any planned orders.

  • Delete purchase requisition with item category Subcontracting

    Hi all,
    I need to delete a purchase requisition with item category = L (subcontracting).
    I am using already BAPI_REQUISITION_DELETE to delete other purchase requisitions but for the subcontracting it doest not work. In fact in the BAPI code you can see:
    Requisitions with dependent reservations won't be processed
        IF xeban-pstyp EQ 3 AND xeban-rsnum NE space.
    So I am looking for other BAPI but I don't find any to delete this kind of requisitions. Do you know any way to do that or I have to do a batch input?
    Thx,
    Manel

    Hi Manel,
    I am using BAPI_PO_CHANGE to set EBAN_EBAKZ, however in most of the cases error thrown as "Instance PO Number of object type  could not be changed".
    Could you please help on this?
    Thanks,
    Murali

  • User Exit/BADI for Purchase Order and Purchase Requisitions

    HI,
    I have a requireent where i have to check the the user does not enter both Subitems and Over a Limit for a Service Purchase Requisition.
    Is there a User Exit or Badi that i can use where this information is availaible.
    also i have to check that release strategy is assigned to every purchase order where the version has been completed.
    Is there a User Exit or Badi where Information of EREV table is availaible.
    Regards,
    Tarun Bahal

    For Purchachase requisition , the BADIs and USER EXITS are
    ME_COMMITMNT_PARKING BAdI for Redefining Commitment Interface When Parking
    ME_MEREQ_PARKING BAdI Purchase Requisition: "Hold"
    ME_REQ_HEADER_TEXT Copy Header Text: Enjoy Purchase Requisition
    try with the above BADI's
    MEREQ001 Customers' Own Data in Purchase Requisition
    for Purchase order , the BADIs and USER EXITS are
    ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
    ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
    EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
    MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
    ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
    ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
    ME_BAPI_PO_CREATE_01
    ME_BAPI_PO_CREATE_02
    ME_BAPI_PR_CREATE_01
    ME_BAPI_PR_CREATE_02
    ME_BSART_DET Change document type for automatically generated POs
    ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
    ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
    ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
    ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
    ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
    ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
    ME_CHECK_OA Check BAdI for Contracts
    ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
    ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
    ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
    ME_CIN_MM06EFKO Copy PO data for use by Country version India
    ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
    ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
    ME_COMMITMENT_RETURN Commitment for return item
    ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
    ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
    ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
    ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
    ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
    ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
    ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
    ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
    ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
    ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
    ME_PO_PRICING Enhancements to Price Determination: Internal
    ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
    ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
    ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Customer
    ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
    ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
    ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
    ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
    ME_PURCHDOC_POSTED Purchasing Document Posted
    ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
    ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
    ME_REQ_POSTED Purchase Requisition Posted
    ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
    ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
    ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
    ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
    MM_DELIVERY_ADDR_SAP Determination of Delivery Address
    MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
    SMOD_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
    LMELA010  Inbound shipping notification: Transfer item data from 
    LMEQR001  User exit for source determination                     
    LMEXF001  Conditions in Purchasing Documents Without Invoice Rece
    LWSUS001  Customer-Specific Source Determination in Retail       
    M06B0001  Role determination for purchase requisition release    
    M06B0002  Changes to comm. structure for purchase requisition rel
    M06B0003  Number range and document number                       
    M06B0004  Number range and document number                       
    M06B0005  Changes to comm. structure for overall release of requi
    M06E0004  Changes to communication structure for release purch. d
    M06E0005  Role determination for release of purchasing documents 
    ME590001  Grouping of requsitions for PO split in ME59           
    MEETA001  Define schedule line type (backlog, immed. req., previe
    MEFLD004  Determine earliest delivery date f. check w. GR (only P
    MELAB001  Gen. forecast delivery schedules: Transfer schedule imp
    MEQUERY1  Enhancement to Document Overview ME21N/ME51N           
    MEVME001  WE default quantity calc. and over/ underdelivery toler
    MM06E001  User exits for EDI inbound and outbound purchasing docu
    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 P
    MM06E008  Monitoring of contr. target value in case of release or
    MM06E009  Relevant texts for "Texts exist" indicator             
    MM06E010  Field selection for vendor address                     
    MMAL0001  ALE source list distribution: Outbound processing      
    MMAL0002  ALE source list distribution: Inbound processing       
    MMAL0003  ALE purcasing info record distribution: Outbound proces
    MMAL0004  ALE purchasing info record distribution: Inbound proces
    MMDA0001  Default delivery addresses                             
    MMFAB001  User exit for generation of release order              
    MRFLB001
    Regards,
    Anirban

  • Converting Planned Order to Purchase Requisition

    Is their configuration that can automatically convert planned order to purchase requisition based on information like planned delivery time, etc.?  Or, does the conversion of planned order have to be done via MD15 either manually or by batch job?

    yes either you have to use MD15 or MDUM

  • VA01 BDC Session - Purchase requisition wiew not shown

    Hello Forum,
    I've a problem with a BDC session in ECC 6.0 about VA01. When I try to change the purchasing requisition data from the shcedule tab using the button identified from the BDC with the code "EIBB"  (the last one) the subsequent screen is not shown from the system. If I try to create manually a new sales order I'm able to view the screen.
    I tried to remake the recording in 4.6C and the screen is shown correctly.
    I'm in a mock conversion and in UAT but I wasn't able to find the problem.
    Can you suggest something << Moderator message - Everyone's problem is important >>?
    Many Thanks.
    Regards.
    Edited by: Rob Burbank on Oct 19, 2010 3:20 PM

    Thanks Anyway, but with an additional search I've found the solution Here.
    Batch input VA01 problem

  • Purchase Requisition & Planned Order link to sales order

    Dear Gurus,
    please help me to find the link between
    - sales order item
    and
    - ( purchase requisition & Planned orders for semi-finished )
    that created from running the MRP.
    dispite we can see all these data in one screen
    in TCode (MD4C) or (MD09)
    thnak you .
    Edited by: Alvaro Tejada Galindo on Feb 5, 2008 10:50 AM

    Hi,
    For third party order, either you can create the material master with item category group as BANS, so the system will automatically pick TAS in the sales order for the material or you can change the item category manually to TAS in the order.
    This will trigger a PR, based on the PR a PO will be generated.
    Defining Item Category Group
    IMG ® Sales and Distribution ® Sales ® Sales Documents ® Sales Document Item ® Define Item category groups
    Defining Item CategorySales and Distribution ® Sales ® Sales Documents ® Sales Document Item ® Define Item Categories
    Item category TAS
    Description 3rd party with SN CM
    Item type Blank
    Completion rule Blank
    Special stock Blank
    Relevant for billing B
    Billing plan type Blank
    Billing block Blank
    Pricing X
    Statistical value Blank
    Revenue recognition Blank
    Delimit. start date Blank
    Business data item X
    Sched. line allowed X
    Item relev. for delivery Blank
    Returns Blank
    Weight/Vol.- relevant X
    Credit active X
    Determine cost X
    Aut. batch determ. Blank
    Rounding permitted Blank
    Order qty = 1 Blank
    Incomplete proced. 28
    PartnerDetermProced T
    TextDetermProcedure 01
    Item cat. status group 1
    Screen seq. group N
    Status profile Blank
    Create PO autom. Blank
    Config. strategy Blank
    Mat. variant action Blank
    ATP material variant Blank
    Structure scope Blank
    Application Blank
    Value contract material Blank
    Contract release ctrl Blank
    Repair procedure Blank
    Billing form Blank
    DIP profile Blank
    Assigning Item Category
    IMG  Sales and Distribution  Sales  Sales Documents  Sales Document Item  Assign Item categories
    Creating Material
    MM01
    1. On the screen Create Material (Initial Screen) enter the material number if External.
    2. Choose Select View(s). (Basic View 1&2, Sales Views, Purchasing views and accounting views).
    3. Enter the relevant data and save the material. Use material group BANS in the item material group field.
    Creating SD Pricing Conditions for material
    VK11
    Creating Vendor Master
    XK01
    Regards

Maybe you are looking for