Dear All,
I have a bdc program now i need to pick up function code based on some condition. means if some condition then goto one function code and else don't go. I tried it but not working. It is working in shdb but not in the program.
eg.
if not zcontract_no is initial.
perform bdc_dynpro using 'SAPMZW_CREATE_SALES_ORDER_STD'
'9000'.
perform bdc_field using 'BDC_CURSOR'
'P_CONTRACT'.
perform bdc_field using 'BDC_OKCODE'
<b>'=COPY'.</b>
endif.
perform bdc_field using 'BDC_OKCODE'
<b>'=SUBMIT'</b>.
Please suggest.
Regds,
Anup