Purchase Requisition using webdynpro

Hi all,
    I have a requirement wherein i have to create a purchase requisition using webdynpro by taking Document type, Plant, Storage Location, Material and Quantity as input. I am able to generate a PR NO. for a single Material but when there are multiple Materials for the same plant and storage location the PR does not get generated. Kindly Help.
Regards,
Santhosh.

Hi,
In extended notification the approvar will be asked to SAP login details and proceed for approval process. Without log into sap you cannot approve the PR. Please refer below link for better clarity. Thanking you.
Approve workitems from outlook

Similar Messages

  • Creation of purchase requisition from Webdynpro Java

    Hi all,
        I have a requirement that i should create purchase requisition from webdynpro java. i imported all required BAPI in the webdynpro. But i am not getting what should i have to give as input paramater. I have imported the Bapi_Requition_Create. Please help me on thin what sould be the input parameter i should pass.
    Regards,
    Shreeharsha

    Shreeharsha,
    you can check out the fm inse37 and see what are the importing and tables parameters
    Thanks
    Bala Duvvuri

  • Creation of Purchase Requisition using BAPI

    Hi Experts
    Can anyone provide me the sample code for creating Purchase Requisition using BAPI
    Thanks in advance

    Hi siri,
    go throught this, hope
    http://www.erpgenie.com/abap/bapi/example.htm
    Also refer to the following links..
    www.sappoint.com/abap/bapiintro.pdf
    www.sap-img.com/bapi.htm
    www.sap-img.com/abap/bapi-conventions.htm
    www.planetsap.com/Bapi_main_page.htm
    www.sapgenie.com/abap/bapi/index.htm
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://sap-img.com/bapi.htm
    Thanks
    Naveen khan
    Message was edited by:
            Pattan Naveen

  • Rounding Values while creating purchase requisitions using ME51N

    Hi MM Experts,
    I have created some materials with a Rounding Value maintained in MRP1 View of the material master.
    Whenever I raise a purchase order, the order quantity rounds off to the value maintained in the material master which is the correct functionality.
    But when i try to create a purchase requisition using ME51N, the rounding functionality doesn't work.
    Example: Rounding value (in MRP1 view) of a material is 25.
    The order quantity entered is 4. But before saving the PURCHASE ORDER the order quantity will be changed to 25(which is the rounding value). This is the correct functionality but doesn't happen with the PURCHASE REQUISITION (ME51N)
    Can someone guide me on how to make the rounding value work for purchase requisitions when using ME51N?
    Thanks in advance.
    cheers,
    Randi

    Hi!
    i had the same problem with a company.
    i did not find any customizing possibilities.
    I solved it with BAdI ME_PROCESS_REQ_CUST
    Method PROCESS_ITEM.
    I hope this helps
    Flo

  • Block Project Purchase Requisition using User Status

    Dear All,
    We need a copy of TECO, we tried to create a new status using BS22 transaction but its totally new activity of creating the system status. This transaction does not allow to copy an existing status. is there any other way to do so
    We alos tried to block the Purchase Requisition using user status, but its not working. Please guide
    Thanks in advance.
    Murtaza

    Yes, you are right I need the said status for WBS Element. I have assigned it to relevant WBS Elements but not working.
    Let me explain the scenario little more, there are activities having commitments (Purchase Requisitions), we need to process the existing PRs but new commitments must be blocked. we need to use status on WBSE to control it so that if we need to re-open the new commitments, we can do it by disabling the status.
    Murtaza

  • Automatic Purchase Requisition using Reorder Point without MRP Run

    Dear Freinds,
    My client wants Purchase Requisition should be automatically created as soon as the stock falls below reorder level without MRP run.
    Is this possible? if possible then what are the settings required.
    Thanks
    Prashant Atri

    Dear,
    It is not possible in standard SAP.
    What is the problem to take MRP run?
    You can take the MRP run in background through MDBT so system will create automatic Purchase Requisition using Reorder Point.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • Attach the file for purchase requisition using BSP service

    Hi All,
    I have Requirement Attach the any file like(PDF,TXT,PPT) to Purchase requisition using BSP service.Could please provide me any function module or BAPI for this functionality.
    Thanks in advance.
    Regards,
    Rajesh.

    Hi All,
    REPORT ZTESTJLG3 . .
    parameter p_mandt like sy-mandt default '120' .
    parameter p_equi type equnr default '1000007' .
    parameter p_path like IBIPPARMS-path memory id AD_LOCAL_PATH .
    parameter p_name(30) default 'Test attach 100007' lower case .
    " nom attachement .
    data w_prog like sy-repid .
    data w_dynnr like sy-dynnr .
    data w_attachement type borident .
    initialization .
    w_prog = sy-repid .
    w_dynnr = sy-dynnr .
    " test jean luc recuperer le code de
    fucntion module 'GOS_EXECUTE_SERVICE'
    data lo_container TYPE REF TO cl_gui_container .
    *call method lo_container->get_container_type .
    at selection-screen on value-request for p_path .
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
    PROGRAM_NAME = w_prog
    DYNPRO_NUMBER = w_dynnr
    FIELD_NAME = 'P_PATH'
    IMPORTING
    FILE_NAME = p_path .
    start-of-selection .
    if sy-mandt ne p_mandt .
    write 'Erreur mandt ' .
    exit .
    endif .
    data ws_borident like borident .
    ws_borident-OBJKEY = p_equi.
    ws_borident-OBJTYPE = 'EQUI'.
    data w_document like SOOD4 .
    data : begin of wt_files occurs 0 .
    data fname(128) .
    data end of wt_files.
    wt_files-fname = p_path .
    append wt_files .
    data folder_id like SOODK .
    call function 'SO_FOLDER_ROOT_ID_GET'
    EXPORTING
    region = 'B'
    IMPORTING
    folder_id = folder_id
    EXCEPTIONS
    others = 1.
    w_document-foltp = folder_id-objtp .
    w_document-folyr = folder_id-objyr .
    w_document-folno = folder_id-objno .
    append document to documents.
    w_document-objdes = p_name .
    w_document-objnam = p_name .
    data w_h_data like sooD2 ..
    data w_fol_data like sofm2.
    data w_rec_data like soos6 .
    w_h_data-objdes = p_name .
    CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
    EXPORTING
    METHOD = 'IMPORTFROMPC'
    OFFICE_USER =
    REF_DOCUMENT = w_document
    NEW_PARENT =
    IMPORTING
    AUTHORITY =
    TABLES
    OBJCONT =
    OBJHEAD =
    OBJPARA =
    OBJPARB =
    RECIPIENTS =
    ATTACHMENTS =
    REFERENCES =
    FILES = wt_files
    CHANGING
    DOCUMENT = w_document
    HEADER_DATA = w_h_data
    FOLMEM_DATA = w_fol_data
    RECEIVE_DATA = w_rec_data .
    if w_document-okcode = 'CREA' or w_document-okcode = 'CHNG'.
    w_attachement-objtype = 'MESSAGE'.
    w_attachement-objkey = w_document(34).
    CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'
    EXPORTING
    OBJ_ROLEA = ws_borident
    OBJ_ROLEB = w_attachement
    RELATIONTYPE = 'ATTA'
    IMPORTING
    BINREL =
    TABLES
    BINREL_ATTRIB =
    EXCEPTIONS
    NO_MODEL = 1
    INTERNAL_ERROR = 2
    UNKNOWN = 3
    OTHERS = 4
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endif .
    For above requirement i am trying like above code.
    working fine but which transaction i can find the attach file.I am trying to fine using ME52N transaction but i c't find this file.
    Please suggest me how can i find this one
    Thanks in advance,
    RajeshV.

  • Bom explosion in purchase requisition using BAPi

    Hello All,
    Is it possible to explode a BOM in a purchase requisition using a functional module.
    Vivek

    Rajen,
    I have a material on which when I run MRP I get purchase requisitions with two different production version.
    In one purchase requisition I can see the BOM components and while on the other one I dont see BOM components.
    If I pass these two Purchase requisitions in EBAN table I find that RSNUM is blank for the latter case.
    If I go in this purchase requisition in change mode and explode the BOM and save, I can see BOM components.
    Also If I refresh EBAN table after this activity, I see the RSNUM field is populated.
    I hope this helps.
    Vivek

  • 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

  • Create Purchase Order with reference to Purchase Requisition using BAPI's

    Hello Experts,
    I need to create a Purchase order with reference to a Purchase Requisition.
    All the above has to be done by using BAPI's.
    For creating PR, I am using BAPI_REQUISITION_CREATE.
    and for PO, I am using BAPI_PO_CREATE.
    I am not able to use the requistion number in the PO. BAPI throws the following exception
    "Requisition 1014396 00010 not selectable"
    "Document contains no items"
    Query's:
    1. Do I need to release the PR for using it in PO?
    2. If so how can I work with the "BAPI_REQUISITION_RELEASE_GEN" to release PR?
    I have tried using the BAPI getting the following error "Release outside filed of responsibility".
    Please help I am in critical Postion...
    Thanks,
    Suma

    Hi Meenakshi,
    When, I try to release error I am getting the following the error " Purchase Requisition can not be released".
    Is this problem because of authorization or data issue?
    Thanks
    Suma

  • A problem while assign and process purchase requisitions using Me57

    Hello everybody:
           Today I used me57 to assign and process purchase requisition of 0010000732, but there is only one vendor when assign automatically , however two vendors were assigned with me01 when maintained source list,  what's the possible reason of the problem,  Thank you everyone in advance, cheers.

    hi,
    Check in source list ie ME04 whether fixed vendor is ticked.
    Thanks
    suresh

  • Purchase Requisition using Extended Notifications

    Hello,
    We set up the Purchase Requisition approval so the approver is notified in Outlook.  We are using Extended Notifications to do this.  The approver can approve or reject from Outlook.  However, when the user clicks on approve or reject, they are being asked to logon to the SAP system. 
    Is there a way to use Extended Notifications so the approver can approve or reject directly from Outlook without having to logon to the SAP system?
    Thanks

    Hi,
    In extended notification the approvar will be asked to SAP login details and proceed for approval process. Without log into sap you cannot approve the PR. Please refer below link for better clarity. Thanking you.
    Approve workitems from outlook

  • Create a Service Purchase Requisition using BAPI_PR_CREATE

    Hi Everyone,
    I am using BAPI_PR_CREATE.
    I am able to create Standard Purchase requisition.
    But while creating Service Purchase Requisition, i am not able to create.
    I am getting no errors for the PR Item, but even after entering Services for the PR Item i am getting error message in return table of bapi "Please Maintain Services or limits'.
    Do i have to pass value to Package_No field in the item level table of BAPI_PR_CREATE.
    Please help.
    Regards,
    Akash

    Hi,
    Check this link for creation of services.
    Bapi_pr_change in services
    PO Upload through BAPI_PO_CREATE1 - Problem in Service Item
    BAPI_PO_CREATE1 Error
    Hope it helps
    Sujay

  • Auto PO using Purchase requisition

    What are the steps and procedure for creating auto Po
    I have tried the following at my end and failed
    1) Material Master tick Auto Po
    2) vendor master tick auto Po
    3) source list
    4) info record
    5) ME59N,ME59
    let me know what could be the possible problem i have commited cause of which my attempt was not succesful
    I would like to create a Purcahse order with a non standard PO document type

    Hi,
    You can create auto P.O. from purchase requisition using assignment list.
    Prerequisites for auto P.O.generation from assignment list are;
    Sources must have already been assigned to the requisitions to be converted
    Create P.O.using assignment list:
    SAP Menu-Logisticsmaterial management-purchasing-purchase ordercreate-via requisition assignment list
    Second Alternative is:
    In automatic PO Generation, the system selects only those requisition items that satisfy the following conditions
    :The Automatic Purchase Order indicator must have been set in the plant specific purchasing data of material master record
    :The Automatic Purcahsr Order Indicator must have set in the purchasing data of the Vendor Master Record
    : Valid Conditions must have been determined for the assigned source
    Thanks,
    Tushar Patankar

  • 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

