03-24-2006 9:36 AM
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.
03-24-2006 9:59 AM
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
03-24-2006 11:28 AM
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.
03-24-2006 11:32 AM
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
03-24-2006 11:33 AM
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
03-24-2006 11:50 AM
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.
03-24-2006 11:55 AM
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
03-24-2006 12:25 PM
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
03-25-2006 1:26 AM
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.