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

VBRP Z fields update by bapi ?

h_senden2
Active Contributor
0 Likes
1,864

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

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

5 REPLIES 5
Read only

Former Member
0 Likes
1,166

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

Read only

0 Likes
1,166

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

Read only

0 Likes
1,166

Hi

So you don't need to use a BAPI

Max

Read only

0 Likes
1,166

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

Read only

0 Likes
1,166

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