‎2009 Dec 14 11:34 AM
Hi All,
I am trying to upload Components for Purchase order with reference to Purchase Requisition using Tcode ME21
If i am uploading 15 components its working fine.
For more than 15components i have used Table Control in BDC.
But the problem is when i am Clicking Downarrow.
the BDC_OKCODE neither '/00' nor '=ENTE' are Working.....
Can anyone help me out of this.
Thanks&Regards,
D.Sharmista
Edited by: Dadapure sharmishta on Dec 14, 2009 12:35 PM
‎2009 Dec 14 12:14 PM
The Scroll command requires the default size at recording time.
use the "Next page" command for scrolling (the OKCodes are usually /23 or P+). Make sure that you always start scrolling on the first page. Using the scroll bar is not recorded, if you still use the scroll bar during the recording, incorrect results will occur.
‎2009 Dec 14 12:40 PM
Hi
Next page & Previous page are in display mode while recording.
Can u provide further suggestions.
Regards
Sharmista
Edited by: Rob Burbank on Dec 15, 2009 11:26 AM
‎2009 Dec 14 12:46 PM
Hi,
During the recording try to fill the first 15 lines of the table control and then press the page down button (Ok code P+). and again try to fill the next records.
Loop at internal table.
cnt = cnt + 1.
fill the table control line..
if cnt = 15.
bdc code for page down (P+)
clear cnt.
endif.
Endloop.
‎2009 Dec 16 11:48 AM
Hi niraj,
Thank you for the reply.
Actually i have used this logic only in my program,
But my problem is that OK_CODE(P+) is not working.
it is displaying message as Function Aborted.
Can anybody help me out of this,
Please reply as soon as possible.
Thanks&Regards,
Sharmista.
‎2009 Dec 15 3:49 PM
hi,
better you use BAPI : BAPI_PO_CREATE1......it will definitely work.
regards,
Manesh.R