‎2009 Mar 21 2:25 PM
HI Apapers,
I am Using t.code AIAB. t.code based on table control.I upload 100.records.its only allowing for 17 records.Reason is first page 17 line items only. but i am using in Case ok code P+ is no effective. Please tell me how to resolve the issues.
Code: cnt is my line items.(using concatinate statement) is working fine "
IF cnt > 17.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=P+'.
endif.
regards,
raj.
‎2009 Mar 21 2:48 PM
hi. can you try erasing
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
‎2009 Mar 21 3:33 PM
hi ,
your code needs a refinement in handling hte cursor positions with the appropirate field positon.
perform bdc_field using 'PLPOD-LTXA1(01)'
this is a normal recording procedure .. (01) here indicates place holder for 01 position ..
now for filling 10 line the code should be
perform bdc_field using 'PLPOD-LTXA1(10)'
so to achieve this u need to modify the code (xx) to the number u want to populate by concatenation the count
'PLPOD-LTXA1 ( xx ) as some wa_ltxa1
perform bdc_field using W_LTAX1 .
and this should be breaked up populating the count no passing it dynamically . in interval of 5 or some minimum no u should use the code of page scrolling .. this count is intermediate count .. suppose say from 10 - 15 records this should be scrolled once ..
and 15-20 again once ..
//
IF cnt > 17.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=P+'.
endif
// this count will do once and every no greate than 17 which should not be the case ..
use the bdc cursor and clear of the count as and when necessary ..
br,
vijay.
‎2009 Mar 21 5:46 PM
1.Click new line button
2.Enter record
3. Click new line button again
4. enter the reocrd
Repeat this this you have entered all the records...
Just sumilate the above steps in the BDC recording(Use Tcode: SHDB)and use in you program.
Regards,
Gurpreet