Application Development and Automation 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: 
Read only

IDOC_INPUT_ORDERS problems

Former Member
0 Likes
1,765

Hi Friends,

Ive got some problems when posting the idocs of type orders05. I could find a oss note relevant to this.. But i dont know how to do this practically. can somebody help me with this....

Solution:

The standard modules IDOC_INPUT_ORDERS, IDOC_INPUT_ORDCHG,

IDOC_INPUT_REQOTE provide customer functions which allow you to read

additional fields from the Idoc and copy them into screens. For this

purpose you must call within these functions the standard routines for copying the fields into tables and, if necessary, for formatting the

fields and transferring them into the screens.

You must carry out correctly the process of the background controlled

screen sequence, the error-free field transfer and the proper enclosure

of the documents, in particular if you call screens that are ignored in

the standard case. SAP is not liable for resulting problems.

o Use Customer function '001' for reading the Idoc fields.

o The filling of the screen fields should be carried out in customer function 002

Thanks,

Kiran.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,212

Kiran,

Based on your post I am not exactly sure what your problem is. But I can explain how this BDC processing works.

IDOC_INPUT_ORDERS creates a BDC to load VA01 with the data from the IDOC. In customer function 001, you can transfer data from the IDOC fields to the program variables. If you transfer data to standard sap fields in the structures provided, the function module should automatically create the correct BDC Logic.

If the fields you are trying to add to VA01 are not standard SAP fields, then you need to change the BDC internal table in customer function 002. However you need to take special care when doing this. Since this is a BDC, you need to ensure that the additional BDC logic that you are added is inserted into the table correctly as to not cause issues when the call transaction is made.

If this doesn't answer your question, please provide more specifics with what you are trying to accomplish.

Chris

3 REPLIES 3
Read only

Former Member
0 Likes
1,213

Kiran,

Based on your post I am not exactly sure what your problem is. But I can explain how this BDC processing works.

IDOC_INPUT_ORDERS creates a BDC to load VA01 with the data from the IDOC. In customer function 001, you can transfer data from the IDOC fields to the program variables. If you transfer data to standard sap fields in the structures provided, the function module should automatically create the correct BDC Logic.

If the fields you are trying to add to VA01 are not standard SAP fields, then you need to change the BDC internal table in customer function 002. However you need to take special care when doing this. Since this is a BDC, you need to ensure that the additional BDC logic that you are added is inserted into the table correctly as to not cause issues when the call transaction is made.

If this doesn't answer your question, please provide more specifics with what you are trying to accomplish.

Chris

Read only

0 Likes
1,212

Hi Chris,

Im developing an interface to upload purchase orders/sales orders from mercury system to sap and every field is a sap standard field. i populated the segments respectively and executed the inbound fm zXXXX. its creating an idoc with 51 status and the error message im getting is Function module not allowed:IDOC_INPUT_ORDERS. i dont know how to deal with this.. if i am not clear plz do let me know

thanks.

Read only

0 Likes
1,212

Kiran,

Since I am not familiar with what you have done so far here are some possible problems:

1. Are you using standard message type ORDERS or did you create a new message type?

2. Have you verified that the inbound settings in transaction WE57 are correct for function module, basic type and message type?

Other than that I am no sure how to proceed.

Chris