Problem with bapi to create purchase requisition

I got a requirement that to upload details of procurement into Z table with a temporary PR. Could u please suggest the procedure or bapi to upload datainto Z table.
Regards

Hi all
For above requirement i am suppose to develop a FM which upload the data from front end to DB. Forthat I am taking following steps is it ok or not suggest me.
1.call function module bapi_pr_create
2.fill local structure with bapi structure if PR number is created.
3.update data into Z table
Regards

Similar Messages

  • BAPI to create Purchase Requisition for selective BOM Material

    Dear Experts,
    I need ur help, Actually I am developing a module Pool prg to create Purchase Requisition for selective Bom Material .
    Actually, standard T.Code (ME21N) create PR for a multiple BOM Materia lwhich are used to create a prepared material. But my requirement is PR should be generate for selective BOM material .
    Multiple BOM Material is used to prepared a complete Material .
    I have checked a particular BOM Material, for this matrial Purchase Requisition should be genrate.
    Please suggest me the related code and Bapi which helps me .
    Thanks & Regards,
    Swapnika

    Hi
    you can Use BAPI   BAPI_REQUISITION_CREATE
    Hope Its  help You.
    Regards
    Ajit

  • BAPI to create Purchase Requisition

    Hi Experts,
    I´m looking for a BAPI to create a Purchase Requisition (Tx ME51)
    Hope you can help me!!
    Regards,
    MC.

    Hello,
    Check this.
      call function 'BAPI_REQUISITION_CREATE'
           exporting
                skip_items_with_error          = 'X'
           importing
                number                         = h_banfn
           tables
                requisition_items              = req_item
                requisition_account_assignment = req_acct
                requisition_item_text          = req_text
                return                         = return
           exceptions
                others                         = 0.
    Vasanth

  • Problems with event when changing Purchase Requisition. (BO:BUS2009)

    Hi experts,
    I have a doubt with this. When i erase a position in the Purchase Requisition (ME52N), the event SIGNIFICANTLYCHANGED of BUS2009 is raised.
    When I try to modify the  Purchase Requisition not erasign the position but changing the Material group the event is not raised. Can i customize the system to define that changing the Material group is a significantly change for my system? If not, can i raise another event when this happens?
    Thanks!!
    Artur.

    Hi,
    Simply create a custom event called CHANGED in the BO.
    Create a entry for this event in SWEC tcode. Select the radio button on change.
    This should do the job.
    Note : This event will be raised for any kind of changes in this purchase requisition.
    Regards,
    Raj

  • A proxy and in that proxy we will call the BAPI for creating Purchase Requi

    HI all,
    I am explaining a situation please resolve if possible.
    I got source data to create purchase requisition .  the source data was not cleaned and requires lot of validations and crossmapping with actual sap tables . I did it for testing and used bapi ( bapi_requsition_create) and was able to test the data to create a pr in sap. but now as per the instructions from my onsite co-ordinator , they told thy will use  a proxy( in place of idoc) and in that we will call bapi to create purchase requisition in sap. please explain about what kind of proxy it may be and how we call bapi in it . thanx in adv..

    HI all,
    I am explaining a situation please resolve if possible.
    I got source data to create purchase requisition .  the source data was not cleaned and requires lot of validations and crossmapping with actual sap tables . I did it for testing and used bapi ( bapi_requsition_create) and was able to test the data to create a pr in sap. but now as per the instructions from my onsite co-ordinator , they told thy will use  a proxy( in place of idoc) and in that we will call bapi to create purchase requisition in sap. please explain about what kind of proxy it may be and how we call bapi in it . thanx in adv..

  • How To Restrict Users To Only Create Purchase Requisitions with Item Catalog?

    Hi, everyone 
    Please help me, 
    How To Restrict Users To Only Create Purchase Requisitions with Item Catalog? is it possible? 
    Regards,   Manuel

    Hi Steenie Norman
    First click on the text item ---> Tools ---> Property Pallete ---->
    and change the Keyboard State to Local Only also this Depend in your OS
    hope this useful ....
    Regards
    Mohammed

  • I have the problem with the eFax Create Account button being grayed out for my newly purchased 6525.

    I have the problem with the eFax Create Account button being grayed out for my newly purchased 6525.
    Can you help?

    Hi Marv13, disregard my last post. The 6520 does have eFax capabilities and the support document I provided a link to needs updating. If you contact HP Cloud Services phone support they will be able to resolve this issue for you. The number and available times are posted below:
    HP Cloud Services
    1-855-785-2777
    Hours of Operation
    Monday-Friday 8am-11pm ET
    Saturday 10am-6:30pm ET
    Best.
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

  • Problem with BAPI BAPI_REQUISITION_CREATE

    Hello,
    I have problems with BAPI BAPI_REQUISITION_CREATE. I need to create Purchase requisition for services. If I use BAPI BAPI_REQUISITION_CREATE, Purchasing requisition is created, but field NETWR in table EBNK is 0. If I create purchasing requisition manualy using transaction ME51N, field NETWR in table EBNK is filled with correct price.
    Can you pls. help me, what do I wrong in calling BAPI_REQUISITION_CREATE?
    Thanks&regards,
    Jirka

    Not sure if you got your answer or went to OSS for a resolution. But, as I was searching OSS for my issue, I came across the following note:
    Note 1498435 - BAPI_REQUISITION_CREATE: EBKN-NETWR is not updated

  • Creating purchase requisitions instead of planned orders after MRP run in MDBT

    When running regenerative planning in MDBT for plant with following details ,The system has to provides planned orders for the materials .
    Processing key:NEUPL
    Create Purchase requisition :3
    Schedule lines:3
    Create MRP list:1
    Planning Mode:1
    Scheduling :1
    But sometimes it provides purchase requisitions for certain materials.The problem happens for different materials at different times.
    I checked the material master and found that procurement type is external procurement.Business need to create planned order for the materials and then want to convert it to purchase requisition.
    MRP group is assigned to the materials but no creation indicator maintained for the MRP group.
    Please tell me why this run creates purchase requisitions suddenly and in the next run it disappears?

    Hello
    Maybe someonelse is running MRP in another transaction, such as MD02, with a different parameter. Check on transaction MD05 when was the last MRP execution and the user that ran it.
    Also check if there is any active implementation of BAdI MD_MRP_PARAMETERS.
    If you don't have a cretion indicator, maybe it would be useful to set it for your MRP group, with the parameter 3, in order to make sure that planned orders will be created.
    BR
    Caetano

  • 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

  • IW31-Create Purchase Requisition automatically from PM order - Release 5.0

    Dear Experts,
    Currently we are working in the 4.6C Release but we are doing the migration for 5.0. In PM, in the 4.6C release when we
    create a PM Order in tcode IW31 we select a component and the system shows us the screen to inform the quantity and
    automatically the system shows us a  screen to Create Purchase Requisition where we can fill or select some fields.
    However, when we create a PM order in the  5.0 using the same tcode, the same material type, the system creates
    automatically the Purchase Requisition without to show us the screen to fill or select the fieds. I´ve checked the customizing
    comparing the systems but I couldn´t find something.
    I was wondering If you could help me with this issue?
    If my comments are not enough to understand me, please let me know...
    BR
    Valdevair

    Dear friend,
    Do check configuration node at
    plantmaintenance and custonmer service - maintenance and service processing -maintenance and service orders - functions and settings for order types - define change documents,collective pur.requisitionsindicator,operation no.interval
    here for your order type and plant  , check whether generation of PURCGHASE REQUISITION from maintenance order settings.
    there will be three options
    1) never
    2) from release
    3) immediatly.
    hipe this will help you.
    Regards,
    pardhu

  • BAPI to reject purchase requisition

    Dear All,
    Iu2019m looking forward a BAPI to reject purchase requisition. I found below BAPIs for purchase requisition but I couldn't  find any BAPI to reject requisition? I wonder whether a BAPI exists to reject purchase requisition or not. Thanks in advance.
    - BAPI_REQUISITION_RELEASE
    - BAPI_REQUISITION_RELEASE_GEN
    - BAPI_REQUISITION_RESET_RELEASE
    - BAPI_REQUISITION_RESET_REL_GEN
    - BAPI_REQUISITION_CHANGE
    - BAPI_REQUISITION_CREATE
    - BAPI_REQUISITION_DELETE
    - BAPI_REQUISITION_GETDETAIL
    - BAPI_REQUISITION_GETITEMS
    - BAPI_REQUISITION_GETITEMSREL
    - BAPI_REQUISITION_GETRELINFO

    aarioglu,
    I am facing to the same problem.
    Did you solve it?
    Thanks in advance.
    Felipe Fernandes

  • Error while creating purchase requisition

    Hello
    I am getting following error when I try to create Purchase Requisition
    u201CField selection PT4B not definedu201D
    Cant progress any further due to the error
    Regards,
    sudhir

    Hi
    First Do you Have  created any new field selection for PR document types?
    IF not check your PR document type is attached with which field selection in Puchasing -> purchase requisition -> define document types -> check your document type and field selection. Is it PT4B?
    PT4B is not available then assign correct one in customization.
    If it is then check the settings for fields selection in purchasing -> PR - screen layout at document level -> field selection PT4B.
    Regards

  • WHILE CREATING PURCHASE REQUISITION,THE AVAILABILITY CHECK FOR THE MATERIAL

    dear Friends,
    our users want to  WHILE CREATING PURCHASE REQUISITION,THE AVAILABILITY CHECK FOR THE MATERIAL SHOULD BE ENABLE,
    at present we maintaing KP in Material Master.  if we activated what will happen?
    please advice.
    with regards,
    Rajesh G

    Hi,
    The availability check is generally used for goods movements(GR,GI,reservation) & not for PRs.
    Regards,
    Vijay

  • Create Purchase requisitions directly using PS network or indirectly ME51N

    Hello SAP-PS consultants,
    My customer manage big projects that most of the work done by suppliers, contractors and consultants. We use WBS element to define phases in project and for link to budget control in FM (every phase as different budget). We also use activities network to manage the work in the phases. I offer my customer to create Purchase requisitions, as a standard integrated process, using activities. My customer thinks that is more difficult and complicated to create Purchase requisitions directly using PS network. From your experience, is it better to create purchase directly using PS network or indirectly using MM transaction?
    Regards
    Muly Zohar

    Hi Muly,
    The decision to go for PR creation from PS or from MM will be based on the customer requirement.
    1.If the customer requirement is to have both the cost integration as well as the integration project schedule with the PR , then you create the PR from PS.Any changes in the dates of the network will change the requirement dates of the components and will be transferred to the Purchase requisition. Further more planned cost distribution across the duration of the activity is possible in this approach.
    2. Creating the PR from MM will have only the cost integration with the project. Any changes in the project schedule will not transfer the requirement date to the purchase requisition. You normally go for this where scheduling and procurement are independent of each other.
    By clearly explaining these points to your client, I hope they can  make a better choice of which approach to take based on business requirement.
    Regards
    K Ramaiah

