cancel
Showing results for 
Search instead for 
Did you mean: 

Implementing CL_BSP_BP_TAX_NUMBERS for data binding

Former Member
0 Kudos

Hi everyone,

I've got to use the BP tax number in IC WC. I've seen that we've got this class: CL_BSP_BP_TAX_NUMBERS. But i don't know how to implement this class since i create a page attribute that is ref to this class and a controller attribute that is also ref to this class.

When i define the input fields in the page:

<crmic:gridLayoutCell columnIndex="1" rowIndex="<%=lv_r3 + 2 %>" colSpan="3"><crmic:label design = "label"

for = "//BP_TAXDATA/GTTAXINITIAL.TAXNUM"

text = "<%= otr(ZCRM_IC/TaxNum) %>" /></crmic:gridLayoutCell>

<crmic:gridLayoutCell columnIndex="4" rowIndex="<%=lv_r3 + 2 %>" colSpan="5"><crmic:inputField id = "NIF"

width = "100%"

maxlength = "10"

value = "//BP_TAXDATA/GTTAXINITIAL.TAXNUM" /></crmic:gridLayoutCell>

I get an error.

Can anybody help me. How should i implement this class?

Best Regards

João Anastácio

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

U can use model binding for a class only if it is inherited from CL_BSP_MODEL.

Cheers

Ankur

Former Member
0 Kudos

Hi Ankur,

But can i use this class, to deal with the BP taxnumber (e.g. get the BP taxnum, update bp taxnum, ...)

Cheers

Joã

Former Member
0 Kudos

Hi,

In that case what I can suggest is to define ur Z class of which CL_BSP_MODEL is super class.

Now in friends tab specify CL_BSP_BP_TAX_NUMBERS and it will be accesible now to you.

Do revert back if u need any assistance.

Cheers

Ankur

Message was edited by: Ankur Jain

Answers (0)