EBAN-DISPO in purchase requisition

Hi.
We would like to modify the field (EBAN-DISPO) programatically when a purchase requisition gets created from iw32.
We were able to do this in ME51N by using the BADi ME_PROCESS_REQ_CUST and it works fine.
But we are unable to find anything that willl allow us to do the same thing when the PReq gets created through transaction IW32.
As of now, we have looked into the following list of Enhancements and BADi's.
BADi : iwo1_preq_badi
COZF0001
IWO10001 Create a PM sub-order
IWO10002 PM maintenance order: Customer check for order release
IWO10004 Maintenance order: Customer check for order completion
IWO10005 Maintenance order: Cust.-specif. determination of profit ctr
IWO10006 Maint. order: Fcode exclusion through cust. enhancement
IWO10007 Maint.order: Customer enhancement - permits in the order
IWO10008 Cust. enhancement: Determination of tax jurisdiction code
IWO10009 PM Order: Customer Check for 'Save' Event
IWO10010 Maint. order: Cust. enhancement for determining WBS element
IWO10011 Maint. order: Customer enhancement for component selection
IWO10012 Maintenance order: Priority handling on central header
IWO10015 Maintenance order: F4 Help for user fields on operation
IWO10016 PM Order: Cust. enhancement to check operation user fields
IWO10017 Determine external order number by customer logic
IWO10018 Maintenance order: User fields on order header
IWO10020 Maintenance order: Automatically include task list
IWO10021 Automatic task list transfer when creating order from notif.
IWO10022 Determine calendar from user exit
IWO10023 Service order: Change header data for advance shipment doc.
IWO10024 Service order: Changes to items for advance shipment
IWO10025 PM/SM order: Finding responsible cost center
IWO10026 User check on setting status 'Do not perform'
IWO10027 User exit: Generate user-defined settlement rule
IWO10029 Inclusion of bill of material in PM/SM order
IWO10030 Preset Fields for Event Object
IWO10031 Hide personnel number in PM/SM order
IWO10033 Customer-Specific Authorization Check Maint./Service Order
IWO10034 Operation status based on the status of capacity reqs
IWO20001 PM order: User exit to pass routing to order
IWOC0001 Create PM/SM notification: Determine reference object
IWOC0002 PM/SM notification: Check whether status change is allowed
IWOC0003 PM/SM authorization check of ref. object and planner
Has anyone done something like this who could point me in the right direction?
Thanks in advance.

Hi,
For components use exit COZF0002 (EXIT_SAPLCOZF_002). The exit is called on creating purchase requisitions for components from PM orders. Customer exit COZF0001 can be used for external operations.
This exit allows change of fields in structure EBAN_ORD_CUST. Field DISPO is not included in this structure as it is. To include this or other fields it is necessary to append the field to this structure. You will need to add a line to your exit to fill the appended field.
-Paul
Use the forum Enterprise Asset Management (EAM) for PM/CS specific topics
Enterprise Asset Management (SAP EAM)

