Professional Documents
Culture Documents
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
**** Code for splitting the data in the internal table t_indata.
Loop at t_indata into w_indata.
Split w_indata at ',' into w_output-bukrs
w_output-ktokk
w_output-anred
w_output-name1
w_output-sortl
w_output-land1
w_output-akont
w_output-fdgrv.
append w_output to t_output.
endloop.
****
*
*
*
*
*
endloop.
*&---------------------------------------------------------------------*
*&
Form bdc_dynpro
*&---------------------------------------------------------------------*
*
text
*----------------------------------------------------------------------*
*
-->P_0127 text
*
-->P_0128 text
*----------------------------------------------------------------------*
FORM bdc_dynpro USING
VALUE(P_0127)
VALUE(P_0128).
Clear w_bdcdata.
w_bdcdata-Program = P_0127.
w_bdcdata-Dynpro = P_0128.
W_bdcdata-Dynbegin = 'X'.
Append w_bdcdata to t_bdcdata.
ENDFORM.
" bdc_dynpro
*&---------------------------------------------------------------------*
*&
Form bdc_field
*&---------------------------------------------------------------------*
*
text
*----------------------------------------------------------------------*
*
-->P_0132 text
*
-->P_0133 text
*----------------------------------------------------------------------*
FORM bdc_field USING
VALUE(P_0132)
VALUE(P_0133).
Clear w_bdcdata.
w_bdcdata-fnam = P_0132.
w_bdcdata-fval = P_0133.
Append w_bdcdata to t_bdcdata.
ENDFORM.
" bdc_field