cancel
Showing results for 
Search instead for 
Did you mean: 

General Task List Number Restriction

syed_yousuf
Participant
0 Kudos
518

Hi,

Can we restrict the first two charactors of the number range to Alphabet only for General Task List ? I have defined the number range as AAAAAAA0 to ZZ999999.

With this number range we can create B1, D1, K9 etc, But, I need the first two characters to be restricted to alphabets only (for ex, UK, DK, AC etc.,) instead of combination of numeric and alphabets.

Please let me know how to meet this requirement. Thank you.

Regards,

PM Consultant

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This can be done using Function module: FIELD_EXIT_PLNNR

You can define your own required number range logic.

Regards,

Nikkhel

Answers (2)

Answers (2)

anita_patil3
Explorer
0 Kudos

Hi;

You can try with writing small ABAP program with external no range assignment. This program would automatically decide and propose the numbers as per required logic you mentioned.

Regards;

Avinash

syed_yousuf
Participant
0 Kudos

Hi Avinash,

I guess this can be done with a program development, however, I am looking in standard functionality in configuration or any other changes.

Regards,

PM Consultant

anita_patil3
Explorer
0 Kudos

Hi;

In this case create new internal no range like From AAXXXXX To AAXXXXX. This will give you the expected results.

Regards;

Avinash

syed_yousuf
Participant
0 Kudos

Hi Avinash,

I tried with above number range as well, but it is not restricting the first two charaters to alphabets oly  (for ex. DK123 or UK342 or AB34) it is allowing first two letters for AA (ex.AA1, AA5 or A1 or A4 etc). The requirement is first two characters should be alphabets only and rest of the characters can be mix up of both.

Regards,

PM Consultant

former_member200662
Active Participant
0 Kudos

Hi

If you have the first two letters specific then may be you can try giving different intervals.

For example, as you mentioned above, if you have only 2 or 3 series starting with UK, DK, AC then you may try giving as

UK0000 to UK9999

DK0000 to DK9999

I know its looks weird....but if the series are less then you can try this option.

Lets wait for others response as well.

Regards

Pavan

syed_yousuf
Participant
0 Kudos

Hi Pavan,

Thanks for the reply, above solution still does not restrict the first two letters to alphabets only, it creates task lists with numbers D1 or B1 or K5 etc which we do not required.

Regards,

SAP PM