08-30-2007 7:47 PM
what are user exits and customer exits and enhancements and these used?
please explain
give detailed information about enhancements with transaction codes.
08-30-2007 7:49 PM
how can we use table control in batch data communication?
please explain.
08-31-2007 5:43 AM
Hi,
you record for an item and then click on page down and save it.use the loop on this bdc to populate the the bdc table no need to do manually.
LOOP AT l_i_dettab_item INTO l_wa_dettab_item..
l_cursor = l_cursor + 1.
IF l_cursor GT 1.
PERFORM bdc_field USING 'BDC_OKCODE'
'=P+'.
ENDIF.
PERFORM cursor_pos_notation USING 'V_EAN_DET001- GTIN_VARIANT_TYP'
l_cursor
CHANGING l_cursor_notation.
PERFORM cursor_pos_notation USING 'V_EAN_DET001-VTWEG'
l_cursor
CHANGING l_cursor_notation.
PERFORM bdc_field USING l_cursor_notation
l_wa_dettab_item-vtweg.
PERFORM cursor_pos_notation USING 'V_EAN_DET001-DATEFROM'
l_cursor
CHANGING l_cursor_notation.
PERFORM bdc_field USING l_cursor_notation
l_v_date.
PERFORM bdc_field USING 'BDC_CURSOR'
l_cursor_notation.
PERFORM bdc_field USING 'BDC_OKCODE'
'=SAVE'.
ENDLOOP.
Here my ok code for page down is =P+ so i am looping on the table control data and then populating the bdc table after this i will populate the remaing info required for the call transaction and refresh bdcdata.
thats it no need to do recording 1000 times.
now if u do like this it doesn't depend on the number of records on table control.
it will take all the records.
Reward if useful.
Regards,
sasi
08-30-2007 7:50 PM
in LSMW method , what are the methods and do we write code for those methods?
please explain
08-30-2007 7:51 PM
08-31-2007 5:37 AM
In standard sap programs they will provide the user exits where we cna modify the code of standard transactions.
customer exits usually start as call customer function 'xxx',
nor maly there are available in the idocs procesing.
enhancements means adding methods to the exisitng bapis.
standard bapis are available,,if we want additina functionality we enhance them according to our needs.