2007 Dec 07 9:44 AM
Hi
I would like to know if there exists a function module to create credit/debit memo request. Manually we do it through transaction VA01. I would like to know if we need to run it from the program to create credit/debit memo, what will be the functional module that can be used.
Thanks & Regards!
2007 Dec 07 3:44 PM
Hi,
SD_SALESDOCUMENT_CREATE
with business object BUS2094 for credit memo requests.
John
2007 Dec 08 1:49 PM
Thanks a lot. I am trying to find the field to write ship to party and sold to party number. But i am not able to find. Could you please help in this as well.
Thanks & Regards!
2007 Dec 10 1:00 PM
Thanks John,
the function module which you suggested SD_SALESDOCUMENT_CREATE has all the fields i require. But, i am not able to find the fields KUNAG (sold to party) and KUNWE (ship to party) in this function module to enter the data.
If i run the function module by entering all the data, i get the error asking me to enter ship to party and sold to party. Could you please help me out in finding these fields.
Thanks & Regards!
2007 Dec 10 1:43 PM
Hi again,
There's an internal-table parameter called sales_partners.
You need rows there with partner role 'AG' and 'WE'.
John
2007 Dec 08 2:38 PM
Hi,
check this
BAPI_BILLINGDOC_CREATEMULTIPLE
Refer
https://forums.sdn.sap.com/click.jspa?searchID=7270819&messageID=2822454
Regards