Maybe you are looking for

  • How to see only one of two displays in Snow Leopard Screen Sharing?

    I am trying to set up screen sharing and find that since I have two monitors working on the machine that I want to connect to, two monitors show up on the client that I am connecting with. This causes a problem in that the scaled screen image that ap

  • I am editing a video using CS6.  I'm wanting to add a time lapse section of about 10 seconds or so.

    When I bring the photos in, they are cropped.  For example, the photos are of a building and sky.  CS6 brings the photos in and has zoomed way in and cropped the building out to show only sky and clouds, so this is not as simple as using the zoom in/

  • Cannot update Global Password Policies, no SSL bind, etc

    Hello Community-- This is day 3 of the Apple Server Hostage Crisis, and it looks like I'll started clean slate build #5. By way of background, I had a functioning ML/2.2.2 server that had RAID problems (and still does).  Attempting to rebuild array f

  • 11.1.1.5 - Measure labels are appearing in legend (line graph)

    I've created a line graph in 11.1.1.5. My legend is showing a combination of the column value and the measure name (e.g. Web Sales, Direct Sales, Retail Sales). I want my legend to simply say Web, Direct, and Retail, without the appended 'Sales' meas

  • 2 questions about this forum

    Since the forums have been reorganized (yeah, I know its been a while).  I never fail to be confused when I try to use them. For instance: 1) At the top of the list of questions for adobe Bridge general discussion, I see the Heading: "Trending Questi