cancel
Showing results for 
Search instead for 
Did you mean: 

using structures in dobe form

dhananjay_khamkar
Participant
0 Kudos

Hi Experts,

I have defined structures in initialization of the adobe form interface . After that i have used bapi to fill structures and builds data very well. These structures are coming into the data view of form layout. I want to dispaly data which varies according to number of items exist in the structure. Could any one please help me how to use structures to display data which varies the number of items . When i drag the fields of structure and execute the form it doesn't bring any data on form output.

data: begin of i_huobjects occurs 0.

include structure bapihuobject.

data: end of i_huobjects.

data: begin of i_huheader occurs 0.

include structure bapihuheader.

data: end of i_huheader.

data: begin of i_huitem occurs 0.

include structure bapihuitem.

data: end of i_huitem.

data: begin of i_return occurs 0.

include structure bapiret2.

data: end of i_return.

data: begin of i_vepo occurs 0,

venum like vepo-venum, "Internal HU number

end of i_vepo.

i_huobjects-object = '04'. "Shipment

i_huobjects-objkey = v_tknum. "Shipment no.

append i_huobjects.

call function 'BAPI_HU_GETLIST'

exporting

  • NOTEXT = ' '

onlykeys = ' '

tables

  • HUNUMBERS =

huobjects = i_huobjects

  • HUKEY =

huheader = i_huheader

huitem = i_huitem

  • HUHISTORY =

  • NOTFOUNDHUS =

  • HIGHESTLEVEL =

return = i_return.

Points will be rewared fully for right answer.

Thanks in Advance.

Dhananjay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

When you clik on test button of the form i'm not sure that the initialization parts is process .

Have you try it thru a program to check it ?

Regards