Q
Problem solve Get help with specific problems with your technologies, process and projects.

Creating an entry in a VBFA table

To create a new entry in VFBA table, I create an internal table with the structure of VFBA, then I insert the VFBA form the internal table. Is that a bad way to do this? I am used to loading the SAP table with BDC session or BAPIs. Do you know any BAPIs that we can use to update the VFBA table ?

I use the TCode MB1C to load data. After processing, I get a document #(MBLNR), then I create a new record in vbfa table (document flow).
To create a new entry in VFBA table, I create an internal table with the structure of VFBA, then I insert the VFBA form the internal table. Is that a bad way to do this? I am used to loading the SAP table with BDC session or BAPIs. Do you know any BAPIs that we can use to update the VFBA table ?
I assume you mean VBFA. You need to think in business terms. You want to load documents into SAP, and also have the document flow. Think about the process a user would go through which would cause this information to be entered into SAP.
Then look for BAPIs (or write BDCs) that automate that process. This will ensure that VBFA contains the correct data.
You should not think in terms of which tables get updated, and it is highly unlikely that the way forward for your requirement is to update VBFA directly. Updating SAP tables directly is a good way to corrupt your database -- and lose SAP support.
This was last published in February 2005

Dig Deeper on SAP interface technologies

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close