10-01-2008 4:27 AM
HI,
What is key field in BAPI while creation of bapi. How it is useful in bapi programing.
Please give me simple examples.
Thanks & Regards
margani
10-01-2008 4:42 AM
Key fields in Business objects are used for unique idenfication
For example for a business object : BUS1001006 Standard material
key field is material no
for method StandardMaterial.Create
function module : BAPI_STANDARDMATERIAL_CREATE for material create
please check this link for more idea
[http://help.sap.com/saphelp_40b/helpdata/en/7e/5e11a84a1611d1894c0000e829fbbd/content.htm|http://help.sap.com/saphelp_40b/helpdata/en/7e/5e11a84a1611d1894c0000e829fbbd/content.htm]
10-01-2008 4:45 AM
key field is unique identifier of Business object. if you take example salesorder (BUS2032) salesorder number is the key. similarly for purchase order(BUS2012) it is Purchase order.