Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Address node in Smartform

Hi experts,

Greetings of the Day.

This is my first thread in SDN.SAP .com .

I am making a smartform having i have to dynamically print both soldto and shipto address.

I am passing the internal tables from my print program but i am writing the code for address fetching in smartform only .

I write the following query .

tables: vbak,kna1,adrc.

types:begin of sItabaddr,

vbeln type vbak-vbeln,

addrnumber type adrc-addrnumber,

end of sitabaddr.

data:itabaddr TYPE TABLE OF sitabaddr.

data: wa_itabaddr type sitabaddr.

select vbeln addrnumber from it_vbak

inner join kna1 on it_vbak-kunnr = kna1-kunnr

inner join adrc on adrc-adrnr = kna1-adrnr

into table itabaddr.

But i got the following error.

""Global Definitions: "IT_VBAK" is not defined in the ABAP Dictionary as a table, projection view or database view.""

Can anyone please tell me how to pass the address number in address node and how to resolve the above error .however i tried to pass the itabaddr-addrnumber by checking the checkbox dynamic address in Address window.But still error is coming.

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question