2010 Dec 14 12:27 PM
Hi all,
I just want to add a FM to my Business Object.
In the FM, when i define the import and export parameters using "TYPE" the FM is working fine. But while adding that method to a Business Object in SWO1, an error is raised. The details are -
Data type xxxx cannot be used for methods
Message no. OL403
Diagnosis
You tried to create a method in the BOR with a data type that is not supported. Only data elements and structures are allowed as reference types for parameters in the BOR.
But when i use "LIKE" in place of "TYPE", everything is working fine. Why i want to use "TYPE" in place of "LIKE" is that "LIKE" as typing for parameters is obsolete.
Please suggest the reason for the same.
Thanks,
Deb
Hi all,
I just want to add a FM to my Business Object.
In the FM, when i define the import and export parameters using "TYPE" the FM is working fine. But while adding that method to a Business Object in SWO1, an error is raised. The details are -
Data type xxxx cannot be used for methods
Message no. OL403
Diagnosis
You tried to create a method in the BOR with a data type that is not supported. Only data elements and structures are allowed as reference types for parameters in the BOR.
But when i use "LIKE" in place of "TYPE", everything is working fine. Why i want to use "TYPE" in place of "LIKE" is that "LIKE" as typing for parameters is obsolete.
Please suggest the reason for the same.
Thanks,
Deb
2010 Dec 14 12:55 PM
2010 Dec 14 3:51 PM
Deb,
TYPE is not supported in BOR method. You may check the following link for more information:
http://help.sap.com/saphelp_nw70/helpdata/EN/c5/e4ac39453d11d189430000e829fbbd/frameset.htm
2010 Dec 15 5:25 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |