Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI

Former Member
0 Likes
330

can anybody please explain BAPI how it is use full to SD

I have bit idea but I want real time matter

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
307

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

1 REPLY 1
Read only

Former Member
0 Likes
308

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