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: 

VBFA update

Former Member
0 Kudos

Hi all,

are there any FM's to update VBFA.

i saw RV_XVBFA_MAINTAIN but not sure of it.

i have to do some direct table updates to vekp and vepo.

(no other way, already researched into impact analysis and its ok).

so have to update VBFA simultaneously

vbelv = delivery number

vbeln = handling unit

vbtyp_n = 'X'. "handling unit

10 REPLIES 10

Former Member
0 Kudos

You do not want to directly update VBFA. You will break SAP's data model.

This table needs to be updated through standard SAP transactions.

Please reward points accordingly.

0 Kudos

but iam not using syandard SAP transaction.

i am using a custom transaction inside which iam doing vekp and vepo updates.

and that does not fill vbfa automatically. so i need to do what sap does wjen it updates vekp and vepo.

what Function modules does SAP use to fill VBFA

former_member181962
Active Contributor
0 Kudos

Hi KP,

If you are quite sure of the impact of table update, you can directly use Database update statements like

UPDATE, MODIFY and INSERT in you abap Code.

Regards,

Ravi

Former Member
0 Kudos

Hi KP,

YOU can use <b>V51P_VBFA_UPDATE</b> for updating VBFA.

Hope This Info Helps YOU.

<b>Reward Points If It Helps YOU.</b>

Regards,

Raghav

0 Kudos

Hi raghavendra,

The FM V51P_VBFA_UPDATE doesn't update the VBFA table directly. It fills an Internal table and exports the same.

Regards,

Ravi

Former Member
0 Kudos

Hi KP,

there surely is a BAPI that existing for that kind of update.

Search in BAPI explorer...

Robert

Former Member
0 Kudos

Hi KP,

U can make use of the direct input method to update the database tables thru FM's.

For sales scenarios go thru the program RVINVB10.

Hope it helps...

Sreedhar

0 Kudos

HI,

this is not a data load.

iam not sure of your answer.

0 Kudos

No matter what the justification is, you don't update the SAP tables directly, particularly VBFA, VEKP, VEPO tables. You will be breaking the referential integrity of the system.

What is the reason behind this direct updates? Are you trying to add handling units to a delivery and update? For this there are function modules. Are you creating a delivery and packing? For that also you have function modules. What is your business scenario that necessiated this. If it is your custom transaction, then why not create your custom tables and store the data there? If you mixing your custom changes with the standard transactions, then you need to follow the rules of transactional data integrity.

Srinivas

0 Kudos

Srinivas,

Absolutely!!! As I cited above...

KP,

The CIO of your company should be horrified to hear that you are performing direct updates to a core table like VBFA. That table, in particular, is a backbone to the SD module.

Your change could be career-ending. I would re-verify the business needs and other options.