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 status record

Former Member
0 Likes
685

hi,

How idoc status records are filled when it comes to inbound side ?

Ganesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
648

HI,

These status records are filled in the inbound funciton module programatically.

But sap does not allow you to chagne the standard status like 51,53 to other purpose.In every fucnction module there is a export parameter WORKFLOW_RESULT.By using this 51 or 53 will be generated.

But we can add second line of message by using user-exit.

Thanks,

shyla

hi,

How idoc status records are filled when it comes to inbound side ?

Ganesh

4 REPLIES 4
Read only

Former Member
0 Likes
648

Hi ,

you can use following code fragment.

idoc_status-docnum = v_docnum.

idoc_status-status = '59'.

idoc_status-msgid = <msg_class>.

idoc_status-msgno = '16'.

idoc_status-msgty = 'E'.

APPEND idoc_status.

Regards,

Sumit

Read only

0 Likes
648

thanks sumit ,

but i dont know how am getting "company code " field, as a result i am getting status error 29.

Ganesh

Read only

0 Likes
648

Hi,

Please try to test using this FM to check whether your ALE distribution model has been setup correctly or not for the message type.

ALE_MODEL_INFO_GET

ALE_MODEL_AUTH_INFO_GET

If not, yo need to maintain distribution model (t/code BD64).

<b>Reward points</b>

Regards

Read only

Former Member
0 Likes
649

HI,

These status records are filled in the inbound funciton module programatically.

But sap does not allow you to chagne the standard status like 51,53 to other purpose.In every fucnction module there is a export parameter WORKFLOW_RESULT.By using this 51 or 53 will be generated.

But we can add second line of message by using user-exit.

Thanks,

shyla