cancel
Showing results for 
Search instead for 
Did you mean: 

multiline for business object

Former Member
0 Kudos

hi ppl,

I have created a multiline for business object zfipp for field DMBTR..i have coded like this-

GET_PROPERTY DMBTR CHANGING CONTAINER.

types: begin of tw,

Bseg type dmbtr,

end of tw,

tt type standard table of tw.

data: vobj type swc_object,

DMBTR type tt,

wa type tw.

select dmbtr from bseg into table DMBTR

where belnr = object-key-documentno.-->till here value is getting populated

SWC_SET_TABLE CONTAINER 'DMBTR' object-DMBTR.--> no values in object-DMBTR.

END_PROPERTY.

Attribute name is DMBTR..but when i execute my business object its shows null value..

Accepted Solutions (1)

Accepted Solutions (1)

former_member186746
Active Contributor
0 Kudos

There is no data in object-DMBTR

When using this macro the 3d parameter should be the internal table with the data you want to put in this multiline attribute.

Either change it to DMBTR or first populate this with this abap line:


object-DMBTR[] = DMBTR[]. 

Kind regards, Rob Dielemans

Edited by: Rob Dielemans on Jun 6, 2009 3:53 PM

Edited by: Rob Dielemans on Jun 6, 2009 4:14 PM

Former Member
0 Kudos

solved..

Answers (0)