on ‎2009 Apr 06 8:00 AM
I am calling BAPIs through the Newtweaver JCO proxy classes . However how can I identify which attributes of the specific bapi are mandatory. The bapi explorer in SAP shows only the import parameters that are mandatory. how could I know which attributes in the ABAP Dictionary are mandatory....?
Request clarification before answering.
hi,
just go to the T-code se37 in sap-R/3 side and type ur BAPI name.
then click on display u will fiend import as well as export and table paramenter for BAPI nad just go on these tab and check which are mandatory fields.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
most mandatory input parameter tables have a set of attributes (fields)...how to check which of these attributes are mandatory..?
for eg: in create business partner we have an import table PARTNERDATA sa mandator.
we have many field inside this table viz. NAME_FIRST, TITLE,NAME_LAST etc....how to check which of these are mandatory.
Hi,
As experts said, there is no general way of finding the mandatory fields. The reason for this is...
I am taking an example of PO creation, I am using the BAPI_PO_CREATE in this BAPI the only one mandatory import paramater is POHEADER table (As the optional check box is unchecked for it), now out of all the fields in POHEADER table which are mandtory for you may vary the list of mandatory fields for me. now this same BAPI can used for creating standard PO, Framework PO, Service PO and more... so endless fields used...
(so and so filed missing) depends upon the configuration done by functional consultant. BAPI will always use this configuration to decide the mandatory fields.
Hope this makes it clear for you.
Sachin
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.