Adding purchase requsition items

Hi friends,
Is ther any function module or BAPi for adding items to the purchase requsition(ME51n)
Thanks in advance

Hi,
Using the BAPI:BAPI_REQUISITION_GETDETAIL existing PR header and item details and then modify the item tables with the new items and then update using the BAPI_PR_CHANGE/BAPI_REQUISITION_CHANGE
Hope this helps you
Regards
Shiva

Similar Messages

  • BAPI to approve/reject Purchase Requsition

    Hello all - I need some help from SAP gurus.
    I am looking for two BAPIs - one to approve and one to reject Purchase Requsition item. I am using BAPI_REQUISITION_GETDETAIL and need to approve and reject the purchase requsition that I bring up using said BAPI. Does anyone know if such BAPIs exist? If not, how do you approve or cancel purchase requisition?
    I'd greatly apprecaite your help.
    Thank you
    Halston

    Hi
    I am not sure of the your complete requirement, but you can try this
    BAPI_REQUISITION_RELEASE       Release Purchase Requisition Item by Item
    BAPI_REQUISITION_RELEASE_GEN        Release Entire Purchase Requisition
    BAPI_REQUISITION_RESET_RELEASE       Cancel Release of Purchase Requisition Items
    BAPI_REQUISITION_RESET_REL_GEN        Cancel Overall Release of Purchase Requisitions
    Thanks !
    E.Avudaiappan

  • Returns and Free Item indicator in Purchase Requsition

    Can we get the FREE Item and Returns Item indicator (as available in PO) in Purchase requsition.
    Can we create returns PR or free item PR.
    Thanks,

    PR is an internal document. You do not need a FREE indicater at that level

  • Line item in purchase requsition

    Dear Sir ,
    Presently i am working in 4.7 environment  , in purchase requsition screen no. of line item is upto 10 , My client want 100 line item to be punched in one PR , whether this is possible or not , please specify that how can it be done .
    thanks & regards
    shailendra

    Hi
    Just enter the first ten items and then press enter u ll get another ten new lines. this ll happen everytime u press enter after entering data in the last line. i do not know what is the limit. but 100 records can be done. u will not need any settings for this. it just straight forward
    cheers
    maniraj

  • Purchase Order Items open vs ME2M discrepancy

    First posting so if this is not the right section please move this topic.  Was the closest I could come to correct forum placement.
    Hello all,  I am in the process of setting up BPM to monitor u201CN* of Purchase Order Items openu201D from various plant locations and I am noticing the number BPM gives is different than what the system you give if I used ME2M.
    For example:  I am setting up BPM to monitor Number of Purchase Order Items Open for plant location 2102.  The set up is scarce and I only have a few fields filled out in the set-up:
    -Document Type u2013 Single Value u2013 NB, UB, FO, ZPC, ZGR
    -Plant (Item) u2013 2102
    -Doc. Category u2013 F (Purchase Order)
    -All of fields are left blank
    When this runs I will get an example of 1487 (it changes on an hourly basis so I canu2019t give a static value).
    When I try to verify this number using ME2M I get a value of 1237.  A difference of 250.
    The configuration I am using for ME2M is as follows:
    -Plant u2013 2102
    -Scope of List u2013 ALLES
    -Selection Parameters u2013 WE101
    -Document Type - NB, UB, FO, ZPC, ZGR
    -All other fields at left blank
    Any reason for this discrepancy?  The closest I can guess is SAP is pulling in some additional information OR my configuration is incorrect.  Anybody run into this issue that has some tips?
    Thank you
    -nic

    I know that ME2M has nothing to due to with BPM.
    I am confused as to why when I set up BPM, in Solution Manager, to monitor Purchase Orders that are open I am getting a different number than when I use the transaction ME2M in SAP ECC.
    For example:
    When the process runs in Solution Manager I get back 1425 open POs
    When I go into SAP ECC and use the transaction ME2M it will only pull up 1175 open POs
    Somewhere along the lines I am missing or adding 250 POs.  The current setup (listed above; not sure if BPM is configured the same for everyone) is listed above.
    I have tried various set-up options in both BPM Solution Manager and SAP ECC (ME2M) but can't seem to find where these additional numbers are coming from.
    Thank you
    -nic

  • Auto trigger of Purchase requsitions in Sales Order in case of Third party

    Hi,
    In a third party sales scenario, where do we set the automatic creation of Purchase requsitions when we create a third party sales order. I checked the Item category configuartion but couldn't figure it out anywhere.

    Hi Ronaldo,
    In Scheldule Line Category, for the Purchase Order Type,Please select the Options Related to Purchase Requestion.So that we you create the Order automatically the Purchase Requisation Number will get generated.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Extracting Purchase doucument Item condition value (Urgent)

    Hi Gurus,
    Currently, I am extracting purchase order item level data using 2lis_02_itm DS in which the extract structure is modified with fields which are fetching data from Condition Type (KSCHL), Condition Value (KWERT), etc., field at run time for which code is written in CMOD.
    Now, user requirement is some what like this: they maintain KWERT for one of the condition type after a week/a month or 2 months (not fixed) of PO creation date.
    Problem: In current extraction the data is comming for all the values changed or records added at item level (like material number, quantity, value, net value, etc.) but its not extracting the change in Condition Value (KWERT).
    <b>Please explain why?</b>
    Also, I tried to create a view based on the tables EKKO, EKPO and KONV but since KONV is pool table it's not allowing to create one.
    Tried to create function module by changing standard function module RSAX_BIW_GET_DATA_SIMPLE_1 and passing an custom extract structure created with only few (required) fields. The problem with this one is that in OPEN CURSOR ..... area when I am trying to write select statement which contains INTO clause, its giving error while checking where as query is working when tested as a report output.
    <b>Also, pls. let me know weather any provision is available on extraction of Condition data for each item in a PO is available in SAP's standard DS or BC. The one like they have condition level DS for application area SD.</b>
    for any further details pls. let me know.
    Thank You in advance.
    Points will be awarded to satisfying answer.
    Regards,<b></b><b></b>

    Good afternoon Joshi,
    It is unfortunnatelly very normal that the changes of the conditions are not loaded into BI... When you enhanced a DS, all the fields you add are simply calculated for each line that are in the delta queue. Here the change of a condition is not recognize as a change for BI, so no record is created in the delta queue so you extra fields are not calculated...
    The simplest way to check on which field a change is triggering a record in the delta queue is to check the fields in the extract structure in transaction LBWE for your datasource.
    One solution might be to assign one of the sub-totals to that condition (if you already use the 6 available sub-totals I remember that there was a way to create some extra ones...)
    If this does not work, to extract data from a pool table, you can always create in infoset query in transaction SQ01. To my knowledge there is no BC datasource  for PO condition.
    hope it helps,
    Rodolphe
    I do not think

  • Purchase requsition and Purchase order Price Changes

    Hi All,
    When purchase requsition(XXXXXXXX) is converted in to a purchase order through ME 59N(YYYYYYYYYY),after converting in to a purchase order i will change the purchase order price to a new value.
    How can i track the price changes for a purchase order that is converted from a purchase requsition.(i know i can see the changes to a PO,under item changes for PO)
    Is this data is stored in any table?
    with regards,
    Amogh

    Hi,
    this change is not captured, because the price is being changed at the point of the PO creation and so there will be no record in the header or item changes option (the system does not see anything as being changed because this is a creation of a new PO).
    The price from the requisition is merely a suggestion and it is not meant to be a purchase price anyway (it is designed to be used to value the requisition for the  release strategy).
    I know that you can configure the system to pass this req "price" to the PO, but it is not the same price and so you will not find the type of controls that you would expect.
    In many cases a simple ABAP is written that reads POs that have a reference requisition and the ABAP compares the prices and reports on those that exceed a tolerance (either hard coded in the program or held on a new table in SAP).
    None of this is standard SAP but it is something that many people create to handle the situation where the user enters the requisition at a deliberately low value to get it through the release strategy.
    Steve B

  • Urgent:regarding purchase requsitions

    HI,
    i am making purchase requsition report in which i have to display that these are the person who released the purchase requsition at dese dates.
    plzzzz help me out as i am able to display only release requsitions but not the person who had released it. i am using table eban.
    IF ANYBODY HELP ME OUT HE OR SHE WILL BE DEFINATELY REWARDED.
    Regards,
    ric.s

    Hi,
    Go through this program, you have answer
    It is possible to generate a complete list of purchase document releases with the purchase document number (requisitions and orders), releaser, release date and release time. * First, create an Infoset using transaction SQ02 directly reading from table CDPOS and create an additional table: CDHDR. If you are releasing purchase requsitions at the item level, it is convenient to create an additional field (PURPS LIKE EBAN-BNFPO) to capture the item number.
    GO THROUGH THIS CODE
    Mass Display of Purchase Orders
    Submitted by webmaster at www.sap-img.com
    Mass display or print Purchase Order History
    You can request report by :
    1. Change date
    2. User Name
    3. Purchase Order Number
    4. Vendor Code
    Written by : SAP Basis, ABAP Programming and Other IMG Stuff
    www.sap-img.com
    REPORT ZPOCHANGE LINE-SIZE 132 NO STANDARD PAGE HEADING
    LINE-COUNT 065(001)
    MESSAGE-ID VR.
    TABLES: DD04T,
    CDHDR,
    CDPOS,
    DD03L,
    DD41V,
    T685T,
    VBPA,
    TPART,
    KONVC,
    EKKO.
    SELECT-OPTIONS: XUDATE FOR CDHDR-UDATE,
    XNAME FOR CDHDR-USERNAME,
    XEBELN FOR EKKO-EBELN,
    XLIFNR FOR EKKO-LIFNR.
    SELECTION-SCREEN SKIP.
    TEXT-001 - Sorting Sequence
    SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: SUDATE RADIOBUTTON GROUP R1,
    SNAME RADIOBUTTON GROUP R1,
    SOBID RADIOBUTTON GROUP R1.
    SELECTION-SCREEN END OF BLOCK BLK1.
    DATA: WFLAG,
    WCHANGENR LIKE CDHDR-CHANGENR.
    DATA: INDTEXT(60) TYPE C.
    DATA: BEGIN OF ICDHDR OCCURS 50.
    INCLUDE STRUCTURE CDHDR.
    DATA: END OF ICDHDR.
    DATA: BEGIN OF ICDSHW OCCURS 50.
    INCLUDE STRUCTURE CDSHW.
    DATA: END OF ICDSHW.
    DATA: BEGIN OF EKKEY,
    EBELN LIKE EKET-EBELN,
    EBELP LIKE EKET-EBELP,
    ETENR LIKE EKET-ETENR,
    END OF EKKEY.
    DATA: BEGIN OF ITAB OCCURS 50,
    BEGIN OF EKKEY,
    EBELN LIKE EKET-EBELN,
    EBELP LIKE EKET-EBELP,
    ETENR LIKE EKET-ETENR,
    END OF EKKEY,
    CHANGENR LIKE CDHDR-CHANGENR,
    UDATE LIKE CDHDR-UDATE,
    UTIME LIKE CDHDR-UTIME,
    USERNAME LIKE CDHDR-USERNAME,
    CHNGIND LIKE CDSHW-CHNGIND,
    FTEXT LIKE CDSHW-FTEXT,
    OUTLEN LIKE CDSHW-OUTLEN,
    F_OLD LIKE CDSHW-F_OLD,
    F_NEW LIKE CDSHW-F_NEW,
    END OF ITAB.
    DATA: OLD_OBJECTID LIKE CDHDR-OBJECTID.
    FIELD-SYMBOLS: <F_OLD>, <F_NEW>.
    SELECT * FROM EKKO WHERE EBELN IN XEBELN AND
    LIFNR IN XLIFNR.
    CLEAR CDHDR.
    CLEAR CDPOS.
    CDHDR-OBJECTCLAS = 'EINKBELEG'.
    CDHDR-OBJECTID = EKKO-EBELN.
    PERFORM GETCHGDOCS.
    ENDSELECT.
    IF SUDATE = 'X'.
    SORT ITAB BY UDATE EKKEY-EBELN CHANGENR EKKEY-EBELP
    EKKEY-ETENR.
    ELSEIF SNAME = 'X'.
    SORT ITAB BY USERNAME EKKEY-EBELN CHANGENR EKKEY-EBELP
    EKKEY-ETENR.
    ELSE.
    SORT ITAB BY EKKEY-EBELN CHANGENR EKKEY-EBELP EKKEY-ETENR.
    ENDIF.
    LOOP AT ITAB.
    CLEAR: INDTEXT, EKKEY.
    CASE ITAB-CHNGIND.
    WHEN 'U'.
    INDTEXT(50) = ITAB-FTEXT.
    INDTEXT+51 = TEXT-020.
    CONDENSE INDTEXT.
    WHEN 'D'.
    INDTEXT = TEXT-021.
    WHEN 'E'.
    INDTEXT(5) = ITAB-FTEXT.
    INDTEXT+51 = TEXT-021.
    CONDENSE INDTEXT.
    WHEN 'I'.
    INDTEXT = TEXT-022.
    ENDCASE.
    RESERVE 4 LINES.
    IF WCHANGENR NE ITAB-CHANGENR.
    WCHANGENR = ITAB-CHANGENR.
    EKKEY = ITAB-EKKEY.
    WRITE:/ ITAB-UDATE UNDER 'Change Date',
    ITAB-UTIME UNDER 'Time',
    ITAB-USERNAME UNDER 'User Name',
    ITAB-EKKEY-EBELN UNDER 'PO No',
    ITAB-EKKEY-EBELP UNDER 'Item',
    ITAB-EKKEY-ETENR UNDER 'Sch No',
    INDTEXT UNDER 'Changes'.
    ELSEIF ITAB-EKKEY NE EKKEY.
    WRITE:/ ITAB-EKKEY-EBELP UNDER 'Item',
    ITAB-EKKEY-ETENR UNDER 'Sch No',
    INDTEXT UNDER 'Changes'.
    ENDIF.
    CASE ITAB-CHNGIND.
    WHEN 'U'.
    ASSIGN ITAB-F_OLD(ITAB-OUTLEN) TO <F_OLD>.
    ASSIGN ITAB-F_NEW(ITAB-OUTLEN) TO <F_NEW>.
    WRITE: / TEXT-023 UNDER 'Changes',
    <F_OLD>.
    WRITE: / TEXT-024 UNDER 'Changes',
    <F_NEW>.
    WHEN 'E'.
    ASSIGN ITAB-F_OLD(ITAB-OUTLEN) TO <F_OLD>.
    WRITE: TEXT-023 UNDER 'Changes',
    <F_OLD>.
    ENDCASE.
    SKIP.
    ENDLOOP.
    TOP-OF-PAGE.
    WRITE:/ SY-DATUM,SY-UZEIT,
    50 'P U R C H A S E O R D E R H I S T O R Y',
    120 'Page', SY-PAGNO.
    WRITE: / SY-REPID,
    60 'Purchase Orders Changes'.
    SKIP.
    ULINE.
    IF SUDATE = 'X'.
    WRITE:/001 'Change Date',
    014 'Time',
    024 'User Name',
    038 'PO No',
    050 'Item',
    057 'Sch No',
    065 'Changes'.
    ELSEIF SOBID = 'X'.
    WRITE:/001 'PO No',
    013 'Item',
    020 'Sch No',
    028 'Change Date',
    041 'Time',
    051 'User Name',
    065 'Changes'.
    ELSE.
    WRITE:/001 'User Name',
    015 'Change Date',
    028 'Time',
    038 'PO No',
    050 'Item',
    057 'Sch No',
    065 'Changes'.
    ENDIF.
    ULINE.
    FORM GETCHGDOCS.
    CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
    EXPORTING
    DATE_OF_CHANGE = CDHDR-UDATE
    OBJECTCLASS = CDHDR-OBJECTCLAS
    OBJECTID = CDHDR-OBJECTID
    TIME_OF_CHANGE = CDHDR-UTIME
    USERNAME = CDHDR-USERNAME
    TABLES
    I_CDHDR = ICDHDR
    EXCEPTIONS
    NO_POSITION_FOUND = 1
    OTHERS = 2.
    CHECK SY-SUBRC EQ 0.
    DELETE ICDHDR WHERE CHANGE_IND EQ 'I'.
    CHECK NOT ICDHDR[] IS INITIAL.
    LOOP AT ICDHDR.
    CHECK ICDHDR-UDATE IN XUDATE.
    CHECK ICDHDR-USERNAME IN XNAME.
    CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
    EXPORTING CHANGENUMBER = ICDHDR-CHANGENR
    IMPORTING HEADER = CDHDR
    TABLES EDITPOS = ICDSHW
    EXCEPTIONS NO_POSITION_FOUND = 1
    OTHERS = 2.
    CHECK SY-SUBRC EQ 0.
    LOOP AT ICDSHW.
    CHECK ICDSHW-TEXT_CASE EQ SPACE.
    MOVE-CORRESPONDING ICDSHW TO ITAB.
    MOVE-CORRESPONDING ICDHDR TO ITAB.
    MOVE ICDSHW-TABKEY+3 TO ITAB-EKKEY.
    APPEND ITAB.
    ENDLOOP.
    ENDLOOP.
    ENDFORM.
    END OF PROGRAM
    Regards,
    Satish

  • Issue at Purchase order Item Text Transferring

    Hello,
    I have an issue with Purchase order Item text transferring from SAP R/3 to EDI.
    Here I am using Function Module - IDOC_OUTPUT_ORDERS.
    within the function module i have user exit to populate this.
    User Exit Name : EXIT_SAPLEINM_002
    Include name : ZXM06U02
    I need to populate data manually ( Hardcode ) for E1EDPT1 is 'LINK'.
                                                     and    E1EDPT2 is " some text".
    When I write the code at user exit ,it is populating so many time Link Field.
    However i need to get only one time for each Item of Purchase order.
    and also I have one more question as per SAP Standard Purchase order each item has :
    1. Item text
    2. Info record PO Text
    3. Material PO Text
    4. Delivery Text
    5. Info Record Note
    when Create PO and it created Idoc ,even when i fill all the text ,when i see data at WE02 ,it has only few text not all.
    Please give me advice ,how should i follow.
    Thanks
    Seshu
    Issue at Purchase order Item Text Transferring

    Hi,
    Do this check before adding the text..
    IF INT_EDIDD-SEGNAM = 'E1EDPT1'.
    add the text..
    ENDIF.
    Thanks,
    Naren

  • Several purchase requsitions from one sales order

    Hi,
    I am using item category TAB to create a purchase requsition from a sales order, this works fine.
    What I really want to do is to create one purchase requsition for each condition type of a special kind from the TAB position in the sales order.
    Another possibility is to create several purchase orders from one purchase requsition, split on the earlier mentioned condition types. In any case, the end result should be several POs from one SO, split on condition types.
    Can this be done in config or do you have a suitable user-exit for me?
    Thanks in advance!
    Best Regards
    Viktor

    HI,
    The Cost Center Determination settings is in OVF3, the standard works only at the header level though, so it would not work if cost center is needed on the line item.
    For this case I suggest to try from CO view:
    A material is linked to a profit center. From this profit center you can determine a cost center using txn OKB9
    In combination with the material's account assignment field and account determination customizing, an alternate revenue account can be determined for this material. ("Normal" revenue accounts are to be used in combination with CO-PA).
    If this account is a cost element with category type "1" you need the entries in OKB9.
    Hope this help!
    Regards!

  • Purchase Requistion item is not showing deleted.

    CJ20N............we have deleted the material from the network for purchase requsition......... but that items is not shown deleted in purchase requisition in ME52N....
    Line item in p. req. change mode has been greyed out......and not showing deleted........
    Plz. help..........
    Rgds,
    Navin

    Hi Naveen ,
    Sometimes inconsistencies do occur in the database tables .
    for your issue in question , you can go to SE38 Transaction and type in the Program name
    RLORD035  and test  .
    --- Correction Rpt : Inconsistancy in Purchase Req. Deletion Indic./ Order
    Enter the Purchase Requistion No. in question and you can run that in test mode .
    Any inconsistancies will be shown and you can execute the actual run , ticking the checkbox " Set Deletion Indicator "
    Hope that helps .
    Kish

  • Purchase requsition ME53N

    Hi All,
    Can any body tell me what is the cause
    In purchse requsition requisition item is not coming- suppose i am haveing 3 line items in sales order for all items purchase req. is generated in schedule line level i can see the purchase req number and Requsition item 10,20,30.But in ME53N requsition item 20 is missing.
    Thaanks in advance
    Sandeep

    Hi,
    It looks item 20 is already available in the stock. The system might have confirmed the quantity against the available stock. So check in MMBE for the available quantity.
    Regards,

  • Purchase Requsition Data Source

    Dear Consultants,
    I want to extract Purchase Requsition Data from R/3 System.
    But I couldn't find any data source in the R/3 system.
    Is there a standart data source for this?
    Best Regards
    Mehmet

    There is no standard datasource; go in LBWE and include in your transfer structure (of 2LIS_02_SCL)
    MCEKET-BANFN (Purch.req.) and
    MCEKET-BNFPO (Requisn.item).
    These two fields allow to access on the key of EBAN table...here you can find FRGDT field that is release date...
    In the same datasource you can also already find as available the field MCEKKO-EKGRP (Purch. group from T024).
    Hope it helps.
    Regards

  • Purchase Order Item Text

    Hi..
    I need to have an report similar to the Output as in the ME2l ( Purchasing Documents per Vendor ) along with a field ( Long Item Text Field in the PO)
    added to the report. I am not sure how i should proceed further...
    Can anyone of please guide me how to proceed further...
    Thanks
    Balaji

    Hi Anji...
    Thanks for the Logic.  As you said i went into the Goto --Header  and i got  the below info.
    Text name       950001604400001                          
    Language        ES                                       
    Text ID         F01  Item text                           
    Text object     EKPO       Purchasing doc. item texts    
    Now this info has to be passed on to the Functional Module READ_TEXT.
    and the text obtained should be plugged in the Loop of EKPO Internal table.
    Can you say me how to look at the Internal Table of the Std Report ( ME2L)..
    Thanks for the support ..
    Regards
    Balaji

Maybe you are looking for

  • Recebimento Automático de XML

    Bom dia Alguém sabe qual o status do desenvolvimento da automatização de MIGO e MIRO através do arquivo XML? A previsão dada era para início de dezembro, mas não consegui achar nenhuma nota liberada para isso. Obrigado

  • Internal table in BI7

    Hi, Can some send steps to create internal table and steps for filling the table in BI7? Thanks and Regards, Pooja

  • Printing in OS 9 from OS 10 with Epson CX 4200

    How do I set up Epson CX 4200 in Classic? Just purchased Epson Stylus CX 4200 which prints beautifully in OSX. However, I want to print an Office 98 document which returns to OS 9 Classic program and then I can't access the beautiful new printer. (Th

  • How can I pay for skype number for one year

    How can I pay for skype number for one year? 

  • Need simple guide to re-installing 10.7

    What I would like is a simple guide to re-installing 10.7 (I have the disks) without losing all my itunes play count and having to reimport all my pictures?.I have backed up all my files. I have a MacBook Pro with 4GB memory no extensions apart from