<Dummy> value in field

Question: Hello,

I know it is a general problem, but this one I am not able to get along with.
Search doesn't provide much more help, although many such topics have been posted before.

This is the SU53 of the specific user:-

The following authorization object was checked:

Object J_1IFAC_S1 Enhanced Factory sales authorization
Object class J1I1 India version authorization object class

Field Value

Activity
03
Company Code
' '
Excise Group
40
Excise Document Series Group
40
Sub Transaction Type
<Dummy>
Plant
4000


And these are the values assigned to him :-

Available authorizations for the object in the master record:

Object J_1IFAC_S1 Enhanced Factory sales authorization

Authorization T-PD67001400 Available in User Buffer
Profile T-PD670014
Role Z-M3-EXCISE

Field Values

Activity
01, 02, 03, 04, 08, 09, 10, 32, 33, 35, 37, 39, 42, 43, 44
, 48
Company Code
' ', 1000
Excise Group
30, 40
Excise Document Series Group
30, 31, 40, 41
Sub Transaction Type
' '
Plant
3000, 4000


As you see, '' is already specified for Sub Transaction Type, but it is still giving the error.

The program code is as below :-

FORM authority_check_enhanced USING    p_activity type tact-actvt
                                       p_bukrs type t001-bukrs
                                       p_werks type t001w-werks
                                       p_excgrp type j_1iexchdr-exgrp
                                       p_srgrp type j_1iexchdr-srgrp
                                       p_strtyp type j_1iexchdr-strtyp.

  IF NOT p_excgrp IS INITIAL .
    AUTHORITY-CHECK OBJECT 'J_1IFAC_S1'
      ID 'ACTVT' FIELD p_activity
      ID 'BUKRS' FIELD p_bukrs
      ID 'WERKS' FIELD p_werks
      ID 'EXGRP' FIELD p_excgrp
      ID 'SRGRP' FIELD p_srgrp
      ID 'STRTYP' DUMMY.


ID 'STRTYP' DUMMY - so the program has got DUMMY for it.

The field is only 2 chars long, so I have specified ''.

What should I do more in order to solve this problem??
Inputs welcome..
_________________
Suril

A conclusion is simply the place where you got tired of thinking.

Answer:
Surreal,

Have you tried entering <DUMMY> into the field rather than " " ?
There may be a "feature" in the way the string is evaluated

Cheers

Al.

Answer:
As I said earlier, the field does not accept more than 2 characters, so no option other than entering '' (its not double quotes, just two single quotes without space)
_________________
Suril

A conclusion is simply the place where you got tired of thinking.

Answer:
sorry - forgot to read that bit.

Looking for a pragmatic solution, will it pass the check with a * value?
If so, it the field a key field?
Anything in OSS?
Copyright ?2007 - 2008 www.jt77.com