Can u tell me any bapi to create the purchase req with sales order as refer

can u tell me any bapi to create the purchase req with sales order as reference?

Hi Mukesh,
You can use 'BAPI_REQUISITION_CREATE' for the purchase requisition creation if through transaction, you use transaction ME51N for creating the purchase requisition.
Cheers,
Sujay

Similar Messages

  • Budget control in project WBS'e  while creating the auto PR from Sale order

    Hi experts,
    we are creating the auto pr from sales order for trading process with budget wbs element. but commitment is not posted in project wbs were as pr is created through sale order
    pls suggest if any additional setting is required  to post commitment while creating auto pr from sale order.
    rgds
    rajesh

    Check account assignement categories in SD for PR creation and See if you can make PR to be created with WBS as account assignement like we do in OPTT.

  • Bapi for creating message type in a sales order

    Hi, I am involved in a IS-MAM project for an italian company.
    I need to create or add a message output type in a sales order in a complex batch program. I thought to use a bapi technicality; in particular BAPI_ADMGMTSO_CHANGE in order to change the document.
    How can I create message type in the order? Can I use the same bapi or I need of an other one?
    thanks in advance for your help
    Lucia

    Can you please provide more information...

  • CRM - Bapi for creating relationship between BPs with sales area data

    Hi
    I am looking for BAPI for creating relationship between business partners with sales area data in CRM 5.0.
    Example - I would like to create relationship type CRMH03.
    Bapi BUPR_RELATIONSHIP_CREATE does not allow for maintaining sales area data (Sales org, distribution channel, division).
    Does anybody know such a bapi?
    Regards
    Radek

    Hey Radek,
    I am actually looking for the same functionality. Were you able to find a solution although no one replied to your question in this thread? If so, it would be very helpful for me to know. Maybe you have to combine more BAPIs in order to add the organization information to the relationship. But I have no idea how.
    Best Regards
    Mirko

  • Create the Header Text In Sales Order Header

    Hi All,
    I want to create a new header text in the sales order header level, Would you mind give me some manual to create this ?
    Regards,
    Luke

    Hi Luke,
    Please goto T-code VOTXN->Sales Document->Header->Text object     VBBK
    You could create Text ID and access sequence.
    Assign the access sequence to text ID.
    Assign the text ID to the procedure.
    Assign the procedure to sales order type.
    Please also refer the following online documentation:
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/55f993545a11d1a7020000e829fd11/frameset.htm
    Hope it helps.
    Regards,
    Smile
    Edited by: Smile Zhang on Jul 3, 2008 7:22 AM

  • BAPI to Update the OA/PO with the new partners from vendor masters

    Hello All,
    We got a requirement to update the Contract or purchase order with new partners from vendor  master.
    In brief the partner information of a  PO when created with reference to a contract  will be reflected from the contract but not from Vendor Master partners .So when the vendor master got changed after the creation of the Contract the partner information in the PO is not in synchronous with Vendor Master partnes.
    Hence please help us with any BAPI to update the PO partners with Vendor masters .
    Regards
    Kalyani

    MAP2e_lfa1_to_bapivendor_04
    MAP2e_lfa1_to_bapivendor_05
    will be helpful

  • Not able to create the purchase requisition for the subcontracting process

    Dear Gurus,
    There is a process order with the component which is to be handled in the subcontracting .Earlier we are able to create the purchase requsition with the creation of the process order .But recently I am not able to do so .I am getting the "The value of the field Reservation/Purchase requsition as Never" .I have checked with the settings in the procurement type in the MRP2 view of the material master  which is "X" ,the validity of the outline agreement and contract  which is OK.Can you please help on this.

    Hi Venkata,
    Check this links:
    http://help.sap.com/saphelp_nw70/helpdata/EN/84/0cb892edfbc34290c1685132006662/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/58/54f9c1562d104c9465dabd816f3f24/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/f3/914f3445194d468f652d45494230b1/content.htm
    Which database and OS is your BW server on? Not all of them are supported for SQL server
    Hope this helps.
    Regards,
    Diego

  • Can u tell me any predefined BAPI for change and creation of Material

    Hi,
        Can anybody tell me  predefined BAPI for change and creation of Materialmasterand Pricing?
    Thanks & regards,
    Gopianne.

    you can use the BAPI to BAPI_MATERIAL_SAVEDATA create as well as to change material master.
    When changing material master data, you need enter only the material
    number.
    In the header data, you must select at least one view for which data is
    to be created. Depending on the view selected, you must maintain other
    required parameters. If you do not enter values for all of the required
    parameters, the method is ended with an error message.
    The corresponding fields in the tables (such as CLIENTDATA) must first
    be supplied with data by the calling program. An indicator must also be
    set for each of these fields so that the data is written to the database
    by the method. This requires the calling program to supply the
    corresponding field with the indicator in a checkbox table (for example,
    CLIENTDATAX). Checkbox tables exist for tables that do not contain any
    language-dependent texts (MAKT, MLTX), International Article Numbers
    (MEAN), or tax classifications (MLAN). Several data records for a
    material can be created in these tables.
    regards
    vivek
    reward points if it helps

  • Please! can anyone tell me if after I create a site with adobe muse, is there anyway for my client t

    Please! can anyone tell me if after I create a site with adobe muse, is there anyway for my client to edit and update text and to a lesser extent images on the website?
    I don't care if the client text/image editing and updating doesn't update in my Adobe Muse, as long as my client can update the text online.
    Please help me answer this question, I have used adobe for decades (2) and am a print designer. I want to use Muse for websites but if my clients can't update text and images, I don't see how I can make it work.
    If I have to use Business Catalist too; I don't care. I just want to be able to use this great software.
    Sorry if I soud desperate but I'm holding on starting a website for a new client and need to get this answered first.

    At the moment you can't using Muse's widgets, though you can insert html! So, you could have photo galleries linked to flickr that the client can update to, for example. I'm sure there are other options for slicker slideshows that can be updated client side!
    For text, I'm too much of a novice, unless you were wanting a blog style: http://www.muse-themes.com/blogs/news/7257782-creating-a-blog-in-adobe-muse-powered-by-nab ble
    Basically, I think you need to find the right html to embed for your purposes

  • I need a BAPI or function that can create a PO without the purchase req.

    I need a BAPI or function that can create a PO without the reference to a purchase requisition. We are creating "direct POs" (with no reference to PR) manually. And we have a large amount of documents to create. I can't figure out if BAPI_PO_CREATE and BAPI_PO_CREATE1 can help us by doing this, because I've understood this BAPIs creates POs only with the reference to a purchase requisition.
    Thanks in advance!!
    Sebastian

    Sorry I'm late guys, I couldn't replay your posts because I was busy.
    Charlie,
    ...just because we have the data already in the SAP system.
    My client doesn't want purchase requisitions to be created from the PM orders. Instead he asked us to create the purchase workflow by generating direct purchase orders from the PM orders, basically taking the information from the purchase agreement within the order's tasks. Maybe you don't understand a bit what I'm saying, but let me get this straight: we can't use LSMW because data doesn't come from a legacy.
    Ian,
    ...after all, and like you've said, we're gonna use BAPI_PO_CREATE1 for creating the POs. Today I finally realized that, purchase requisitions aren't mandatory for the bapi to perform the process. If something goes wrong, I'll let you know.
    Thanks anyway for your attention.
    Sebastian

  • ANy BAPI to create Purchase order

    Hi,gurus,
    Is there any BAPI to create PO.Pl send to me along with the sample code.
    Gratefull answeres will be awarded.
    Regards,
    Venkatesh
    9892 895847

    Hi
    Use the bapi: bapi_po_create1 for creating the purchase order.
    Pass the parameters like below:
    header-comp_code  = p_comp.
      header-doc_type   = p_dtype.
      header-creat_date = sy-datum.
      header-item_intvl = '10'.
      header-vendor     = p_lifnr.
      header-langu      = ws_langu   .
      header-pmnttrms   = p_pmnt.
      header-purch_org  = p_porg.
      header-pur_group  = p_pgroup.
      header-currency   = 'INR'.
      headerx-comp_code  = c_x.
      headerx-doc_type   = c_x.
      headerx-creat_date = c_x.
      headerx-item_intvl = c_x .
      headerx-vendor     = c_x.
      headerx-langu      = c_x.
      headerx-pmnttrms   = c_x   .
      headerx-purch_org  = c_x.
      headerx-pur_group  = c_x.
      LOOP AT it_final2 INTO wa_final2.
        p_int = p_int + 10.
        wa_item-po_item  = p_int.
        CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
          EXPORTING
            input        = wa_final2-matnr
          IMPORTING
            output       = wa_final2-matnr
          EXCEPTIONS
            length_error = 1
            OTHERS       = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        wa_item-material = wa_final2-matnr.
        wa_item-plant    = p_werks.
        wa_item-quantity = wa_final2-kwmeng.
        wa_item-tax_code = 'V0'.
        APPEND wa_item TO it_item.
        wa_itemx-po_item    = p_int.
        wa_itemx-material   = c_x.
        wa_itemx-plant      = c_x .
        wa_itemx-stge_loc   = c_x .
        wa_itemx-quantity   = c_x .
        wa_itemx-tax_code   = c_x .
        wa_itemx-item_cat   = c_x .
        wa_itemx-acctasscat = c_x .
        wa_itemx-tax_code   = c_x .
        APPEND wa_itemx TO it_itemx.
      ENDLOOP.
      p_pono = ' '.
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader         = header
          poheaderx        = headerx
        IMPORTING
          exppurchaseorder = p_pono
        TABLES
          return           = return
          poitem           = it_item
          poitemx          = it_itemx.
    For better understanding see the function module documentation of the bapi: bapi_po_create1.
    If it is helpful rewards points
    Regards
    Pratap.M

  • Are there any bapi for create Business Partner

    Dear Sir,
    Do you know  are there any bapi for create Business Partner in CRM
    Please advise.
    Thank you and best ergards,
    Vimol

    Dear Vimol,
    BAPI_BUPA_CREATE_FROM_DATA     ......SAP BP, BAPI: Create Business Partner
    BAPI_BUPA_FS_CREATE_FROM_DATA  .......SAP BP, BAPI: Create Business Partner
    BAPI_BUPA_FS_CREATE_FROM_DATA2 .......SAP BP, BAPI: Create Business Partner
    Hope this will help.
    Regards,
    Naveen.

  • Can u  tell me any of you how to use Date class

    Can u tell me any of you how to use Date class. Please send me the source code.

    People won't send you the source code.
    Ask specific questions. You are very vague.
    Tell me how to build.

  • Hi Can you tell me any datasource whcih has both action type and wagetype.

    Hi
             Can you tell me any datasource or cube or multiprovider whcih has both action type and wagetype.
    Edited by: manukonda anil kumar on Oct 11, 2010 1:45 PM

    hi Manu,
    I think this question has been answered check the below thread.
    Datasource in HR which has both payroll and wagetype.
    Regards
    Kp

  • How to create Delivery with sales order FM/BAPI

    Hi Gurus,I'm new to  SAP  platform
    I have created sales order ,
    with this i need to create Delivery(vl01n)
    so i need to give 'Shipping Point','Selection Date','SD Number'
    so could any one tel me which FM/BAPI is suitable to create
    Outbound delivery with 'sales order number', 'Selection date' and
    "Plant or Shipping Point'.
    With these Import parameters i need  FM/BAPI .
    Thanks  in Advance
    Siva Kumar kasa.

    I   have created delivery  with  that  BAPI 
    giving   'batch number'  but  it was  not  updated,so  can u tel me
    any related field  which need give to change batch field  also.

