Then Go to
SHDB transaction in development client and go to new recording. Give the
recording name as ZRECORDINGNEW 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 vendor in FK02 transaction and as you did
earlier select the address checkbox.
It will show you the address information. You don’t change
anything in that and come back. Because this is not the vendor to whom we are
going to change his PIN Code.
Now it
will show you the recording information. Delete all the recording information
and press the import button and browse bdc_recording file from the presentation
server.
The
previous recording information will loaded in to BDC recording and go back from
the screen. It would popup for saving the recording. Now save that recording.
Select the
recording and press ‘program’ button. It will popup for new program
creation. Input the required details and the expected BDC recording program will
get created.
no standard page heading line-size 255.
include bdcrecx1.
start-of-selection.
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.
No comments:
Post a Comment