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

Create a custom code to upload data using idoc.

Former Member
0 Likes
475

Hi,

1. How to validate the data using lsmw - idoc -

When ever I upload the flat file data using lsmw idoc , it creates the same entry , thereby overwriting the previous entry. What I want is that whenever I execute the session it should give an error in case the same entry exists before.

2. Is there some other alternative as I have already tried direct/batch input and bapi and they both don't appear to solve my issue.

3. Can I create some custom code to upload the data using idoc?

Thanks,

1 ACCEPTED SOLUTION
2 REPLIES 2
Read only

Former Member
0 Likes
435

Indirect Way :

Create an unique index .. they will trigger error message whenever there is a dupic records inserted in the table by any of the method (BDC,BAPI,LSMW)

No Rewards Plz//