on 04-20-2006 11:47 AM
Hi all,
i have a litle problem with the How-to Paper " How to Load a Flat File into BW-BPS Using a Web Browser".
It's neccessary to define a structure as follows
Type definitions:
Structures and tables that correspond to the planning area.
Note: Replace client number (800) and area (ZF LE) corresponding to yo
ADJUST >>>>
TYPES: YTH_DATA TYPE ZKYTH_DATA_423ZCOMIFSZ,
My problem is that we have a different client number in the development and the productive system.
How can i solve this problem, means how can i program the client number dynamic ?
Thanks for your help.
Detlev
Hi,
The other option is creating the data dynamically
DATA: yth_data TYPE REF TO data,
yth_data_table TYPE REF TO data,
table_name TYPE char100.
CONCATENATE 'ZKYTH_DATA_' sy-mandt 'ZCOMIFSZ' INTO table_name.
FIELD-SYMBOLS: <fsl_data> TYPE ANY,
<fsl_data_table> TYPE ANY TABLE.
*this is the structure of workarea
CREATE DATA yth_data TYPE (table_name).
ASSIGN yth_data->* TO <fsl_data>.
*This is an internal table
CREATE DATA yth_data_table TYPE TABLE OF (table_name).
ASSIGN yth_data_table->* TO <fsl_data_table>.
Hope this was helpful.
thanks
PS - Assigning points is the way to say thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.