アダプターは「Call Transaction レコーダー」ウィザードを提供し、Call Transaction または BDC セッションを使用する ABAP ハンドラーの開発を支援します。
「Call Transaction レコーダー」ウィザードにより、Call Transaction のサンプル・コードを生成して、開発を促進することができます。 これはレコーディング・フェーズ中に変更される各画面のサンプル・コード・スタブを生成します。
このウィザードにアクセスするには、SAP GUI で /CWLD/HOME トランザクションを入力してください。
* Customer master: request screen chnge/displ cent.
perform dynpro_new using 'SAPMF02D' '0101' .
* Customer account number
perform dynpro_set using 'RF02D-KUNNR' '1' .
* Function Command
perform dynpro_set using 'BDC_OKCODE' '/00' .
* Function Command
perform dynpro_set using 'BDC_OKCODE' '/00' .
* Customer master: General data, CAM address, communication
perform dynpro_new using 'SAPMF02D' '0111' .
* Title
perform dynpro_set using 'SZA1_D0100-TITLE_MEDI' 'Mr.' .
* Function Command
perform dynpro_set using 'BDC_OKCODE' '=UPDA' .
* Call Transaction
Call Transaction 'XD02' using bdcdata
mode input_mode
update 'S'
messages into bdc_messages.
ウィザードは、必要なビジネス・オブジェクトを生成しません。 アダプター接続ウィザードを使用して、ビジネス・オブジェクトを生成します。