2007 Jul 10 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,
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,
2007 Jul 10 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
2007 Jul 10 9:59 PM
I am not changing the BDC...it is a standard program....just changing the structure in the exit....
2007 Jul 11 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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |