Skip to Content
avatar image
Former Member

Data dictionary check problem(DdTypeString.checkValid), please help

Hi, I am creating a Web Dynpro Java application but having trouble when calling BAPI RFC Model.

I want to get 1 attribute from an output data structure, but I am getting exception before I can reach the data. It says:

- Character string "" does not exist in the set of allowed values

at Attribute value is not valid for attribute 'Currency' of model class ''


The Currency is an attribute from the data model in the same output structure where another attrubute data I need. I understand "" is not in its value dictionay. But This could happen when there is no result or the return data which currency is "" because we are not using it which is an optional input.

How can I get around this exception and get 1 attrubute within the structure when Currency is "" ?

Many Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 08, 2009 at 10:30 AM


    Put some default value in it and check whether error still exist.

    Best Regards

    Satish Kumar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi, Thanks for your reply.

      There is no way to input defult value in web dynpro. It can be done by BAPI programmer, but the big problem is the BAPI itself is running with NO PROBLEM in ABAP. In ABAP, the return structure gives all data even Currency is "" without even warning. ABAP programmers refused to change anything because they don't think it is their problem.

      So any other way except changing ABAP dictionary or changing BAPI to set defualt value within dictionary?