Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error in BDC

Former Member
0 Likes
727

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

5 REPLIES 5
Read only

JL23
Active Contributor
0 Likes
694

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.

Read only

Former Member
0 Likes
694

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

Read only

nirajgadre
Active Contributor
0 Likes
694

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.

Read only

Former Member
0 Likes
694

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.

Read only

Former Member
0 Likes
694

hi,

better you use BAPI : BAPI_PO_CREATE1......it will definitely work.

regards,

Manesh.R