BAPI to create equipment hierachy with reference to another equipment

HI,
is there any BAPI to create equipment hierarchy with reference to another equipment.
i.e. in selection screen i pass two equipments, one has hierachy and another one don't have hierarchy.
then it copy hierachy first equipment hierarchy and create same hierarchy for second equipment.

Hi,
There are no standard BAPI to do that.You will have to create a custom program which would read the current equipment hierarchy and build the hierarchy from the lowest level, by using the equipment create BAPI and  Equipment install BAPI.
Regards
Narasimhan

Similar Messages

  • BAPI to create sales order with reference to another sales order

    hi all,
    is there a bapi that allows you to create a sales order with reference to another sales order?
    thanks,
    V

    Hi Valencia,
    I think the normal BAPI (BAPI_SALESORDER_CREATEFROMDAT1)will do. You will have to fill the fields REF_DOC, REF_DOC_IT, REF_DOC_CA of the table ORDER_ITEMS_IN (and make sure that Customizing settings allow you to copy from order to order).
    Regards,
    John.

  • BAPI for creating scheduling agreement with reference to Contract agreement

    Hi All ,
    Can anyone please suggest if there is any BAPI for creating scheduling agreement with reference to the contract agreement number.
    Thanks for your help.
    Vadivukkarasi

    Hi,
       Check this BAPI <b>BAPI_AGREEMENT_MAINTAIN.</b>
    check these
    BAPI_CUSTSCHEDULAGREE_CONFDELV Customer Sched. Agreement: Confirmation of Delivery; Document Flow Upd
    BAPI_SALES_DEL_SCHEDULE_CREATE BAPI for creation of releases in scheduling agreements
    Regards

  • BAPI For CREATE SALES ORDER WITH REFERENCE TO ORDER

    Hi ,
    I want to develop a new RFC for 'Creating Sales Order' with reference to another sales order -
    Is there any BAPI available for the same ? (Version 4.7) - I know its available for new create and change
    but couldn't find for create with reference to Order ...
    Thanks in advance ...
    Regards
    Rajesh.

    Hi,
    You can use this FM "/SAPNEA/SMAPI_ORDER_CREATE". I haven;t tried this but you can still give it a try. Mention the Reference Order Type and other data in the header work area and pass it to the FM.
    Reward if it's useful.
    Thanks,
    Anil

  • Using BAPI_PO_CREATE to create a PO with reference to another PO.

    Hi, I am using BAPI_PO_CREATE to create a PO with reference to another PO, in the po_header_add_data, I have done this: po_head_add-our_ref = p_ebeln.
                 CALL FUNCTION 'BAPI_PO_CREATE'
                       EXPORTING
                            po_header             = po_head
                            po_header_add_data    = po_head_add
                            skip_items_with_error = ''
                       IMPORTING
                            purchaseorder         = po_nbr
                       TABLES
                            po_item_schedules     = po_item_schedules
                            po_item_text          = po_item_text
                            po_items              = poitem1
                            return                = return.
    But when I have created the PO, in the our reference field, it is space? Why? If I want to fill the the our reference  with the another PO, how should I do?

    NULL

  • Creating an order with reference to another doc

    I want to create an Order with reference to another document.....in other words it should be a copy of the other document...
    Any ideas of what function modules we have to use and how we can acheive it...

    Hi Vin
    Creating a Sales Order from a Sales Order Quotation is SAP Standard so really should not be an issue for you.
    You do need to maintain the Copy Control Configuration as per my previous reply.
    Define Copying Control for Transaction Types
    Define Item Category Determination when Copying
    Effectively the details of your Transaction Type for Sales Order Quotation will copy into your Sales Order transaction.
    I'm used to working in an environment where the user manually decides to then continue with a follow-up transaction, therefore I'm not too sure which Function Modules you need to use in order to do this automatically.
    But you are on the right track.
    Regards
    Arden

  • Bapi To create sales order with reference of sales order.

    Hi all,
          Having requerment To create sales order with reference of onother  open sales order.
    Example: there open sales order which having qty of 20 for that 10 qty as already billed , for remain  10 qty as to create the new sales order with reference to the excsiting one.
    Please guide me how do it.
    Regards,
    Santosh
    Edited by: santosh jajur on May 15, 2010 11:47 AM

    Hi Santhosh,
    check this thread.
    Re: Open Sales Order Migration
    The last part of the thread says done.
    hope you get a hint from that.
    Also this one
    Re: how to create open sales order using BAPI....?
    http://abaplovers.blogspot.com/2008/02/bapi-sales-order-create-code.html
    Regs,
    SuryaD.
    Edited by: SuryaD on May 15, 2010 9:09 PM
    Edited by: SuryaD on May 15, 2010 9:10 PM
    Edited by: SuryaD on May 15, 2010 9:11 PM

  • BAPI to create Sales Order with reference to contract

    Hi All,
    I am trying to create Sales Order with reference to Contract, but although the
    order gets created, it does not contain reference document information. 
    The BAPI I am using is BAPI_SALESORDER_CREATEFROMDAT2. 
    Would someone know which parameters I have to papulate,or have any other suggestion
    how to accomplish my task? 
    Thank you so much, 
    Mayank

    Hi - Try Filling these three fields in the Item details.
    REF_DOC
    REF_DOC_IT
    REF_DOC_CA
    Reward points if helpful

  • BAPI-To create production orders with reference to sales order & item

    Hi,
    Can anyone tell me which is the best method to create open production orders?
    Is there any BAPI available for creating production orders with reference to sales order & item.
    I tried this BAPI "BAPI_PRODORD_CREATE".
    I am getting pop up to enter serial number while executing the custom program.
    Which table contains the serial number(effectivity parameters)?.

    I have custom screen fields on notification service!
    i think a bdc is better.

  • Create business partner with reference of another business partner

    Hi all,
    I want to create a business partner with reference of another BP in CRM 2007 from Web UI, please advise whether it is possible or not, if not ...why it is not possible?
    Looking forward for your reply!
    Regards,
    Silpa.

    Hi Silpa,
    In the standard, this isn't possible with the BP. However, you can create a customer as a reference of another existing customer, and then sync this new customer into a new BP. So you can do this indirectly,.
    If you want to create a BP directy as a reference of another BP - sorry, this isn't possible. You would need to copy the BP into another BP using a custom report. You can develop your report along these lines :
    1. The easiest way is to use APIs. Start by calling BUPA_CENTRAL_GET_DETAIL usign the BP number. THis will give you all the central data for the BP - e.g. name, etc. Now, merely feed the output of this module into the module BUPA_CREATE_FROM_DATA. This will create a new BP with the same data of the old BP.
    2. Now that the main BP is ready, you need to start copying the individual datasets - addresses, bank details, roles, Id, industry,etc. This is tricky - the ADD apis - BUPA_ADDRESS_ADD, BUPA_ROLE_ADD, etc can only create one record in a call. So, you need to first get the data of the reference BP using the GET_DETAIL api e.g. : BUPA_ADDRESS_GET_DETAIL, then loop at each returned record, and pass that into the corresponding ADD BAPI.
    3. Be sure to call BAPI_TRANSACTION_COMMIT at the end to commit the data to the DB.
    I hope this helps you.
    Cheers,
    Rishu.

  • Creating a Invoice with reference to another invoice with new pricing proce

    Hi People,
    I want to raise a supplimentary excise invoice for the differential price.
    I want to do it by raising a supplimentary commercial invoice with reference to the old invoice but with a new pricing procedure assigned to it.later on raise the supplimentary excise invoice with Tcode j1iin wrt the new commercial invoice.
    Although i have done all the necessary configurations such as determination of new pricing procedure, Doc pricing Procedure and changing the pricing type at the copy control settings of the item category to "B".
    i am unable to get the new pricing procedure when i am creating the supplimentary commercial invoice.
    Can u people suggest me in this regard

    Dear Nagabhushan
    Normally for price difference, there is an order type RK for "Invoice Correction Request" which should be created in reference to F2 billing document.  Based on this, you can issue credit memo (document type G2). 
    This being the case, you cannot create supplimentary invoice with reference to original invoice.  Moreover, for all excise related adjustments, you should not use j1iin.  You should run j1ih - Other adj.
    thanks
    G. Lakshmipathi

  • FM to create Sales order with reference to another Sales order

    Hi,
    Is there any inbound IDOC FM which can create a Sales Order with reference to another Sales order.
    PLease reply
    Santhana M.

    Hi,
    try FM BAPI_SALESORDER_CREATEFROMDAT2
    with ORDER_HEADER_IN fields
    REFOBJTYPE
    REFOBJKEY
    REFDOCTYPE
    Regards,
    Clemens

  • BAPI to create notification service with reference to sales order

    Hi,
    My need is to create a service notification TC IW51 with reference to sales order (credit memo request).
    is there a bapi to do this or i must do a bdc?
    please help.
    A+
    Ihsen ABROUG

    I have custom screen fields on notification service!
    i think a bdc is better.

  • Function module for Create service order with reference to sales doc (RAS )

    Hi All,
    I have to create a service order (type SM03) with reference to sales document (doc type RAS, in other way it is called as repair order).
    I have used function module 'ALM_ME_ORDER_CREATE' && 'CO_ZV_ORDER_POST' to create service order and its working fine but problem is that i am not able to create linking between repair order and service order.
    Can anyone suggest me function module, BAPI to create service order with reference as sales document (RAS) so that all related details of sales document will automatically reflect to service order..
    Sumit

    Try this function module BAPI_ORDER_MAINTAIN. Just search with BAPI_ORDER* in SE37 you will get some more functions.
    Regards
    Kathirvel

  • Creating a PO with reference (using document overview) with ref to a PO?

    Is this feasible to create a PO with reference to a PO ?????

    Hi Maria,
    Creating a PO with reference to another PO is possible even without the doc. overview. If you scroll your item overview long to the right you will find the columns "Purchasing document" and "Item" aside it (4th nd 3rd columns from the right in my version). Type in your referenced PO number there and the item and press Enter.
    However, I don't think this will help you. If you are not allowed to create PO with reference to another PO, you will not be able to "cheat" on the system. Such limitation is normally introduced by "Functional auth. for buyers": IMG for Purchasing > Authorization Management > Define Function Authorizations for Buyers. Check the frame "Possible Reference Objects". The two-digit key of the "func. auth." is assigned to your user using the parameter ID EFB.
    BR
    Raf

Maybe you are looking for