Create sales order with billing document reference
Hi All,
I want to create a credit memo order with refernce to a billing document. As already configured, everything is working fine. The managements now wants a new modification in which the value of the credit note should be posted into a separate GL code and not the sales GL account. In order to achieve that i have made a new pricing procedure with a different accounting Key. How can i link the new pricing procedure in the credit memo order because if i create the credit memo order with reference, it copies the old pricing procedure.
SAPXPT
Hi,
Pricing Procedure get picked up based on the settings you have done in, OVKK transaction.
If you look at that, you have enter a combination of sales area, document pricing procedure & customer pricing procedure against a pricing procedure.
So when determining it goes and check the Doc pricing procedure of your sales document type (Which is your Credit Memo Request)
Then it checks about the Customer Pricing Procedure specified in the Customer master of your Credit Memo Request
Then it comes to OVKK and check the valid combination and determine the relevant procedure.
So You have to create a new Document pricing procedure for your Credit Memo Document Type first.
Then Assign that to your Credit Memo Document Type
Then create the relevant combination with the customer Pricing Procedure in OVKK.
Now test from a fresh data set.
It should be OK.
Best regards,
Anupa
Similar Messages
-
Create Sales Order With Reference to Billing Document Using BAPI_SALESORDER
Hi,
How can i create a sales order With Reference to Billing Document Using BAPI_SALESORDER_CREATEFROMDAT2?
Thanks in advance,
Alejandro.I have to create sales order with reference to existing billing document. I have tried to following bapis.
1. BAPI_SALESORDER_CREATEed
I have successfully created document with following details.
-->ORDER_HEADER_IN:
DOC_TYPE = ZRK
SALES_ORG = 3000
DISTR_CHAN = 00
DIVISION = 00
ORD_REASON = 100
SD_DOC_CAT = L
CURRENCY = EUR
REF_DOC = 100000028
REF_DOC_CA = M
-->ORDER_ITEMS_IN:
ITM_NUMBER = 000010
MATERIAL = 701791
TARGET_QTY = 0000000001000
CURRENCY = EUR
REF_DOC = 100000028
REF_DOC_CA = M
-->ORDER_PARTNERS:
PARTN_ROLE = SP
PARTN_NUMB = W12001
COUNTRY = NL
by providing this input i am able to create the document but it is not picking up the net value. so i have passed some extra paramters in ORDER_ITEMS_IN
COND_TYPE = PNET
COND_VALUE = 14,56
COND_D_UNT = PC.
folowing error is occured: Condition PNET is missing in pricing procedure A V Z0000.
is it something related to configuration problem?
2.BAPI_SALESORDER_CREATEFROMDAT1 or BAPI_SALESORDER_CREATEFROMDAT2
I have used same test data that is used for BAPI_SALESORDER_CREATEFROMDATA (where in i coudl succefully create doc). but here i encounterd following error.
Unpermitted combination of business object BUS2032 and sales doc. category L. -
Error while creating the sales order with billing reference
hi alll
i am getting error while creating the sales order with billing reference.The line items are coming in grey.I am not able to change the items as well as the quantity field.Can u guide me
cheers
shalsa007........Dear SAP SD 007
I can confidently tell that an enhancement or an user exit has been applied in your scenario
You have to check that
Normally when creating a sales order with respect or referring billing documents the qty will be in editable mode and it is standard problem
Your people has solved the standard problem by enhancement
Usually OR--LF-PGI----F2 (SAY THE QTY IS 25 UNITS)
Now you are creating returns order with reference to F2 in the return order type Re there is a standard issue that user can edit the qty to 30 from the original 25
To solve this only your people have used userexit
Line items and qty greyed out means definately there is some enhancement or user exit applied
You have to check that
Regards
Raja -
Create sales order with reference to archived billing
Hello,
Is it possible to create sales order with reference to archived billing?
Thanks in advance and kind regardsHi,
I think it is possible only return sales orders.
regards
karunakar -
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 AMHi 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,
MayankHi - Try Filling these three fields in the Item details.
REF_DOC
REF_DOC_IT
REF_DOC_CA
Reward points if helpful -
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 -
Create sales order with reference to 10 quotation
Create sales order with reference to 10 quotation I want to put all quotation means take reference in one sales order how I can do it because when tried va01 and taken reference of question it allow to put only one question number how can I do it for multiple question
AhmedHi Raj,
If you come back to initial screen after coping the first quotation ,then system will ask you whetehr to save or cancel the data,if we select save then it will be saved immediately,else it will cancel.So ,it is not possible to copy more than one quaotation in standard SAP.The only option is to deveop a BDC with the help of abaper.
We can only create this when header data is same in all the quotations.
Regards,
Pasapula.
Edited by: Pasapula on Jul 24, 2009 9:48 AM -
Creating Sales Order with reference to Quotation from different Sales Area
Hi,
I would like to inform you that our customer (GE ENERGY OC) from Europe have a requirement where they want to create sales orders with reference to quotation that is from different sales area. Standard SAP functionality doesn't allow this feature, hence requesting your help to give me an update in this regard.
Please treat this as urgent as they have to do business cutover where they are in the process of completing open sales orders.
Thanks
Ashfaq
Mobile: +91-98857-07558
E-Mail: [email protected]Hi RadhaKrishna,
In standard system it is not possible to create sales order from a quotation whose sales are is different.
However I think this is possible by using some user exit in sales order. I have never tried this.
Regards
srini -
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: Create Sales order with reference to Quotation
Hi ...
I am using bapi BAPI_SALESOREDER_CREATEFROMDATA2 and
i want to create sales order with reference Quotation... All quotation data like Materials prices and conditions must be copied from reference quotaion which is allready created .....
..Thanks..
..AshishHello,
nice to see that this has already been solved.
But it actually doesnt work in my scenario. Do you have an example coding which will explain your solution.
Mine looks like this:
* Update Flag
ls_header_inx-updateflag = 'I'.
* Angebotskopf einlesen
SELECT SINGLE * FROM vbak INTO ls_vbak
WHERE vbeln = iv_vbeln
AND vbtyp = lc_vbtyp.
IF sy-subrc <> 0.
EXIT.
ENDIF.
* Auftragskopf setzen
ls_header_in-doc_type = ls_vbak-auart.
ls_header_in-sales_org = ls_vbak-vkorg.
ls_header_in-distr_chan = ls_vbak-vtweg.
ls_header_in-division = ls_vbak-spart.
ls_header_in-req_date_h = ls_vbak-VDATU.
ls_header_in-ref_doc = ls_vbak-vbeln.
ls_header_in-refdoc_cat = 'B'.
* Angebots-Partner einlesen (Nur AG und WE)
* Auftrag anlegen
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
* SALESDOCUMENTIN =
order_header_in = ls_header_in
* order_header_inx = ls_header_inx
* SENDER =
* BINARY_RELATIONSHIPTYPE =
* INT_NUMBER_ASSIGNMENT =
* BEHAVE_WHEN_ERROR =
* LOGIC_SWITCH =
* testrun = 'X'
* CONVERT = ' '
IMPORTING
salesdocument = ev_vbeln
TABLES
return = et_return
* order_items_in = lt_items_in
* order_items_inx = lt_items_inx
order_partners = lt_partners
* ORDER_SCHEDULES_IN =
* ORDER_SCHEDULES_INX =
* ORDER_CONDITIONS_IN =
* ORDER_CONDITIONS_INX =
* ORDER_CFGS_REF =
* ORDER_CFGS_INST =
* ORDER_CFGS_PART_OF =
* ORDER_CFGS_VALUE =
* ORDER_CFGS_BLOB =
* ORDER_CFGS_VK =
* ORDER_CFGS_REFINST =
* ORDER_CCARD =
* ORDER_TEXT =
* ORDER_KEYS =
* EXTENSIONIN =
* PARTNERADDRESSES = .
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
Unfortunatly this just makes the reference to the quotation but does not takeover ALL data from header and pos level.
Thanks and regards
Markus Armbruster -
Problem with BOM Quant while creating Sales order with reference using BAPI
Dear All,
I am facing problem with creating a slaes order with reference to other sales order by using BAPI_SALESORDER_CREATEFROMDAT2 .
Sales order is getting created but
1. It exploding the BOM means the line items which are not there in the reference SO also coming in the new SO ( all BOM items are coming )
2. Schedule line for BOM header item is getting copied to all sub items of BOM.
Can any one help me out to prevent the above deviations in creating Sales order with reference by using BAPI_SALESORDER_CREATEFROMDAT2.
Note: while passing the parameters to BAPI_SALESORDER_CREATEFROMDAT2
all the data related to items is exactly the same as in the original Sales Order.
Thanks in advnace.
Regards,
JohnHi All,
Can any one help me !!!!!!!!!!
please -
Create Sales Order with Reference from Quotation
Hi All,
Is there any bapi or function to create sales order with reference from a quotation?
I know BDC is possible but any other methods?
Thanks
DylYou can use - BAPI_SALESDOCUMENT_COPY.
Prerequisite is Copy control should exist in customizaiton.
-Alpesh -
Error while creating sales order with ref using SD_SALESDOCUMENT_CREATE
Hi
I am creating sales order with reference using function module SD_SALESDOCUMENT_CREATE , while creating i am getting error
Document doesn't have document category even thougth i am passing document category in header as well as item lavel.
In VBUK table there is no value for VGTYP.
Can you please help me how to resolve it.
Thanks & regards
kiranProblem resolved by passing REFDOC_CAT in the FM along with SD_DOC_CAT.
Thanks -
Difference amount in sales order and billing document (For one line item)
Hi Experts,
User created sales order with 3 line items and billing document. but problem is that there is difference in value of sale order and billing only for line item 10. The remaining items values are same in sales order & billing doc.if I check in sales order condition I found that VPRS condition is used and the value is 692.13and the amount is 3245.26in sales order. But if suppose I check the same value in billing doc the value is 0.69 and the amount is 3245.28. Can u suggest me which configuration I have to check for this.
I also checked change lock but there is no change in sales and billing document & Material
Regards
Sunina agarwalMorning Sunina
Now consider this scenario
Item a - 10
Item b - 20
Item c - 30
and the validity of condition rec for item C is 31st of Jan
after 31st JAN the record changes or there isn't any.
In Copy control the pricing type is 'B' i.e., carry out new pricing.
Now if the document is created in January it will take all the above prices. and this document is then billed in Feb. Now the copycontrol, whilst copying the prices, will predetermine the same.
Now your task is to check if there was user intervention, check the pricing in order and check what condition types got affected in order and in billing.
If your scenario is still not amongst the above cases...
I don't know what to do, if you figure out please let us also know, god know when we would face the same scenario....
Take care
Maybe you are looking for
-
Rendering web page into an image
is there any way to render a web page into a thumbnail image using java. please let me know if there are any...
-
Dear expert, BDLS as the final steps of system refresh (ECC), i failed with error i scheduled it as the background job error: "Data inconsistency when running program RBDLSMAP, form routine PROCESS_SPECIAL_OBJECTS" And also i can't not run the BDLS a
-
Hello I was wondering is there a support I can contact for Project Siena? Like Microsoft support... For the questions, I have posted here, and no one have answers for it. It would be great to have a direct contact to someone that had the "know how" f
-
Adobe Contribute/Dreamweaver Templates
I have a problem I am hoping someone can help me with. Using Dreamwevaer I created templates that use PHP includes. They work as expected under Dreamweaver and for some Contribute users but I have a few users that everytime they create a new page the
-
Gold star. I am I missing something or is ASC not working as usual.
All the replies that I see to a question have gold stars. What is going on? I though only posts several people marked as being good deserve a gold star. Seems like ASC lives up to its design: -- of implementing a new feature that do not work & -- i