Hi Saurabh,
Try below code, its working for me.
PERFORM BDC_DYNPRO USING 'SAPMP50A' '1000'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=INS'.
PERFORM BDC_FIELD USING 'RP50G-PERNR'
'<PERNR>'.
PERFORM BDC_FIELD USING 'RP50G-TIMR6'
'X'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'RP50G-SUBTY'.
PERFORM BDC_FIELD USING 'RP50G-CHOIC'
'105'.
PERFORM BDC_FIELD USING 'RP50G-SUBTY'
'<SUBTY>'.
PERFORM BDC_DYNPRO USING 'SAPMSSY0' '0120'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'9000'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'UPD'.
PERFORM BDC_FIELD USING 'P0105-BEGDA'
'01.11.2011'.
PERFORM BDC_FIELD USING 'P0105-ENDDA'
'31.12.9999'.
PERFORM BDC_FIELD USING 'P0105-USRID_LONG'
PERFORM BDC_TRANSACTION USING 'PA30'.