‎2008 Jul 24 4:22 AM
Hi all ,
i have used bapi structure BAPIKNA101_1 in that table field is TABLE_P,TABLE_P data element is AD_TITlETX.
im creating new variable V_TITLE and also i want assign AD_TITLETX length and type to V-TITLE variable, i have decalred the variable but i'cant assign the variable length and type how to assign to it ?
these lines throws some errors :
DATA : V_TITLE type AD_TITlETX,
V_TITLE(30) TYPE C.
AD_TITLETX length : 30.
AD_TITLETX type : char
‎2008 Jul 24 6:20 AM
Hi,
You cannot change the length or type of a data element in a program.
When you code as below:
DATA : V_TITLE type BAPIKNA101_1-TABLE_P.
You mean to say that v_title refers to relevant structure's field (whose tech. attributes type & length are in the domain mentioned).
Hope you are clear about this.
Regards,
Wajid Hussain P.
‎2008 Jul 24 6:20 AM
Hi,
You cannot change the length or type of a data element in a program.
When you code as below:
DATA : V_TITLE type BAPIKNA101_1-TABLE_P.
You mean to say that v_title refers to relevant structure's field (whose tech. attributes type & length are in the domain mentioned).
Hope you are clear about this.
Regards,
Wajid Hussain P.
‎2008 Jul 24 7:16 AM
‎2008 Jul 28 7:19 AM