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 key field

Former Member
0 Likes
609

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

2 REPLIES 2
Read only

JoffyJohn
Active Contributor
0 Likes
464

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]

Read only

Former Member
0 Likes
464

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.