2006 Sep 20 3:00 PM
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.
2006 Sep 20 3:03 PM
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.
2006 Sep 20 3:03 PM
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
2006 Sep 20 3:04 PM
Hi Arun,
Welcomer to SDN.
Please try 'P+' for BDC_OKCODE.
Regards,
Ferry Lianto
2006 Sep 20 3:07 PM
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
2006 Sep 20 3:16 PM
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....
2006 Sep 20 6:05 PM
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.
2006 Sep 20 7:02 PM
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.
2006 Sep 20 7:17 PM
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
2006 Sep 21 7:33 AM
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.
2006 Sep 21 2:10 PM
Well, get someone with different screen resolution to tesdt it too.
Rob