08-28-2007 8:52 AM
How do we create a BDc session to Load a Z Table with entries. Note that the Z table has Table Maintenance associated with it.
I am facing this issue:
eg. *perform bdc_field using 'ZPHU_FUNC_LEVEL-ZZ_FL_1(01)'
'aa'.
Note the (01) after the table_name-field_name. How do we move to the next row?
I have tried using a variable instead of '01' and assigning sy-tabix to it. But it doesnt recognise the filed.
08-28-2007 9:48 AM
Hi,
try like this
DATA:
LW_INDX_CHAR(10).
DATA: L_BDC_FIELD(30) VALUE 'ZPHU_FUNC_LEVEL-ZZ_FL_1('.
WRITE SY-TABIX TO LW_INDX_CHAR USING EDIT MASK 'LL__________'.
CONCATENATE L_BDC_FIELD LW_INDX_CHAR ')' INTO L_BDC_FIELD.
PERFORM BDC_FIELD USING L_BDC_FIELD.
Kostas
Message was edited by:
Kostas Tsioubris
08-28-2007 9:01 AM
08-28-2007 9:42 AM
with SM30 you can also use copy past from excel if it are not many records and you have the table maintenance on row level screen only
08-28-2007 9:48 AM
Hi,
try like this
DATA:
LW_INDX_CHAR(10).
DATA: L_BDC_FIELD(30) VALUE 'ZPHU_FUNC_LEVEL-ZZ_FL_1('.
WRITE SY-TABIX TO LW_INDX_CHAR USING EDIT MASK 'LL__________'.
CONCATENATE L_BDC_FIELD LW_INDX_CHAR ')' INTO L_BDC_FIELD.
PERFORM BDC_FIELD USING L_BDC_FIELD.
Kostas
Message was edited by:
Kostas Tsioubris