‎2006 Sep 27 7:07 PM
Hi!
I am a developer in SAP ABAP. My recent project is on exception reporting in transports. Can anyone give me an idea on this. In my understanding its a report that marks the deviation of values in the fields of interest in traffic light colors. Can anyone pass me a sample code on exception report ASAPPPPP?
I appreciate your time & help.
Thank you
‎2006 Sep 27 7:26 PM
‎2006 Sep 27 7:26 PM
‎2006 Sep 27 8:25 PM
Thank you for the helpful response Ali.
But would someone have any sample code or how to's please.
‎2006 Sep 27 8:51 PM
‎2006 Sep 27 8:45 PM
Hello Priyanka
I cannot provide you with an entire report but tell you a very useful function module which your report should contain: <b>TR_READ_GLOBAL_INFO_OF_REQUEST</b>
When you test this function module in SE37 set the following parameters:
- IV_TRKORR = <request> " Take on that is released and imported (probably into several systems) already
- IV_SETTINGS = <initial) " Then you will get the export data
Execute the function module. The transport log data are returned in ES_COFILE. Look at the itab SYSTEMS and there again at the itab STEPS. There you will find the STEPID (e.g. 'e' = export), its returncode and ACTIONS (date, time, rc).
Thus, this function module returns you the most interesting data of the transport protocols.
I cannot explain all parameters in detail because I do not know exactly their function. However, If you play around with the parameters on the same transport request (and comparing with the transport log) you soon will understand how you can extract data from the transport protocol.
I hope I could give you a kick-off for your report.
Regards
Uwe
‎2006 Sep 27 8:59 PM
Hi,
Please check this online document on how to setup exception report step by step.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOLIS/LOLIS_FRÜHWARNSYSTEM.pdf
Hope this will help.
Regards,
Ferry Lianto
‎2006 Sep 27 10:05 PM
Boy Uwe, was that a kick off. I tried the FM and did see some interesting results in all systems. I will analyse these thoroughly and follow-up. Still dont know how to write exception report from this. Well, its just a start. Thankyou. I appreciate it. Any more suggestions let me know.
‎2006 Sep 27 10:46 PM
Hello Priyanka
I am pleased that I could have helped you. A first draft for you report could look like this:
- Selection-screen with appropriate criteria (like request, systems)
- Collect the log data using the function module
To display the collected data you could choose two options (or more):
- Flatten the complex itab that you can display the data in an ALV grid (ABAP-OO based, please!!!)
- If you are eager on control programming then you could try to display your data as a tree
Regards
Uwe
‎2006 Sep 28 1:25 AM
Hi! Gurus,
Can I get some additional guidance please. I have been asked to create a custom table with some fields relevant to transport in STMS. Then upload the fields from the application handling transports in production. Compare these fields and write an exception report on the successful and mismatched transports. I have already created ztable and inserted values from e070, e07t & 70c. I can compare fields but how exception. Appreciate your time & help.
Thank you
‎2006 Sep 28 3:15 AM
Hi! Ali,
I did see all these links before but it just freaked me out. Wherever I browse about exception reporting, it says something about BeX Analyser or web templates. I am an ABAP programmer, I have no idea about BW. If u have time & patience please tell me how o do these. I have posted my proj in the prev message. Or tell me where I should physically start it, in SAP Query or where?
Thanks a lot
‎2006 Sep 28 3:19 AM
Hi,
Is your requirement is to display the transports that are released and which has a return code 4 for a given date range??
Thanks,
Naren
‎2006 Sep 28 2:02 PM
Hi!
My requirement is to compare logs from SAP side and the other application side and create an exception report. That is if any dates dont match or something like that.
Thank you