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

apply validations on internal table fields before updating table

Karan_Chopra_
Active Participant
0 Likes
719

I have to upload data from a CSV file to R3 ztable, but before that I have to apply diffrent validations to check if fileds does not contaion invalid characters ....

eg

for a currency field I want to check if user has entered value in decimail format e.g 3.23, -22.33 etc but not like this 3..2, _+3.33, e3e& etc

How can I do this .....

I have to upload data from a CSV file to R3 ztable, but before that I have to apply diffrent validations to check if fileds does not contaion invalid characters ....

eg

for a currency field I want to check if user has entered value in decimail format e.g 3.23, -22.33 etc but not like this 3..2, _+3.33, e3e& etc

How can I do this .....

5 REPLIES 5
Read only

Karan_Chopra_
Active Participant
0 Likes
685

Plz help.....

Edited by: Karan Chopra on Oct 2, 2010 3:16 PM

Read only

0 Likes
685

Hi Karan,

Why don't you create a BDC program for SM30 transaction to upload data from .csv file to R3 Z table? Standard SAP consistency checks and authorizations are automatically performed when you upload data through BDC technique.

Thanks

Nitesh

Read only

deepak_dhamat
Active Contributor
0 Likes
685

hi ,

There are lots of thread related to upload data .

you can search in SDN .

One method is to upload data in excel format and getting data in one internal table and then validatiing

before insert or update .

Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code

Regards

Deepak.

Edited by: Rob Burbank on Oct 3, 2010 3:36 PM

Read only

Karan_Chopra_
Active Participant
0 Likes
685

I need to give some other values also in case of error its not direct upload

I need to chk each value one by one...

Edited by: Karan Chopra on Oct 2, 2010 6:44 PM

Read only

Former Member
0 Likes
685

Moderator message - Please do not ask or answer basic questions Thread locked Rob