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

regarding structure creation

Former Member
0 Likes
452

hai to all,

I tried to create one structure for function module ZBAPISTAT

for this structure i tried to add one field like <b>OBJNR DATAELEMENT J_OBJNR</b> but its gave error like

Field name OBJNR does not agree with proposed name OBJECT_NO for BAPI table

Message no. DT250

Diagnosis

You chose a field name which does not agree with the name proposed for this field.

System Response

You are warned against using this field name. However, the table can also be activated with the field name which differs from the one proposed.

Procedure

If possible, change the field name to the proposed name.

The default field name should only be changed for exceptions and only by the relevant application.

<b>any body now how to solve this problem give me reply</b>

regards,

surya.

1 ACCEPTED SOLUTION
Read only

varma_narayana
Active Contributor
0 Likes
428

Hi..

For every Data element there can be a Default Component Name assigned in DDIC.

Like if you open the Data element J_OBJNR

Select Further Characteristics Tab

Default Component Name = OBJECT_NO.

This means any BAPI structure using this Data element must use the Same name for the component in the Structure. Otherwise it throws a warning.

This is enforced for Standardization of Component names across BAPI structures.

But still you can give a different name.

<b>Reward if Helpful</b>

2 REPLIES 2
Read only

vallamuthu_madheswaran2
Active Contributor
0 Likes
428

Hi,

OBJNR is a keyfield or existing fileld

OBJNR dataelement & domain is already availabale(check dataelement & Domain field give OBJNR)

you use ZOBJNR(you use any other name also) <b>dataelement OBJNR</b>.

Thanks & Regards,

vallamuthu.M

Read only

varma_narayana
Active Contributor
0 Likes
429

Hi..

For every Data element there can be a Default Component Name assigned in DDIC.

Like if you open the Data element J_OBJNR

Select Further Characteristics Tab

Default Component Name = OBJECT_NO.

This means any BAPI structure using this Data element must use the Same name for the component in the Structure. Otherwise it throws a warning.

This is enforced for Standardization of Component names across BAPI structures.

But still you can give a different name.

<b>Reward if Helpful</b>