01-04-2008 5:41 AM
Hi Fiiends,
I was recording a BDC for ME23N all the steps are working fine except one to choose next line.
PERFORM bdc_dynpro USING 'SAPLMEGUI' '0014'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_field USING 'BDC_CURSOR'
'MEPO_TOPLINE-BSART'.
PERFORM bdc_field USING 'MEPO_TOPLINE-BSART' 'UB'.
PERFORM bdc_field USING 'DYN_6000-LIST'
' 1'.
Regards,
Gaurav
01-04-2008 6:01 AM
Hi,
in the recording it wont work, you have to handle Explicitely , by using the Index.
sample code.
For Ex: if system has given text(01) in the recording..if you needs to handle multiple line items write the code like below...
data:idx(2) type n value 01.
loop at it_tab.
here you needs to add multiple items..
do n times.
text (idx) = itab-value.
idx = idx + 1.
enddo.
clear: idx.
endloop.
I hope you understand my logic... if you need any clarification, let me know..
thanks,
Murali
01-04-2008 6:58 AM
Hi muralim,
I am not having problem in selection the text item.
But the issue is
ok_code : /00 for next line is not working.
regards,
gaurav
01-08-2008 12:05 PM