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 do you know which fields are mandatory while uploading data using BAPI

Former Member
0 Kudos
2,806

HI Experts,

How do you know which fields are mandatory while uploading data using BAPI.

and also, where how do you check that, the BAPI function module is executed.

Thanks in Advance.

Naveen.

3 REPLIES 3

Former Member
0 Kudos
964

hi,

In the screen level: if it's mandatory field then u can find [tickmark] in the input field.

In the BAPI level: select the import tab check about the optional, if it's not enable[no tick mark] then it's mandatory input field.

seshu.

former_member156446
Active Contributor
0 Kudos
964

open the BAPI in SE37

and in the import tab.. which ever field is not checked optional.. those are all mandatory fields..

Former Member
0 Kudos
964

Hi,

It's simple to identify the mandatory fields in BAPI.

First check the Required parameters which are not marked as optional.

Other simple way is to identify the required fields that are necessary to be passed to the actual transaction(for which the BAPI is to be executed).Pass the same fields to the BAPI parameters.This is a simple way to identify the required fields that needs to be passed to the BAPI.

Just to note that BAPI is nothing but execution of a particular transaction(for eg:VA02) to affect the table at the table level.Whereas actual transaction execution (VA02) can be viewed as screen or dialog level execution.

Hope this helps..