Similar Messages

  • Requisitioner EBAN-AFNAM in Purchase requisition

    Hello,
    we have automatic preqs generated by MRP. They have a certain value in the field EBAN-AFNAM. Normally when releasing the Purchase req this field changes into the username of the user who released it. But this doesn't work anymore! Can someone tell me where is this setting?
    Thanks a lot

    Hi David ,
    Have u done any development towards changing the field ?
    As such in standard it will not change .
    The field description of the field AFNAM clearly states the following - Press F1 against the field in ME53N ( Indicates for whom the material or external service shown in the purchase requisition is to be ordered.)
    Also do check the change log of PR in ME53N by cicking Environment- Item Changes for earlier PR.
    Regards
    Ramesh Ch

  • Source of table EBAN (purchase requisition)

    Hi All,
    I need to know how ,when and at what time does the table EBAN filled with purchase requisition data?
    We in our organization do not use the purchase requisition process,we directly create the Purchase orders.
    But still i see that the table EBAN is having the data which is used in certain places in our organization with reference to creating a PO.But am sure that the users do not create the Purchase requisition anywhere in system.
    I want to know if there is any default batch program or system process that triggers the population of the table EBAN with the data?
    Thanks in advance,
    Swati

    Hi Swati ,
    All these requisitions are cretaed from Production Planning ( PP ).
    Transaction : MD02. - MRP run.
    Sequence of Steps :
    Transactions :
    MD87
    MC78
    MC74
    MD04
    MD02
    MD04
    Contact ur PP consultant for further details.
    Regards
    Ramesh Ch

  • Mass Deletion Of Purchase Requisitions Without Using LSMW

    Hi,
    We would like to delete huge volume of PR generated through MRP. Deleting PR will be a frequent activity in our business scenario. Since the person responsible for MRP is not very much conversant with LSMW, we want to avoid using LSMW.
    I tried with MEMASSQR. But 'deletion indicator' field is not available in the field list.
    Is there any method through which I can carry out mass deletion of PR?

    Hi,
    I've tryed this from Manish Kumar Agarwal :
    Go to SM30 enter the table MASSFLDLST
    then create the new entry object type = BUS2105
    Table name = EBAN Field:- "EBAKZ" (Purchase requisition closed)
    Then run MEMASSRQ and select this field and then PRs after tnat on next page you will get option like film:- carry out mass changes go ahead with it.
    But strangelly, it doesnt appear in the memassrq... any idea?

  • Wrong Ordered Quantity in Purchase Requisition (EBAN-BSMNG)

    Hello Gurus,
    I've a strange problem with Orderer Quantity (EBAN-BSMNG) in a purchase requisition. There are several purchase orders with reference to my PR with total quantity 2.800 pcs. My PR has quantity 3.000 pcs and also Ordered Quantity is 3.000 pcs instead of 2.800 pcs. So my PR results closed, but instead I expect an open quantity for 200 pcs.
    I checked in the EBAN and the field BSMNG is 3.000....
    What is the problem?
    I checked document changes and there is nothing strange.
    Please help me....
    Thanks in advance.

    Hello!
    Received the same problem! Did you find the reason and solution?

  • Get purchase requisition ( eban ) info when in XM06 , exit_saplebnd_001

    We are using EXIT_SAPLEBND_001 for customized changes to the release strategy. All that is imported to this exit is ceban. How do I get the purchase requisition number (banfn) and line item number (bnfpo) from this include (ZXM06U13)?
    I have tried the following but that does not return me anything either:
      DATA:  WA_AREA(20)  TYPE C,
                WA_EBAN TYPE EBAN.
    FIELD-SYMBOLS: <FS_EBAN>.
    WA_AREA = '(SAPLEBND)E_EBAN'.
    ASSIGN (WA_AREA) TO <FS_EBAN>.
    WA_EBAN = <FS_EBAN>.

    I am displaying the popup in ZXM06U13 like this:
    WA_AREA = '(SAPLEBND)E_EBAN'.
    ASSIGN (WA_AREA) TO <FS_EBAN>.
    WA_EBAN = <FS_EBAN>.
        CALL FUNCTION 'POPUP_TO_DISPLAY_VALUE'
            EXPORTING
              COLBEG          = 20
              COLEND          = 40
              ITEMTXT         = 'In XM06 release strategy'
              TEXTLINE1       = space
              TEXTLINE2       = 'usrc1'
              TEXTLINE3       = wa_eban-banfn
              TEXTLINE4       = wa_eban-bnfpo
              TITLE           = 'Looking for Purchase Req Number'.
    TextLine3 is where the purchase requisition number should appear and TextLine4 should be the item number.

  • How to update Purchase requisition number in EBAN table through ME51n?

    Hi Guru,
    I know thoes user exit as below use for ME51N.
    EXIT_SAPLMEREQ_005
    EXIT_SAPLEBND_001
    EXIT_SAPLMEREQ_010
    But I don't know which use exit  effect after saving  PR number in EBAN table and which field  to tick PR number = '0010000111'  in order to I want update  number 00100001111 in EBAN  table after clicking save in ME51N.
    I need it soon . Please help me,
    Thank you so much guru.

    Hi,
    Try with this BADI ME_PROCESS_REQ_CUST and create a new implementation under POST. That would give us the generated new PR number and using that we can access the relevant tables.
    And also try this exit given Below EXIT_SAPLMEREQ_009 Document Number Assignment: Purchase Requisition
    Regards
    kk
    Edited by: Krishna KiranN on Dec 20, 2011 5:28 AM

  • Purchase requisition is not being displayed in FM area, CJIA

    Hi
    Project cash management is activated in our system, when creating purchase requisition from project builder with account assignment 'Q' system does not generating any document in FM area (CJIA). Contradicting to this, system generating document in FM area when creating purchase requisition through ME51N transaction with account assignment Q and setting project WBS to account assignment object.
    Later, comparing both purchase requisitions using ME5J, field committed item showing different values (default layout do not display this field, need to added from change layout settings). Can any one help us to find the settings which derives the committed item field in purchase requisition?
    Screen shots are attached for detailed understanding.
    Thanks

    Sanjeev,
    In EBAN table both records are present with special stock indicator Q.  But these documents are not available in second table COOI.
    In customizing, KOAB for order category 20 (network) don't have indicator commitment management, whereas different order category having this indicator. Possibly, this would be causing the issue?? if so please help us in this direction. One more point that component with item category L (non-stock) are displayed in CJIA report.
    Checked OPSV and found both the check boxes are ticked for order category 20.
    Thanks

  • Purchase requisition aginst purchase order and mat.dc.no.

    Hi experts,
    i want to develop a  report PR_NO  ITEM_NO  QUANT PO_NO  ITEM  QANTY MAT.DOC.NO
    I USED EBAN EKPO AND MSEG TABLE
    but there is no relation between EBAN AND EKPO.(also EKBE )
    how should i fetch the data PRNO AGAINST PO.
    In my comany there is no functional consultant.
    THANKS
    AJAY.

    The relation is
    EKPO-BANFN = EBAN-BANFN
    EKPO-EBELN = EKBE-EBELN
    EKPO-EBELP = EKBE-EBELP
    EKBE-BELNR is your material doc
    EBAN-BANFN-Purchase Requisition Number
    EBAN-BNFPO-Item Number of Purchase Requisition
    EKPO-EBELN-Purchasing Document Number
    EKPO-EBELP-Item Num
    EKPO-MENGE - PO qty
    EKBE-MENGE - Posted quantity in Mat.doc

  • Fetch Sales Order number VBELN from Purchase requisition number BANFN

    Hi,
    I'm not able to find a suitable method to fetch the sales order number(VBELN) from the purchase requisition number(BANFN).
    I tried using VBEP table to fetch the data, but it is giving serious performance issues, as in for fetching one record it is taking approx 20 seconds!!!
    Kindly suggest a suitable method for this.
    I've used the query as folllows:
    select single vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    where: wa_vbep is the workarea having two fields vbeln and banfn, and wa_eban_zdd1_x-banfn is the reference preq number.
    Scenario in brief described below:
    Whenever a direct delivery sales order is created on a supply chain plant, a dummy purchase requisition without source of supply is created automatically at preferred supplying plant for the customer in the sales order. Direct Delivery Sales Orders which are still in Open status and for the associated dummy purchase requisitions with these sales order, the deletion flag set has to be unchecked.
    in this case, only one sales order is created corresponding to a preq..
    BAPI: BAPI_PR_GETDETAIL is not giving entries for the table as this is a special case of direct delivery from the production plant directly to the customer, bypassing the warehouse / distribution center...
    selection screen has input fields preq, matnr(product) and plant. we fetch entries depending on the data filled in selection screen and also they should be of document type(BSART in EBAN table) ZDD1 and deletion indicator is set(LOEKZ in EBAN).
    then we check if the sales order corresponding to the preq is in open status...
    for this i need to programmatically fetch the sales order number corresponding to the preq...
    this is causing a performance issue as i could find only one way -- fetching sales order number from VBEP table corresponding to BANFN... indexing for easier also didnt work...
    no other way i could find to fetch sales order number corresponding to the preq number....
    there is a bapi: BAPI_PR_GETDETAIL, but this is not fetching entries to the changing tables related to sales order...
    also EBKN table doesnt have any entries as this is a special case of direct delivery preq..
    Guess i couldnt find anyother way...
    Thanks.

    I'm not sure as to why the select query was still throwing performance issues. I could see that the index had been created on only BANFN in the DB. Prior to creating the index, it was taking approx 20 seconds per entry, but after creating the index, it took 13seconds approx.
    I used the select query as follows:
    select single vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    where: wa_vbep is the workarea having two fields vbeln and banfn, and wa_eban_zdd1_x-banfn is the reference preq number.
    I tried a few other combinations also, but  those also didnt work effectively:
    select vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    without using SINGLE in the select query as the select query would implicitly pickup only a single record,
    select vbeln banfn
    from vbep
    into wa_vbep
    where banfn eq wa_eban_zdd1_x-banfn.
    and another query where the INTO statement was directed directly to a workarea.
    But unfortunately, nothing seemed to be working.
    The index i had created was on BANFN alone in the VBEP table.

  • How to add a new line item to a Purchase Requisition number

    Hello All,
    Can anyone please provide me with some FM or BAPI to add a new line item to an existing Purchase Requisition number.
    Can it be done using BAPI_REQUISITION_CHANGE; if yes, then how do I pass the parameters into the BAPI tables..?
    Useful pointers would be appreciated...!!
    Thanks & Regards,
    Tarun Gambhir

    @Gautham,
    Thanks for the quick reply.
    I want to update the table EBAN, so should I use the parameter table XEBAN to put in the new line item and then execute..
    Also to fill up this table I need to pass certain value, so can I use BAPI_REQUISITON_GETDETAIL and pass the same details as found from the same BAPI and create a new line item...
    Regards,
    Tarun Gambhir

  • Purchase Requisition Date is not updated with Scheduleline Delivery Date

    Hi,
      This is a third part Sales Scenario. The Delivery date on the schedule line is passed on to purchase requisition as the delivery date of that item. Due to some business requirement, the delivery date of the schedule line is changed just before saving the sales order in the BADI called through the userexit userexit_save_document_prepare. Now on saving the sales order, the purchase requsition is also created.The delivery date of the schedule line is changed but has not reflected on the Purchase Requision.
    If the Sales Order is opened in VA02 and the schedule line delivery date is modified, the Purchase Requisition delivery date is also getting modified.
    Why did it not happen at the time of saving the Sales Order.
    What is the structure into which the purchase requsition information is stored, so that on processing the sales order, this information is utilized to create the purchase requsition.
    Please help.

    Hi,
    Check the following table for the mentioned fields EBAN-BADAT and EBAT-FRGDT
    Thanksk and Regards,
    Hari Challa.

  • Standard Smartform printing purchase requisition through - ME51N / ME52N

    Hi Experts,
    we are trying to build functionality to print Purchase requisition through transaction ME51N / ME52N / ME53N. we have created a print button on Customer data screen for that. Now we are looking for any standard smartform or script which can be used for printing Purchase requisition.
    Please provide me some pointers for the same.
    There is print button avalable at item level of purchase requisition. but it will not print header records. i am not able to find this form in system also. how can i find this form?
    thanks

    >
    rajpal sehrawat wrote:
    > Hi,
    >
    >
    > Header records means we might provide some header level information like PR number , short text and logo. Currently we are able to print only line items present in the ALV grid.
    >
    >
    > we are looking for some similar form which can be enhanced.
    >
    >
    > thanks
    actually the PR number is a line item field - it comes out of table EBAN. You would have to store the logo someplace else, since it does not belong to the PR (EBAN) -> neither header nor item, but is 'simply' graphics stored elsewhere in the database.
    I wouldn't know of any form in MM-PUR which you could easily adapt to printing PRs (and have never before heard of the need to print them) - so you will have to do a custom abap. Since there is no possibility to maintain NACE for PRs (it's simply not available) - I wouldn't know where you could use a smartform/sapscript ... that custom abap is all you can do ...

  • Purchase requisition with reference to blocked sales order

    Hello,
    we are creating purchase requisitions (PR) manually with reference to a sales order (account assignment Z). When this sales order is blocked, we still can issue the purchase requistion.
    What can we do to avoid this? I think in 2 solutions:
    - use enhancement MEREQ001 to show error message when SO is blocked, so PR is not created. Is this possible?
    - create a release strategy for PR created in that plant (tr. OME6). The problem is that release strategy refers to an amount in the PO, and not to other factor, like SO blocked. Maybe in the former enhancement we can set the field EBAN-GSFRG to 'X'?
    Thanks for your help.

    Many thanks for your answer. It help me to solve the issue.
    So applying note 738171, with transaction OVB5 (or VOFM, requirements->subsequent functions->Purch.requisitions) we create one new requirement, ie RV07A900, and then we apply the rule that if we have delivery or billing block, that is, VBAK-LIFSK or VBAK-FAKSK not empty, then we set an error with a code similar to this:
                da_sy-msgid = 'Z1'.    (message class)
                da_sy-msgno = '001'.  (message number)
                error_exception = true.
    and then the PR is not created.
    Regards.

  • Purchase Order with a reference of blank Purchase Requisition

    Dear All,
    I have one strange scenario in my production system ,
    There are purchase requisitions which are generated as a result of MRP run.
    These requisitions are converted in Purchase Order. It is displayed in the PO
    Now when I try to open the Requisitions the system says  " Purchase Requisitions does not exists."
    I understand that even if the PR is deleted it is shown in the system as deleted PR and it does not vanishes from the system.
    Also if we say that when MRP is re-run the old PRs are overwritten, it is only for the PR which are untouched. In this case the PRs are converted into PO.
    I tried to simulate the scenario in the development client but not possible.
    Does any body came across such a scenario?
    If so please help me.
    With Best Regards
    Yogesh C.

    Hi,
    Check in Table EBAN once whether PRs exists in this table or not?

Maybe you are looking for

  • Using ADFS authentication to perform SSO via HTTP GET request

    Hi, Can i authenticate users (those users are clients, at home) to a web application using ADFS without SAML tokens? The situation is that i want the clients to perform SSO to the website via a link they receive in their mailboxes.  I thought about a

  • How to put a break point while creating a travel request in ess

    Hi to all experts, My requirement is to put a break point in the badi while creating a travel request in Ess. The badi name is TRIP_WEB_CHECK i tried both external and session bps i also tried this. break uname break-point and it is i check whether i

  • Type to write in a file

    I want to write in a file 1,1,1,1 where 1 is an int/integer optionally i have to write also 0(zero) my java ws (very simple, numeric output variable is input variable)have to return 1. int variable or 2. new Integer variable(so the object)?? In the t

  • Audio disabled

    How can I enable the audio so my exported movie clips will have audio as well as video? email is [email protected]

  • Flash stopped working on 10.8

    As soon as I DL'd mountain lion, flash stopped working. Every time I DL the new flash player, I can't find it anywhere and no dialogue box pops up. I've made sure everything is "enabled" in privacy settings etc. Please help Thanks Peyton