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

Similar Messages

  • 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

  • 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

  • Time-indepement Scheduling agreement with reference to contract

    I want to attach pricing procedure to scheduling agreement, so I change LPA SA from time-dependent to time-independent.
    But after the change, I can't reference contract to create SA. error message as below "Contr. release order only allowed for sch. agmts. w. time-dep. conditions".
    How shoud I do to attach pricing procedure and create SA with reference to contract at the same time?

    Hi,
    please see the notes
    160630  - Conditions in scheduling agreement with reference to contract
    1046794 - FAQ: BAPI for outline agreement, questions 1 and 5
    1034912 -  MEMASSSA - document conditions are deleted  
    456691 - FAQ: Price determination in purchasing, question 4
    Regards,
    Edit

  • 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

  • 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.

  • BAPI for Outbound Delivery Creation with reference to Sales Order

    Dear all,
    I'm on R/3 4.6B platform and to develop an RFC for outbound Delivery creation instead of using the standard VL01N transaction.
    I've review BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N thread which suggest BAPI_DELIVERYPROCESSING_EXEC .
    However, in 4.6B, that function module doesn't exist. Appreciate any suggestion and or workaround.
    Thanks.
    Steven
    Edited by: Steven Khoo on Mar 25, 2010 7:13 AM
    Edited by: Steven Khoo on Mar 25, 2010 7:14 AM

    Not required anymore

  • 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

  • Error in modifying Schedule Agreement with reference to contract

    I have created a Schedule Agreement with reference to a contract manually.The contract is of type MK, while the SA is of type LP.
    The contract contains one Material which was successfully added to the SA.
    Now I am trying to automate the same using BAPI BAPI_SAG_CHANGE. This causes a short dump in the system -
    Runtime Errors       MOVE_CAST_ERROR
    Exception              CX_SY_MOVE_CAST_ERROR
    Short text              Dynamic type conflict when assigning references
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_MOVE_CAST_ERROR', was not caught in procedure "GET_CREQS" "(METHOD)", nor was it propagated by a RAISING clause. Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated. The reason for the exception is: It was tried to assign a reference to a rereference variable using the
        'CAST' operation ('?=' or 'MOVE ?TO'). However, the current content of the source variable does not fit into the target variable.
        source type: "\FUNCTION-POOL=MEOUT \CLASS=LCL_OUT_ITEM_SA"
        target type: "\FUNCTION-POOL=MEOUT\CLASS=LCL_OUT_ITEM_CON"
    Information on where terminated:
        Termination occurred in the ABAP program "SAPLMEOUT" - in "GET_CREQS". The main program was "RS_TESTFRAME_CALL". In the source code you have the termination point in line 105 of the (Include) program "LMEOUTP2F". The termination is caused because exception "CX_SY_MOVE_CAST_ERROR" occurred in procedure "GET_CREQS" "(METHOD)", but it was neither handled locally nor declared in the RAISING clause of its signature. The procedure is in program "SAPLMEOUT "; its source code begins in line 101 of the (Include program "LMEOUTP2F ".
    The following data was populated before calling the BAPI:(along with itemx table also)
    item-item_no
    item-agreement
    item-agmt_item
    The entire logic consists of updating the contract first with a new line item and then adding a line item in SA with reference to the new item in the contract.
    The contract updation is working correctly [BAPI_CONTRACT_CHANGE].

    Hi Bahrat,
    I am also facing the same issue now. Is this issue resolved for you?
    Please send the threads if any.
    Can anyone plz respond for the issue?

  • 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 for Outbound Delivery Creation with reference to Sales Order - VL01N

    Hi Everybody,
           We are in ECC 5.0 version.
           I want to create a enhancement for Outbound Delivery Creation with reference to a Sales Order.
           Is any BAPI available for this ?
           Any input on this will be very much helpfull.
           Please suggest any BAPI available for this, or should I go for BDC using VL01N or VL04 ?
           Thanks in advance.
    regards,
    Nagarajan.J

    Hi Nagarajan,
    The BAPI BAPI_DELIVERYPROCESSING_EXEC meets your requirement. You can create delivery with reference to sales order.
    The below is the sample code...
      data:lt_request      like bapideliciousrequest
                                    occurs 0 with header line,
           lt_createditems like bapideliciouscreateditems
                                    occurs 0 with header line,
           lt_return       like bapiret2
                                    occurs 0 with header line.
        lt_request-document_type      = 'A'.
        lt_request-document_numb      = vbeln.
        lt_request-document_item      = posnr.
      lt_request-material           = matnr.
      lt_request-plant              = werks.
      lt_request-stge_loc           = lgort.
      lt_request-quantity_base__uom = base_uom_qty.
      lt_request-delivery_date      = sy-datum.
      append lt_request.
      call function 'BAPI_DELIVERYPROCESSING_EXEC'
      EXPORTING
        DELIVERY_EXTEND       =
        TECHN_CONTROL         =
        tables
          request               = lt_request
          createditems          = lt_createditems
          return                = lt_return.
      loop at lt_return where type = 'A'
                          or  type = 'E'.
        exit.
      endloop.
      if sy-subrc <> 0.
    Use the BAPI for Commit
        call function 'BAPI_TRANSACTION_COMMIT'
             exporting
                  wait = 'H'.
      endif.
    Thanks
    Ramakrishna

  • Program for Creating Purchase Order with reference to purchase requisition

    Hi ,
    I need to Create purchase Order with reference to  Purchase requisition,
    in my case i need to automize the Process which is happening in MD04,
    Can you please suggest me ?
    Thanks ,
    Murali

    Hi,
    Plz check this link. It will be helpful to you.
    Purchase order creation with reference to PR
    We can also create the PO Using the BAPI_PO_CREATE1 function module.
    In this function module fill up the all necessary Details.
    With details in Item Table we haveto give the Fields PREQ_NO and PREQ_ITEM for each item .
    then it will creates the PO with PREQ.
    Thanks & Regards,
    Sarita Singh Rathour
    Edited by: Sarita Rathour on Aug 3, 2009 7:01 AM

  • Create sales order with reference to contract

    Hi,
    I have to create sales orders with reference to a contract. When I do the recording on lsmw the line items in the sales order are assigned a number from sap. I need to keep the line item numbers the same as per the contract.
    Any advice appreciated.
    Regards,
    Warren.

    found answer

  • BAPI or FM for creating transfer order with reference to reservation

    hi
    i need a BAPI or FM to create a transfer order with reference to a reservation. I tried BAPI_GOODSMVT_CREATE but the problem is it does not support movement type '311'. is there any FM or BAPI to use movement type '311' and create a transfer order with reference to a reservation? pls help

    Hi,
    Try Using WM_CREATE_GOODS_MOVEMENT first use this and later use any of the TO create FM.
    Thanks & Regards,
    YJR

  • BAPI FOR CREATING SALES ORDER WITH REFFERENCE TO QUOTATION

    Hi All,
    I am creating sales order with refference to quotation by using bapi "BAPI_SALESORDER_CREATEFROMDATA".Able to create sales order but its not refferencing qutation.Is there any other bapi for this scenario.Please guide me.
    Regards,
    Suresh

    Hi ,
    Thank you for giving reply I tried by using bapi BAPI_SALESORDER_CREATEFROMDAT2 after execution it giving sales order number but when I am trying to see that sales order system is giving error message as document is not exist.
    Please guide me.
    Suresh

Maybe you are looking for

  • ORA-39126: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS

    Hi! Running Oracle 11.1.0.7.0 on HP-UX B.11.31 Patch level: OPatch version : 11.1.0.6.2 OUI version : 11.1.0.7.0 Interim patches Patch 7690421 Patch 8217795 I was trying to impdp an expdp dump from an identical system (architecture and DB wise) and g

  • IMac 27" Strange Screen Marks Behind Glass

    Hi I've had my 27" iMac since march this year, yesterday I noticed that there is a strange yellow/brown blotchy patch in the top right hand corner, it is not on the front of the glass (it cant be wiped off) its on the INSIDE! I tried to take some pic

  • How to create the Presistent store in NFS mountpoint

    HI  Everyone, Our requirement is we have to configure the Persistent store in NFS mount point, Please advise regarding this. Our Environment: Linux64bit, Weblogic 10.3.6, SOA 11.1.1.7, 11.2.0.3 DB 1 Admin Server 2 Managed Servers Node1: soa_server1,

  • Can I use IF-RIO with LabVIEW 8.20

    I am going to upgrade my LabVIEW to 8.20 but I am not sure whether the driver of IF-RIO can work with it properly. Does anybody know this?

  • Now able to go Managed system in BPM when i  Double Click on counter field

    Hi all Step: call DSWP u2022 choose your solution u2022 choose Operations Setup -> Business Process Monitoring u2022 choose u2018Setup Business Process Monitoringu2019 Local RFC Destination for Data Collection -statu is green u2022u2018Load Monitors