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: 

while uploading data the data problem with 0 as prefix

Former Member
0 Kudos

While doing uploading for the infotype 08 i am getting below problem

i have field TRFAR which is of char 2.

in infotype 0008 for the field TRFAR i have an entry as 01 (i.e zerio as prefix)so when the data in the excel sheet(.csv) is given as 1 .

can i convert any where in Field Mapping and Rule's place

where i can do a check if 1 i can concatenate by 0 . Please can any

body please let me know.

Regards

syamala

1 ACCEPTED SOLUTION

former_member183994
Active Participant
0 Kudos

Click 'Rule' button, select 'Move with leading zeros'. Your code should like this after:

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'

EXPORTING

INPUT = <source field>

IMPORTING

OUTPUT = <target field>.

Alternatively, you can put the code manually by double clicking on the field to enter editor.

1 REPLY 1

former_member183994
Active Participant
0 Kudos

Click 'Rule' button, select 'Move with leading zeros'. Your code should like this after:

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'

EXPORTING

INPUT = <source field>

IMPORTING

OUTPUT = <target field>.

Alternatively, you can put the code manually by double clicking on the field to enter editor.