‎2007 Sep 29 6:30 PM
can anybody please explain BAPI how it is use full to SD
I have bit idea but I want real time matter
‎2007 Sep 29 7:33 PM
Hi,
BAPI will create the application document by mentioning the name of the bapi and passing the appropriate data to the BAPI and it will return the errors. Check the BAPI below and its documentation
*Call the BAPI to Create the Return Order
CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'
EXPORTING
return_header_in = gs_return_header_in
return_header_inx = gs_return_header_inx
IMPORTING
salesdocument = gv_salesdocument
TABLES
return = gt_return
return_items_in = gt_return_items_in
return_items_inx = gt_return_items_inx
return_partners = gt_return_partners
return_schedules_in = gt_bapischdl.
Commit Work
PERFORM error.
Regards
Kannaiah
‎2007 Sep 29 7:33 PM
Hi,
BAPI will create the application document by mentioning the name of the bapi and passing the appropriate data to the BAPI and it will return the errors. Check the BAPI below and its documentation
*Call the BAPI to Create the Return Order
CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'
EXPORTING
return_header_in = gs_return_header_in
return_header_inx = gs_return_header_inx
IMPORTING
salesdocument = gv_salesdocument
TABLES
return = gt_return
return_items_in = gt_return_items_in
return_items_inx = gt_return_items_inx
return_partners = gt_return_partners
return_schedules_in = gt_bapischdl.
Commit Work
PERFORM error.
Regards
Kannaiah