Application Development and Automation 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: 
Read only

Validations in BDC?

Former Member
0 Likes
965

Hi folks !!

I wanted to know if validations are possible in BDC. Also, if I want a custom routine, are there any specifications I need to know? I am trying to create a new routine with my custom logic? Is it possible? Can the routine pick up logic from an existing BDC code?

P.S. I am a functional guy and I need your suggestions.

Thanks

Drew

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
919

Hi,

Usually when you do a BDC, you have the data in a flat file. So, you can upload the data into a internal table and validate the data first, by writing routines and then finally by doing a CALL TRANSACTION / BDC SESSION.

I am not sure what is context of routine you are talking about.

Regards,

Ravi

Note : Please mark all the helpful answers

7 REPLIES 7
Read only

abdul_hakim
Active Contributor
0 Likes
919

hi andrew,

you should validate the data before passing it to the SAP System thru BDC.Normally we wont write any routine for calling the BDC Program instead we will execute it directly or schedule as the background job depending on the data load.I would advice you to schedule a background job rather than calling from a routine...

Cheers,

Abdul Hakim

Mark all useful answers..

Read only

Former Member
0 Likes
920

Hi,

Usually when you do a BDC, you have the data in a flat file. So, you can upload the data into a internal table and validate the data first, by writing routines and then finally by doing a CALL TRANSACTION / BDC SESSION.

I am not sure what is context of routine you are talking about.

Regards,

Ravi

Note : Please mark all the helpful answers

Read only

0 Likes
919

OK well lets forget about routines for a moment.

I have a BDC. In the code there is a requirement of sending output to a third party bolton. Now this requirement is only present in this code and I can't find it anywhere else. I was wondering if I can use this requirement to trigger another output type in a standard SAP transaction (is it possible) or should I take this requirement and create a new routine?

I know its confusing but I just need your suggestions.

Thanks

Read only

0 Likes
919

hi

itz possible to trigger the output type from your BDC Code with additional programming effort.

Cheers,

Abdul Hakim

Read only

0 Likes
919

Thank You Hakim

I was wondering if writing a new routine was feasible which I can use in the output procedure?

Read only

0 Likes
919

hi andrew.

Both wont make much difference.I will also choose to go in your way!!!

Cheers,

Abdul Hakim

Read only

Former Member
0 Likes
919

First do the recording useing transation SHDB and after that u do the validation .if u r satisfied.