Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use adrc fields in smartforms

Former Member
0 Kudos

Hi Experts,

I am create one smartform in the i am fecthing data from KNA1 for address and they need to add two more fields(STR_SUPPL2, MC_STREET) from ADRC.

So i am decalred the table in global settings its shown an error. How to use these two fields in that smartform

Pls suggest me

Thanks in Advance

purnaneelu

5 REPLIES 5

Former Member
0 Kudos

hi,

ur query is a bit confusing.. can u please post the error.. and what exactly have u done!!!

0 Kudos

Hi Soumay,

I need to display the address in smartfroms so for that i am trying to fetch the data from table ADRC .

I am declare this table in Global Definiations--->GlobalData Decalre like this i_adrc type table of ty_adrc.

But its showing the error " TY_ADRC" is unknown, but there is a type with the similar name "I_ADRC". .

This is the my probelem

Pls help me

Thanks in Advance

purnaneelu

0 Kudos

in global definition the type parameter checks for a DDIC type.. and ty_adrc is not a DDIC structure...

declare it as adrc in place of ty_adrc...

0 Kudos

Hi,

Declare the TYPE dclaration in the TYPES tab in the Global Definition

TYPES : t_adrc TYPE STANDARD TABLE OF ADRC.

Then use this T_ADRC in declaring table in Global tab in the Global Definition as

I_ADRC TYPE T_ADRC.

I_ADRC is internal Table without Heardline..you need to declare the Work Area too.

Former Member
0 Kudos

helpful