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: 

VBRP Z fields update by bapi ?

h_senden2
Active Contributor
0 Kudos

Hi,

i have to update some Z fields in table VBRP. Which bapi can i use to maintain these custom fields ?

with kind regards,

Hans

5 REPLIES 5

Former Member
0 Kudos

Hi

Usually the rules to fill VBRK and VBRP tables are placed in the routine for copy (transaction VOFM): here you can place all code you need to fill custom fields too.

Max

0 Kudos

Hi Max,

i have to update these Z fields in a separate program not in the standaard maintaince program. It will be used for a conversion program.

kind regards,

Hans

0 Kudos

Hi

So you don't need to use a BAPI

Max

0 Kudos

Hi Max,

a bapi will take care of the locking, consistency and correct update of the VBRP record.

So if there is a bapi that would be preferred.

Of course, i can update it on the VBRP table directly, but it is not that nice

regards,

Hans

0 Kudos

Ok Hans

I know that, but bill document is an internal document, so usually all fields are from sales order and delivery, so it should be used the copy routines.

A BAPI has the same behavior of transaction so I don't know if it allows to fill z-field.

Try to check the std fm RV_INVOICE_CREATE or try to look for BAPIBILL

Max