Hi,
While creating the order thru Idoc the BDC is getting failed for some particular order type(AUART) and order reason(AUGRU).
I have hardcoded the order type and order reason for some particular data in the segments in the structure DXVBAK in exit EXIT_SAPLVEDA_001.
<b>if sy-subrc = 0 and flag = 'X'.
move dxvbak to xvbak.
XVBAK-AUART = 'FD'.
XVBAK-AUGRU = 'F04'.
move xvbak to dxvbak.
endif.</b>
Is there any restriction maintained at customization level for these.
Please reply back as soon as possible.
Thanks,