Application Development 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: 

How does BAPI_SCHEDULE_MAINTAIN work

Former Member
0 Kudos

Hi experts,

i am new to abap and have a problem.

I have to delete or change specific delivery schedule with the help of BAPI_SCHEDULE_MAINTAIN . In order to do that I select these delivery schedules which meet my criterias into some internal tables. But I m not sure about which data I have to pass to the BAPI_SCHEDULE_MAINTAIN and what does it do with the data.
It would be awesome if somebody can explain me how this function module is working and so on

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Read first documentation of BAPI, FM and parameters, there should always been some information. Then fill required parameters, required technically and in your requirement, for change of data you have usually to fill a DATA and DATAX structure, in the first one set required key and values to change in the second one set to 'X' field with same name.

Also search and read online help (e.g. Calling BAPIs from ABAP in BAPI User Guide CA-BFA) and wiki/blogs at scn (many exist)

Regards,
Raymond

2 REPLIES 2

ChrisSolomon
Active Contributor
0 Kudos

That's pretty deep water to be thrown into if you are brand new to ABAP.

1.which data I have to pass to the BAPI_SCHEDULE_MAINTAIN? Look at the "signature" (input/output) of the BAPI and it will tell you.

2. what does it do with the data? you have the code right there....look through it and figure it out....you can even execute the BAPI and feed it test data to see what happens.

raymond_giuseppi
Active Contributor
0 Kudos

Read first documentation of BAPI, FM and parameters, there should always been some information. Then fill required parameters, required technically and in your requirement, for change of data you have usually to fill a DATA and DATAX structure, in the first one set required key and values to change in the second one set to 'X' field with same name.

Also search and read online help (e.g. Calling BAPIs from ABAP in BAPI User Guide CA-BFA) and wiki/blogs at scn (many exist)

Regards,
Raymond