on 05-12-2011 4:47 PM
Hi ,
We have issue in creating a return order referencing an invoice using BAPI. The BAPI creates the return order but the prices/items(Copy control) is not copied from the reference document(Billing doc) . Could you please advise.
Thank You.
Hi Gerard,
Thank you for your response. It helped a lot!!!!!!!!
I am trying to create credit memo referencing an invoice using SD_SALESDOCUMENT_CREATE. the problem I have is that the pricing procedure of the invoice is not copied to the credit memo request . SD_SALESDOCUMENT_CREATE does not have any fields for pricing procedure and I cannot pass the reference dcoument pricing procedure. Please help...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maintain the copy control settings from billing to return order in t.code VTAF. You can refer the standard return order RE from F2 document type settings. Then create a new document and check.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately I have to tell you that in the standard the copy rules
that are defined are not considered in the BAPI case:
Please check the follwoing 2 notes:
Note 414058 - CHECKLISTSD: differences in online and BAPI
Reason and Prerequisites
Missing functions:
....
4. Create with reference, no copying control
Note 550726 - FAQ: BAPIs in sales - restrictions
7. Question: Do BAPIs support the 'Creation with reference' function?
Answer:No. However, you can update the document flow, for example,
for contracts by specifying reference documents.You can use function
module BAPI_SALESDOCUMENT_COPY that has not been released to create
a 1:1 copy of sales documents.
In your case, I recommend you use the function module mentioned above
(BAPI_SALESDOCUMENT_COPY).
In addition, if you use the BAPI above, please consider using the
Pricing Type 'G', which will reference the conditions without changing
them, only redetermining the tax condition values.
I hope this helps.
Gerard
User | Count |
---|---|
99 | |
9 | |
9 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.