Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

sales order with reference to the invoice

Former Member
0 Kudos

How can we create a sales order with reference to the invoice

7 REPLIES 7

Former Member
0 Kudos

hi Kunal,

I really doubt, if that kind of a functionality is avlbl in SAP.

It is possible to create an invoice w.r.t to a Sales Order but not the vice-versa.

I hope this helps.

Rgds,

Raghu.

Former Member
0 Kudos

Hi,

1. Create sales order

This process step can be triggered as follows:

...

The customer accepts the quotation and places an order.

You create a sales order with reference to a quotation. For more information, see Structure link processing Quotations. The system copies the items from the quotation.

You create a sales order. This is also possible without performing the previous steps.

2. Enter products

You enter products requested by customers.

Note

If necessary, you can configure products again for every item of the sales order. You can find more information in the business scenario variant Structure linkQuotation and Order Management (Configure-to-Order) and under Structure linkProduct Configuration in the Sales Transaction.

3. Check availability, schedule order and create requirements

The system triggers an availability check and scheduling in SAP APO for every order item in SAP CRM. The confirmed quantities and dates are confirmed by SAP APO to SAP CRM, and saved in the sales order (see Structure linkAvailability Check in the Sales Order). At the same time, a customer requirement is created in SAP APO.

Note

You can also execute the availability check in SAP R/3. You can find more information under Structure linkAvailability Check with SAP R/3.

4. Maintain and determine conditions

The system determines the prices and the value of individual items. If necessary, you can process these. For more information, see Structure linkPricing.

5. Perform credit check

SAP R/3 executes a credit check based on the results of pricing in SAP CRM. The result of the credit check is confirmed in SAP CRM, and saved as the credit status at item level. For more information, see Structure linkAutomatic Credit Check.

6. System replicates sales order

After the sales order has been saved in SAP CRM, complete and without errors, it is replicated for logistics processing in SAP R/3. Order data is transferred together with confirmed scheduling lines to SAP R/3.

7. System receives sales order

After replication to SAP R/3, you can change the sales order in SAP CRM and SAP R/3. You can find more information on this under Structure linkData Exchange for Sales Transactions: CRM Enterprise - SAP R/3

8. Send order confirmation to customer

You can send the order confirmation either electronically, or in print to the customer. You can find more information under Structure linkSales Order Confirmation by E-Mail.

9. Monitor status of order

PS: Do award points

Former Member
0 Kudos

Yes, you can create a sales order with reference to Invoice. It is called as RETURN ORDER.

Use the BAPI:

BAPI_CUSTOMERRETURN_CREATE to create the Return Order.

Check the link below:

[Return Order|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/return%2border%2busing%2bbapi]

Regards

Kannaiah

Former Member
0 Kudos

Hi shah kunal ,

Go to transaction VA01.

Give the order type.

Click the button Create with reference.

In the popup that appears select the billing doc tab.

Give the invoice number,

Push the copy button.

A sale order will be created with reference to the invoice .

Regards,

Charumathi.B

Former Member
0 Kudos

hi,

If U meant a RETURNS ORDER, then there is a whole lot of settings to be done, before U can ref to the invoice for the creation of the RE ORDER.

Rgds,

Raghu.

Former Member
0 Kudos

My exact requiremnt is that on saving the invoice a sales order must be created which must be dependent on the invoice.And this sales order must generate a credit memo(invoice).I need to write a program for this requirement.Shall I use a BAPI to create a sales order?But then how do I make sure this sales order is dependent on the invoice and also how do I then create a credit memo from this sales order?

0 Kudos

Its not the sales order, it is called as Return Order.

For the customer invoice will be generated and once the goods are shipped to customer, if there are any parts that need to be replaced or any part is damaged, he will send the parts back to the client based on the invoice. Here the client will create a return order based on the Invoice.

In the sales order if there are any Service items, a purchase order shall be created. So based on the customer invoice, Sales order will be fetched and then the corresponding Purchase Order and for the Purchase order a credit/debit memo will be created.

For the Return Order: BAPI_CUSTOMERRETURN_CREATE

MIRO Invoice: BAPI_INCOMINGINVOICE_CREATE

Check the link below:

[;

Regards

Kannaiah

Edited by: Kannaiah Kavuri on Jun 24, 2008 11:54 AM