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: 

Validations at LSMW

Former Member
0 Kudos

Shall we make validations in LSMW? IF yes where we can make ?

6 REPLIES 6

former_member184494
Active Contributor
0 Kudos

Prashanth,

Am not sure this would be th forums for this question , redirecting you to the ABAP forums so that you can get more relevant answers...

Arun

Former Member
0 Kudos

Yes you can validate the input data. This can be done in the "Maintain Field Mapping and Conversion Rules" step of LSMW.

~Kiran

Former Member
0 Kudos

hi,

check radio button number 6.

regards,

pankaj singh

Former Member
0 Kudos

hi,

check out step 6..

In this step you can process the reusable rules of a project:

Fixed value: Here you can specify length, type, flag for lowercase/uppercase and value in addition to the description.

Translation: Here you can enter information on the source field and the target field:

If you are creating a new translation you have to save data before you can change to Control information.

Control information: Here you can define the translation type. You can specify which of the two translation tables will be searched for a value first and which alternative will be selected, if no suitable entry is found:

1:1 translation values: Here you specify the value table to be used during translation. You may also upload the values from a PC file (text separated by tabs). In addition, F4 help is available in column "New value".

important

During translation, only values for which the OK flag was set are included.

Interval translation values: Here you specify the value table to be used during translation by intervals. You may also upload the values from a PC file (text separated by tabs). In addition, F4 help is available in column "New value".

important

During translation, only values for which the OK flag was set are included.

http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf

regards,

pankaj singh

<b>**** reward if helpful</b>

Former Member
0 Kudos

hi,,

Yes we can do validation in LSMW

You can validate the input fields in the step - "Maintain Field Mapping and Conversion Rules". Here you can write normal ABAP code like.. select queries, If .. endifs..in a script like editor.

Here are the links that might help:

http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc

http://www.erpgenie.com/saptech/lsmw.htm

check these threads..

In 5 th step i.e "Maintain Field Mapping and Conversion Rules" , do the validations for the data which u r going to upload thru flat file..

Click Tab "Rule" . in that use ABAP code , and do the validations...

Award if useful

Sri

Former Member
0 Kudos

hi prashanth,

go to field mapping and conversion rules :

there you will have "__BEGIN_OF_RECORD_"

there double click on this , you will come up with an editor.

here write your validation code.....

You can fallow the procedure for all the fields

~~Guduri