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

updating Custom field through BAPI

Former Member
0 Likes
630

I am updating a field through BAPI

The new field is added to include structure which is used in several structures in turn.

when i try to update the new field through BAPI .. i am getting a short dump saying field sap trying to update is protected against changes ..

i am using BAPI SALESORDERChange

this is custom field updating through extensionin.

<REMOVED BY MODERATOR>

Edited by: N a z e e r on Mar 4, 2008 4:21 PM

Edited by: Alvaro Tejada Galindo on Mar 4, 2008 2:54 PM

I am updating a field through BAPI

The new field is added to include structure which is used in several structures in turn.

when i try to update the new field through BAPI .. i am getting a short dump saying field sap trying to update is protected against changes ..

i am using BAPI SALESORDERChange

this is custom field updating through extensionin.

<REMOVED BY MODERATOR>

Edited by: N a z e e r on Mar 4, 2008 4:21 PM

Edited by: Alvaro Tejada Galindo on Mar 4, 2008 2:54 PM

1 REPLY 1
Read only

Former Member
0 Likes
480

Hi

If a fields is not in the standard bapi structure, it's arranged in order to be available for updating by BAPI.

It has to be inserted in VBAKKOM, VBAKKOMX, BAPE_VBAK, BAPE_VBAKX or VBAPKOM, VBAPKOMX, BAPE_VBAP, BAPE_VBAPX.

U need to use the extension structure in order to transfer the value of the new field to BAPI.

Max