Application Development 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: 

Custom fields not updated with blank values in BAPI

Former Member
0 Kudos

Hello Experts,

I am updating the custom fields in VBAP table with blank value.

The fields are of 20 characters.

'BAPI_CUSTOMERINQUIRY_CHANGE' is used to update the sales order.

The custom fields gets updated, when we give non blank values.

But when we give blank values, the changes are not updated.

Kindly help in this issue.

1 REPLY 1

former_member184675
Active Participant
0 Kudos

Hi,

When you are passing blank value you still have to fill in the BAPE_VBAP and BAPE_VBAPX structures with blanks

it should be like this:

BAPE_VBAP     '000000212300010                    '        "note 20 characters space after item number

BAPE_VBAPX   '000000212300010X'

Did you try it this way ?

PS: You said:

'BAPI_CUSTOMERINQUIRY_CHANGE' is used to update the sales order.

You are actually referring to the inquiry order, right ?

Br,

Andrei