I have a requirement to display logs of failed idocs in tree format. For this I use FM APPL_LOG_DISPLAY_WITH_LOGNO. Its import paraameter is log numbers of idoc. So I fetched lognumber from BALHDR table and passed those into this FM.
But I am facing one issue this table contains log of idocs which have message type material master only. for Idocs other than material master I am not able to get log numbers.
Can anybody tell me what should I do to acheive my scenario.