‎2006 Jan 03 2:59 PM
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
‎2006 Jan 03 3:02 PM
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.
‎2006 Jan 03 3:09 PM
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
‎2006 Jan 03 3:07 PM
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
‎2006 Jan 03 3:10 PM
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
‎2006 Jan 03 3:14 PM
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
‎2006 Jan 03 3:11 PM
Hi KP,
there surely is a BAPI that existing for that kind of update.
Search in BAPI explorer...
Robert
‎2006 Jan 03 3:11 PM
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
‎2006 Jan 03 3:25 PM
‎2006 Jan 03 3:37 PM
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
‎2006 Jan 03 3:45 PM
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.