Application Development 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: 

Idoc error numbers have no associated text

Former Member
0 Kudos

Hi all,

For some Inbound error idocs i am not getting message text for the associated numbers even though we are maintaining in T100 table.Pls let me know how to proceed.

Thanks in advance,

Uma.

8 REPLIES 8

former_member188685
Active Contributor
0 Kudos

Hi,

It depends on the application which you are using. and are you facing this problem in IDoc or you are trying to retrieve the error messages using some selects on T100.please let me know.

Regards

Vijay

0 Kudos

Hi,

I am facing the problem in Idoc.

For some error idocs I am not getting text in WE05 for the associated message numbers in the message text field and for some text is displayed.

0 Kudos

Uma,

It depends how the processing program is updating the data in the status records of the IDOC.

Can you look into that?

Regards,

Ravi

0 Kudos

what is the Inbound Fm which you are using to process the IDoc. is it a Z* Fm. check it , how you are updating the error messages.

Regards

Vijay

0 Kudos

Ravi,

I am not getting the text while updating the data in status records.This updation of records in EDIDS table is happening through a standard program SAPLBD20 from Z* FM.

0 Kudos

Uma,

Look at the Z function and that is where the status will be getting updated.

I guess, the status text is not being passed properly.

Mostly it will be using one of the function modules to update the status.

IDOC_STATUS_CONVERT

IDOC_STATUS_WRITE_TO_DATABASE

regards,

Ravi

Note : Please mark the helpful answers.

Message was edited by: Ravikumar Allampallam

0 Kudos

hi umadevi,

i'm sure the problem is in Z*Fm , in side FM you are not passing the messages Properly. Check out once again. in debug mode you will be able to see .

Regards

Vijay

0 Kudos

Hi Umadevi,

R u updating the IDOC status with respective error numbers before you are passing it to IDOC_STATUS_CONVERT or any other function module? I think you are missing that part.

Please check this part, may be useful...

PERFORM SET_IDOC_STATUS USING C_IDOC_ERROR_STATUS

'E'

'ZMM'

'965'

S_Z1EDPSEASN-J_3ASEAN

s_edidc-docnum

changing idoc_status[].

FORM SET_IDOC_STATUS USING VALUE(RV_STATUS) TYPE EDI_STATUS

VALUE(RV_MSG_TYP) TYPE SYMSGTY

VALUE(RV_MSG_ID) TYPE MSGID

VALUE(RV_MSG_NO) TYPE MSGNO

VALUE(RV_MSG_VAR) TYPE ANY

VALUE(RV_DOCNUM) TYPE EDI_DOCNUM

CHANGING RT_IDOC_STATUS TYPE TYPE_IDOCSTATUS.

  • Local structure

DATA S_IDOCSTATUS LIKE LINE OF RT_IDOC_STATUS.

  • Fill IDOC status table

S_IDOCSTATUS-DOCNUM = RV_DOCNUM.

S_IDOCSTATUS-STATUS = RV_STATUS.

S_IDOCSTATUS-MSGTY = RV_MSG_TYP.

S_IDOCSTATUS-MSGID = RV_MSG_ID.

S_IDOCSTATUS-MSGNO = RV_MSG_NO.

S_IDOCSTATUS-MSGV1 = RV_MSG_VAR.

APPEND S_IDOCSTATUS TO RT_IDOC_STATUS.

ENDFORM. " set_idoc_status

Hope this will solve your purpose.