2019 May 03 5:18 AM
Dear Sir,
I am facing a problem where the values are passed in the field 'KNVI-TAXKD(01)'
But the Values are not populating in screen field Tax classification while extending the Customer master from one Company code to other.
Kindly help.... attachment.tax.jpg
I have handled the code for populating the Values to the field.
The highlighted part is where the code that populates the field in screen.
Screen is '1350' in customer master.
PERFORM bdc_dynpro USING 'SAPMF02D' '1350'.
PERFORM bdc_field USING 'BDC_CURSOR'
'KNVI-TAXKD(09)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
CLEAR: lv_count.
LOOP AT it_knvi INTO wa_knvi WHERE kunnr = wa_final-kunnr.
lv_count = lv_count + 1.
CLEAR lv_fnam.
CONCATENATE 'KNVI-TAXKD('lv_count')' INTO lv_fnam.
IF wa_knvi-taxkd IS INITIAL.
wa_knvi-taxkd = '0'.
ENDIF.
PERFORM bdc_field USING lv_fnam
wa_knvi-taxkd."'0'.
ENDLOOP.
Kindly suggest how to over come this problem.
2019 May 03 12:33 PM