‎2010 Apr 22 12:12 PM
Hello,
I need to create return sales order. I want to now which function module to use and how to use it ?
Thanks & Regards.
‎2010 Apr 22 1:05 PM
Hello Nikita,
You can use BAPI "BAPI_CUSTOMERRETURN_CREATE" to create return sales order
In this you have to pass return document type:-
so_header-doc_type = Return Document Type. "Ask from Functional Consultan for return document type
Calling of BAPI
CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'
EXPORTING
return_header_in = so_header
return_header_inx = so_headerx
IMPORTING
salesdocument = v_so
TABLES
return = i_return[]
return_items_in = i_items[]
return_items_inx = i_itemx[]
return_partners = i_partner[]
return_schedules_in = i_shedule[]
return_schedules_inx = i_shedulex[].
‎2010 Apr 22 12:57 PM
hii
bapi_customerreturn_create.
try it.
Edited by: gaurav.singh on Apr 22, 2010 2:10 PM
‎2010 Apr 22 1:05 PM
Hello Nikita,
You can use BAPI "BAPI_CUSTOMERRETURN_CREATE" to create return sales order
In this you have to pass return document type:-
so_header-doc_type = Return Document Type. "Ask from Functional Consultan for return document type
Calling of BAPI
CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'
EXPORTING
return_header_in = so_header
return_header_inx = so_headerx
IMPORTING
salesdocument = v_so
TABLES
return = i_return[]
return_items_in = i_items[]
return_items_inx = i_itemx[]
return_partners = i_partner[]
return_schedules_in = i_shedule[]
return_schedules_inx = i_shedulex[].
‎2010 Apr 22 1:06 PM
Hello Nikita,
You can use BAPI "BAPI_CUSTOMERRETURN_CREATE" to create return sales order
In this you have to pass return document type:-
so_header-doc_type = Return Document Type. "Ask from Functional Consultan for return document type
Calling of BAPI
CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'
EXPORTING
return_header_in = so_header
return_header_inx = so_headerx
IMPORTING
salesdocument = v_so
TABLES
return = i_return[]
return_items_in = i_items[]
return_items_inx = i_itemx[]
return_partners = i_partner[]
return_schedules_in = i_shedule[]
return_schedules_inx = i_shedulex[].
I hope it will help you a lot.
Regards,
Narendra
‎2010 Apr 22 1:07 PM
redundant reply deleted...
Edited by: Short Dump on Apr 22, 2010 2:07 PM
‎2010 Apr 22 1:18 PM
‎2010 Apr 24 5:30 AM
Thank you for above answers.
While using this function module Net value is coming Blank.
Kindly help.
Thanks & Regards.