Skip to Content
0
Feb 12, 2013 at 09:13 AM

How change VBUND in all records BSEG

1096 Views

Hi,

our company started to use Trading partner (VBUND).

Users use transaction F-48 and enter vendor account with trading partner. And so they enter field Asset. Then they create next records by function Simulate.

I found out field BSEG-VBUND is filled in record with BSEG-KOART EQ 'K', but other records have field BSEG-VBUND empty.

How can I filled these fields automatically?

I tried substitution (Financial Accounting -> Complete document) with Boolean class "015", but there I can't select field BSEG-VBUND for substitution.

I tried to select "Only exit" with User-exit (C_EXIT_PARAM_CLASS).

FORM u501 using bool_data type gb002_015.

...

ENDFORM.

When I created document in transaction F-48, before saving document, system called my User-exit, which changed VBUND in all records (structure BOOL_DATA). But those changes didn't get to my document.

Best Regards

Jaroslav