Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

double click in batch

hi,

loop at itab.

c = c + 1.

  • if sy-tabix eq 1.

add_bdc 'SAPLCPDI' '1010' '' ''.

add_bdc '' '' 'BDC_OKCODE' '/00'.

add_bdc '' '' 'RC271-PLNNR' itab-plnnr.

add_bdc '' '' 'RC271-WERKS' ''."itab-werks.

add_bdc '' '' 'RC271-STTAG' '01052010'.

Data:vornr like plpod-vornr,

v type i,

z(2),x(2).

vornr = itab2-vornr.

v = vornr.

v = v / 10.

x = v.

CONCATENATE '0' x INTO z.

Data:txt(100).clear:txt.

CONCATENATE 'PLPOD-LTXA1(' z ')' INTO txt.

add_bdc 'SAPLCPDI' '1400' '' ''.

add_bdc '' '' 'BDC_OKCODE' '=PICK'.

UNPACK itab2-vornr to itab2-vornr.

add_bdc '' '' 'BDC_CURSOR' txt.

endloop.

I thought that when cursor is on the specified row, it picks up it, but id does not do as i think, always double clicks on the first row, 0010 item, how can i do it for the 0020 for example?

thanks

Former Member
Not what you were looking for? View more on this topic or Ask a question