‎2005 Dec 19 11:54 AM
Hi,
I have to create a Credit memo request with reference to billing document. So I'm using the FM - SD_SALESDOCUMENT_CREATE with the business object BUS2094.
My Requirement is when I create a Cr.Memo request, the pricing should come from the referenced billing document. By FM is taking the current pricing by default instead of taking from billing document. I have tried with FM-parameter LOGIC_SWITCH-PRICING = 'G'. But It could not help. The only possible values for this parameter are B/G/Space. How would I get the pricing from the invoice into Credit memo request pricing by using this Function module or BAPI?
Thanks in Advance,
Vijay
‎2005 Dec 19 12:20 PM
Hi Vijay!
You didn't say anything about it: how is condition copying handled, when you manual create a credit memo request?
The copy rules (defined per document type) have to be correct, otherwise the FM has no chance.
Regards,
Christian
‎2005 Dec 19 1:11 PM
Hi Christian,
Thanks for your reply. When I manually create a Credit memo request with reference to billing, it is taking the biilling document conditions & values into the consideration and the prices are comming correctly. But It could not inherit the prices when i use the FM. Any alternative solution for this?
Regards,
vijay
‎2005 Dec 19 5:43 PM
Hi Vijay!
OK, would be too easy for a solution. Can you give IDOC ORDERS05 a try? even when you don't use this later, maybe you find a function, which is called by both (IDOC and BAPI) with different values.
Regards,
Christian