I had to use a custom help in a program because I was not able to do it properly with the standard matchcode (I failed miserabily trying to pass the F4 a pre-filter). I had to do a workaround, and I must prevent my failing memory to forget it forever… here we come, just a bit of plain code.
Just a few, because I want not to forget it…
– RS_ALL_VARIANTS_4_1_REPORT: providing the name of the report (sy-repid), and just by putting ‘*’ in the TEXT parameter, you will get a table with all the variants of the program.
– RS_VARIANT_CATALOG: (online only?) by providing a program’s name, the system will show a pop-up window with the variants’ list of the program. The user can select one of them, who will be returned in the exporting parameters.
– RS_VARIANT_CONTENTS: just tell this beauty the program and its variant’s name, and it will give you a VALUTAB table parameter with its variable contents.
Don’t waste your time with this post. Here I will write some things I’m never able to remember, and I’m tired of re-search each time I need them. Don’t expect to find passwords 😛
I had to find the algorism for determine the checksum character of a BarCode39 string. It’s easy to do, and I though when I did it to not post the code here because it’s trivial.
But hey, I found the scrap piece of paper where I took my initial notes, and well, I’m in a sharing mood.
I had to give up my search… maybe I’ll be able to finish it or find the answer into the net someday. Until them, I’ll let you read my (lack of?) progress.
I had to send again a mail through SAP. I used my older code and found it a lot heavy for my needs. I managed to create a Z function that allows me to send a simple mail without having to fill all those nasty tables.
Maybe it exists in SAP standard, but I’ve been not able to find it. Continue reading
Sometimes shit happens. One receives a work request that seems idiotically simple but the tools provided by the system makes it a living hell.
Something like that happened me these days, because the way someone planned the queries system in SAP.
Because that, I decided to write my troubles and their solutions here, to keep track of them and to have a place to go where I’ll need to manage queries again.