bdc recording from testing client to development client

Upload: devaraj-sagadevan

Post on 04-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 BDC Recording From Testing Client to Development Client

    1/13

    BDC recording from testing client to development client

    By Venkatraman N, IBM

    This method would be useful, when you dont have required datum in development client and when youhave same in testing client and you want to BDC recording with that datum.

    Login to the Testing client where you will have data.

    Go to transaction SHDB and press new recording.

    As an instance, here we will try to modify vendors postal code of his address. So, give FK02 as thetransaction code to be executed and give recording name like ZRECORD.

  • 7/29/2019 BDC Recording From Testing Client to Development Client

    2/13

    Now it goes to Vendor master update screen. Opt a vendor and click the address checkbox and pressenter.

    It will show the vendors address information.

  • 7/29/2019 BDC Recording From Testing Client to Development Client

    3/13

    Now change the existing PIN code 700019 to 560076 and press save. It will take you to the recordingscreen.

  • 7/29/2019 BDC Recording From Testing Client to Development Client

    4/13

  • 7/29/2019 BDC Recording From Testing Client to Development Client

    5/13

    Now you cannot create a program with this recording information in testing client. So, import yourrecording information to one presentation server file. Press import button.

    Give a text file name and save it in the presentation server.

  • 7/29/2019 BDC Recording From Testing Client to Development Client

    6/13

    Then Go to SHDB transaction in development client and go to new recording. Give the recording name asZRECORDINGNEW and opt the same vendor master updation transaction code FK02.

    In this case your development client should have at least one vendor. If not create it and input the vendorin FK02 transaction and as you did earlier select the address checkbox.

  • 7/29/2019 BDC Recording From Testing Client to Development Client

    7/13

    It will show you the address information. You dont change anything in that and come back. Because thisis not the vendor to whom we are going to change his PIN Code.

  • 7/29/2019 BDC Recording From Testing Client to Development Client

    8/13

    Now it will show you the recording information. Delete all the recording information and press the importbutton and browse bdc_recording file from the presentation server.

  • 7/29/2019 BDC Recording From Testing Client to Development Client

    9/13

  • 7/29/2019 BDC Recording From Testing Client to Development Client

    10/13

    The previous recording information will loaded in to BDC recording and go back from the screen. It wouldpopup for saving the recording. Now save that recording.

  • 7/29/2019 BDC Recording From Testing Client to Development Client

    11/13

    Select the recording and press program button. It will popup for new program creation. Input the requireddetails and the expected BDC recording program will get created.

  • 7/29/2019 BDC Recording From Testing Client to Development Client

    12/13

    report ZVENDORUPDATEno standard page heading line-size 255.

    include bdcrecx1.

    start-of-selection.

  • 7/29/2019 BDC Recording From Testing Client to Development Client

    13/13

    perform open_group.

    perform bdc_dynpro using 'SAPMF02K' '0106'.perform bdc_field using 'BDC_CURSOR'

    'RF02K-LIFNR'.perform bdc_field using 'BDC_OKCODE'

    '/00'.perform bdc_field using 'RF02K-LIFNR'

    'B002568'.perform bdc_field using 'RF02K-D0110'

    'X'.perform bdc_dynpro using 'SAPMF02K' '0110'.perform bdc_field using 'BDC_CURSOR'

    'LFA1-PSTLZ'.perform bdc_field using 'BDC_OKCODE'

    '=UPDA'.perform bdc_field using 'LFA1-NAME1'

    'MURARI SHARAN SRIVASTAVA'.perform bdc_field using 'LFA1-SORTL'

    '000568'.

    perform bdc_field using 'LFA1-STRAS''Brook House, Shakespeare Sarani'.

    perform bdc_field using 'LFA1-ORT01''Kolkatta'.

    perform bdc_field using 'LFA1-PSTLZ''560076'.

    perform bdc_field using 'LFA1-LAND1''IN'.

    perform bdc_field using 'LFA1-REGIO''25'.

    perform bdc_field using 'LFA1-SPRAS''EN'.

    perform bdc_transaction using 'FK02'.

    perform close_group.