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: 

Is it possible to change the VBAP-ADRNR item address field value?

Former Member
0 Kudos

Hi,

Is it possible to update the VBAP-ADRNR item record field value?

I am trying to update this field value from BAPI_SALESORDER_CHANGE but it is not changing the value.

I am only able to change the corresponding address for that address number.

But I need to change the address number( I want to replace with header address number) itself.

If any ideas please let me know.

Thanks,

Mohan.

2 REPLIES 2

Former Member
0 Kudos

Hi

Schedule Lines related Data USING BAPISDORDER_GETDETAILEDLIST Then Pass them to BAPI_SALESORDER_CHANGE Then It work and update the field.

Regards

AJIT

0 Kudos

Hi

>

> Schedule Lines related Data USING BAPISDORDER_GETDETAILEDLIST Then Pass them to BAPI_SALESORDER_CHANGE Then It work and update the field.

>

> Regards

> AJIT

eh????

What's the relevance of schedule lines and ADRNR?

@OP: Don't. There is a reason why SAP gives out a new ADRNR. And manually changing the value of a primary/foreign key is never a good thing to do.