Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: show code for more types of Parameter transactions #12

Closed
Alih-b opened this issue Apr 16, 2024 · 2 comments
Closed

Feat: show code for more types of Parameter transactions #12

Alih-b opened this issue Apr 16, 2024 · 2 comments

Comments

@Alih-b
Copy link
Contributor

Alih-b commented Apr 16, 2024

Version

Version: 1.4.2

Description of the Feature Request

Some types of parameter t-codes are not covered,
In case they are assigned to a t-code and not directly linked to the program.

Additional Information

Currently it works for parameter transactions that are linked to SE38 (calling SE38 with program name in the parameters)
or their SREPOVARI-REPORTTYPE is empty (ABAP report).
There are other report types though, and for parameter t-codes that are assigned to transaction, their REPORTTYPE is 'TR'.
These t-codes can be handled with SRT_GET_REPORT_OF_TCODE.
There are also parameter t-codes that are not considered as ABAP report (they do not exist in SREPOVARI) but are assigned to another t-code which is assigned to a report.

I guess there are so many different ways to start a program with transaction parameters, so it might not be possible to always find the program behind the t-code. Many of them are auto generated programs though.

Alih-b added a commit to Alih-b/MBT-Command-Field that referenced this issue Apr 16, 2024
@mbtools
Copy link
Member

mbtools commented Apr 16, 2024

There are indeed many options. Feel free to submit a PR.

There are pretty strict linting rules. Don't worry, just allow edits on the PR branch. I can then make the necessary changes.

Alih-b added a commit to Alih-b/MBT-Command-Field that referenced this issue Apr 17, 2024
Alih-b added a commit to Alih-b/MBT-Command-Field that referenced this issue Apr 17, 2024
mbtools added a commit that referenced this issue Apr 17, 2024
* worked on #12

* #12 added support for more types of parameter t-codes

* #12 added support for more types of parameter t-codes

* Refactor & unit tests

* replace select *

---------

Co-authored-by: Marc Bernard <marc@marcbernardtools.com>
@mbtools
Copy link
Member

mbtools commented Apr 17, 2024

Closed by #13

@mbtools mbtools closed this as completed Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants