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: 

BDC for F-02

Former Member
0 Kudos

Hi all,

I am using BDC Call Transaction method to post into transaction F-02.

Business need is, there are hundreds of records. If there is single error, no posting should make. Postings should make only if there are no errors.

How can I do this?

Thanks

Shiva

2 REPLIES 2

Former Member
0 Kudos

do the validations for the at the flatfile stage

or

do the validations after fetching the data to internal table.....according to u r business need

reward points if helpful...

its better to use bapi with bapi transaction commit rather than bdc , so that the bapi will take care of validation and posting.....if any error records are there it will give in returnm structure

try this bapi [ BAPI_CASHJOURNALDOC_CREATE]

reward points if helpful

Former Member
0 Kudos

hi

just take 5 data from your main local file in other one file and run that bdc uploading 5 data files.

if all fields are ok and data match with your system data then u can run your bdc for your main file.