2008 Feb 23 5:54 AM
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.
2008 Feb 23 5:59 AM
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.
2008 Feb 23 6:02 AM
open the BAPI in SE37
and in the import tab.. which ever field is not checked optional.. those are all mandatory fields..
2008 Feb 23 6:36 AM
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..