06-13-2009 6:00 AM
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
06-13-2009 6:30 AM
hi,
ur query is a bit confusing.. can u please post the error.. and what exactly have u done!!!
06-13-2009 6:40 AM
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
06-13-2009 7:13 AM
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...
06-13-2009 7:25 AM
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.
06-15-2009 4:58 AM