2016 Aug 08 1:44 PM
Hello All,
I am using FM IDOC_INPUT_ORDERS for inbound idoc processing and creation of sales orders.
My question is, is it possible to have custom information messages (Type I) ?
For example a custom information messages of a Zmessage class under status 53 in addition to standard ones.
Thanks
Pratik.
Hello All,
I am using FM IDOC_INPUT_ORDERS for inbound idoc processing and creation of sales orders.
My question is, is it possible to have custom information messages (Type I) ?
For example a custom information messages of a Zmessage class under status 53 in addition to standard ones.
Thanks
Pratik.
2016 Aug 08 2:19 PM
Absolutely possible.
You just need to find the right an exit closest to your custom processing.
For example, if its at the very end of the process you can use the exit, EXIT_SAPLVEDA_005. You can simply append a new record to the status table ' DIDOC_STATUS' which is available in the exit.
The above is just an example. As stated earlier, you need to find the right exit for your process.
Thanks,
Vikram.M
2016 Aug 08 2:36 PM
Hello Vikram,
Actually I did it in the exit EXIT_SAPLVEDA_004.
But its not working. Not sure what's missing.
Thanks,
2016 Aug 08 3:15 PM
Pratik,
Did you check if the exit was called/reached?
If yes, did you check if a new record was appended to the status table after your code?
Would you be able to share your code within the exit and the debugger showing the new status record?
Thanks,
Vikram.M
2016 Aug 08 3:30 PM
2016 Aug 08 3:52 PM
Pratik,
You need debug a little more......Check what happens to the status record after the FM(IDOC_INPUT_ORDERS) call is complete. If I remember correctly there is some code based on the workflow status variables.
Once you get to that point, you will have a better idea.
Thanks,
Vikram.M
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |