Skip to Content
0
Former Member
May 11, 2010 at 12:06 PM

Creating Attribute in BO ?

25 Views

Hi Gurus,

Iam trying to create the attribute(Funcenter in BO BUS0050), my logic is not working, i know i done a small mistake. plz help me.

i want to fect the Funcenter from FMBL by Using FMAREA and DOCNR (Document number )

Plzzz correct my ocde.

GET_PROPERTY FUNDSCENTER CHANGING CONTAINER.

tables:fmbl.

data: begin of ty_fmbl,

fm_area type fmbl-fm_area,

docnr type fmbl-docnr,

FUNDSCTR type fmbl-FUNDSCTR,

end of ty_fmbl.

select fm_area docnr FUNDSCTR from fmbl into ty_fmbl

where FM_AREA = OBJECT-KEY-FMArea and DOCNR = OBJECT-KEY-DocumentNumber.

endselect.

SWC_SET_ELEMENT CONTAINER 'FundsCenter' OBJECT-FUNDSCENTER.

END_PROPERTY.