07-10-2007 9:25 PM
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,
07-10-2007 9:52 PM
are you udating anything using BDC ? if so use update mode 'S'.
call transaction tcode using bdcdata
mode 'N'
update 'S'.
Thanks
Seshu
07-10-2007 9:59 PM
I am not changing the BDC...it is a standard program....just changing the structure in the exit....
07-11-2007 1:54 AM
Hello Vijendra,
I think you are passing order type FD ,try to pass as KL and see the results.
This should be data issue
Thanks
Seshu