cancel
Showing results for 
Search instead for 
Did you mean: 

transfer routine

Former Member
0 Kudos

hi friends

i need to give a Transfer routine for baseunit.

i need my baseunit always EA,

i get the data from the flat file , so what ever the unit they mention there in the flat file if it is not equal to 'EA', then it should take it as EA.

i gave code like this

IF TRANS_STRUCTURE-0BASE_UOM NE ‘EA’

RESULT = 'EA'.

please help, i will assign full points for right code.

regards

sampath

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sampath,

If you alwyas want EA then you can also write:

TRANS_STRUCTURE-0BASE_UOM = ‘EA’.

RESULT = TRANS_STRUCTURE-0BASE_UOM.

just replace TRANS_STRUCTURE-0BASE_UOM coming from flatfile with this value. I don't have SAP system with me now so check at your end once.

Or you can replace it without even a routine, choose constant 'EA'. It will make all values of 0BASE_UOM as EA.

Hope it helps...

Hope it helps

Answers (0)