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: 

validating file, b4 creating idoc

Former Member
0 Kudos

Hi,

Is it possible to validate file b4 creating idoc in DB?

we are getting it from FILE port for example...

plz suggest..thanks in advance...

3 REPLIES 3

Former Member
0 Kudos

Hi,

After getting the data from the file port,

You have to send these data into the particular structure of EDIDD,

According to your segments in the idoc.

so while passing the data you cna do the validations before calling the final FM MASTER_IDOC_DISTRIBUTE, for creating the idocs.

Please let me know if you need further info.

Regards,

Sasi

0 Kudos

Thanks sashi,

I guess In my case EDI_data_incoming will take the idoc file as input and creates IDOCs. Can we do the validation inside the FM or any other places are there.

Is there any user exits available to validate the file b4 issuing the status 50 or 56.

0 Kudos

Any solution for this? what is best to put validations on IDOC or custom user exits?