on 08-24-2005 1:25 PM
Hi everyone,
I am trying to execute the IDOC SALESORDER_CREATEFROMDAT202.
I am getting some dificulties.
I tried to fill the segments but I get an error.
The header segment is E1SALESORDER_CREATEFROMDAT2.
a) How do I fill it : it is not a structure like all the rest of the segments(like E1BPSDHD1,...).
After filling all the data, I called the IDOC_INBOUND_SINGLE function.
The sy-subrc is equal to 0.
But when I go to transaction we05 and check the status of the idoc created, there is a red light.
b) How can I know more information about the erorr ?
Thanks in advance for your help.
Regards.
Hi David,
Why do say "E1SALESORDER_CREATEFROMDAT2" is not a structure ? Check the structure using Txn. SE12->Data Type. It has following fields -
SALESDOCUMENTIN
BINARY_RELATIONSHIPTYPE
INT_NUMBER_ASSIGNMENT
BEHAVE_WHEN_ERROR
TESTRUN
CONVERT
Double clicking on the status 51 in WE05/WE02 will give you the details of error.
Cheers,
Sanjeev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As stated, go to WE19 and create a template with your basic type SALESORDER_CREATEFROMDAT202. Then, just double click each segment to enter the needed data.
You will also need to populate the control rec (EDIDC rec) by double clicking it. Once you have all the data in each segment, you can click on "Standard Inbound" and process the idoc.
Even if this does not process the first time, after doing this 1x, you will have an idoc number you can use as a copy for re-testing this and the only thing you'll then need to change is whatever value caused your failure.
Also, you can test via the "Inbound Function Module" option and select in debugging mode or in foreground to get more info about your error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try using the function module IDOC_INPUT_SALESORDER_CREATEFR for the inbound processing. Use we19 for an existing idoc, choose inbound function module and debug. This will help you trace the error.
regards
Aveek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
For your second querry
Double click the Idoc no. and it will take you to screen where it will show you all the segments of IDoc. Here you can check which segment is giving error.
Try this.
Regards
PRAFUL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.