10-25-2006 2:20 AM
Hai guys,
I want to record ME21 transaction.
If suppose i have more than 14 records to enter how can i record the Scroll bar down used in Table control for the screen(ME21 second screen)
Please help me.
Regards
Ambichan.
10-25-2006 4:15 AM
U have to handle this ur self based on the size of ur table control.
If suppose ur table control fits 7 line items, then u have to handle the records from 8 the record.
For example,
ADD 1 TO w_line_i.
IF w_line_i > 7.
w_line_i = 1.
PERFORM bdc_dynpro USING 'SAPMM07M' '0421'.
PERFORM bdc_field USING 'BDC_OKCODE' '=NP'.
ENDIF.
Set a flag once the line item are greater than 7
Try in this way.
Regards
10-25-2006 2:31 AM
Hi.
Use button "PageDown" in toolbar to scroll the grid screen.
OK-Code is 'P' or 'P+'.
10-25-2006 2:31 AM
Hi Ambi,
Please check this <a href="http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm">Link</a>
Regards
- Gopi
10-25-2006 2:49 AM
hai guys,
Thanks for your replies.
But looks like Pagedown and P,P+ did not work here.
If u see ME21 second screen, There are only PO items line number till 190. if suppose i have 22 item how to do this using BDC recording.
Thanks.
ambichan
10-25-2006 3:14 AM
Hi
Set the last item number to 'RM06E-EBELP',and
press Enter key (OK-code: /00),it will page down automatic. Then you can continue input your item data
from the second line.
-
'RM06E-EBELP' <- '140'
'BDC_OKCODE' <- '/00'
10-25-2006 3:16 AM
10-25-2006 4:15 AM
U have to handle this ur self based on the size of ur table control.
If suppose ur table control fits 7 line items, then u have to handle the records from 8 the record.
For example,
ADD 1 TO w_line_i.
IF w_line_i > 7.
w_line_i = 1.
PERFORM bdc_dynpro USING 'SAPMM07M' '0421'.
PERFORM bdc_field USING 'BDC_OKCODE' '=NP'.
ENDIF.
Set a flag once the line item are greater than 7
Try in this way.
Regards