Maybe you are looking for

  • How to set-up printers in Snow Leopard???

    I installed Snow Leopard (10.6) on one of my full backup external La Cie Hard Drives. It took about an hour to install-- and everything seems fine-- I enjoy the slider in windows to get icons to 512 size. OK BUT how to set-up my ethernet connected Ap

  • How to back up iTunes music so it can be re-imported with Info intact?

    After downlaoding latest i Tunes [how I hate to see that notification, "new version available"], lost a whole load of tracks and all Playlists. DOUBLE BAH!! Took days to sort out problems with iTunes, but done now. [Not before I joined "iTunes *****"

  • QuickTime 10 player controls annoying, can they be changed?

    Hi, The new player for QT10 has the player controls sitting on top of the actual video window, they do fade away and disappear once you hit play and move the mouse off the player, however, when the mouse is over the video window or the video is pause

  • Can we change language of our ADD ON as per SAP b1 language

    Hello Expert     I want to change the language of our ADD_ON  as like SAP B1 .i want whenever sap b1 language change as per country that time our add_on should convert language as like SAP b1 language like(labels, Headings)    is it possible.please h

  • Keeping a title and table together?

    I have an xml file building a multiple tables. The form looks like Tablessubform containing category and EntryTable Tablessubform repeates per category and fills out the category name The entry table contains multiple rows of entries growing based on