[work]
Rust water for brains
This is very technical
Today, I started work on the Request For Quotation Form Printing (SAP Script for RFQ). I am to add new text and logic to the RFQ Printing Process. RFQs are treated as POs by SAP.
From the Configuration (SPRO), I found the name for the Printing Program and the SAP Script.
However, I couldn't find the link in the Source Code.
Oh, this is embarrassing...
After some digging, I found the link in the code. The Form Name of the script is dynamically assigned, based on the Configuration. This verified that the SAP Script I found is the right one.
I know this is dumb but I like it this way...
After wasting time verifying what the config has already told me, I started to study the Script. The Page Window contained many Text Elements. From memory, these contains the logic.
Oh, shoot. Where are they stored?
After some inane exercises in looking for them in places like the Text Elements section of an ABAP Report (SE38), I finally recalled that Text Elements are stored in the Printing Program. Scanning the Source Code, I couldn't find the Text Elements at all. I then say a customised Function Module called "Z**_READ_PO".
RFQs are treated as POs by SAP.
I looked into the codes for "Z**_READ_PO" but I still couldn't find my Text Elements. I drilled deeper and found Enhancement Spots.
Woah...
Enhancement Spots? What the heck is that? I started sending distress calls, "MayDay, MayDay". Yet, other ships are too far away. I am on my own.
After chatting for an obsene length of time. I decided to take a last good look at the code. I saw a Function Module called "Z**_PRINT_PO".
Oh crap...
RFQs are treated as POs by SAP.
Even those who are knows little about SAP but had stayed with me till now should realise that "Z**_PRINT_PO" sounds more *correct* than "Z**_READ_PO". I found my Text Elements.
Gosh, this is embarrassing...
~
No comments:
Post a Comment