Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Function IDOC_INPUT_ORDERS

Former Member
0 Kudos

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,

3 REPLIES 3

Former Member
0 Kudos

are you udating anything using BDC ? if so use update mode 'S'.

call transaction tcode using bdcdata

mode 'N'

update 'S'.

Thanks

Seshu

0 Kudos

I am not changing the BDC...it is a standard program....just changing the structure in the exit....

0 Kudos

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