Skip to Content
Former Member
Feb 14, 2007 at 06:39 AM

Question on how to access the Business Logic from a Class



I am facing issues while accessing Business Logic in my class. I am using the same types in all the cases(in the class & also in my BSP).

the issue is only coming when I use Business Logic(Select statement) inside a class and if I remove the same, I am getting the things.

My issue is that I am not able to get the value into my BSP from the select statment in the Class.

My BL in the class is as under:

select single zname1




eid where zcid = attr1.

attr1 ,zname1 ,zcid and eid are of the same data type.

attr1 is an attribute defined for the class....

BSP looks like this:

call method application->GET_CUSTOMER exporting cid = cust_id

importing eid = c_id.

here above, I was trying to export a value(say 1000) and executing the BL in the class and importing the value of "zname1" into my BSP using but, I could not get any value into the "c_id" parameter....and instead the value is a Blank, and in the table it has got some value and it is not a Blank for the field "zname1".

I hope the problem seems to be clear now... Please let me know what needs to be done to overcome this issue.

Thanks & Regards,