Maybe you are looking for

  • Can I use SubPanels to display and run multiple executables from the same GUI?

    I have two Labview executables that performs some A/D I/O, each using an independent USB-6008.  I would like to run both of these executables from a single UI.  Is this possible usin SubPanels?  Or some other method? I found KB regarding exe's and VI

  • PO requisition workflow error.

    Hi all, I am getting an error while the approval for the PO requisition. Error - "the user exceeds the limit" . Is it because i have maintained the user as both technical and non-technical approver?. I have checked in the function module for approver

  • Balance sheet run business area wise TC-F.5e error

    dear all when i run business area balance sheet run in TC-F.5E i am getting error clearing account has not specified for chart of accounts. here is there any need to careate clearing accout or else we can assign GR/IR account as a clearing account. r

  • How to build a DC after removing dependencies.

    Hello, We have migrated WDJ dc from from 7.0 to 7.3. Earlier in 7.0 GP(Guided Procedure) was used for business workflows. but in 7.3 we have to use BPM. so i have removed all GP related dependencies from the WDJ dc but i am not able to build the dc.

  • Palm Z22 Desk Lost Data

    I use Vista and Palm Z22. Recently I noticed that some information, strangely not all, that I inputted in Calendar, disappeared after a while. Please advise how to fix this problem as soon as you can. Thank you. Post relates to: Palm Z22