05-22-2011 2:18 PM
Hi,
The inital screen for PA30 transaction call is SAPMP50A , 1100. I have done recording for pa30 and I see that the initial screen is SAPMP50A , 1000. I see that both the screens are different and the user is expecting the bdc call to be similar to PA30 direct call.The bdc is in all screen mode.
Please let me know how I could correct this.
Thanks in advance.
05-23-2011 5:19 AM
Hi,
The initial screen would be SAPMP50A & 1000 .. please do the recording once again ...
for ex:
PERFORM bdc_dynpro USING 'SAPMP50A' '1000'.
PERFORM bdc_field USING 'BDC_OKCODE'
lv_okcode. " <--- INS ....
PERFORM bdc_field USING 'RP50G-PERNR'
it_pernr-pernr.
PERFORM bdc_field USING 'RP50G-TIMR6'
'X'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RP50G-CHOIC'.
PERFORM bdc_field USING 'RP50G-CHOIC'
lv_infty. " <-- infotype name
Regards,
Srini.
05-23-2011 9:22 PM
In SHDB, check the checkbox "Not a Batch Input Session" when recording. In the code, Call the "Call transaction options from" variant and pass the LS_CTU_PARAMS-NOBINPT = 'X'.