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 issue?

Former Member
0 Likes
690

HI all,

How does the BAPI come to knows if we passed only limited fileds to the structure instead of all required?

Sacihn.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
658

Every structure of the bapi has a corresponding 'bapix' structure, here we pass an 'X' against the field/s which we intend to pass to the BAPI.

That is how the BAPI knows which fields are to be passed to the application.

As for the mandatory fields, the BAPI will return appropriate error message if you miss passing it.

regards,

Advait

4 REPLIES 4
Read only

former_member585060
Active Contributor
0 Likes
658

All the mandatory fields are without checked in the Import parameters fields of the BAPI, if any field is with check means that field is optional value.

Read only

0 Likes
658

Hi Bala,

If i do not have data for all the mandatory fileds,wahat should i pass to those remining fields?

Sachin.

Read only

0 Likes
658

It won't accept, it will show the message in the return table, that required field data is missing, so you have pass the data for all the mandatory fields

Read only

Former Member
0 Likes
659

Every structure of the bapi has a corresponding 'bapix' structure, here we pass an 'X' against the field/s which we intend to pass to the BAPI.

That is how the BAPI knows which fields are to be passed to the application.

As for the mandatory fields, the BAPI will return appropriate error message if you miss passing it.

regards,

Advait