Current Position:Home > Creating contract reference with Quotation - using bapi or fm

Creating contract reference with Quotation - using bapi or fm

Update:11-30Source: network consolidation
Advertisement
Hi Friends
Currently I am creating contract using function module sd_saleorder_create function module.But as per new requirement we have to create contract referenced with quotation number.
Please suggest the suitable bapi or function module.if you suggest some thing ..kindly let me know?
how to create contract referenced with particular line item in the quotation.
where I need to pass the referenced line items...if you need any inputs..will reply by tomorrow...
thanks
Gowrishankar

The Best Answer

Advertisement
gowrishankar p wrote:
Hi Friends
>
> Currently I am creating contract using function module sd_saleorder_create function module.But as per new requirement we have to create contract referenced with quotation number.
>
> Please suggest the suitable bapi or function module.if you suggest some thing ..kindly let me know?
>
> how to create contract referenced with particular line item in the quotation.
>
> where I need to pass the referenced line items...if you need any inputs..will reply by tomorrow...
>
> thanks
> Gowrishankar
is it really SD_SALEORDER_CREATE? if yes, which version are you in?
Have you thought about 'BAPI_CONTRACT_CREATEFROMDATA'. Documentation available for this bapi.
If not, just an FYI, REF_DOC field in (BAPISDHD1) -Contract_header_in structure can be used to pass the ref document and check for the type. You will also need to pass the type for this ref_doc.
Assuming you have the configuration in place already.
Search forum for this BAPI to get the sample code.
  • Creating contract reference with Quotation - using bapi or fm Update:11-30

    Hi Friends Currently I am creating contract using function module sd_saleorder_create function module.But as per new requirement we have to create contract referenced with quotation number. Please suggest the suitable bapi or function module.if you s

  • Remove Header text from a sales order, created with reference to quotation Update:10-11

    Hi all, I have a sales order(in VA01) which is created with reference to quotation (in VA21). If header text (Notes for logistics, Note for responsible person, Header text Doc & Declaration) in texts tab is maintained in the quotation they are gettin

  • Creation of sales order with reference to Quotation using BAPI Update:10-11

    Hi All, I am using BAPI "BAPI_SALESORDER_CREATEFROMDAT2" for creating sales order. Can you please tell how can I create a sales order with reference to a Quotation.Vinit, In your header structure, set like this:   hdr-REF_DOC = i_order-vbeln.  &

  • Referencing Sales Order to a Quotation via BAPI Update:11-30

    Dear all, I encouter problems to reference a Sales Order to a Quotation when I try to use the SAP BAPI 'BAPI_SALESORDER_CREATEFROMDAT2'. Even though later when I managed to create the referencing on both the Sales Order Header and Sales Order Line to

  • Changing quantities in sales order with reference to quotation Update:10-11

    Hi, Quotation has been created for Product -- A, 10 quantities. Sales order created with reference to quotation, system copies 10 quantity in sales order. How do you restrict in sales order end user should not change quantities, system should not all

  • How to change Sold-to party in S.O when creating with ref to Quotation Update:10-11

    Dear All, We are creating Sales Orders with reference to Quotation. The requirement is that the same quotation will be used for different sold-tp parties when creating sales order. Currently the System does not allow to change the Sold-to when creati

  • Invoice creation with reference to quotation Update:11-30

    Hi, I have a specific requirement where my client want invoice can be created with reference to quotation. What kind of configuration is required in copy control? Please guide. Regards, BalajiHii First of all make copy control in VTFA with ur Quotati

  • Error while copy with reference of quotation to Sales Order Update:11-30

    Dear All I am creating the sales order with reference to quotation . while , doing so , I get an error of Customer not maintained in Distribution channel - 'D1' . The Quotaion is having following structure Sales Organisation -- AAAA Distribution Chan

  • Problem in Sales order create using BAPI with reference to quotation Update:10-11

    Hi, I am creating a sales order from Quotation using BAPI /AFS/BAPI_SALESORD_CREATEFDATA. The Sale order is getting created and the document flow is updated. When i check the status of quotation it is "OPEN". Ideally when a sale order is created

  • Create contract with Purchase Requisition reference using BAPI Update:10-11

    Hi friends! I need some help here to create a contract with reference to some purshase requisition. I found BAPI_CONTRACT_CREATE to do this, but I have no idea how to do to create with reference to pruchase requisition. Anyone can give me a sample co