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

Inbound IDOC

Former Member
0 Likes
749

Hi,

I am using delvry02 idoc as a placeholder and am getting a string called 'poe'. If this particular string doesn't exist, i am terminating the FM by issuing a exit.

When i tested with we19, though the idoc processing loop has been terminated, the idoc status color is still orange, how to show it as idoc not processed.

Is there any way to change the status record of idoc to user-defined messages.Please advise me.

Or else, do i need to manually change the status using my FM, If so ?, how to do it

Hi,

I am using delvry02 idoc as a placeholder and am getting a string called 'poe'. If this particular string doesn't exist, i am terminating the FM by issuing a exit.

When i tested with we19, though the idoc processing loop has been terminated, the idoc status color is still orange, how to show it as idoc not processed.

Is there any way to change the status record of idoc to user-defined messages.Please advise me.

Or else, do i need to manually change the status using my FM, If so ?, how to do it

3 REPLIES 3
Read only

Former Member
0 Likes
694

**Set the FM name

MSED7PROCE-FCTNAME = <b>'INBOUND FM'</b>.

and pass the status(what ever status you want) and idoc number

*-- Perform to change the Status
    PERFORM IDOC_STATUS_RECORD_WRITE IN PROGRAM SAPMSED7 USING
                                                I_IDOCNUM
                                                I_STATUS_NUM
                                                     SPACE
                                                     SPACE
                                                     SPACE
                                                     SPACE
                                                     SPACE
                                                     SPACE.

regards

vijay

Read only

Former Member
0 Likes
694

Hi krishnan

If You use the standard IDoc but want to adjust the standard IDoc processing. That is to say, you want to modify error processing or want to interpret the contents of the IDocs to suit your individual needs.

You activate the customer exits in the standard function module:

  • If you want to influence error processing, you activate the customer exit for Own error status.

  • If you want to influence IDoc processing, you activate the customer exit for Own updates.

U can check this url for modification concepts in IDoc inbound processing.

<a href="http://">http://help.sap.com/saphelp_nw04/helpdata/en/52/16ae16543311d1891c0000e8322f96/content.htm</a>

Reward pts if it helps ;>)

Regards

Rakesh

Read only

Former Member
0 Likes
694

Try with

IDOC_STATUS_WRITE_TO_DATABASE