cancel
Showing results for 
Search instead for 
Did you mean: 

How to Load a Flat File into BW-BPS Using a Web Browser".

0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (0)