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

Page down in BDC

Former Member
0 Likes
1,501

Hi all,

I have done a BDC for ME31k, the requirement is for a single vendor there are multiple materials groups around 35 material groups which are to be loaded.

Around 9 material entries are being uploaded, after which I am facing a page down problem.

Kindly help with ur suggestions.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,382

Chcek the link for an example of doing a bdc with a table control:

http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm

Regards,

Ravi

Hi all,

I have done a BDC for ME31k, the requirement is for a single vendor there are multiple materials groups around 35 material groups which are to be loaded.

Around 9 material entries are being uploaded, after which I am facing a page down problem.

Kindly help with ur suggestions.

9 REPLIES 9
Read only

Former Member
0 Likes
1,383

Chcek the link for an example of doing a bdc with a table control:

http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm

Regards,

Ravi

Read only

Former Member
0 Likes
1,382

Hi Arun,

Welcomer to SDN.

Please try 'P+' for BDC_OKCODE.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
1,382

At the bottom of the screen, is an item field. What I would do is every time you put in an item, increment a counter and then position to that counter. The second item on the screen (or some other predictable item) should be available for input.

rob

Read only

Former Member
0 Likes
1,382

hi,

create a structure eg. WA_CTU_PARAMS like global structure

CTU_PARAMS and fill it as follows.

wa_ctu_params-<b>defsize</b> = 'X'.

wa_ctu_params-updmode = ' '. synch/asynch

wa_ctu_params-dispmode = ' '. N/A/E

i hope with this ur problem will be solved.

reward points if useful....

Read only

Former Member
0 Likes
1,382

try to press "Enter lines" button fore every new item, it should scroll the list so your new line is either 1st or 2nd on the screen.

Read only

Former Member
0 Likes
1,382

Hi All,

Thanks for your response..Each and everyone's answer was useful in some way, as the logic tat i used was lil bit different.

So the logic i used is given below..hope this one ll will useful in future.

IF W_NO > 14. (14 is the last record no which i get)

W_NO = W_NO MOD 14.

W_NO = W_NO + 01.

perform bdc_field using 'BDC_OKCODE'

'/00'.

CONCATENATE 'EKPO-WERKS(' W_NO ')' INTO W_CURSOR.

CONCATENATE 'EKPO-EMATN(' W_NO ')' INTO W_EMATN .

CONCATENATE 'EKPO-KTMNG(' W_NO ')' INTO W_KTMNG .

CONCATENATE 'EKPO-WERKS(' W_NO ')' INTO W_WERKS .

perform bdc_dynpro using 'SAPMM06E' '0220'.

perform bdc_field using 'BDC_CURSOR'

W_CURSOR.

*To enter data in next page

perform bdc_field using 'BDC_OKCODE'

'=NP'.

ELSE.

CONCATENATE 'EKPO-EMATN(' W_NO ')' INTO W_EMATN .

CONCATENATE 'EKPO-KTMNG(' W_NO ')' INTO W_KTMNG .

CONCATENATE 'EKPO-WERKS(' W_NO ')' INTO W_WERKS .

ENDIF.

Read only

0 Likes
1,382

What happens if someone else with a different screen resolution tries to execute this. Positioning directly to the item you want will work in all cases.

Rob

Read only

0 Likes
1,382

Hi Rob,

the logic which i used in my program was different. And i didnt use the item position, so i am not sure abt tat one.

But, i think BDC recording doesnt depend upon the screen resolution, bcos when i go to the transaction ME31K, there is 19 records available manually, whereas when u go thru Recording u hav only 14 records, so there is a difference manually and when u enter thru recording, it may differ thru tcodes but not thru Recording.

Anyhow, i am testing it now in the Quality server, will let u know as soon as i finish.

Thanks for your interest.

Arun.

Read only

0 Likes
1,382

Well, get someone with different screen resolution to tesdt it too.

Rob